Lean source
New.Exchange.CrudeModularData
Its 19 declarations
Data.lemma, lines 28–31isLiftWeight_kappa Data.abbrev, line 35homX Data.def, lines 40–44liftKernel Data.abbrev, line 48Translations Data.def, lines 52–53translateDatum Data.abbrev, lines 57–58chainComb Data.def, line 62Bμ span_piGBarlemma, lines 66–70Data.def, line 73inducedPlace Data.structure, lines 77–81IsMarked Data.structure, lines 85–86IsFullMark Data.abbrev, lines 90–91integralColumns Data.abbrev, line 95evenPlaces Data.def, line 98markExponent Data.def, line 102lowColumns Data.def, line 106lowBoxes Modulus.lemma, lines 111–113card_resRing_le Parameters.lemma, lines 121–128smul_vacuumDatum_mem_standardData Parameters.lemma, lines 133–139isAdmissibleComb_vacuumDatum
import New.Curve.ConjugatesOfJetsimport New.Columns.ColumnDefs/-! Set-up for this proof: records of the data and parameters of this proof, names for its objects.Part of: Crude denominators and conjugate bounds for theta jets (see New.Rows.MemberKernels).Part of: Scaled Hecke operators repair divisibility at inert primes pairing tops (seeNew.Columns.LocalStatement).This file: Kernels, data and the definite chain B of the proof, named. The level generator's idealis the product of the chosen primes. Marked primes above a served prime, integral forms, evenplaces, counts of low columns. Functions modulo a modulus give crude data, by finite Fourierexpansion. -/noncomputable sectionopen Finset Fintype Function Idealattribute [local grind] Data.card_X Data.nvariable {P} {D : Data P} (ϑ : D.TameChar) {p : ℕ} [Fact p.Prime] [PadicPlace p] (σ : D.Φ) (Λ : Finset (FinPlace D.E)) {s} {𝔪 : Modulus (Parameters.E P s)}/-- The weight goes up from X_j to X_{j+1} (`IsLiftWeight`): |X_j| < |X_{j+1}|, κ has no column ofheight strictly between them, and `Data.lastEntry` j at τ is ⌊|X_{j+1}|/2⌋ − w_{j+1}(τ) + κ(τ,|X_j|). -/lemma Data.isLiftWeight_kappa (j : ℕ) : IsLiftWeight (D.X j) (D.X (j + 1)) D.κ ((Fintype.card (D.X (j + 1)) / 2 : ℕ) - D.w (j + 1) ·) (D.lastEntry j) := ⟨fun _ ↦ ⟨by grind, fun h ↦ by have := @Nat.not_dvd_of_lt_of_lt_mul_succ (D.t + 1) j (h - D.k) grind [κ]⟩, by grind, by cases j <;> simp [funext_iff, ↓card_X, n, κ, lastEntry] <;> grind⟩/-- The hermitian space Hom(X_j, X_{j+1}) of the standard definite spaces on the index sets X_jand X_{j+1}. -/abbrev Data.homX (j : ℕ) := (stdSpace D.E (D.X j)).hom (stdSpace _ (D.X (j + 1)))/-- The theta kernel of lift j + 1, from forms on X_j to forms on X_{j+1} at the levels`Data.columnLevel`, for the character μ_{j+1} twisted by ϑ^{j+1} and scaleconj(`Data.piG`)·`jetScale`. -/@[simps! -isSimp ω] def Data.liftKernel (j : ℕ) : Kernel _ (D.X (j + 1)) D.κ (D.lastEntry j) (D.lastEntry (j + 1)) (D.columnLevel j) (D.homX j).finitePart := by obtain h : (D.chainChar ϑ j.succ).HasWeight .. := D.hasWeight_liftChar apply thetaKernel (D.isLiftWeight_kappa j) (star ↑D.piG * P.jetScale D.s) (by convert h.hasWeight_rankTwist (n := D.X j); grind [lastEntry]) h.hasWeight_rankTwist/-- Tuples (x_j) of finite adelic matrices with rows X_{j+1} and columns X_j, the translationsthat define the data of a chain. -/abbrev Data.Translations := ∀ j, D.X (j + 1) × D.X j → 𝔸f D.E/-- The j-th datum of the tuple x: the normalised vacuum `Parameters.intVacuum` of Hom(X_j, X_{j+1})translated by the finite Heisenberg operator of x_j. -/def Data.translateDatum (x : D.Translations) j := (homX j).heisFinPart (x j) ⟨P.intVacuum _, SMulMemClass.smul_mem _ (by simp)⟩/-- The linear map ∑_x Ψ(x)·C_x from smooth forms of stage 0 to stage j, where C_x is the chain(`chain`) of j theta lifts with data Φ x. -/abbrev Data.chainComb (Ψ : D.Translations →₀ ℂ) (Φ : _ → ∀ _, _) j := Ψ.sum fun x ↦ (· • chain (liftKernel ϑ) (Φ x) j)/-- The map B_μ from columns to algebraic forms on Y_m: the combination ∑_x Ψ(x)·(chain of mlifts with the data of x), followed by the restriction `Data.restrictToY`. -/def Data.Bμ Ψ := D.restrictToY ∘ₗ chainComb ϑ Ψ translateDatum _ ∘ₗ D.Column.subtype/-- For admissible data D, the ideal of 𝓞_E generated by `Data.piGBar`, the complex conjugate of`Data.piG`, is the product, over i = 0, 1, of the prime ideals containing both it and g_i. -/lemma span_piGBar (D : Data P) : .span {D.piGBar} = ∏ i, (D.chosen i).1 := by ext; simpa [mem_prod_finPlace_iff D.isConjApart_chosen.1, mem_span_singleton, ← dvd_iff_Ô D.piGBar_ne_zero, D.range_chosen, dvd_iff_reduceAt_eq_zero fun h ↦ (D.isChosen_iff.1 h).rec fun _ ↦ (Parameters.intValuation_eq_of_mul_star (D.g_modEq_one _) ·.2 D.exists_cofactor h)] using! Set.forall_mem_range (f := D.chosen)/-- The prime of E above p induced by the embedding ι∘σ of E into ℂ_p. -/def Data.inducedPlace := placeOfEmb (ιₚ.comp (Φ σ))/-- p < x₁ is non-split in K, and Λ is a set of primes of E induced by tops, disjoint from itsconjugate, and empty unless `Data.IsServed` p holds. -/structure Data.IsMarked where star_notMem : ∀ l ∈ Λ, star l ∉ Λ served : Λ.Nonempty → D.IsServed p served_top : ∀ l ∈ Λ, ∃ τ ∈ D.tops, inducedPlace τ = l nonsplit : D.IsSmallNonsplit p/-- Λ satisfies `Data.IsMarked` and, for each top τ, contains the prime of E above p inducedby τ or its conjugate. -/structure Data.IsFullMark extends D.IsMarked Λ where cover : ∀ τ ∈ D.tops, inducedPlace τ ∈ Λ ∨ star (inducedPlace τ) ∈ Λ/-- The O_ι-module of integral columns: the forms φ in `Data.Column` whose value φ(g) has gauge(`weylGauge`) at most 1 at g, for every g. -/abbrev Data.integralColumns := (integralFormsAt D.Column 1).comap (D.Column.subtype.restrictScalars _)/-- The even places for Λ: the infinite places σ of E whose induced prime `Data.inducedPlace` σ liesin Λ. -/abbrev Data.evenPlaces : Finset D.Φ := {σ | inducedPlace σ ∈ Λ}/-- The number A_l = a · #{tops inducing the prime l at ι}. -/def Data.markExponent l := D.a * #{τ ∈ D.tops | inducedPlace τ = l}/-- The number of columns at τ of height below n_{j+1} and different from 1: the sum of κ_τ(h)over h < n_{j+1}, h ≠ 1. -/def Data.lowColumns j τ := ∑ h ∈ range (D.n (j + 1)), ite (h = 1) 0 (D.κ τ h)/-- The number of boxes in the columns counted by `Data.lowColumns` j τ: the sum of h·κ_τ(h) over h< n_{j+1}, h ≠ 1. -/def Data.lowBoxes j τ := ∑ h ∈ range (D.n (j + 1)), h * ite (h = 1) 0 (D.κ τ h)attribute [local simp↓] absNorm_span_natCast NumberField.RingOfIntegers.rank finrank_eq_two_mul_card_infinitePlace pow_mullemma Modulus.card_resRing_le {k : ℕ} (h : ↑k ∈ 𝔪.ideal) (p : 0 < k) : .card 𝔪.ResRing ≤ k ^ (2 * numInfPlaces (P.E s)) := Nat.le_of_dvd (by bound) ((map_dvd absNorm (dvd_span_singleton.2 h)).trans (by simp))variable {n n' : Type} [Fintype n] [Fintype n'] {𝔪 : Modulus (Parameters.E P s)} {Ψ : Matrix n' n 𝔪.ResRing → ℂ}/-- If qN ∈ 𝔪, Ψ is integral away from q and l is prime to q, then N^(2fnn′) times the datum Ψ ⊗θ° lies in the module `Parameters.standardData` for N at l, where θ° is the vacuum scaled byκ₀^(nn′). -/lemma Parameters.smul_vacuumDatum_mem_standardData {N q l : ℕ} [Fact l.Prime] [PadicPlace l] (hd : ↑(q * N) ∈ 𝔪.ideal) (hΨ : ∀ x, Ψ x ∈ integralAway q) (hl : l.Coprime q) : ((N ^ (2 * numInfPlaces (P.E s) * Fintype.card (n' × n)) : ℕ) : ℂ) • P.vacuumScale s ^ Fintype.card (n' × n) • (vacuumDatum (stdSpace ..) (stdSpace ..) 𝔪 Ψ).1 ∈ standardData _ N := by simpa [intVacuum, comp_def, vacuumDatum] using (isAdmissibleComb_name (g := N) (u := intVacuum _) _ _ (by grind [mul_comm]) (hΨ <| vecToMat ·) le_ciSup rfl).smul_mem (M := standardData ..) hl fun y x ↦ Submodule.subset_span ⟨y, by simpa [integralAfter] using (x · · ∘ IsPrime.notMem_of_isCoprime_of_mem hl.cast), by simp [intVacuum]⟩/-- If all conjugates of the values of Ψ have modulus at most M, the datum Ψ ⊗ θ° is a finitecombination of translates of θ° whose coefficients have, under every automorphism of ℂ,total modulus at most |O_E/𝔪|^(nn′)·M. -/lemma Parameters.isAdmissibleComb_vacuumDatum M (hM : ∀ (σ : ℂ ≃+* ℂ) x, ‖σ (Ψ x)‖ ≤ M) : IsAdmissibleComb (Space.finHeisOp _ · (intVacuum _)) .univ 0 0 True (Fintype.card (n' × n → 𝔪.ResRing) * M) (P.vacuumScale s ^ Fintype.card (n' × n) • (vacuumDatum (stdSpace ..) (stdSpace ..) 𝔪 Ψ).1) := by erw [← map_smul] exact .bind (isAdmissibleComb_name (g := 0) _ _ (by simp) (fun _ _ ⟨p⟩ ↦ by aesop) (fun _ _ ↦ by grw [comp_def, hM]) rfl) 1 1 (by simp [IsAdmissibleComb.single, intVacuum])