grh-compacta Lean artifact read back into mathematics

Lean source

Lib.SiegelWeil.Mass.MassRatio

Lib/SiegelWeil/Mass/MassRatio.lean · 48 lines · 1 declaration · read in Unit 41 · Consecutive mass ratios of unimodular Hermitian lattices

Its 1 declaration
Lib/SiegelWeil/Mass/MassRatio.lean · all 48 lines
import Lib.SiegelWeil.OneVector.OneVector/-! Known result: Mass formula for unimodular hermitian lattices, ratio of consecutive masses. Thisfile gives only the ratio of consecutive masses in large rank, up to an explicit error uniform amongCM fields with enough roots of unity (so unramified over the real subfield), a splitting characterand a self-dual rank-one lattice. The proof uses Siegel's formula for vectors of norm one and aGauss sum bound. Source: W. T. Gan, J. Hanke, J.-K. Yu, On an exact mass formula of Shimura, DukeMath. J. 107 (2001); M. Kirschmer, Definite quadratic and hermitian forms with small class number(2016), 4.2.7, 4.2.9.This file: Ratio of consecutive masses of unimodular hermitian lattices, explicit error uniform infield. -/open NumberField Real MeasureTheory Set stdLattice Matrix/-- For a CM field E with Weil data, f infinite places and root discriminant rd: if 8f ≤ 2^u andj ≥ 4u + 12, then log(mass_{j+1} / mass_j) differs from f·log(rd^{j+1/2} j! / (2π)^{j+1}) byat most 2/2^u.Known result: Mass formula for unimodular hermitian lattices: ratio of consecutive masses. -/lemma abs_log_mass_ratio_sub_le E [Field.{0} E] [CMType E] [WeilData E] j u (hu : 8 * numInfPlaces  E ≤ 2 ^ u) (hj : 4 * u + 12 ≤ j) : |log (mass E (j + 1)) - log (mass E j) - numInfPlaces E *  ((j + 1 / 2) * log (rootDiscr E) + log j.factorial - (j + 1) * log (2 * π))| ≤ 2 / 2 ^ u := by  have h := classSum_norm_eq (by simp; lia) (Kf E (Fin j ⊕ Unit)) (.indicator 1 (id (.symm    ⟨isOpen_stdLattice, isCompact_stdLattice.isClosed⟩))) (fun _ k _ ↦    if_congr (mulVec_mem_intVectors_iff k) rfl rfl)    (.intro isCompact_stdLattice (by simp)) (star_one _) (by simp)  erw [funext (ENNReal.coe_indicator _ _),    withDensity_indicator_one isOpen_stdLattice.measurableSet] at h  extract_lets F σ at h  obtain ⟨z, _, _, c, _⟩ := @idealZeta_intAdeles_pow_le E _ _ u.succ u 1    (finrank_eq_two_mul_card_infinitePlace E ▸ by lia), mass_pos E j.succ,    classSum_card_norm_one_eq_mass E j, (isOpen_codifferent E 1).measurableSet, congr(log ‖$(h.2)‖)  obtain ⟨b, hF⟩ := (lintegral_add_compl (‖F ·‖ₑ) c).trans_le (lintegral_gauss_sum_le_idealZeta    (le_two_of_pow_le_ofReal z) (by simp; lia) _),    setIntegral_congr_fun (f := F) (μ := volume) c fun z k ↦ setIntegral_congr_fun    isOpen_stdLattice.measurableSet fun x h ↦ congrArg _ (by simpa [← mul_add, ← star_dotProduct]    using ((ψf_half _).trans (k _ (mul_mem (sub_mem (dot_mem h h) (one_mem _)) traceOneAdele_mem))))  simp [σ, classSum_stdRatPoints_eq_mass, NNReal.coe_tsum, coe_stdLattice, ← ite_and, apply_ite,    indicator, volume_pi_pi, fun s ↦ @Eq.trans ℝ (ncard s) _ _ (by simp) (tsum_subtype s 1),    Measure.real, abs_discr_eq_rootDiscr_pow] at *  obtain ⟨⟨x, hx⟩, _⟩ := mul_right_surjective₀ (hF.trans_ne (by simp)) (∫ z, F z), rootDiscr_pos E  have ⟨_, _⟩ : x ≠ 0 ∧ Integrable F := by grind [Complex.ofReal_eq_zero, mass_pos, integral_undef]  grw [z, ← enorm_integral_le_lintegral_enorm, ← enorm_integral_le_lintegral_enorm] at b  simp (disch := finiteness) [*, ← hx, volÔ_eq, ← ENNReal.toReal_le_toReal, pow_succ,    ENNReal.toReal_add, add_mul, setIntegral_compl, ← sub_one_mul, log_mul, log_div, log_sqrt] at *  grind [x.log_re, x.log.abs_re_le_norm, Complex.norm_log_one_add_half_le_self (b.trans (by    simp [field, one_le_pow₀]))]