Chapter V · Unit 150
Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes
norm_schurJet_le) and its sharpness (exists_hasLargeSplit_of_pairs, CMLattice.katz_divisibility_limit ), and it defines the asked divisibility (Data.localAsk , Data.gain ), the allowed loss and the column counts \kappa used by the chain of theta lifts.Notes
What it holds · 89 declarations
lemma
Parameters.line 15automationbigOmega_pos For parameters P and an exponent s: \Omega = \operatorname{bigOmega}(P, s) = \exp(c_d)\cdot 2\pi /rd_E is positive (c_d =chowlaSelbergConstd, rd_E > 0 the root discriminant of E).The Lean statement
New/Curve/ConjugateGenerator.lean · line 15 lemma bigOmega_pos {P s} : 0 < bigOmega P s := by simp [bigOmega, rootDiscr_pos, pi_pos, exp_pos]lemma
Parameters.lines 18–20one-stepjetScale_ne_zero For parameters P and an exponent s: \operatorname{jetScale}(P, s) = per \ne 0 (|s_0| \ne 0 bynorm_gal_vacuumRootat \sigma = 1, and u_0 \ne 0 by the Chowla–Selberg formula at \sigma = 1).The Lean statement
New/Curve/ConjugateGenerator.lean · lines 18–19 @[simp] lemma jetScale_ne_zero {P s} : jetScale P s ≠ 0 := by simpa [jetScale, periodFactor, ne_of_gt, rootDiscr_pos, ne] usinglemma
Parameters.lines 26–85argumentexists_isJetConjugate_generator For parameters P there is a natural number C such that for every exponent s there is a family B \colon \operatorname{Gal}(\mathbb{C}/K) \to \mathbb{A}_f(E) (E = E(P, s)) with the following property for every finite index type n, signs \varepsilon and standard hermitian space V over E of rank n (instance [V.]): (i) there is c \in \mathbb{C}, c \ne 0, such that |\iota_p(c\cdot vac(\operatorname{finVec} x))| \le 1 for every prime p, every p-adic place \iota_p and every finite adelic vector x, and |\sigma(c\cdot vac(\operatorname{finVec} x))| \le \exp(C\cdot N_1^2)^{|n|} for every \sigma \in \operatorname{Gal}(\mathbb{C}/K) and every x (IsStd vac=Space.V); and (ii) there is F \in \mathcal{W}_f (vacElem V.) with \theta(F) = 1 (\theta the theta functional), \mathcal{W}_f \subseteq the \mathbb{C}-span of the translates \varrho(\operatorname{finVec} x)F, and for every \sigma \in \operatorname{Gal}(\mathbb{C}/K) there are t \in \mathbb{C} and F' \in \mathcal{W}_f with |t|^2 = \Omega^{-1} (\Omega = \operatorname{bigOmega}(P, s)) such that for every finite adelic vector x: \sigma applied to the coefficients of T_{\mathrm{per}}(\varrho(\operatorname{finVec} x)F) equals T_t(\varrho(\operatorname{finVec}(B_\sigma \cdot x))F') with every variable (\tau, k) renamed to (\pi^{-1}(\tau), k), \pi = \operatorname{placePerm}(s, \sigma) (finitePart Space.\sigma (IsJetConjugate placePerms \sigma) per t (\varrho(\operatorname{finVec} x)F) (\varrho(\operatorname{finVec}(B_\sigma \cdot x))F'): map \sigma(T_{\mathrm{per}} f) = rename (\pi^{-1} \times \operatorname{id}) (T_t f')), per = \operatorname{jetScale}(P, s).Structured proof, 31 steps Proposition 6.1, p. 20 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugateGenerator.lean · lines 26–31 lemma exists_isJetConjugate_generator P : ∃ C : ℕ, ∀ s, ∃ B : _ → 𝔸f (P.E s), ∀ {n} [Fintype n] {ε} (V : Space _ n ε) [V.IsStd], (∃ c ≠ 0, (∀ p [Fact p.Prime] [PadicPlace p] x, ‖ιₚ (c * V.vacElem (finVec x))‖ ≤ 1) ∧ ∀ (σ : Gal(ℂ/K P)) x, ‖σ (c * V.vacElem (finVec x))‖ ≤ rexp (C * P.N₁ s ^ 2) ^ card n) ∧ ∃ F ∈ V.finitePart, V.θ F = 1 ∧ V.finitePart ≤ span ℂ (.range fun x ↦ V.ϱ (finVec x) F) ∧ ∀ σ : Gal(ℂ/K P), ∃ t, ∃ F' ∈ V.finitePart, ‖t‖ ^ 2 = (P.bigOmega s)⁻¹ ∧ ∀ x, IsJetConjugate σ (placePerm s σ) (P.jetScale s) t (V.ϱ (finVec x) F) (V.ϱ (finVec (B σ • x)) F') := bylemma
Parameters.lines 25–26one-stepintegralAfter. of_integral For parameters P, an exponent s, a finite index type n, \delta \in \mathcal{O}_K and any predicate S on the finite places of E: the standard lattice (vectors x \colon n \to \mathbb{A}_f(E) with integral coordinates) is contained in \operatorname{integralAfter}(\delta, S), since \delta is integral.The Lean statement
New/Curve/ConjugatesOfJets.lean · line 25 lemma integralAfter.of_integral {n} [Fintype n] {δ S} : stdLattice (E P s) n ≤ integralAfter δ S :=lemma
Parameters.lines 31–36argumentfinHeisOp_mem_standardData For a hermitian space V over E(P, s) of rank n, a prime p with a p-adic place \iota_p, \delta \in \mathcal{O}_K, f \in \mathcal{S}(V) and a finite adelic vector x with \delta x integral at every place above p (x \in \operatorname{integralAfter}(\delta, places above p)): if f \in \operatorname{standardData}(V, \delta) then \operatorname{finHeisOp}_V(x)(f) \in \operatorname{standardData}(V, \delta).Structured proof, 2 steps Lemma 7.1(b), p. 25 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 31–33 lemma finHeisOp_mem_standardData {P s n} [Fintype n] {ε} {V : Space (E P s) n ε} {p : ℕ} [q : Fact p.Prime] [PadicPlace p] {δ f x} (h : x ∈ integralAfter δ (↑p ∈ ·.1)) : f ∈ standardData V δ → V.finHeisOp x f ∈ standardData V δ := bylemma
Parameters.lines 40–50argumentomega_mem_standardData For a hermitian space V over E(P, s) of rank n, a prime p with a p-adic place \iota_p, \delta \in \mathcal{O}_K, a finite adelic unitary point g of U(n) that is integral above p (g \inintegralAboven p: integral invertible matrices at all primes above p) and f \in \operatorname{standardData}(V, \delta): \omega(1, g)f \in \operatorname{standardData}(V, \delta), \omega the Weil representation of V.Structured proof, 5 steps Lemma 7.1(c), p. 25 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 40–42 lemma omega_mem_standardData {ε} {V : Space (E P s) n ε} {p : ℕ} [q : Fact p.Prime] [PadicPlace p] {δ f g} (hg : g ∈ integralAbove n p) (hf : f ∈ standardData V δ) : V.ω (1, g) f ∈ standardData V δ := have m {x} (h : x ∈ integralAfter ..) :lemma
Parameters.lines 55–84argumentnorm_jetSeries_le Let V be a standard hermitian space over E(P, s) of rank n, p a prime with a p-adic place \iota_p, \delta \in \mathcal{O}_K, f \in \operatorname{standardData}(V, \delta), c \in \mathbb{C}, L a \mathbb{C}-linear form on power series (in the variables \Phi \times n), and r \ge 0 (a non-negative real). Assume |\iota_p(L(\Theta))| \le r for every power series \Theta whose image under \iota_p lies in \operatorname{thetaProducts}(P, s, \delta, |\iota_p(c\cdot s_1)|, n) (s_1 = \operatorname{periodFactor}(P, s)). Then |\iota_p(L(T_{c\cdot per} f))| \le r, where T_{c\cdot per} =Space.(c\cdot \operatorname{jetScale}(P, s)).jetSeries Structured proof, 16 steps Proposition 7.2, p. 25 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 55–58 lemma norm_jetSeries_le {ε} {V : Space (E P s) n ε} {p : ℕ} [q : Fact p.Prime] [PadicPlace p] {δ f} [V.IsStd] (hf : f ∈ standardData V δ) c (L : _ →ₗ[ℂ] ℂ) {r : NNReal} (H : ∀ Θ, .map ιₚ Θ ∈ P.thetaProducts s δ ‖ιₚ (c * P.periodFactor s)‖ n → ‖ιₚ (L Θ)‖ ≤ r) : ‖ιₚ (L (V.jetSeries (c * P.jetScale s) f))‖ ≤ r := bylemma
Parameters.lines 89–96argumentnorm_jet_jetSeries_le_one Integrality of jets. Let V be a standard hermitian space over E(P, s) of rank n, p a prime with a p-adic place \iota_p, \delta \in \mathcal{O}_K with \delta \ne 0, f \in \operatorname{standardData}(V, \delta), Q a polynomial with coefficients in O_\iota (the complex numbers integral at \iota_p) and Q' its image as a complex polynomial. Then |\iota_p(jet_{Q'}(T_{\overline{\delta}\cdot d\cdot per} f))| \le 1, where jet_{Q'}(F) = (Q'(\partial)F)(0) and T_{\overline{\delta}\cdot d\cdot per} =Space.(\overline{\delta}\cdot d\cdot \operatorname{jetScale}(P, s)).jetSeries Structured proof, 2 steps Theorem C, p. 3 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 89–91 lemma norm_jet_jetSeries_le_one {P s n} [Fintype n] {ε} {V : Space (E P s) n ε} [V.IsStd] {p} [Fact p.Prime] [PadicPlace p] {δ} (h0 : δ ≠ 0) {f} (hf : f ∈ standardData V δ) {Q Q'} : .map embValRing.subtype Q = Q' → ‖ιₚ (jet ℂ Q' (V.jetSeries (star ↑δ * P.d * P.jetScale s) f))‖ ≤ 1def
Kernel.lines 100–102raises Definition. For an abstract theta kernel k = (\omega,jetMatrix) from weight (\kappa, e) on U(n) to weight (\kappa,ea) on U(n') with data S, finite adelic points d (of U(n)) and d' (of U(n')) and c \in \mathbb{R}: \operatorname{raises}(k, d, d', c) is the additive submonoid of S of data \Phi such that for all finite adelic points g of U(n), h of U(n') and all vectors \xi: \operatorname{gauge}_{ea}(h\cdot d'; \operatorname{jetMatrix}(\omega(g, h)\Phi)(\xi)) \le \max(c, 0)\cdot \operatorname{gauge}_{e}(g\cdot d; \xi), where gauge =weylGaugeis the largest p-adic absolute value of a coordinate of g^{-1}\cdot \iota_p(\xi) in the given weight (for the prime p and place \iota_p of the section).The Lean statement
New/Curve/ConjugatesOfJets.lean · line 100 def _root_.Kernel.raises d d' c := show AddSubmonoid S bylemma
Kernel.lines 106–108one-stepsmul_mem_raises For an abstract theta kernel k, data \Phi \in S, points d, d', a scalar z \in \mathbb{C} and reals c, c': if \Phi \in \operatorname{raises}(k, d, d', c) and |\iota_p(z)|\cdot c \le c', then z\cdot \Phi \in \operatorname{raises}(k, d, d', c').The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 106–107 lemma _root_.Kernel.smul_mem_raises {c' Φ d d' z} (h : Φ ∈ k.raises d d' c) (H : ‖ιₚ z‖ * c ≤ c') : z • Φ ∈ k.raises d d' c' := by intro _ _ _; simp [weylGauge_smul]; grw [h ..,lemma
Parameters.lines 112–116one-steppairWeil_mem_standardData For characters a, b of U(1) over E(P, s) with weights e,eaand tame parts \psi, \psi' (AutChar.), a prime p with a p-adic place \iota_p, \delta \in \mathcal{O}_K, a datum f \inHasWeight standardDataof the space \operatorname{Hom}(I_n, I_{n'}) for \delta, and finite points g \inintegralAboven p, h \inintegralAboven' p: the pair Weil action \operatorname{pairWeil}(I_n, I_{n'}, a, b) of ((1, g), 1, h) maps f into \operatorname{standardData}(\operatorname{Hom}(I_n, I_{n'}), \delta). (The character factor has |\iota_p| \le 1 and the action is \omega of an element integral above p,omega_mem_standardData.)The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 112–115 lemma pairWeil_mem_standardData {δ f} (ha : a.HasWeight e ψ) (hb : b.HasWeight ea ψ') (hf : f ∈ standardData _ δ) {g h} (hg : g ∈ integralAbove n p) (hh : h ∈ integralAbove n' p) : pairWeil (stdSpace ..) (stdSpace ..) a b ((1, g), 1, h) f ∈ standardData _ δ := (standardData ..).smul_mem ⟨_, show ‖_‖ ≤ 1 by simp [AutChar.HasWeight.norm_padic_det, *]⟩lemma
Parameters.lines 121–133argumentmem_raises_of_jet_bound Let k = \operatorname{thetaKernel}(h\kappa, c,ha,hb, K) be the theta kernel of the definite pair I_n, I_{n'} at scale c (data in the finite part of \mathcal{S}(\operatorname{Hom}(I_n, I_{n'})), jet matrices along the Schur matrix S_\kappa), p a prime with a place \iota_p, \delta \in \mathcal{O}_K and \Psi a datum with \Psi \in \operatorname{standardData}(\operatorname{Hom}(I_n, I_{n'}), \delta). Let x, y be finite points integral above p (x, y \inintegralAbovep), d a finite point and u_\tau such that at every infinite place \tau the image of d under \operatorname{adeleExtension}(x \mapsto \iota_p(\Phi_\tau(\overline{x}))) is the diagonal matrix \operatorname{diag}(u_\tau), and B \in \mathbb{R} such that for every f \in \operatorname{standardData}(\operatorname{Hom}, \delta) and all indices i', i: (\prod_\tau(\prod_b |u_\tau(b)|)^{ea_\tau }\cdot \prod_h\prod_j\prod_t |u_\tau((i'_\tau)_{h, j, t})|)\cdot |\iota_p(\operatorname{schurJet}_\kappa(T_c f)_{i', i})| \le B. Then \omega(1, x\cdot d\cdot y)\Psi \in \operatorname{raises}(k, 1, 1, B).Structured proof, 4 steps Proposition 7.4(b), p. 26 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 121–126 lemma mem_raises_of_jet_bound {Ψ δ} (hΦ : Ψ.1 ∈ standardData _ δ) {x d y} (hx : x ∈ integralAbove _ p) (hy : y ∈ integralAbove _ p) {u : _ → _} (hu : ∀ τ, d.1.1.map (adeleExtension (weightEmbedding ιₚ τ)) = diagonal (u τ)) {B} (h : ∀ f ∈ standardData _ δ, ∀ i' i, (∏ τ, (∏ b, ‖u τ b‖) ^ ea τ * ∏ h, ∏ j, ∏ t, ‖u τ ((i' τ).1 h j t)‖) * ‖ιₚ (schurJet κ (((stdSpace _ n).hom (stdSpace ..)).jetSeries c f) i' i)‖ ≤ B) : let k := thetaKernel hκ c ha hb K k.ω (1, x * d * y) Ψ ∈ k.raises 1 1 Blemma
Parameters.lines 137–143argumentmem_raises_of_standardData For the theta kernel k = \operatorname{thetaKernel}(h\kappa, c\cdotper,ha,hb, K) at scale c\cdotper (per = \operatorname{jetScale}(P, s)), a prime p with a place \iota_p, \delta \in \mathcal{O}_K with \delta \ne 0 and a datum \Phi with \Phi \in \operatorname{standardData}(\operatorname{Hom}(I_n, I_{n'}), \delta): \Phi \in \operatorname{raises}(k, 1, 1, (|\iota_p(c)|/|\iota_p(\overline{\delta}\cdot d)|)^L), where L = \operatorname{boxes}(\kappa, |n'|) = \sum_\tau \sum_{h<|n'|} h\cdot \kappa_\tau(h).Structured proof, 1 step Proposition 7.4(c), p. 26 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 137–139 lemma mem_raises_of_standardData {Φ δ} (h0 : δ ≠ 0) (hΦ : Φ.1 ∈ standardData _ δ) : Φ ∈ (thetaKernel hκ (c * P.jetScale s) ha hb K).raises 1 1 ((‖ιₚ c‖ / ‖ιₚ (star ↑δ * P.d)‖) ^ boxes κ (card n')) := bylemma
Parameters.lines 148–153argumentmem_raises_of_dvd For the theta kernel k = \operatorname{thetaKernel}(h\kappa, c\cdotper,ha,hb, K), a prime p with a place \iota_p, natural numbers N \ne 0, d' (Lean's d) and M, and a datum f such that d'\cdot f.1 \in \operatorname{standardData}(\operatorname{Hom}(I_n, I_{n'}), N) (\delta = N), |\iota_p(c)| \le 1 and d'\cdot(N\cdot d)^L divides M, L = \operatorname{boxes}(\kappa, |n'|): M\cdot f \in \operatorname{raises}(k, 1, 1, 1).Structured proof, 2 steps Proposition 7.4(d), p. 26 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 148–150 lemma mem_raises_of_dvd {N d M : ℕ} [NeZero N] f (hf : (d : ℂ) • f.1 ∈ standardData _ N) (hc : ‖ιₚ c‖ ≤ 1) (hM : d * (N * P.d) ^ boxes κ (card n') ∣ M) : (M : ℂ) • f ∈ (thetaKernel hκ (c * P.jetScale s) ha hb K).raises 1 1 1 := bylemma
Parameters.lines 164–225argumentexists_semilinear_isJetConjugate Conjugates of jets. Let V be a standard hermitian space over E(P, s) of rank n, R a set of finite places with R \cap \overline{R} = \emptyset (Set.), and \sigma \in \operatorname{Gal}(\mathbb{C}/K). There are t \in \mathbb{C}, c \in \mathbb{C}, a finite idele z of norm one and a \sigma-semilinear endomorphism L \colon \mathcal{S}(V) \to \mathcal{S}(V) of the ambient Schwartz space (the map constructed takes values in \mathcal{W}_f and is composed with the inclusion \mathcal{W}_f \subseteq \mathcal{S}(V)) such that: |t|^2 = \Omega^{-1} (\Omega = \operatorname{bigOmega}(P, s)); c \ne 0; for every f \in \mathcal{W}_f, \sigma applied to the coefficients of T_{\mathrm{per}} f equals T_t(L f) with every variable (\tau, k) renamed to (\pi^{-1}(\tau), k), \pi = \operatorname{placePerm}(s, \sigma) (IsConjDisjoint IsJetConjugate); for f \in \mathcal{W}_f and every finite point g: L(\omega(1, g)f) = (\sigma(\Delta(g))/\Delta(g))\cdot \omega(1, g)(L f), \Delta =finMultiplier(multiplierRatio); for all finite adelic x, finite points g and all points y: |L(\varrho(\operatorname{finVec} x)\omega(1, g)\theta^{\circ})(y)| \le \exp(c_P\cdot(N_1|n| + 1)^2), \theta^{\circ} = \operatorname{intVacuum}(V), c_P =Parameters.P; and for every Schwartz–Bruhat function \Psi above R: L(\operatorname{name}_R(\Psi)(vac)) = c\cdot \omega(1, z)(\operatorname{name}_R(\sigma \circ \Psi)(vac)).c Structured proof, 26 steps Theorem B, p. 2 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ConjugatesOfJets.lean · lines 164–170 lemma exists_semilinear_isJetConjugate [i : V.IsStd] {R} (hR : Set.IsConjDisjoint R) (σ : Gal(ℂ/Parameters.K P)) : ∃ t c z, ∃ L : _ →ₛₗ[(σ : ℂ →+* ℂ)] _, ‖t‖ ^ 2 = (P.bigOmega s)⁻¹ ∧ c ≠ (0 : ℂ) ∧ (∀ f ∈ V.finitePart, IsJetConjugate σ (placePerm s σ) (P.jetScale s) t f (L f)) ∧ (∀ᵉ (f ∈ V.finitePart) (g), L (V.ω (1, g) f) = multiplierRatio σ g • V.ω (1, g) (L f)) ∧ (∀ x g y, ‖L (V.ϱ (finVec x) (V.ω (1, g) (intVacuum V))) y‖ ≤ exp (P.c * (P.N₁ s * card n + 1) ^ 2)) ∧ ∀ Ψ, IsSchwartzBruhat R Ψ → L (V.name R Ψ V.vacElem) = c • V.ω (1, scalarFin n z) (V.name R (σ ∘ Ψ) V.vacElem) := bydef
IsFrobPackinglines 14–16Definition. For parameters P, an exponent s, a natural number p and functions n, i, y from the infinite places of E(P, s) to \mathbb{N}, write pr_j(\sigma) = (-p^j)\cdot \sigma (the product with the place named by -p^j). \operatorname{IsFrobPacking}(p, n, i, y) holds iff (1) for every \sigma with y_\sigma \ne 0, i_\sigma is odd and \chi_K(p) = -1; (2) for all \sigma, t and j < i_\sigma with y_\sigma \ne 0, y_t \ne 0 and j odd: pr_j(t) \ne pr_{i_\sigma }(\sigma); and (3) for every t: p^{i_t}\cdot y_t + \sum_{\sigma \colon pr_{i_\sigma }(\sigma) = t} y_\sigma \le n_t. (If \chi_K(p) \ne -1, for instance at p = d, condition (1) forces y = 0.)The Lean statement
New/Curve/DepthPairs.lean · line 14 def IsFrobPacking {s} (p : ℕ) (n i y : P.Φ s → ℕ) := let pr j σ := P.placeOfInt s (-p ^ j) * σlemma
Data.lines 18–21one-stepne_d_of_placeClass_eq For data D, a natural number p, e \in \mathbb{N} and an infinite place \sigma: if (-p^e)\cdot \sigma and \sigma have the same class modulo N_0 (Parameters.), then p \ne d. (If p = d, then -d^e \equiv 1 mod N_0, but no power of d is \equiv -1 mod N_0,placeClass pow_d_ne_neg_one.)The Lean statement
New/Curve/DepthPairs.lean · lines 18–19 lemma Data.ne_d_of_placeClass_eq {e σ} (h : P.placeClass ⟨_, rfl⟩ (D.placeOfInt (-p ^ e) * σ) = P.placeClass ⟨_, rfl⟩ σ) : p ≠ P.d :=lemma
Data.lines 23–26one-stepsummable_localAsk For data D, a prime p (instance) with \chi_K(p) \ne 1, a real y and an infinite place \sigma: the family e \mapsto [e \ge 1 and (e odd or p = d)]\cdot(y/p^e - w((-p^e)\cdot \sigma))^+ is summable (w =Data.). For an arbitrary real y the proof bounds each term by the norm of the term ofnominalWeight hasSum_live_inv_powwith c = y, i.e. by |y|/p^e on the live indices (e \ge 1, e odd or p = d) and 0 elsewhere (w \ge 0), and that family of norms is summable.The Lean statement
New/Curve/DepthPairs.lean · lines 23–24 lemma Data.summable_localAsk [Fact p.Prime] (h : chiK P.d p ≠ 1) y σ : Summable fun e ↦ ite (0 < e ∧ (Odd e ∨ p = P.d)) (y / p ^ e - D.nominalWeight (D.placeOfInt (-p ^ e) * σ))⁺ 0 :=def
Data.line 29depthLossInt Definition. For data D and n \in \mathbb{N}: \operatorname{depthLossInt}(D, n) = ((l + 1)(l + 2)\cdots(l + c))^2, where c = \lceil 60\cdot b/k\rceil (natural ceiling of a real number, b the scaleData., k = r + 1 - m) and l = n - c (truncated); in Lean (n - c + 1).\operatorname{ascFactorial} c^ 2.b The Lean statement
New/Curve/DepthPairs.lean · line 29 noncomputable def Data.depthLossInt n := let c := ⌈60 * D.b / D.k⌉₊; (n - c + 1).ascFactorial c ^ 2lemma
Data.lines 34–92argumentexists_isFrobPacking For data D, a prime p with \chi_K(p) \ne 1 and n : places \to \mathbb{N} with w(\sigma) \le n_\sigma \le w(\sigma) + x^{42} for every infinite place \sigma (w =Data.), there are i, y : places \to \mathbb{N} with \operatorname{IsFrobPacking}(p, n, i, y) such that, with L = \operatorname{forcedPart}(D, p) + \sum_s v_p(\operatorname{depthLossInt}(D, n_s)), either (\chi_K(p) = -1, i \equiv 1 \text{ and } \sum_s (v_p(n_s!) - y_s) \le L) or \sum_s ((1/(p-1) - \rho_p)\cdot n_s + 4\cdot b_2 - y_s) \le L (sums over all infinite places s, real numbers; \rho_p = \operatorname{nonsplitWeight}(P.d, p), b_2 =nominalWeight D.). The disjunction is the body of theb₂ let L := …of the statement, which goes on to line 38 (the census cut it at line 36).Structured proof, 34 steps Proposition 10.3, p. 36 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/DepthPairs.lean · lines 34–38 lemma Data.exists_isFrobPacking {n : _ → ℕ} (hn : ∀ σ, D.nominalWeight σ ≤ n σ ∧ n σ ≤ D.nominalWeight σ + D.x ^ 42) (hp : p.Prime) (h : chiK P.d p ≠ 1) : ∃ i y, IsFrobPacking p n i y ∧ let L := D.forcedPart p + ∑ s, (padicValNat p (D.depthLossInt (n s)) : ℝ) chiK P.d p = -1 ∧ i = 1 ∧ ∑ s, (padicValNat p (n s)! - y s : ℝ) ≤ L ∨ ∑ s, ((1 / (p - 1) - nonsplitWeight P.d p) * n s + D.b₂ * 4 - y s) ≤ Llemma
exists_hasLargeSplit_of_pairslines 101–146argumentLet p be a prime with a p-adic place \iota_p and \chi_K(p) \ne 1, P parameters, s an exponent, N a weight on exponents (exponent \mapsto non-negative real), \Theta a power series over \mathbb{C}_p in the variables (places) \times Unit, i, y : places \to \mathbb{N} and n an exponent (finitely supported places \times Unit \to \mathbb{N}) such that \operatorname{IsFrobPacking}(p, \sigma \mapsto n(\sigma, ()), i, y), \Theta is carried by one copy (IsCarriedByN 1 \Theta: every exponent \alpha has a split into one exponent with N \ge |\Theta_\alpha |), \Theta(0) = 1, \Theta^{-1} is carried by five copies (IsCarriedByN 5 \Theta^{-1}), and \Theta \in \operatorname{thetaProducts}(P, s, 1, 1, Unit). Then there are exponents b \le n and \tau \le n with |b| = \sum_\sigma y_\sigma(p^{i_\sigma } + 1), |\tau | = \sum_\sigma y_\sigma, and \operatorname{HasLargeSplit}(N, 6, b, p^{(1 - 1/(p-1))|\tau | + \rho_p|b| + \sum_x v_p(\tau_x!)}): b is a sum of six exponents \alpha_1, \ldots, \alpha_6 with \prod_k N(\alpha_k) \ge that bound. (At p = d condition (1) of the packing forces y = 0, so b = \tau = 0 and the bound is 1. In general the statement gives b, \tau \le n and the product bound on six summands of b; it asserts no optimal coefficient at n.)Structured proof, 24 steps Theorem F, p. 4 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/DepthPairs.lean · lines 101–106 lemma exists_hasLargeSplit_of_pairs {P s p} [hp : Fact p.Prime] [PadicPlace p] (l : chiK (Parameters.d P) p ≠ 1) {N Θ i y} {n : _ →₀ ℕ} (A : IsFrobPacking p (fun σ ↦ n (σ, ())) i y) (h0 : IsCarriedBy N 1 Θ) (h1 : constantCoeff Θ = 1) (r : IsCarriedBy N 5 Θ⁻¹) (H : Θ ∈ P.thetaProducts s 1 1 _) : ∃ b ≤ n, ∃ τ ≤ n, b.degree = ∑ σ, y σ * (p ^ i σ + 1) ∧ τ.degree = ∑ σ, y σ ∧ HasLargeSplit N 6 b (p ^ ((1 - 1 / (p - 1)) * τ.degree + nonsplitWeight P.d p * b.degree + ∑ x, ↑(padicValNat p (τ x)!))) := bylemma
CMLattice.lines 27–55argumentjet_theta_prod_integral Let d be a prime \equiv 7 mod 8, C a CM datum for d (lattice \Lambda, theta function \theta), p a prime with a p-adic place \iota_p, I and \sigma finite index types, c \colon I \to \sigma \to \mathbb{C}_p (the coefficients of the substituted linear forms lie in \mathbb{C}_p), \delta \in \mathbb{C} with \delta \in \operatorname{quadInt}(d) (the image of \mathcal{O}_K), \delta \ne 0, |\iota_p(\overline{\delta})^{-1}\cdot c_{i, x}/d|_p \le 1 for all i, x, and y \colon I \to \mathbb{C} with \delta \cdot y_i \in \Lambda for all i (the CM integer \delta and the translation parameters y_i are complex). Then for every polynomial Q in the variables \sigma with coefficients in \iota_p^{-1}(\mathfrak{o}) (the complex numbers whose image under \iota_p is integral), the jet along \iota_p(Q) (jet: (Q(\partial)F)(0)) of the series \prod_i (Taylor series of U_{y_i}\theta read through \iota_p) substituted at the linear form \sum_x c_{i, x} z_x lies in \mathfrak{o} (the valuation ring of \mathbb{C}_p). Here U_y =CMLattice.1 y.twistedTranslate Structured proof, 17 steps Lemma 7.3, p. 26 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FormalParameter.lean · lines 27–31 lemma CMLattice.jet_theta_prod_integral {d} [PrimeSevenModEight d] (C : CMLattice d) {p} [Fact p.Prime] [PadicPlace p] {I σ} [Fintype I] [Fintype σ] {c : I → σ → _} {δ} (k : ∀ i x, ‖(ιₚ (conj δ))⁻¹ * c i x / d‖ ≤ 1) (u : δ ∈ quadInt d) (h0 : δ ≠ 0) {y : I → ℂ} (w : ∀ i, δ * y i ∈ C.Λ) Q : jet _ (.map ιₚ (.map ((valRingCp p).comap ιₚ).subtype Q)) (∏ i, (taylorVia ιₚ (C.twistedTranslate 1 (y i) C.θ)).subst (linearSeries (c i))) ∈ valRingCp p := have ⟨L, _, l⟩ := C.exists_log_thetalemma
exists_norm_eq_inv_pow_boundslines 59–66argumentLet p be a prime and e, Q natural numbers with p^e = Q + 1. For natural numbers x, t, \varepsilon, J, k with e \ne 0, \varepsilon \le 1 and x + 1 + Q\cdot J = p\cdot t + \varepsilon + Q\cdot k (the last hypothesis H has a default proof byomega), there is a \in \mathbb{N} with |x + 1|_p = p^{-a} in \mathbb{C}_p, (a > 1 \Longrightarrow p < x + 1), (a = 0 \text{ or } k \equiv \varepsilon + J \text{ mod } p), and n\cdot(a - e) \le k + t for every n \le p (a - e truncated at 0).Structured proof, 2 steps Lemma 8.1, p. 28 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FormalParameter.lean · lines 59–61 lemma exists_norm_eq_inv_pow_bounds x t ε J k (hQ : p ^ e = Q + 1) (H : e ≠ 0 ∧ ε ≤ 1 ∧ x + 1 + Q * J = p * t + ε + Q * k := by omega) : ∃ a, ‖(x + 1 : ℂ_[p])‖ = (↑p)⁻¹ ^ a ∧ (1 < a → p < x + 1) ∧ (a = 0 ∨ k ≡ ε + J [MOD p]) ∧ ∀ n ≤ p, n * (a - e) ≤ k + t := bylemma
norm_coeff_le_of_derivlines 72–95argumentLet p \ge 13 be a prime, e \in \{1, 2\}, Q \in \mathbb{N} with p^e = Q + 1, \varpi \in \mathbb{C}_p with |\varpi^Q|^2 = p^{-e} and \varpi \ne 0, and let m, n, Z, \mu be one-variable power series over \mathbb{C}_p such that n' and Z' have coefficients in \mathfrak{o}, n(0) = 0, the coefficient of X^{j+1} in Z is 0 whenever Q \nmid j, the coefficient of X^{Q+1} in Z is -(\varpi^Q)^{-1}, the coefficients of X^0, X^1, X^2 in m are 0, m' = n\cdot Z', and \mu = (\varpi^{p+1}/p)^{-1}\cdot \widetilde{m}(\varpi X), where \widetilde{m} is the part of m in the degrees \equiv p + 1 mod Q (congruencePartQ (p+1) m). Then |\mu_{p+1}| \le 1, |\mu_{p+p^e}| \le 1, and (\varpi^Q)^{-1}\cdot(\mu - \mu_{p+1}X^{p+1} - \mu_{p+p^e}X^{p+p^e}) has coefficients in \mathfrak{o}.Structured proof, 14 steps Lemma 8.3, p. 28 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FormalParameter.lean · lines 72–78 lemma norm_coeff_le_of_deriv (hp : 13 ≤ p) (he : e = 1 ∨ e = 2) (hQ : p ^ e = Q + 1) {ϖ : ℂ_[p]} (hπ : ‖ϖ ^ Q‖ ^ 2 = (↑p)⁻¹ ^ e) (ϖ0 : ϖ ≠ 0) {m n Z μ} (hn : d⁄dX n ∈ seriesToCp.range) (hw : d⁄dX Z ∈ seriesToCp.range) (hn0 : coeff 0 n = 0) (R : ∀ j, ¬Q ∣ j → coeff (j + 1) Z = 0) (nc : coeff (Q + 1) Z = -(ϖ ^ Q)⁻¹) (m0 : ∀ k ≤ 2, coeff k m = 0) (hm : d⁄dX m = n * d⁄dX Z) (hμ : μ = (ϖ ^ (p + 1) / p)⁻¹ • rescale ϖ (congruencePart Q (p + 1) m)) : ‖coeff (p + 1) μ‖ ≤ 1 ∧ ‖coeff (p + p ^ e) μ‖ ≤ 1 ∧ (ϖ ^ Q)⁻¹ • (μ - coeff (p + 1) μ • X ^ (p + 1) - coeff (p + p ^ e) μ • X ^ (p + p ^ e)) ∈ seriesToCp.range := bydef
IsIntegralOnNullConelines 101–105Definition. For a prime p, finite types \Phi and c, a mappr: \mathbb{N} \to \Phi \to \Phi, a finite set S \subset \mathbb{N}, \varpi \in \mathbb{C}_p, \theta \in \mathfrak{o} (Lean: \theta is an element of the ring of the power series' coefficients — the valuation ring), B \in \mathbb{N} and a power series \Theta in the variables \Phi \times c over \mathbb{C}_p: \operatorname{IsIntegralOnNullCone}(pr, S, \varpi, \theta, B, \Theta) holds iff for every type \tau of variables and every family Z \colon \Phi \times c \to \mathfrak{o}[[\tau]] of integral series without constant term such that, for every commutative ring Q of characteristic p and ring map \varphi from the series ring to Q with \varphi(\theta) = 0 and every j \in S, \varphi(\sum_x Z_x^{p^j}\cdot Z_{(pr_j(x.1), x.2)}) = 0 (the Frobenius couplings vanish modulo p and \theta), every coefficient of \Theta(\varpi \cdot Z) of degree \le B has norm \le 1.The Lean statement
New/Curve/FormalParameter.lean · lines 101–102 def IsIntegralOnNullCone {p} [Fact p.Prime] {Φ c} [Fintype Φ] [Fintype c] (pr : ℕ → Φ → Φ) (S : Finset ℕ) (ϖ : ℂ_[p]) θ B (Θ : MvPowerSeries _ ℂ_[p]) := ∀ {τ} (Z : Φ × c → _), (∀ x,lemma
coeff_subst_tangentlines 119–123argumentFor a prime p, a power series Z over \mathbb{C}_p with X^{m+1} \mid Z - X, every k \le m + 1 and every power series g over \mathbb{C}_p: the k-th coefficient of g(Z) is g_k + g_1\cdot(Z - X)_k (first-order Taylor formula for a substitution tangent to the identity).Structured proof, 2 steps Lemma 8.2, p. 28 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FormalParameter.lean · lines 119–120 lemma coeff_subst_tangent {p} [Fact p.Prime] {Z : ℂ_[p]⟦X⟧} {m} (h : X ^ (m + 1) ∣ Z - X) k (hk : k ≤ m + 1) g : coeff k (subst Z g) = coeff k g + coeff 1 g * coeff k (Z - X) := bylemma
CMLattice.lines 132–248argumentexists_formal_parameter Normal form of theta series at non-split primes. Let d be a prime \equiv 7 mod 8, C a CM datum for d with theta function \theta and lattice \Lambda, and p a prime with a p-adic place \iota_p. There are e \in \mathbb{N}, \varpi \in \mathbb{C}_p, \pi \in \mathfrak{o} and series S, E \in \mathfrak{o}[[X]] such that: e \ne 0, |\varpi | = p^{-\rho_p} (\rho_p =nonsplitWeightd p), 1/p \le |\pi | < 1, S(0) = 0, S - S^{p^e} = X + \pi \cdot E, and T(\varpi X) = \varpi \cdot S for some T \in \mathfrak{o}[[\varphi]] (CMLattice.); and, if \chi_K(p) \ne 1 and p \ge 13, there are u_0, u_1, u_2 \in \mathfrak{o}, R \in \mathfrak{o}[[X]] and \psi \in \mathbb{C}_p[[X]] with |\pi | = p^{(\chi_K(p)-1)/2} (that is p^{-1/2} if p = d is ramified and p^{-1} if p is inert), (e = 1 \text{ and } p = d) or (e = 2, u_0 = 0 \text{ and } |u_1| = 1), \psi = u_0X^2 + u_1S^{p+1} + u_2S^{p+p^e} + \pi \cdot R (as series over \mathbb{C}_p), \psi(0) = 0, and for every natural n prime to p there are N, \kappa \in \mathbb{C}_p with |N| = 1 and |\kappa | = p^{(1-\chi_K(p))/2 - 1/(p-1)} such that for every y \in \mathbb{C} with n\cdot y \in \Lambda there is V \in \mathfrak{o}[[X]] with (\iota_p-Taylor series of U_y\theta)(\varpi X) = (\exp(\kappa \psi)\cdot V)(NX). (The first part holds for every prime p; the second needs both \chi_K(p) \ne 1 and p \ge 13. N and \kappa may depend on n, and one choice serves every y with n\cdot y \in \Lambda; the integral factor V may depend on y and is not asserted to be a unit.)phiSeriesRing Structured proof, 58 steps Proposition 8.4, p. 29 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FormalParameter.lean · lines 132–140 lemma CMLattice.exists_formal_parameter {d} [PrimeSevenModEight d] (C : CMLattice d) {p : ℕ} [Fact p.Prime] [PadicPlace p] : ∃ e ϖ, ∃ (π : valRingCp p) (S E : (valRingCp p)⟦X⟧), (e ≠ 0 ∧ ‖ϖ‖ = p ^ (-nonsplitWeight d p) ∧ (↑p)⁻¹ ≤ ‖π.1‖ ∧ ‖π.1‖ < 1 ∧ (seriesToCp S).constantCoeff = 0 ∧ S - S ^ p ^ e = X + π • E ∧ ∃ T ∈ C.phiSeriesRing, rescale ϖ T = ϖ • seriesToCp S) ∧ (chiK d p ≠ 1 → 13 ≤ p → ∃ u₀ u₁ u₂ : valRingCp p, ∃ R ψ, ‖π.1‖ = p ^ ((chiK d p - 1) / 2 : ℝ) ∧ (e = 1 ∧ p = d ∨ e = 2 ∧ u₀ = 0 ∧ ‖u₁.1‖ = 1) ∧ ψ = seriesToCp (u₀ • X ^ 2 + u₁ • S ^ (p + 1) + u₂ • S ^ (p + p ^ e) + π • R) ∧ ψ.constantCoeff = 0 ∧ ∀ n, p.Coprime n → ∃ N κ : ℂ_[p], (‖N‖ = 1 ∧ ‖κ‖ = p ^ ((1 - chiK d p) / 2 - 1 / (p - 1) : ℝ)) ∧ ∀ y : ℂ, n * y ∈ C.Λ → ∃ V, rescale ϖ (taylorVia ιₚ (C.twistedTranslate 1 y C.θ)) = rescale N (expSubst (κ • ψ) * seriesToCp V)) := bylemma
Space.lines 22–38argumenttaylor_line_eq_subst_jetSeries Let E be a field with a CM type and Weil data, n a finite index set, V a hermitian space over E of rank n with all signs +1, f \in \mathcal{W}_f (Space.), a \in \mathbb{C} and v \colon \Phi \times n \to \mathbb{C} (a vector in Fock coordinates, \Phi the infinite places of E). Then the Taylor series at 0 of the one-variable function u \mapsto \Theta_f(u\cdot a\cdot v) (\Theta_f =finitePart Space.f) equals the jet series T_a f (entireTheta Space.a f) with every variable z_i replaced by v_i\cdot u (substitution of the linear series (v_i\cdot u)_i).jetSeries Structured proof, 4 steps Lemma 5.1(a), p. 19 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FrameSections.lean · lines 22–24 lemma Space.taylor_line_eq_subst_jetSeries {E n} [Field E] [CMType E] [WeilData E] [Fintype n] {V : Space E n 1} {f} (hf : f ∈ V.finitePart) a v : taylorAtZero (entireTheta f <| a • · • v) = (V.jetSeries a f).subst (linearSeries fun _ ↦ v ·) := bylemma
Space.lines 42–46argumenteq_zero_of_jetSeries_eq_zero Let E be a field with a CM type and Weil data, V a hermitian space over E of rank n with all signs +1, f \in \mathcal{W}_f, and a \in \mathbb{C} with a \ne 0. If the jet series T_a f (Space.a f) is 0, then f = 0.jetSeries Structured proof, 1 step Lemma 5.1(b), p. 19 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FrameSections.lean · lines 42–43 lemma Space.eq_zero_of_jetSeries_eq_zero [Field E] [CMType E] [WeilData E] {V : Space E n 1} {f} (hf : f ∈ V.finitePart) {a} (ha : a ≠ 0) (h : V.jetSeries a f = 0) : f = 0 := eq_zero_of_realVeclemma
Space.lines 51–67argumentjetSeries_eq_prod Let E be a field with a CM type and Weil data, V a hermitian space over E of rank n with all signs +1, f \in \mathcal{W}_f, I a finite index type, G \colon I \to(\mathbb{C} \to \mathbb{C}) entire functions, and \mu \colon \mathbb{C} \to I \to(\Phi \times n \to \mathbb{C}) such that \Theta_f(c\cdot z) = \prod_i G_i(\mu_{c, i} \cdot z) for all c \in \mathbb{C} and all z (\cdot the bilinear dot product). Then \theta(f) = \prod_i G_i(0) (\theta =Space.the theta functional) and, for every c \in \mathbb{C}, T_c f = \prod_i (Taylor series of G_i at 0) substituted at the linear series z \mapsto \mu_{c, i}\cdot z.θ Structured proof, 10 steps Lemma 5.1(c), p. 19 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FrameSections.lean · lines 51–54 lemma Space.jetSeries_eq_prod [Field E] [CMType E] [WeilData E] {V : Space E n 1} {f} (hf : f ∈ V.finitePart) {I} [Fintype I] {G : I → _} {μ : ℂ → I → _} (hG : ∀ i, Differentiable ℂ (G i)) (h : ∀ c z, entireTheta f (c • z) = ∏ i, G i (μ c i ⬝ᵥ z)) : V.θ f = ∏ i, G i 0 ∧ ∀ c, V.jetSeries c f = ∏ i, (taylorAtZero (G i)).subst (linearSeries (μ c i)) :=lemma
Parameters.lines 72–73automationlatticeModule_cmCurve For parameters P: the lattice module of the CM datum \operatorname{cmCurve}(P) equals the scaled ideal \Omega_0(P)\cdot \mathcal{O}_K (QuadField.with (\Omega_0, 1)); by the choice ofscaledIdeal cmCurveand \Omega_0.The Lean statement
New/Curve/FrameSections.lean · lines 72–73 lemma Parameters.latticeModule_cmCurve : P.cmCurve.latticeModule = QuadField.scaledIdeal _ (P.Ω₀, 1) := by grind [Ω₀, cmCurve]lemma
Parameters.lines 76–77one-stepomega₀_mem_cmCurve_lattice For parameters P: \Omega_0(P) lies in the lattice \Lambda of \operatorname{cmCurve}(P) (as \Omega_0\cdot 1 \in \Omega_0\cdot \mathcal{O}_K).The Lean statement
New/Curve/FrameSections.lean · line 76 lemma Parameters.omega₀_mem_cmCurve_lattice : ↑P.Ω₀ ∈ P.cmCurve.Λ :=lemma
Parameters.lines 79–81one-stepnorm_map_psi₀ For parameters P, an exponent s, a normed field R, a type F of multiplicative maps \mathbb{C} \to R (FunLike,MonoidHomClass), \iota \in F and z a finite adele of E (the argument of \psi_0): |\iota(\psi_0(z))| = 1, where \psi_0 =stdLattice.(P.E s) is the standard additive character of the finite adeles of E; its values are roots of unity.psi₀ The Lean statement
New/Curve/FrameSections.lean · lines 79–80 @[simp] lemma Parameters.norm_map_psi₀ {F R} [NormedField R] [FunLike F ℂ R] [MonoidHomClass F ℂ R] (ι : F) z : ‖ι (stdLattice.psi₀ (P.E s) z)‖ = 1 :=lemma
Parameters.lines 89–126argumentexists_finitePart_of_isTightFrame Let P be parameters, s an exponent, V a standard hermitian space over E = E(P, s) of rank n (all signs 1, adelic point 1; instance [V.]). Let M, N be natural numbers with N \ne 0, I a finite type, w \colon I \to E and m \colon I \to \mathbb{N} with (w, m) a tight frame of length M (IsStd IsTightFramew m M: \alpha^{-1}w_i \in \hat{O} for all i and \sum_i m_i\cdot \Phi_\sigma(w_i)\cdot \operatorname{conj} \Phi_\tau(w_i) = M\cdot [\sigma = \tau] for all infinite places \sigma, \tau; the length M is this scalar, not the number of indices or \sum_i m_i), \delta \in \mathcal{O}_K with \delta \cdot \overline{\delta} = N, and x \colon I \times n \to \mathbb{N}^3 with \operatorname{monomialDeg}(x_i) = m_{i.1} (\operatorname{monomialDeg}(a, b, c) = a + 2b + 3c). Let C be a CM datum for d and a \in \Lambda(C) with \operatorname{area}(C) = |a|^2/N\cdot M\cdot \sqrt{d}/2. Then there is F \in \mathcal{W}_f (V.) such that: (1) for every \gamma \colon n \to E, writing G_i = U^{m_{i.1}}_{y_i}(\theta^{x}) — the twisted translate (finitePart CMLattice.) of the monomial section \theta^a \sigma^{2b} G^c of C at x_i by y_i = (a/\overline{\delta})\cdot(-\sum_\tau \Phi_\tau(\gamma_{i.2})\cdot \operatorname{conj} \Phi_\tau(w_{i.1})) — one has \theta(\varrho(\operatorname{finVec}(\alpha^{-1}\gamma))F) = \prod_i G_i(0), and for every c \in \mathbb{C} the jet series T_c(\varrho(\operatorname{finVec}(\alpha^{-1}\gamma))F) equals \prod_i \operatorname{taylor}(G_i) substituted at the linear form z \mapsto \sum_{\tau } (a/\overline{\delta})/\operatorname{areaScale}\cdot c\cdot \operatorname{conj} \Phi_\tau(w_{i.1})\cdot z_{(\tau, i.2)}; (2) for every prime p, every p-adic place \iota_p and every finite adelic vector x: |\iota_p(F(\operatorname{finVec} x))| \le 1; (3) F has a vacuum expansion for \delta (in E) and N (twistedTranslate Space.: a nonempty finite index set of N^{2f|n|} elements (f the number of infinite places of E), finite adelic shift vectors x_j (VacuumExpansion shiftj) with \delta x_j integral, and a natural m' with \sum_j m'\cdot \ell(\varrho(\operatorname{finVec} x_j)vac)\cdot \varrho(\operatorname{finVec}(-x_j))F = N^{2f|n|}\cdot \ell(F)\cdot vac for all linear forms \ell; the translates are by \pm x_j themselves, with no factor \alpha, unlike the argument \operatorname{finiteImage}(\gamma) = \alpha^{-1}\gamma of (1);ConjugateJetDefs.30–36).lean Structured proof, 19 steps Proposition 5.2, p. 19 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/FrameSections.lean · lines 89–98 lemma Parameters.exists_finitePart_of_isTightFrame {M N : ℕ} {I} [Fintype I] {w m} (δ : 𝓞 P.K) (h0 : N ≠ 0) (hN : δ * conj (δ : ℂ) = N) (hw : IsTightFrame w m M) (x : I × n → _) (hx : ∀ i, CMLattice.monomialDeg (x i) = m i.1) ⦃C : CMLattice P.d⦄ ⦃a⦄ (ha : a ∈ C.Λ) (hA : C.area = ‖a‖ ^ 2 / N * M * √P.d / 2) : ∃ F ∈ V.finitePart, (∀ γ, let G i := C.twistedTranslate (m i.1) (a / conj ↑δ * -∑ τ, Φ τ (γ i.2) * conj (Φ τ (w i.1))) (C.monomialSection (x i)) V.θ (V.ϱ (finVec (finiteImage γ)) F) = ∏ i, G i 0 ∧ ∀ c, V.jetSeries c (V.ϱ (finVec (finiteImage γ)) F) = ∏ i, (taylorAtZero (G i)).subst (linearSeries fun y ↦ if y.2 = i.2 then a / conj ↑δ / P.areaScale * c * conj (Φ y.1 (w i.1)) else 0)) ∧ (∀ p [Fact p.Prime] [PadicPlace p] x, ‖ιₚ (F (finVec x))‖ ≤ 1) ∧ Nonempty (V.VacuumExpansion (algebraMap P.K _ δ) N F) := bylemma
isAdmissibleComb_namelines 19–39argumentLet E be a field with a CM type and Weil data, n a finite index type, V a hermitian space over E of rank n (signs s), \mathfrak{m} a modulus of E (a nonzero ideal of \mathcal{O}_E never divisible by both a prime and its conjugate), \Psi \colon(n \to \mathcal{O}_E/\mathfrak{m}) \to \mathbb{C}, p a proposition, B \in \mathbb{R}, u, v \in \mathcal{S}(V), g \in \mathcal{O}_E and q \in \mathbb{N}. Assume g\cdot q \in \mathfrak{m}, every value \Psi(x) is integral away from q (integralAwayq: |\iota(\Psi(x))| \le 1 for every ring map \iota \colon \mathbb{C} \to \mathbb{C}_l, l prime to q), if p holds then \sum_x |\sigma(\Psi(x))| \le B for every automorphism \sigma of \mathbb{C}, and P^\mathfrak{m} u = v (Space.at the places of \mathfrak{m}). Let d be a finite adele (in Lean an element of the subtype \{d | \mathfrak{m}.\operatorname{reduction}(d\cdot q) = 0\}, by default g). Then \Psi \otimes u = \operatorname{name}_V(\operatorname{liftFn}_\mathfrak{m} \Psi)(u) (projOn Space.of the lift of \Psi to finite adelic vectors) is an admissible combination (name IsAdmissibleComb) of the vectors \operatorname{finHeisOp}_V(x)(v): \Psi \otimes u = \sum_x r(x)\cdot \operatorname{finHeisOp}(x)(v) for a finitely supported r whose support consists of x with \overline{d}\cdot x_i integral at every place not dividing q (translationsn q \overline{d}), with N(g)^{|n|}\cdot r(x) integral away from q for every x, and with \sum_x |\sigma(r(x))| \le B for every \sigma if p holds.Structured proof, 6 steps Lemma 6.3, p. 24 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/IntegralVacuum.lean · lines 19–24 lemma isAdmissibleComb_name {E n : Type} [Field E] [CMType E] [WeilData E] [Fintype n] {s} (V : Space E n s) (𝔪 : Modulus E) {Ψ p B u v} {g : 𝓞 E} {q : ℕ} (hg : g * q ∈ 𝔪.ideal) (hΨ : ∀ x, Ψ x ∈ integralAway q) (hB : p → ∀ σ : ℂ ≃+* ℂ, ∑ x, ‖σ (Ψ x)‖ ≤ B) (hv : V.projOn 𝔪.places u = v) (d : {d // 𝔪.reduction (d * q) = 0} := ⟨algebraMap _ _ g, by simpa using Quotient.eq_zero_iff_mem.2 hg⟩) : IsAdmissibleComb (V.finHeisOp · v) (translations n q (star d.1.1)) q (absNorm (span {g}) ^ card n) p B (V.name 𝔪.places (𝔪.liftFn Ψ) u) := bydef
Parameters.lines 43–44vacuumScale Definition. For parameters P and an exponent s, \operatorname{vacuumScale}(P, s) = \kappa_0 is the number c \ne 0 chosen inParameters.for s and the standard space of rank one (exists_isJetConjugate_generator stdSpacewith index Unit): a c \ne 0 such that c\cdot vac has values integral at every p-adic place and all \operatorname{Aut}(\mathbb{C}/K)-conjugates of its values are \le \exp(C\cdot N_1^2).The Lean statement
New/Curve/IntegralVacuum.lean · line 43 noncomputable def Parameters.vacuumScale P s :=def
Parameters.line 49intVacuum Definition. For a hermitian space V over E(P, s) of rank n (finite index type n, signs \varepsilon): \operatorname{intVacuum}(V) = \theta^{\circ} = \kappa_0^{|n|}\cdot vac_V \in \mathcal{S}(V), where \kappa_0 = \operatorname{vacuumScale}(P, s) and vac_V =Space.is the vacuum of V.vacElem The Lean statement
New/Curve/IntegralVacuum.lean · line 49 noncomputable def Parameters.intVacuum := P.vacuumScale s ^ card n • V.vacElemdef
Parameters.lines 53–55integralAfter Definition. For an integer \delta \in \mathcal{O}_K and a predicate S on the finite places of E = E(P, s): \operatorname{integralAfter}(\delta, S) is the additive subgroup of vectors x \colon n \to \mathbb{A}_f(E) such that for every index i and every finite place w satisfying S, the w-component of \delta \cdot x_i has valuation \le 1 (\delta x_i is integral at w).The Lean statement
New/Curve/IntegralVacuum.lean · lines 53–54 def Parameters.integralAfter (δ : 𝓞 P.K) (S : FinPlace (P.E s) → Prop) : AddSubgroup (n → 𝔸f (P.E s)) := by use! {x | ∀ i w, S w → Valued.v (evalAt w (algebraMap P.K (P.E s) δ * x i)) ≤ 1} <;>def
Parameters.lines 59–60standardData Definition. For a hermitian space V over E(P, s) of rank n, a prime p with a p-adic place \iota_p (instances), and \delta \in \mathcal{O}_K: \operatorname{standardData}(V, \delta) = Std_\delta is the O_\iota-submodule of \mathcal{S}(V) (O_\iota =embValRing, the complex numbers with |\iota_p(z)| \le 1) spanned by the vectors \operatorname{finHeisOp}_V(x)(\theta^{\circ}), \theta^{\circ} = \operatorname{intVacuum}(V), for x \in \operatorname{integralAfter}(\delta, places above p) (\delta x_i integral at every place above p).The Lean statement
New/Curve/IntegralVacuum.lean · line 59 noncomputable def Parameters.standardData {p} [Fact p.Prime] [PadicPlace p] δ :=lemma
Parameters.line 63automationkappa₀_ne_zero For parameters P and an exponent s: \operatorname{vacuumScale}(P, s) \ne 0.The Lean statement
New/Curve/IntegralVacuum.lean · line 63 @[simp] lemma Parameters.kappa₀_ne_zero P s : vacuumScale P s ≠ 0 := by grind [vacuumScale]lemma
Parameters.lines 69–72automationintVacuum_finVec_eq_prod For a standard hermitian space V over E(P, s) of rank n and a finite adelic vector x: \theta^{\circ}(\operatorname{finVec} x) = \prod_i \kappa_0\cdot vac_1(\operatorname{finVec}(x_i)), where \theta^{\circ} = \operatorname{intVacuum}(V), \kappa_0 = \operatorname{vacuumScale}(P, s) and vac_1 is the vacuum of the standard space of rank one (finVecx = the adelic vector with finite part \alpha x and zero real part).The Lean statement
New/Curve/IntegralVacuum.lean · lines 69–70 lemma Parameters.intVacuum_finVec_eq_prod {x} : intVacuum V (finVec x) = ∏ i, P.vacuumScale s * (stdSpace _ Unit).vacElem (finVec fun _ ↦ x i) := bylemma
Parameters.lines 77–80one-stepnorm_intVacuum_le For a standard hermitian space V over E(P, s) of rank n, a finite adelic vector x and an automorphism \sigma of \mathbb{C} fixing K: |\sigma(\theta^{\circ}(\operatorname{finVec} x))| \le \exp(C\cdot N_1^2)^{|n|}, where C is the constant chosen inParameters.P. (By the product formula ofexists_isJetConjugate_generator intVacuum_finVec_eq_prodand the bound of that lemma for rank one.)The Lean statement
New/Curve/IntegralVacuum.lean · lines 77–79 lemma Parameters.norm_intVacuum_le {x} (σ : Gal(ℂ/K P)) : ‖σ (intVacuum V (finVec x))‖ ≤ .exp (P.exists_isJetConjugate_generator.choose * P.N₁ s ^ 2) ^ card n := by grw [intVacuum_finVec_eq_prod, map_prod, norm_prod, vacuumScale,lemma
Parameters.lines 84–86one-stepnorm_intVacuum_le_one For a standard hermitian space V over E(P, s) of rank n, a finite adelic vector x, a prime p and a p-adic place \iota_p: |\iota_p(\theta^{\circ}(\operatorname{finVec} x))| \le 1. (Product formula and integrality of \kappa_0\cdot vac_1 from the choice of \kappa_0.)The Lean statement
New/Curve/IntegralVacuum.lean · lines 84–85 lemma Parameters.norm_intVacuum_le_one {x p} [Fact p.Prime] [PadicPlace p] : ‖ιₚ (intVacuum V (finVec x))‖ ≤ 1 := bylemma
Parameters.lines 90–95argumentnorm_dataInner_le For a standard hermitian space V over E(P, s) of rank n, f \in \mathcal{S}(V) and M \in \mathbb{R} with |f(\operatorname{finVec} x)| \le M for every finite adelic vector x: |\langle f, f\rangle | \le M^2, where \langle \cdot, \cdot \rangle =Space.is the inner product \int \overline{f} f' over \mathbb{A}^n.dataInner Structured proof, 3 steps Lemma 6.2(e), p. 22 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/IntegralVacuum.lean · lines 90–91 lemma Parameters.norm_dataInner_le {f M} (h : ∀ x, ‖f (finVec x)‖ ≤ M) : ‖V.dataInner f f‖ ≤ M ^ 2 := V.dataInner_eq_quotMean .. ▸ norm_quotMean_le _ (isClosed_property (.piMap fun _ ↦lemma
Parameters.lines 97–98one-stepexists_intVacuum_ne_zero For a standard hermitian space V over E(P, s) of rank n: \theta^{\circ}(\operatorname{finVec} x) \ne 0 for some finite adelic vector x. (Otherwise \langle vac, vac\rangle = 0 bynorm_dataInner_lewith M = 0, but the vacuum has nonzero norm.)The Lean statement
New/Curve/IntegralVacuum.lean · line 97 lemma Parameters.exists_intVacuum_ne_zero : ∃ x, intVacuum V (finVec x) ≠ 0 := bylemma
exists_null_coupling_frameslines 24–53argumentLet p be a prime, \Phi and n finite index types,pr: \mathbb{N} \to \Phi \to \Phi, S \subset \mathbb{N} finite, N \in \mathbb{N}, \kappa \colon \Phi \to \mathbb{N} \to \mathbb{N} (column counts),ev\subset \Phi finite, Y \colon \Phi \to n \to \mathbb{N} \to \mathfrak{o} and \theta \in \mathfrak{o}. There are matrices M_{\sigma, h} \in M_h(\mathfrak{o}) (for \sigma \in \Phi and heights h) such that (i) |\theta |^{\sum_{e\in S}\sum_\sigma \operatorname{couplingCount}(p, \kappa, N, ev, \sigma, pr_e(\sigma), e)} \le \prod_{(\sigma, h<N)} |\det M_{\sigma, h}|^{\kappa(\sigma, h)}, and (ii) for every commutative ring R of characteristic p and ring map g \colon \mathfrak{o} \to R with g(\theta) = 0, all j \in S, \sigma \in \Phi, heights h, h' and row indices i, i': unless (h = 1 \text{ and } (\sigma \inevor (h' = 1 \text{ and } pr_j(\sigma) \inev))), g(\sum_a (M_{\sigma, h}\cdot Y_{\sigma, a})_i^{p^j}\cdot(M_{pr_j\sigma, h'}\cdot Y_{pr_j\sigma, a})_{i'}) = 0, where Y_{\sigma, a} is the column vector (Y_{\sigma, a, k})_k.Structured proof, 17 steps Lemma 9.1, p. 32 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/JetDivisibility.lean · lines 24–29 lemma exists_null_coupling_frames {p : ℕ} [Fact p.Prime] {Φ n} [Fintype Φ] [Fintype n] (pr : ℕ → Φ → Φ) S N κ ev (Y : Φ → n → ℕ → valRingCp p) θ : ∃ M : ∀ _ h, Matrix (Fin h) (Fin h) _, ‖θ‖ ^ ∑ e ∈ S, ∑ σ, couplingCount p κ N ev σ (pr e σ) e ≤ ∏ j : Σ _, Fin N, ‖(M j.1 j.2).det‖ ^ κ j.1 j.2 ∧ ∀ {R} [CommRing R] [CharP R p] (g : _ →+* R), g θ = 0 → ∀ (j : S) σ {h} i {h'} i', ¬(h = 1 ∧ (σ ∈ ev ∨ h' = 1 ∧ pr j σ ∈ ev)) → g (∑ a, (M σ h i ⬝ᵥ (Y σ a ·)) ^ p ^ j.1 * M (pr j σ) h' i' ⬝ᵥ (Y (pr j σ) a ·)) = 0 := bylemma
norm_schurJet_lelines 65–111argumentDivisibility of Schur jets. Let p be a prime, \Phi, n, n' finite index types, \kappa column counts fitting the ranks (FitsRanksn n' \kappa),pr: \mathbb{N} \to \Phi \to \Phi, S \subset \mathbb{N} finite, \rho, \omega \in \mathbb{R}, \varpi \in \mathbb{C}_p with |\varpi | = p^{-\rho }, \theta \in \mathfrak{o} with |\theta | = p^\omega, a power series \Theta over \mathbb{C}_p,ev\subset \Phi finite, and charges g \colon \Phi \to \mathbb{N} \to (index) \to \mathbb{N} such that for e \in S, \sigma, h, b: if \sigma \inevor (h = 1 \text{ and } pr_e(\sigma) \inev) then g(\sigma, 1, b) \ne 0 or g(pr_e(\sigma), h, b) \ne 0. Let i', i be Weyl indices, N = |n'|, B = \operatorname{boxes}(\kappa, N) and m = \sum_\tau \sum_{h<N}\sum_j\sum_b g(\tau, h, (i'_\tau)_{h, j, b}) (the total charge of the boxes of row i'). If \operatorname{IsIntegralOnNullCone}(pr, S, \varpi, \theta, B, \Theta), then |\operatorname{schurJet}_\kappa(\Theta)_{i', i}| \le p^{m - ((1/(p-1) - \rho)\cdot B + \omega \cdot \sum_{e\in S}\sum_\sigma \operatorname{couplingCount}(p, \kappa, N, ev, \sigma, pr_e(\sigma), e) - |\Phi |\cdot N^3\cdot(\lfloor \log_p B\rfloor + 1))}, where \lfloor \log_p B\rfloor is Lean'sNat.p B (0 \text{ at } B = 0).log Structured proof, 21 steps Theorem E, p. 4 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/JetDivisibility.lean · lines 65–71 lemma norm_schurJet_le {p : ℕ} [Fact p.Prime] {Φ n n'} [Fintype Φ] [Fintype n] [Fintype n'] {κ} (hκ : FitsRanks n n' κ) {pr S ρ ω ϖ θ Θ ev} (hϖ : ‖ϖ‖ = p ^ (-ρ)) (hπ : ‖(θ : valRingCp p).1‖ = p ^ ω) (g : Φ → ℕ → _ → ℕ) (hg : ∀ e ∈ S, ∀ σ h b, σ ∈ ev ∨ h = 1 ∧ pr e σ ∈ ev → g σ 1 b ≠ 0 ∨ g (pr e σ) h b ≠ 0) {i'} {i : WeylIndex n κ} : let N := card n'; let B := boxes κ N; let m := ∑ τ, ∑ h : Fin N, ∑ j, ∑ b, g τ h ((i' τ).1 h j b) IsIntegralOnNullCone pr S ϖ θ B Θ → ‖schurJet κ Θ i' i‖ ≤ p ^ (m - ((1 / (p - 1) - ρ) * B + ω * ∑ e ∈ S, ∑ σ, couplingCount p κ N ev σ (pr e σ) e - card Φ * N ^ 3 * (p.log B + 1)))lemma
CMLattice.lines 15–42argumentkatz_divisibility_limit Sharpness of Katz's divisibility. Let d be a prime \equiv 7 mod 8, C a CM datum for d, p a prime with a p-adic place \iota_p, and n \in \mathbb{N}. There is f \in \mathfrak{o}[[\varphi]] (CMLattice.) with (p^{\rho_p - 1/(p-1)})^n \le |n!\cdot f_n|_p, where f_n is the n-th coefficient and \rho_p =phiSeriesRing nonsplitWeightd p. The witness f may depend on p, \iota_p and n; the statement is a lower bound for each n, not one series serving every n and not an equality.Structured proof, 17 steps Proposition 10.1, p. 34 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/KatzDivisibility.lean · lines 15–17 lemma CMLattice.katz_divisibility_limit {d} [PrimeSevenModEight d] (C : CMLattice d) {p} [Fact p.Prime] [PadicPlace p] n : ∃ f ∈ C.phiSeriesRing, (p ^ (nonsplitWeight d p - 1 / (p - 1))) ^ n ≤ ‖n ! * f.coeff n‖ := by_contra fun _ ↦ bydef
Data.lines 19–20localAsk Definition. For data D, a natural number p, a real y and an infinite place \sigma of E: \operatorname{localAsk}(D, p, y, \sigma) = ask_p(y, \sigma) = ((1 - \chi_K(p))/2) \cdot \sum_{e} [e \ge 1 and (e odd or p = d)] \cdot(y/p^e - w((-p^e)\cdot \sigma))^+, where \chi_K = (\cdot /d) is the quadratic character of K, w =Data.(w(\sigma) = a/x \text{ if } \sigma is thick, a/x_1 otherwise), (-p^e)\cdot \sigma is the product in the group of infinite places of the place named by the integer -p^e (nominalWeight Data.) and \sigma, (\cdot)^+ = \max(\cdot, 0), and the sum over e \in \mathbb{N} is Lean's unconditional sumplaceOfInt tsum(0 if the family is not summable).The Lean statement
New/Curve/LiveSum.lean · line 19 def localAsk (y : ℝ) σ := (1 - chiK P.d p) / 2 * ∑' e, ite (0 < e ∧ (Odd e ∨ p = P.d))def
Data.line 24forcedPart Definition. For data D and a natural number p: \operatorname{forcedPart}(D, p) = F(p) = \sum_\sigma \operatorname{localAsk}(D, p, w(\sigma), \sigma), the sum over all infinite places \sigma of E, with w(\sigma) =Data.(D, \sigma).nominalWeight The Lean statement
New/Curve/LiveSum.lean · line 24 def forcedPart := ∑ σ, D.localAsk p (D.nominalWeight σ) σdef
Data.line 28gain Definition. For data D and a natural number p: \operatorname{gain}(D, p) = m\cdot(\sum_{\tau \in \operatorname{tops}} \operatorname{localAsk}(D, p, a, \tau) + k\cdot \operatorname{forcedPart}(D, p)), where tops =Data.are the infinite places whose class modulo N_0 is 1, a is the ordertops Data.(the least multiple of N_1 that is \ge x\cdot b), m the number of lifts and k = r + 1 - m. The function takes the two explicit arguments D and p (see binders).a The Lean statement
New/Curve/LiveSum.lean · line 28 def gain := D.m * (∑ τ ∈ D.tops, D.localAsk p D.a τ + D.k * D.forcedPart p)abbrev
Data.line 32IsSmallNonsplit Definition (an abbreviation). For data D and a natural number p: \operatorname{IsSmallNonsplit}(D, p) holds iff p < x_1 (as real numbers) and \chi_K(p) \ne 1. For a prime p: p lies below x_1 and is inert or ramified in K.The Lean statement
New/Curve/LiveSum.lean · line 32 abbrev IsSmallNonsplit := p < D.x₁ ∧ chiK P.d p ≠ 1def
Data.line 35IsShortPrime Definition. For data D and a natural number p: \operatorname{IsShortPrime}(D, p) holds iff m divides p - 1 or m divides p + 1 (natural numbers, p - 1 truncated at 0); for p \ge 1 this says p \equiv \pm 1 mod m. At p = 0 the truncated difference 0 - 1 is 0, which every m divides, so \operatorname{IsShortPrime}(D, 0) holds.The Lean statement
New/Curve/LiveSum.lean · line 35 def IsShortPrime := D.m ∣ p - 1 ∨ D.m ∣ p + 1def
Data.line 39loss Definition. For data D and a natural number p: \operatorname{loss}(D, p) = f\cdot(\log b)^2\cdot((a/p)\cdot \mu), with \mu = m if \operatorname{IsShortPrime}(D, p) and \mu = 1 otherwise; f is the number of infinite places of E.The Lean statement
New/Curve/LiveSum.lean · line 39 def loss := D.f * D.logB ^ 2 * (D.a / p * ite (D.IsShortPrime p) D.m 1)def
Data.line 42ceilLogM Definition. For data D and a natural number p: \operatorname{ceilLogM}(D, p) = \mathfrak{r} =Nat.p m, the least natural number \mathfrak{r} with m \le p^\mathfrak{r} (for p > 1).clog The Lean statement
New/Curve/LiveSum.lean · line 42 def ceilLogM := p.clog D.mdef
Data.line 46deltaP Definition. For data D and a natural number p: \operatorname{deltaP}(D, p) = \delta_p = \mathfrak{r}\cdot f\cdot(n_m + \mathfrak{r}) \in \mathbb{N}, where \mathfrak{r} = \operatorname{ceilLogM}(D, p), f is the number of infinite places of E and n_m = k + m(t + 1) is the last rank.The Lean statement
New/Curve/LiveSum.lean · line 46 def deltaP := D.ceilLogM p * D.f * (D.n D.m + D.ceilLogM p)def
Data.line 49jetCeil Definition. For data D and a natural number p: \operatorname{jetCeil}(D, p) = j_p = \lceil m\cdot(2\cdot f\cdot a/p)\rceil \in \mathbb{N} (the natural ceiling of a real number).The Lean statement
New/Curve/LiveSum.lean · line 49 def jetCeil := ⌈(D.m * (2 * D.f * D.a / p) : ℝ)⌉₊def
Data.line 53o₀ Definition. For data D and a natural number p: o_0(D, p) is the order, in (\mathbb{Z}/N_0)^\times, of the class modulo N_0 (Parameters.) of the infinite place named by -p (placeClass Data.(-p), the identity place if -p is not prime to N_1). For p prime to N_1 it is the order of -p in (\mathbb{Z}/N_0)^\times.placeOfInt The Lean statement
New/Curve/LiveSum.lean · line 53 def o₀ := orderOf (P.placeClass ⟨_, rfl⟩ (D.placeOfInt (-p)))def
Data.line 57IsServed Definition. For data D and a natural number p: \operatorname{IsServed}(D, p) holds iff \chi_K(p) = -1, p is not short (\neg \operatorname{IsShortPrime}(D, p)), o_0(D, p) is odd and o_0(D, p) \le \operatorname{ceilLogM}(D, p).The Lean statement
New/Curve/LiveSum.lean · line 57 def IsServed := chiK P.d p = -1 ∧ ¬D.IsShortPrime p ∧ Odd (D.o₀ p) ∧ D.o₀ p ≤ D.ceilLogM pdef
Data.lines 61–62IsCollision Definition. For data D, a natural number p, a finite setevof infinite places, an infinite place \tau and e \in \mathbb{N}: \operatorname{IsCollision}(D, p,ev, \tau, e) holds iff e \ge 1 and (e is odd or p = d), \tau \in tops \backslashev, and (-p^e)\cdot \tau \in tops \backslashev, where (-p^e)\cdot \tau is the product with the place named by -p^e.The Lean statement
New/Curve/LiveSum.lean · line 61 def IsCollision ev τ e := (0 < e ∧ (Odd e ∨ p = P.d)) ∧ τ ∈ D.tops \ ev ∧def
Data.line 65collisionSum Definition. For data D, a natural number p and a finite setevof infinite places: \operatorname{collisionSum}(D, p,ev) = \sum_\tau \sum_{e \in \mathbb{N}} [\operatorname{IsCollision}(D, p,ev, \tau, e)]\cdot a/p^e, the outer sum over all infinite places \tau, the inner one atsum. The function takes the three explicit arguments D, p,ev(see binders).The Lean statement
New/Curve/LiveSum.lean · line 65 def collisionSum ev := ∑ τ, ∑' e, ite (D.IsCollision p ev τ e) (D.a / p ^ e : ℝ) 0def
couplingCountlines 69–73Definition. For a type \Phi, a natural number p, a function \kappa \colon \Phi \to \mathbb{N} \to \mathbb{N} (column counts by place and height), n' \in \mathbb{N}, a finite setev\subset \Phi, places \sigma, \sigma' \in \Phi and e \in \mathbb{N}, put t(\sigma) = \sum_{h<n', h=1, \sigma \notin ev} \kappa(\sigma, h), r(\sigma) = \sum_{h<n', h\ne 1} \kappa(\sigma, h) and B(\sigma) = \sum_{h<n', h\ne 1} h\cdot \kappa(\sigma, h). Then \operatorname{couplingCount}(p, \kappa, n',ev, \sigma, \sigma', e) = \min(t(\sigma)/p^e, r(\sigma') + t(\sigma')) + r(\sigma)/p^e + \min(B(\sigma)/p^e, B(\sigma')), a real number. The function takes the seven explicit arguments p, \kappa, n',ev, \sigma, \sigma', e (see binders).The Lean statement
New/Curve/LiveSum.lean · line 69 def _root_.couplingCount {Φ} (p : ℕ) (κ : Φ → ℕ → ℕ) n' (ev : Finset Φ) σ σ' e :=def
Data.lines 77–78κ Definition. For data D, an infinite place \tau and a height h \in \mathbb{N}: \kappa(D, \tau, h), the number of columns of height h at \tau, is: a if h = 1 and \tau \in tops; 0 if h = 1 and \tau \notin tops; w_1(\tau) - \lfloor(k + t + 1)/2\rfloor if h = k (\ne 1); \mathsf{h} - (t + 1) if h \ne 1, h \ne k, k < h and (t + 1) \mid h - k; and 0 otherwise. Here w_1 =Data.at stage 1, \mathsf{h} =w Data.= 2r^8 is the gap, t = 5r, and the subtractions are truncated at 0.h The Lean statement
New/Curve/LiveSum.lean · line 77 def κ := ite (h = 1) (ite (τ ∈ D.tops) D.a 0) (ite (h = D.k) (D.w 1 τ - (D.k + D.t + 1) / 2)lemma
Data.lines 80–81automationκ_le For data D, an infinite place \tau, a height h and every natural number a' (Lean'sa): (a' \text{ if } h = 1 else \kappa(D, \tau, h)) \le (a' if h = 1 else 0) + (w_1(\tau) if h = k else 0) + \mathsf{h}, with \mathsf{h} =Data.the gap. (By unfolding \kappa;h grind.)The Lean statement
New/Curve/LiveSum.lean · line 80 lemma κ_le a : ite (h = 1) a (D.κ τ h) ≤ ite (h = 1) a 0 + ite (h = D.k) (D.w 1 τ) 0 + D.h := bydef
Data.line 85lastEntry Definition. For data D, a stage j \in \mathbb{N} and an infinite place \tau: \operatorname{lastEntry}(D, j, \tau) = 0 if j = 0, and \lfloor n_{j-1}/2\rfloor - w_j(\tau) \in \mathbb{Z} otherwise (n_{j-1} = k + (j-1)(t+1) the rank, w_j =Data.): the exponent of the determinant in the weight at stage j and place \tau.w The Lean statement
New/Curve/LiveSum.lean · line 85 def lastEntry j τ := ite (j = 0) 0 (D.n (j - 1) / 2 - D.w j τ : ℤ)def
Data.line 89keptColumns Definition. For data D and a height h \in \mathbb{N}: \operatorname{keptColumns}(D, h) =h₂- \lfloor(t+1)/2\rfloor (Data., truncated) if k \le h and (t + 1) \mid h - k, and 0 otherwise; the columns of height h that keep their height under branching to Y_m.reducedHalfGap The Lean statement
New/Curve/LiveSum.lean · line 89 def keptColumns := ite (D.k ≤ h ∧ D.t + 1 ∣ h - D.k) D.reducedHalfGap 0def
Data.line 92columnsY Definition. For data D, an infinite place \tau and a height h: \operatorname{columnsY}(D, \tau, h) = \operatorname{keptColumns}(D, h) + (\kappa(D, \tau, h + 1) - \operatorname{keptColumns}(D, h + 1)) \in \mathbb{N} (truncated subtraction): the columns of height h at \tau of the weight on Y_m.The Lean statement
New/Curve/LiveSum.lean · line 92 def columnsY := D.keptColumns h + (D.κ τ (h + 1) - D.keptColumns (h + 1))lemma
hasSum_live_inv_powlines 96–102computationLet d and p be primes (instancesFact d.,Prime Fact p.) with \chi_K(p) = (p/d) \ne 1, and let c \in \mathbb{R}. Then the series \sum_{e \in \mathbb{N}} [e \ge 1 and (e odd or p = d)]\cdot c/p^e converges to (2/(1 - \chi_K(p)))\cdot c\cdot(1/(p - 1) - \rho_p), where \rho_p =Prime nonsplitWeightd p (1/(p^2 - 1) \text{ if } (p/d) = -1, 1/(2(p - 1)) \text{ if } p = d).Structured proof, 1 step Lemma 10.2(a), p. 35 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/LiveSum.lean · lines 96–98 lemma _root_.hasSum_live_inv_pow {d p : ℕ} [Fact d.Prime] [Fact p.Prime] (h : chiK d p ≠ 1) c : HasSum (fun e ↦ ite (0 < e ∧ (Odd e ∨ p = d)) (c / p ^ e : ℝ) 0) (2 / (1 - chiK d p) * c * (1 / (p - 1) - nonsplitWeight d p)) := bydef
Parameters.line 13vacuumRoot Definition. For parameters P and an exponent s, s_0 = \operatorname{vacuumRoot}(P, s) is the complex number \chi_{\mathrm{fin}}(\alpha)^{-1} raised to the complex power 1/f (principal branch of the complex power), where f is the number of infinite places of E = E(P, s), \alpha = \alpha(P, s) is the finite idele of E with component 1/P'(\zeta) at the places dividing c_0 = (1 + \sqrt{-d})/2 and 1 elsewhere (P'(\zeta) the derivative of the N_1-th cyclotomic polynomial at \zeta), and \chi_{\mathrm{fin}}(x) = \upsilon(x)\cdot |x|^{-1/2} is the character of the finite ideles given by the splitting character \upsilon of the Weil data of E and the idele norm (x extended by 1 at infinity).The Lean statement
New/Curve/PeriodDefs.lean · line 13 noncomputable def Parameters.vacuumRoot P s := (chiFin (α P s))⁻¹ ^ (numInfPlaces (P.E s) : ℂ)⁻¹lemma
Parameters.lines 19–30argumentnorm_gal_vacuumRoot For parameters P, every exponent s and every automorphism \sigma of \mathbb{C} that fixes K = \mathbb{Q}(\sqrt{-d}) pointwise: |\sigma(\operatorname{vacuumRoot}(P, s))|^2 = rd_E/\sqrt{d}, where rd_E is the root discriminant of E = E(P, s).Structured proof, 5 steps Lemma 3.1(a), p. 15 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/PeriodDefs.lean · lines 19–20 lemma Parameters.norm_gal_vacuumRoot P s (σ : Gal(ℂ/K P)) : ‖σ (vacuumRoot P s)‖ ^ 2 = rootDiscr (P.E s) / √P.d := bydef
Parameters.lines 33–34cmCurve Definition. For parameters P, \operatorname{cmCurve}(P) = \mathcal{E} is a CM datum for d (aCMLatticeP.d: a lattice \Lambda \subset \mathbb{C} with \mathcal{O}_K\cdot \Lambda \subset \Lambda, a 2-torsion point t with g_2 = 12\wp(t)^2 - 4, a_1 with a_1^2 = 12\wp(t), and \omega t, \overline{\omega}t \notin \Lambda for the generator \omega of \mathcal{O}_K), chosen so that its lattice module equals the scaled ideal u\cdot \mathcal{O}_K for some u \in \mathbb{C}^\times (QuadField.applied to the fractional ideal 1). So \mathcal{E} = \mathbb{C}/\Omega_0\mathcal{O}_K with \Omega_0 =exists_latticeModule_eq_scaledIdeal Parameters.(P).Ω₀ The Lean statement
New/Curve/PeriodDefs.lean · line 33 noncomputable def Parameters.cmCurve (P : Parameters) :=def
Parameters.lines 37–38Ω₀ Definition. For parameters P, \Omega_0(P) \in \mathbb{C}^\times is the unit chosen together with \operatorname{cmCurve}(P): the lattice of the CM datum \operatorname{cmCurve}(P) is \Omega_0(P)\cdot \mathcal{O}_K.The Lean statement
New/Curve/PeriodDefs.lean · line 37 noncomputable def Parameters.Ω₀ (P : Parameters) :=def
Parameters.lines 41–42areaScale Definition. For parameters P, \operatorname{areaScale}(P) is the unit \sqrt{2\pi /\sqrt{d}} of \mathbb{C} (the positive real square root, nonzero since d \ne 0).The Lean statement
New/Curve/PeriodDefs.lean · line 41 noncomputable def Parameters.areaScale (P : Parameters) : ℂˣ :=def
Parameters.lines 46–47periodFactor Definition. For parameters P and an exponent s, \operatorname{periodFactor}(P, s) = s_1 = s_0/u_0, where s_0 = \operatorname{vacuumRoot}(P, s) and u_0 is the complex number chosen from the Chowla–Selberg formulaCMLattice.for the curve \mathcal{E} = \operatorname{cmCurve}(P): |\iota(u_0)|_p = 1 at every p-adic embedding \iota (chowla_selberg PadicPlacep) and, for every \sigma \in \operatorname{Aut}(\mathbb{C}/K) (the automorphisms of \mathbb{C} fixing K, the domain ofgalConjugate), \operatorname{area}(\sigma \mathcal{E})\cdot |\sigma(u_0)|^2 = \pi \cdot \exp(c_d)\cdot(2\pi /\sqrt{d}), c_d =chowlaSelbergConstd.The Lean statement
New/Curve/PeriodDefs.lean · line 46 noncomputable def Parameters.periodFactor (P : Parameters) s :=def
Parameters.line 51jetScale Definition. For parameters P and an exponent s, \operatorname{jetScale}(P, s) = per = \operatorname{periodFactor}(P, s)\cdot \operatorname{areaScale}(P)/\Omega_0(P) = s_1\cdot(2\pi /\sqrt{d})^{1/2}/\Omega_0: the scale at which Taylor series of theta functions are taken (Space.).jetSeries The Lean statement
New/Curve/PeriodDefs.lean · line 51 noncomputable def Parameters.jetScale (P : Parameters) s := P.periodFactor s * P.areaScale / P.Ω₀lemma
sum_pow_eq_zero_of_nulllines 19–25argumentLet p be a prime, Q a commutative ring of characteristic p, J a finite index type, B, e \in \mathbb{N} and \rho a proposition with e = 2, or e = 1 and \rho. Let t, L \colon J \to Q with t_i - t_i^{p^e} = L_i and t_i^{p^n} = 0 for all i and all n \ge B. If \sum_i L_i^{p^j}\cdot L_i = 0 for every j such that j is odd or \rho holds, then \sum_i t_i^{p+1} = 0 and \sum_i t_i^{p+p^e} = 0.Structured proof, 1 step Lemma 8.5(a), p. 30 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ThetaProducts.lean · lines 19–21 lemma sum_pow_eq_zero_of_null {B e ρ} {t L : J → Q} (he : e = 1 ∧ ρ ∨ e = 2) (ht : ∀ i, t i - t i ^ p ^ e = L i) (t0 : ∀ i, ∀ n ≥ B, t i ^ p ^ n = 0) (hq : ∀ j, Odd j ∨ ρ → ∑ i, L i ^ p ^ j * L i = 0) : ∑ i, t i ^ (p + 1) = 0 ∧ ∑ i, t i ^ (p + p ^ e) = 0 := by simp (disch := grind)lemma
coeff_sum_frob_ne_zero_ifflines 30–39argumentLet p be a prime, Q a commutative ring of characteristic p, J, \Phi finite index types, I a type, r \colon \Phi \to J \to Q, and power series t \colon J \to Q[[\Phi \times I]] with t_i(0) = 0 for all i; let x \in \Phi and c \in I with t_i - t_i^{p^2} = \sum_v r_{v, i}\cdot X_{(v, c)} for all i. Then for every exponent d: the coefficient of d in \sum_i t_i^p\cdot r_{x, i} is nonzero iff there are n \in \mathbb{N} and y \in \Phi with \sum_i r_{y, i}^{p^{2n+1}}\cdot r_{x, i} \ne 0 and d = p^{2n+1}\cdot(the exponent of the single variable X_{(y, c)}).Structured proof, 3 steps Lemma 8.5(b), p. 30 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ThetaProducts.lean · lines 30–33 lemma coeff_sum_frob_ne_zero_iff {Φ I} [Fintype Φ] {r : Φ → J → Q} {t : J → MvPowerSeries (Φ × I) Q} (t0 : ∀ i, constantCoeff (t i) = 0) x {c} (ht : ∀ i, t i - t i ^ p ^ 2 = ∑ v, C (r v i) * X (v, c)) d : coeff d (∑ i, t i ^ p * C (r x i)) ≠ 0 ↔ ∃ n y, ∑ i, r y i ^ p ^ (2 * n + 1) * r x i ≠ 0 ∧ d = .single (y, c) (p ^ (2 * n + 1)) := bydef
Parameters.lines 48–51thetaProducts Definition. For a prime p with a p-adic place \iota_p, parameters P, an exponent s, \delta \in \mathcal{O}_K, r \in \mathbb{R} and a finite type c: \operatorname{thetaProducts}(P, s, \delta, r, c) is the set of power series \Theta over \mathbb{C}_p in the variables (infinite places of E) \times c such that there are a finite type J, vectors w \colon J \to E, natural numbers M, n, an element b \in \mathbb{C} and y \colon J \times c \to \mathbb{C} with: (w, 1) a tight frame of length M (IsTightFramew 1 M: \alpha^{-1}w_j \in \hat{O} and \sum_j \Phi_\sigma(w_j)\cdot \operatorname{conj} \Phi_\tau(w_j) = M\cdot [\sigma = \tau]; M is this scalar, not the number of vectors); \Theta = \prod_{i \in J \times c} (\iota_p-Taylor series of U_{y_i}\theta) substituted at the linear form z \mapsto \sum_\tau \iota_p(b\cdot \operatorname{conj} \Phi_\tau(w_{i.1}))\cdot z_{(\tau, i.2)}, where U_y =CMLattice.1 y and \theta are those of \mathcal{E} = \operatorname{cmCurve}(P); p \nmid M and p \nmid n; |\iota_p(b)| = r; and n\cdot \delta \cdot y_i \in \Lambda(\mathcal{E}) for every i. The definition takes the explicit arguments P, s, \delta, r, c.twistedTranslate The Lean statement
New/Curve/ThetaProducts.lean · line 48 def thetaProducts (δ : 𝓞 P.K) r c [Fintype c] := {Θ | ∃ J, ∃ (_ : Fintype J) (w : J → P.E s), ∃ M nlemma
Parameters.lines 57–77argumentexists_frame_rows_frob Let p be a prime with \chi_K(p) \ne 1 and a p-adic place \iota_p, P parameters, s an exponent, J a finite type, w \colon J \to E and M with (w, 1) a tight frame of length M, and \beta \in \mathfrak{o}. There is z : (infinite places) \to J \to \mathfrak{o} with z_{v, i} = \beta \cdot \iota_p(\operatorname{conj} \Phi_v(w_i)) for all v, i, such that for every commutative ring Q of characteristic p and ring map g \colon \mathfrak{o} \to Q killing every x with |x| \le p^{(\chi_K(p)-1)/2}, every j with j odd or p = d, and all places v, v': \sum_i g(z_{v, i})^{p^j}\cdot g(z_{v', i}) = g(\beta)^{p^j}\cdot g(\beta)\cdot M if (-p^j)\cdot v = v' (product with the place named by -p^j), and 0 otherwise.Structured proof, 7 steps Lemma 8.6, p. 31 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ThetaProducts.lean · lines 57–61 lemma exists_frame_rows_frob (hp : chiK P.d p ≠ 1) {w : J → _} {M} (hw : IsTightFrame w 1 M) β : ∃ z : _ → _ → valRingCp p, (∀ v i, z v i = β.1 * ιₚ (conj (Φ v (w i)))) ∧ ∀ (Q : Type) [CommRing Q] [CharP Q p] (g : _ →+* Q), (∀ x, ‖x.1‖ ≤ p ^ ((chiK P.d p - 1) / 2 : ℝ) → g x = 0) → ∀ j, Odd j ∨ p = P.d → ∀ v v', ∑ i, g (z v i) ^ p ^ j * g (z v' i) = ite (P.placeOfInt s (-p ^ j) * v = v') (g β ^ p ^ j * g β * M) 0 := bylemma
Parameters.lines 86–143argumentthetaProducts_normal_form Let p be a prime with \chi_K(p) \ne 1 and a p-adic place \iota_p, P parameters and s an exponent. There are \varpi \in \mathbb{C}_p and \pi \in \mathfrak{o} with |\varpi | = p^{-\rho_p} and |\pi | = p^{(\chi_K(p)-1)/2} such that for every finite type I, every r \le 1 and every \Theta \in \operatorname{thetaProducts}(P, s, 1, r, I): (a) for every B \in \mathbb{N}, \operatorname{IsIntegralOnNullCone}(pr, S_B, \varpi, \pi, B, \Theta) holds with pr_j(v) = (-p^j)\cdot v and S_B = \{j \le \log_p B \colon jodd\text{ or } p = d}; and (b) if \chi_K(p) = -1 and r = 1, there are \kappa \in \mathbb{C}_p and integral series \Psi, V (over \mathfrak{o}) with |\kappa | = p^{1-1/(p-1)}, \Psi(0) = 0, \Theta(\varpi z) = \exp(\kappa \Psi)\cdot V, and for every variable x and exponent d: the coefficient of d in \partial_x\Psi reduced modulo the maximal ideal is nonzero iff d = p^j\cdot e_y for some odd j and some variable y = (place, copy) with ((-p^j)\cdot y.1, y.2) = x.Structured proof, 35 steps Theorem D, p. 3 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/ThetaProducts.lean · lines 86–92 lemma thetaProducts_normal_form (hp : chiK P.d p ≠ 1) : ∃ ϖ π, ‖ϖ‖ = p ^ (-nonsplitWeight P.d p) ∧ ‖π.1‖ = p ^ ((chiK P.d p - 1) / 2 : ℝ) ∧ ∀ {I} [Fintype I], ∀ r ≤ 1, ∀ Θ ∈ P.thetaProducts s 1 r I, (∀ B, IsIntegralOnNullCone (fun j v ↦ P.placeOfInt s (-p ^ j) * v) {j ≤ p.log B | Odd j ∨ p = P.d} ϖ π B Θ) ∧ (chiK P.d p = -1 → r = 1 → ∃ (κ : ℂ_[p]) (Ψ V : MvPowerSeries _ (valRingCp p)), ‖κ‖ = p ^ (1 - 1 / (p - 1) : ℝ) ∧ constantCoeff Ψ = 0 ∧ Θ.rescale (fun _ ↦ ϖ) = expSubst (κ • seriesToCp Ψ) * seriesToCp V ∧ ∀ x d, (pderiv x (Ψ.map (residue _))).coeff d ≠ 0 ↔ ∃ j y, Odd j ∧ (P.placeOfInt s (-p ^ j) * y.1, y.2) = x ∧ d = .single y (p ^ j)) := bylemma
Parameters.lines 12–13one-stepcoe_trace_eq_sum For parameters P, an exponent s and z \in E = E(P, s): the trace \operatorname{Tr}_{E/K}(z), an element of K regarded in \mathbb{C}, equals \sum_\tau \Phi_\tau(z), the sum over the infinite places \tau of E of the embeddings \Phi_\tau \colon E \to \mathbb{C} of the CM type.The Lean statement
New/Curve/TightFrameExists.lean · line 12 lemma Parameters.coe_trace_eq_sum z : Algebra.trace P.K (P.E s) z = ∑ τ, Φ τ z := P.phi_algebraMaplemma
Parameters.lines 15–23argumentherm_mem_quadInt For parameters P, an exponent s and x, y \in E such that \alpha^{-1}x and \alpha^{-1}y are integral finite adeles (finiteImage id x ∈ Ô,finiteImage id y ∈ Ô, \alpha = \alpha(P, s) the finite idele of the Weil data): \sum_\tau \Phi_\tau(x)\cdot \operatorname{conj}(\Phi_\tau(y)) lies in \operatorname{quadInt}(d), the image of \mathcal{O}_K in \mathbb{C}.Structured proof, 2 steps Lemma 3.3(b), p. 16 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/TightFrameExists.lean · lines 15–16 lemma Parameters.herm_mem_quadInt {y} x (h : finiteImage id x ∈ Ô (P.E s)) (k : finiteImage id y ∈ Ô _) : ∑ τ, Φ τ x * conj (Φ τ y) ∈ quadInt P.d :=lemma
Parameters.lines 29–31one-stepadeleExtension_alpha For parameters P, an exponent s, a prime p and a ring homomorphism \varphi \colon E \to \mathbb{C}_p: the image under \operatorname{adeleExtension}(\varphi) (the component at the prime of E induced by \varphi, extended continuously to the completion) of the finite idele \alpha = \alpha(P, s) is \varphi(P'(\zeta))^{-1} if c_0 = (1 + \sqrt{-d})/2 lies in the prime induced by \varphi (placeOfEmb\varphi), and 1 otherwise.The Lean statement
New/Curve/TightFrameExists.lean · lines 29–31 @[local simp] lemma Parameters.adeleExtension_alpha (φ : _ →+* ℂ_[p]) : adeleExtension φ (P.α s).1 = ite (P.c₀InE s ∈ (placeOfEmb φ).1) (φ (P.relDifferentGen s))⁻¹ 1 := by split <;> simp [α] <;> simp [adeleExtension, *]lemma
Parameters.lines 36–43argumentnorm_iota_periodFactor For parameters P, an exponent s, a prime p with a p-adic place \iota_p \colon \mathbb{C} \to \mathbb{C}_p (instance) and an infinite place \tau of E: |\iota_p(s_1)|_p = |\operatorname{adeleExtension}(x \mapsto \iota_p(\Phi_\tau(\overline{x})))(\alpha)|_p^{-1}, where s_1 = \operatorname{periodFactor}(P, s), \alpha = \alpha(P, s) and x \mapsto \iota_p(\Phi_\tau(\overline{x})) =weightEmbedding\iota_p \tau.Structured proof, 4 steps Lemma 3.2(b), p. 16 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/TightFrameExists.lean · lines 36–37 lemma Parameters.norm_iota_periodFactor τ : ‖ιₚ (P.periodFactor s)‖ = ‖adeleExtension (weightEmbedding ιₚ τ) (P.α s).1‖⁻¹ := bylemma
Parameters.lines 45–48one-stepnorm_periodFactor_mul_conj_le_one For parameters P, an exponent s, a prime p with a p-adic place \iota_p (instance), y \in E with \alpha^{-1}y integral (finiteImage id y ∈ Ô) and an infinite place \tau: |\iota_p(s_1\cdot \operatorname{conj}(\Phi_\tau(y)))|_p \le 1, s_1 = \operatorname{periodFactor}(P, s). (Bynorm_iota_periodFactorandnorm_adeleExtension_le_oneapplied to \alpha^{-1}y.)The Lean statement
New/Curve/TightFrameExists.lean · lines 45–46 lemma Parameters.norm_periodFactor_mul_conj_le_one {y} (h : finiteImage id y ∈ Ô (P.E s)) τ : ‖ιₚ (P.periodFactor s * conj (Φ τ y))‖ ≤ 1 := bylemma
Parameters.lines 52–55automationnorm_iota_periodFactor_eq_one For parameters P, an exponent s, a prime p with a p-adic place \iota_p (instance) such that p does not divide N_1: |\iota_p(\operatorname{periodFactor}(P, s))|_p = 1. (Unfoldingnorm_iota_periodFactorat \tau = 1: c_0 does not lie in the prime induced by \iota_p, or P'(\zeta), a divisor of N_1, is a p-adic unit; onesimp.)The Lean statement
New/Curve/TightFrameExists.lean · lines 52–53 lemma Parameters.norm_iota_periodFactor_eq_one (h : ¬p ∣ P.N₁ s) : ‖ιₚ (P.periodFactor s)‖ = 1 := by simp [norm_iota_periodFactor 1, apply_ite, -RingHom.coe_comp,lemma
Parameters.lines 59–66argumentisTightFrame_zeta_pow For parameters P, an exponent s and k \in \mathbb{N}: the family (\zeta^i)_{0 \le i < N_1} in E, each element taken with multiplicity k, is a tight frame of length k\cdot N_1 (IsTightFrame): every \alpha^{-1}\zeta^i is an integral finite adele, and for all infinite places \sigma, \tau: \sum_{i<N_1} k\cdot \Phi_\sigma(\zeta^i)\cdot \operatorname{conj}(\Phi_\tau(\zeta^i)) = k\cdot N_1 if \sigma = \tau and 0 otherwise.Structured proof, 4 steps Lemma 4.1, p. 17 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/TightFrameExists.lean · lines 59–60 lemma Parameters.isTightFrame_zeta_pow k : IsTightFrame (fun i : Fin (N₁ P s) ↦ P.ζ s ^ i.1) (fun _ ↦ k) (k * P.N₁ s) :=lemma
Parameters.lines 71–85argumentexists_cyclotomic_different_factor Let R be an integral domain of characteristic 0, N \in \mathbb{N}, \zeta \in R a primitive N-th root of unity, and l a prime factor of N. Then there are r \in \mathbb{N} and M \in \mathbb{N} with M \le N, N = l\cdot r, such that for every prime factor p of N: p \mid M \iff p \ne l; and there is V \in R with V \mid M in R and \Phi_N'(\zeta)\cdot(\zeta^r - 1)\cdot M = N\cdot V, where \Phi_N is the N-th cyclotomic polynomial over R and \Phi_N' its derivative.Structured proof, 5 steps Lemma 4.2, p. 17 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/TightFrameExists.lean · lines 71–73 lemma Parameters.exists_cyclotomic_different_factor {R N} [CommRing R] [IsDomain R] [CharZero R] {ζ} (hζ : IsPrimitiveRoot ζ N) (l : N.primeFactors) : ∃ r, ∃ M ≤ N, N = l * r ∧ (∀ p ∈ N.primeFactors, p ∣ M ↔ p ≠ l) ∧ ∃ V, V ∣ ↑M ∧ (cyclotomic N R).derivative.eval ζ * (ζ ^ r - 1) * M = N * V := bylemma
Parameters.lines 90–148argumentexists_isTightFrame For parameters P, an exponent s, a prime p with a p-adic place \iota_p \colon \mathbb{C} \to \mathbb{C}_p (instance), and natural numbers m, R with (d\cdot N_1)^6\cdot(R + 1) \le m: there are a finite type I, vectors v \colon I \to E and multiplicities c \colon I \to \mathbb{N} such that (v, c) is a tight frame of length m (IsTightFramev c m: \alpha^{-1}v_i \in \hat{O} for all i and \sum_i c_i\cdot \Phi_\sigma(v_i)\cdot \operatorname{conj}(\Phi_\tau(v_i)) = m\cdot [\sigma = \tau] for all infinite places \sigma, \tau), R \le c_i for every i, and for some index i, |\iota_p(s_1\cdot \operatorname{conj}(\Phi_\tau(v_i)))|_p = 1 for every infinite place \tau(s_1 = \operatorname{periodFactor}(P, s)).Structured proof, 30 steps Theorem A, p. 2 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets
The Lean statement
New/Curve/TightFrameExists.lean · lines 90–92 lemma Parameters.exists_isTightFrame {m R} (hR : (P.d * P.N₁ s) ^ 6 * (R + 1) ≤ m) : ∃ I, ∃ (_ : Fintype I) (v c : I → _), IsTightFrame v c m ∧ (∀ i, R ≤ c i) ∧ ∃ i, ∀ τ, ‖ιₚ (P.periodFactor s * conj (Φ τ (v i : P.E s)))‖ = 1 := by
What it takes for granted
Unit 8 · Kronecker’s limit formula and logarithms of CM theta functions, Unit 9 · Local heights and integral formal expansions on CM elliptic curves, Unit 10 · Lattice fundamental domains and holomorphic parameter integrals, Unit 20 · Bases of minors and the Weyl character formula for Schur modules, Unit 27 · Branching periods and the Rallis inner product for definite theta lifts, Unit 29 · Group-algebra projectors and averaging in unitary representations, Unit 35 · Matrix coefficients and reproducing formulas in the Fock model, Unit 37 · The adelic Heisenberg action, Weil representation and theta functional, Unit 38 · The mixed Schrödinger model and its parabolic zero term, Unit 43 · Theta kernels, lifts and adjoint descents for unitary dual pairs, Unit 54 · Period lattices and complex uniformization of polarized abelian varieties, Unit 55 · Dimensions of complex theta spaces and vanishing of theta periods, Unit 56 · The Weierstrass sigma function and theta addition on CM elliptic curves, Unit 57 · Fitting ideal bounds and multivariate Hensel lifting, Unit 71 · Étale cohomology on test rings, gluing and ℓ-adic coefficients, Unit 92 · Local Frobenius, tame inertia and decomposition groups, Unit 96 · Real-analytic continuation of Hecke Euler products at one, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 103 · Matrix Gauss sums and shear invariance of local Weil data, Unit 104 · Unitary Hecke characters and splitting characters of CM fields, Unit 106 · Class numbers and adelic fundamental domains of number fields, Unit 108 · Quadratic class groups and factorization of the Dedekind zeta function, Unit 109 · Galois conjugation of CM elliptic curves and theta translates, Unit 110 · CM period areas and coefficients of formal group endomorphisms, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 114 · Iwasawa integration and means on compact quotients, Unit 120 · Witt extension for Hermitian frames over fields and integral adeles, Unit 121 · Minkowski bounds and adelic reduction of Hermitian forms, Unit 122 · Adelic Hermitian spaces and principal congruence subgroups, Unit 123 · Adelic self-duality and a one-sided Poisson summation bound, Unit 128 · Semilinear intertwining of Heisenberg and Weil actions, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 149 · A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules, Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x
Unit 110 · CM period areas and coefficients of formal group endomorphisms · 4 declarations
CMLattice.unit 110complex_multiplication_theta Let d be a prime ≡ 7 mod 8, C a CM datum for d whose lattice module is Ω₀𝓞_K (h₀), and σ ∈ Aut(ℂ/K) (σ : Gal(ℂ/QuadField d), the variable of galConjugate, ConjugateCurve.lean 11); let D = galConjugate(C, σ), the chosen CM datum with a₁(D) = σ(a₁(C)) (the statement's
let, statement lines 38–43). There are Ω ∈ ℂ^× with area(D) = |Ω|²√d/2, e ∈ ℕ⁺ with eΩ ∈ Λ(D), an element β of the finite adeles 𝔸_f(K) and a map a from the finite subsets S of K to K such that β is a cluster point, along the finite subsets ordered by inclusion, of the diagonal images of the a(S) in 𝔸_f(K) (MapClusterPt β atTop (algebraMap ∘ a); the conclusion asserts no invertibility of the a(S) or of β, and no link of β with σ by reciprocity), and for every finite S ⊂ K and x ∈ S, σ applied to the coefficients of the Taylor series at 0 of U_{xΩ₀}θ_C (twistedTranslate 1 (x·Ω₀)) equals the Taylor series at 0 of U_{xΩa(S)}θ_D. The authors' doc comment calls it a known result (main theorem of complex multiplication for elliptic curves, soft form); the relation to the literature is the second reader's (literature: unresolved; Shimura 5.4 and Milne 9.17 identify the action on torsion, the equality of the full normalized translated theta germs needs a further comparison, which the artifact supplies by its ownexists_taylorVia_twistedTranslate_theta).CMLattice.unit 110chowla_selberg Chowla–Selberg formula (logarithmic form; a known result, stated in Lib): for a CM datum C for d there is u ∈ ℂ with |ιₚ(u)| = 1 for every prime p and p-adic place ιₚ, and area(σC)·|σ(u)|² = π·exp(c_d)·(2π/√d) for every σ ∈ Aut(ℂ/K) (σ is the argument of galConjugate, σ : Gal(ℂ/QuadField d), ConjugateCurve.lean 11 and 71; not every automorphism of ℂ), c_d =
chowlaSelbergConstd (= γ − Re L′/L(1, χ_K)).CMLattice.unit 110one_le_norm_coeff_translatedWp_nonsplit Let d be a prime ≡ 7 mod 8, p a prime with a p-adic place ιₚ (instances) and C a CM datum for d. If |coeff_{p−1}(f′)|_p < 1 for every f ∈ 𝔬[[φ]] (
CMLattice.), then |coeff_{p−1}(ιₚ-Taylor series of ξ)| ≥ 1, ξ = ℘(z + t) − ℘(t) (phiSeriesRing translatedWp), and χ_K(p) ≠ 1 (p is inert or ramified in K). The authors' doc comment calls it a known result (height of the formal group of a CM curve); the relation to the literature is the second reader's (literature: unresolved; the premise detects the vanishing of the Hasse invariant and accounts for non-splitting, while the coefficient estimate needs a separate calculation, which the artifact makes by its own recurrence, FormalHeight.lean 137–162).CMLattice.unit 110exists_unit_coeff_degree_le Let d be a prime ≡ 7 mod 8, E a CM datum for d, p a prime with a p-adic place ιₚ, and Z, g power series over ℂ_p with Z(0) = 0, Z₁ = 1 and f(Z) integral for every f ∈ 𝔬[[φ]]. If a ∈ ℂ and q ∈ ℕ satisfy IsIsogeny(E, E, a, q) (aΛ ⊆ Λ and aā = q: multiplication by a is an isogeny of degree q), q is odd, g is integral with g(0) = 0, and Z(g) = ιₚ(a)·Z (g substituted into Z,
subst g Z), then some coefficient g_n with n ≤ q has |g_n| = 1 (Lean: ¬∀ n ≤ q, |g_n| ≠ 1). The authors' doc comment calls it a known result (height of the formal group of a CM curve); the relation to the literature is the second reader's (literature: weakens; the bound follows from the inseparable degree of the reduced isogeny after identifying the integral local parameter).
Unit 108 · Quadratic class groups and factorization of the Dedekind zeta function · 1 declaration
If |ι(x)|₂ ≤ c for one bound c and every isomorphism ι of ℂ onto the algebraic closure of ℚ₂, then x is algebraic over ℚ.
Unit 9 · Local heights and integral formal expansions on CM elliptic curves · 12 declarations
CMLattice.unit 9norm_a₁_le_one For d a prime ≡ 7 mod 8, a CM datum C for d, a prime p and a p-adic place ιₚ : ℂ → ℂ_p (section variables and instances): |ιₚ(a₁(C))|_p ≤ 1, i.e. the invariant a₁ is integral at every p-adic place. The relation to the literature is the second reader's (
literature: weakens; the integrality of this coefficient follows from the CM integrality of j and the equation of the marked cubic).CMLattice.unit 9deriv_mem_phiSeriesRing 𝔬[[φ]] is stable under d/dz: if f ∈ 𝔬[[φ]] then f′ ∈ 𝔬[[φ]].
CMLattice.unit 9taylorVia_translatedWp_mem_phiSeriesRing The ιₚ-Taylor series ξ of ℘(z+t) − ℘(t) lies in 𝔬[[φ]].
CMLattice.unit 9rescale_translate_eq_theta_pow_mul Integrality of CM theta functions and torsion translates (known result): if multiplication by δ̄ is an isogeny of degree N with δ ≠ 0 and δy ∈ Λ, then (ιₚ-Taylor series of U_yθ)(ιₚ(δ̄)z) = θ(z)^N·u(z) for some u ∈ 𝔬[[φ]]. The correction series u is integral; the statement asserts no unit for an arbitrary translate (IsogenyIntegrality.lean 140–142).
CMLattice.unit 9isSeriesGenerator_translatedWpDeriv The ιₚ-Taylor series of φ generates 𝔬[[φ]]: constant term 0, linear coefficient 1, and 𝔬[[φ]] = {g(φ) : g ∈ 𝔬[[X]]}.
IsSeriesGenerator.unit 9of_mem An element of the subring B with constant term 0 and linear coefficient 1 generates B.
IsSeriesGenerator.unit 9exists_subst_inverse A series generator T of B has a substitution inverse Z: Z(0) = 0, Z(T) = T(Z) = X, and f ∈ B ⟺ f(Z) is integral.
CMLattice.unit 9norm_translate_le_naiveHeight_pow A bound for |ιₚ| of a twisted translate of a section of C by a vector y with (N·M)·y ∈ Λ, in terms of a naive height (here with N = 0 it gives ≤ 1 for integral sections).
CMLattice.unit 9norm_monomialSection_le The monomial sections θ^a σ^{2b} G^c of C satisfy the integrality bound required by
CMLattice..norm_translate_le_naiveHeight_pow CMLattice.unit 9translatedWpDeriv_add_mem_multiPhiRing φ(x + y) lies in the two-variable ring 𝔬[[φ(x), φ(y)]] (addition law of the formal group).
exists_val_coeff_le_val_evalunit 9For finitely many polynomials over a valuation ring there are integral values y at which the valuation of each polynomial is at most that of its coefficients.
eq_sum_pow_of_sub_pow_equnit 9In characteristic d′: if s − s^{d′^e} = x then s = ∑_{l<B} x^{d′^{el}} + s^{d′^{eB}}.
Unit 55 · Dimensions of complex theta spaces and vanishing of theta periods · 1 declaration
IsAppellHumbert.unit 55isCompact_range_norm_thetaShift For a section f of an Appell–Humbert datum, the set of absolute values of its twisted translates (over all translations) is compact.
Unit 37 · The adelic Heisenberg action, Weil representation and theta functional · 10 declarations
Space.unit 37isLocallyConstant_rho_finVec For f ∈ 𝒲_f the map x ↦ ϱ(finVec x)f is locally constant.
denseRange_finiteImageunit 37The vectors α⁻¹γ, γ : n → E, are dense in the finite adelic vectors.
Space.unit 37finHeisOp_finHeisOp finHeisOp(x)∘finHeisOp(y) = ψ₀(·)·finHeisOp(x + y), with an explicit additive character value.
Space.unit 37omega_vacElem_sum ω(1, g)vac is the multiplier of g times a finite sum of finite Heisenberg translates finHeisOp(y)vac over representatives y of a lattice quotient.
exists_finiteImage_approxunit 37For F ∈ 𝒲_f and a finite adelic vector x there is γ : n → E with ϱ(finVec x)F = ϱ(finVec(α⁻¹γ))F (and the corresponding statement for the components).
Space.unit 37hasSum_dataInner ⟨f, f′⟩ is the sum of an explicit series (over lattice points) of products of values.
Space.unit 37exists_entireTheta_eq Let V be standard, d ∈ E integral, d·d̄ = N ≠ 0, B a hermitian identity as in the statement, and S entire with normalizedShift B b (−realImage(d̄γ)) S = S for every γ with α⁻¹γ ∈ Ô. Then S = Θ_F for some F ∈ 𝒲_f that has a vacuum expansion (
Space.) for d and N.VacuumExpansion entireTheta_translate_finiteImageunit 37The theta function of ϱ(finVec(α⁻¹γ))F is the normalized shift of Θ_F by the real image of γ (for the hermitian identity B).
Space.unit 37dataInner_eq_quotMean ⟨f, f′⟩ equals the mean over a compact quotient of the pointwise product f̄·f′.
Space.unit 37apply_vecAtPoint_add Translation formula for values of a vector of 𝒮(V) at vecAtPoint.
Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x · 19 declarations
Ω = exp(c_d)·2π/rd_E (
chowlaSelbergConstd = c_d).Parameters.unit 152placePerm_spec For σ ∈ Gal(ℂ/K), an infinite place v and x ∈ E: σ(Φ_v(x)) = Φ_{placePerm(v)}(x).
The constant c_P = C + (2d + 6) + (N₀ + |c_d| + ∑_ξ |log |P₀′(ξ)||), C from
exists_isJetConjugate_generator, ξ the primitive N₀-th roots of unity.Parameters.unit 152thirteen_le_of_chiK_ne_one A prime p with χ_K(p) ≠ 1 is ≥ 13.
The structure of admissible data (scales x, x₁, b with their size relations, the exponent s, m, r, the thick places, the primes g₀, g₁, …); the field used here is
three_term: with φ the class map to the 2-part of (ℤ/N₁)^×, for 0 < i < j ≤ 324·s and thick σ, τ, ρ with φ(τ/σ)^j = φ(ρ/σ)^i one has φ(τ/σ) = 1.Parameters.unit 152prod_varpi_eq_rootDiscr_pow The product over the infinite places v of E of |v(ϖ_E)| equals rd_E^f, f the number of infinite places (ϖ_E =
Parameters.generates the different of E over ℚ).ϖ Parameters.unit 152prod_phi_eq_norm For y ∈ E, the product over the infinite places v of Φ_v(y) is the norm N_{E/K}(y), as an element of K ⊂ ℂ.
Parameters.unit 152v_alpha_mul_relDifferentGen At every finite place w of E the w-component of α·ᾱ·P′(ζ) has valuation 1 (α =
Parameters., P′(ζ) =α Parameters.).relDifferentGen Parameters.unit 152infinitePlace_apply_varpi For every infinite place v of E: v(ϖ_E) = v(P′(ζ))·√d.
Parameters.unit 152chiK_eq_one_of_dvd Every prime p dividing N₁ has χ_K(p) = 1.
For p ∤ N₁ prime, φ : 𝓞_E → R with char R = p and (c, e) = (identity, 1) or (conjugation, −1): φ(σ_v x) = φ(c x)^{p^n} for all x iff φ(σ_v ζ) = φ(σ_u ζ) for the place u named by e·p^n and χ_K(p)^n·e·φ(√−d) = φ(√−d).
Parameters.unit 152relDifferent_spec For a primitive N₁-th root of unity z ∈ 𝓞_E and y = Φ_{N₁}′(z): y divides N₁, y generates the different of E/K, and 𝓞_E = 𝓞_K[z].
Parameters.unit 152valuation_map_relDifferentGen For every injective ring endomorphism φ of 𝓞_E and every finite place w of E, φ(P′(ζ)) and P′(ζ) have the same w-adic valuation.
Parameters.unit 152phi_algebraMap For every infinite place v of E and x ∈ K: Φ_v(x) = x.
The finite idele α⁻¹ is integral (α =
Parameters.).α Parameters.unit 152c₀InE_mul_one_sub c₀·(1 − c₀) = (d + 1)/4 in 𝓞_E, c₀ = (1 + √−d)/2.
Parameters.unit 152dvd_norm_c₀ Every prime p dividing N₁ divides (d + 1)/4.
64 < d.
Parameters.unit 152star_c₀InE The complex conjugate of c₀ in 𝓞_E is 1 − c₀.
Unit 123 · Adelic self-duality and a one-sided Poisson summation bound · 3 declarations
exists_forall_mul_mem_Ôunit 123For a finite adelic vector y there is a positive integer M with M·y integral.
exists_natCast_smul_mem_of_isCompactunit 123For a compact set K and a neighbourhood U of 0 in a topological module over the finite adeles there is a natural N ≠ 0 with N·x ∈ U for all x ∈ K.
ideleAbs_eq_prod_of_v_eq_oneunit 123If an idele x has valuation 1 at every finite place, its idele norm is the product over the infinite places w of |x_w|².
Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 3 declarations
exists_mul_mem_integralAboveunit 102Every finite point is a rational point times an element integral above p (and similarly with a fixed right factor).
The gauge is invariant under right multiplication by elements integral above p.
The gauge of a rational translate is computed by the weight representation.
Unit 27 · Branching periods and the Rallis inner product for definite theta lifts · 1 declaration
schurJet_jetSeries_eq_smulunit 27For κ with
IsLiftWeight, the Schur jets of T_c f are c^L times those of T_1 f, L = boxes(κ, |n′|).
Unit 20 · Bases of minors and the Weyl character formula for Schur modules · 2 declarations
A ring map applied to an entry of the Schur matrix S_κ(z) is the entry of S_κ of the mapped matrix.
sum_schur_smul_nablaBasisunit 20The Schur matrix entries are integral combinations of products of minors (the nabla basis).
Unit 128 · Semilinear intertwining of Heisenberg and Weil actions · 1 declaration
Space.unit 128semilinear_intertwines_weil Galois action on the finite Weil representation (known result, stated in Lib): for a σ-semilinear L : 𝒮(V) → 𝒲_f and a finite idele b with σ(ψ₀(z)) = ψ₀(b b̄ z) for all z and L(ϱ(x)f) = ϱ(b·x)(Lf) for f ∈ 𝒲_f: b is a unit, and there are c, z with L(vac) = c·ω(1, z)vac, L(ω(g)f) = multiplierRatio(σ, g)·ω(g)(Lf) for f ∈ 𝒲_f, and L(name_R(Ψ)vac) = c·ω(1, z)(name_R(σ∘Ψ)vac) for Schwartz–Bruhat Ψ above R (R ∩ R̄ = ∅).
Unit 114 · Iwasawa integration and means on compact quotients · 2 declarations
For points f_i of a d-dimensional real normed space with mutual distances ≥ m > 0 and ‖f_i‖ ≤ R·u_i, u_i ≥ 1: if A > d and A ≤ c(A − d), then ∑ u_i^(−A) ≤ (1 + 2R/m)^d·c.
A mean over a compact quotient of a function bounded by M in absolute value is ≤ M.
Unit 106 · Class numbers and adelic fundamental domains of number fields · 1 declaration
For a prime d and a prime p: either p = d and χ_K(p) = 0, or χ_K(p) = 1, or χ_K(p) = −1 (the values of the quadratic character).
Unit 8 · Kronecker’s limit formula and logarithms of CM theta functions · 2 declarations
CMLattice.unit 8exists_log_theta In ℂ_p: θ = exp(−L) with L(0) = L′(0) = 0, L″ = L₂ + ξ (ξ the ιₚ-Taylor series of ℘(z+t) − ℘(t)) and |ιₚ(i√d)·L₂| ≤ 1; and for every (a, N) in normPairClosure(d) the series φ(az), exp(NL)·θ(az) and (NL − L(az))′ lie in 𝔬[[φ]].
mem_normPairClosure_of_pow_equnit 8For ζ ∈ ℂ_p with |ζ| = 1 (N) and ζ^{primeNorm(d, p)} = ζ (h), where primeNorm(d, p) = p² if χ_K(p) = −1 and p otherwise: the pair (ζ, ζ^{p+1}) lies in normPairClosure(d), the closure of the pairs (ιₚ(a), ιₚ(a·ā)), a in the integers of K = ℚ(√−d).
Unit 57 · Fitting ideal bounds and multivariate Hensel lifting · 2 declarations
jet_subst_linearSeriesunit 57The jet of a linear substitution of a series along a polynomial equals the jet of the series along the substituted polynomial.
exists_monomial_max_norm_coeffunit 57In a subring generated by series (like 𝔬[[φ]]), for every exponent the maximal norm of that coefficient over the subring is attained at a monomial in the generators.
Unit 35 · Matrix coefficients and reproducing formulas in the Fock model · 1 declaration
Space.unit 35eq_zero_of_realVec A vector of 𝒮(V) whose values at all real vectors (realVec y) vanish is 0.
Unit 56 · The Weierstrass sigma function and theta addition on CM elliptic curves · 1 declaration
Two entire functions of one variable with the same Taylor series at 0 are equal.
Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data · 1 declaration
IsAdmissibleComb.unit 141bind Admissible combinations compose: an admissible combination (for A, n, d, p, B) of vectors each of which is an admissible combination (for A′, n, d′, true, B′) of the v(x) is an admissible combination of the v(x) with the combined data.
Unit 38 · The mixed Schrödinger model and its parabolic zero term · 1 declaration
Modulus.unit 38name_char_eq_translate_projOn The name of a character x ↦ ψ_𝔪(b·x) applied to u equals a root of unity times finHeisOp(z)(P^𝔪 u) for a lift z of b.
Unit 149 · A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules · 1 declaration
Let O be a valuation domain (here 𝔬), ι a finite type, A a square matrix over O indexed by ι with det A ∣ z, and N a submodule of O^ι containing the image A·O^ι. Then IndexDvd(O^ι, N, z) (ModuleIndex.lean 17–20): for every finite family Φ_1, …, Φ_n in O^ι there is an n × n matrix m over O with det m ∣ z and ∑_k m_{ik}·Φ_k ∈ N for every row i. So the matrix produced has determinant dividing z (and hence |z| ≤ |det m|), not divisible by z.
Unit 104 · Unitary Hecke characters and splitting characters of CM fields · 2 declarations
WeilData.unit 104exists_chiFin_pow_eq_prod For Weil data on E and a finite idele x there are n > 0 and y ∈ E^× such that xⁿ and the principal idele of y have the same valuation at every finite place w, and χ_fin(x)ⁿ = ∏_v Φ_v(ȳ), the product over the embeddings of the CM type.
WeilData.unit 104norm_map_chiFin For a ring map ι : ℂ → F and a finite idele x: |ι(χ_fin(x))| = ∏_v |adeleExtension(weightEmbedding ι v)(x)|.
Unit 92 · Local Frobenius, tame inertia and decomposition groups · 2 declarations
norm_ringOfIntegers_leunit 92For an embedding σ of E into a non-archimedean field and an integer x of E: |σ(x)| ≤ 1.
For an embedding σ of E into an ultrametric field over ℚ_p, the valuation x ↦ |σ(x)| is equivalent to the valuation of the prime
placeOfEmbσ that it induces.
From Lean's own library · 28 facts
Finite.surjective_of_injective An injective self-map of a finite type is surjective.
IsAIC.exists_pow_eq In an algebraically closed (integrally closed) ring every element has n-th roots.
IsNilpotent.isUnit_add_one If r is nilpotent then r + 1 is a unit.
IsPrimitiveRoot.geom_sum_eq_zero For a primitive k-th root of unity ζ with k > 1: ∑_{i<k} ζ^i = 0.
MvPolynomial.funext Over an infinite integral domain, two multivariate polynomials with equal values at every point are equal.
Nat.exists_add_mul_eq_of_gcd_dvd_of_mul_pred_le If gcd(p, q) ∣ n and (p − 1)(q − 1) ≤ n then n = a·p + b·q for some natural numbers a, b (the coin problem).
Nat.exists_eq_pow_mul_and_not_dvd For n ≠ 0 and a prime l (or l ≠ 1): n = l^a·M with l ∤ M.
Padic.norm_p_lt_one The p-adic norm of p is < 1 (used here for the bound |1/p| < 1 in the form needed).
Polynomial.cyclotomic. dvd_X_pow_sub_one Φ_n divides X^n − 1.
Polynomial.derivative_X_pow (X^n)′ = n·X^(n−1).
Polynomial.derivative_expand (expand p f)′ = expand p (f′)·p·X^(p−1).
Polynomial.eval_dvd If p ∣ q then p(x) ∣ q(x).
Submodule.span_le span(s) ≤ p ↔ s ⊆ p.
Valuation.Integers. le_of_dvd In the ring of integers O of a valuation v: if x divides y in O, then v(y) ≤ v(x) (used with v the norm of ℂ_p and O = 𝔬). Stated from the name and its use, not quoted.
WfDvdMonoid.max_power_factor A nonzero element is p^k·m with p ∤ m (p irreducible).
X_pow_sub_one_mul_cyclotomic_dvd_X_pow_sub_one_of_dvdFor a proper divisor r of N: (X^r − 1)·Φ_N(X) divides X^N − 1.
div_pow(a/b)ⁿ = aⁿ/bⁿ.
geom_sum_eqFor q ≠ 1 in a field: ∑_{i<n} q^i = (q^n − 1)/(q − 1).
hasFPowerSeriesAt_iffA function has a power series at a point iff it is the sum of the series near it.
hasSum_geometric_of_abs_lt_oneFor |r| < 1, ∑_{n≥0} rⁿ = 1/(1 − r).
hasSum_integral_of_dominated_convergenceIf ∑ ‖F_n(w)‖ ≤ bound(w) with an integrable bound and the integrands are measurable, then ∑_n ∫ F_n = ∫ ∑_n F_n.
isClosed_propertyIf a property defines a closed set and holds on the image of a dense map, it holds everywhere.
positivityMathlib tactic proving goals 0 ≤ e, 0 < e or e ≠ 0 from the syntactic shape of e.
pow_left_inj₀For a, b ≥ 0 in an ordered semiring and n ≠ 0: aⁿ = bⁿ ↔ a = b.
pow_right_comm(a^m)^n = (a^n)^m.
sub_dvd_pow_sub_powx − y divides x^n − y^n.
sub_one_dvd_pow_sub_onex − 1 divides x^n − 1.
summable_of_sum_range_leA non-negative sequence with bounded partial sums is summable.
Where it is used
Unit 140 · Good idempotents, labels and the transfer of traces between unitary groups, Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 143 · The rows: target forms on an indefinite U(r), the volume of the chain of lifts as a product of lift volumes, and the height of each lift volume, Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, Unit 147 · The exchange identity: theta integrals of complementary rank agree up to a constant, and cruder forms complete a family to a basis in the lower bound, Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup, Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C, Unit 152 · The data of the proof: the parameters N₀ and d, the CM field E = K(ζ) and its places, the scales x, x₁, b, the ranks m, k, r, t, the order a, the comparison of sizes on the logarithmic scale, and the existence of admissible data at every large x, Unit 154 · The inequality (⋆), the one-sided bound for the remainder of the weighted prime sum, the generalised Riemann hypothesis, and the passage to the critical line
Its files
The program check
89 of 89 statements stand at the lines the dossier gives; 36 structured proofs with 435 steps, 407 of them leaves, the longest of 9 lines; 435 steps quote exactly their lines. Checked 2026-11-26T19:36Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.