grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 150

lemma CMLattice.exists_formal_parameter

What it saysNormal 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 = nonsplitWeight d 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.phiSeriesRing); 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.)
The argument in briefLet q = p^e be the norm of the prime of K above p and m = q - 1. The part T of the formal parameter \varphi in degrees \equiv 1 mod m generates \mathfrak{o}[[\varphi]]; its inverse Z has only degrees \equiv 1 mod m, linear coefficient 1 and X^{m+1} \mid Z - X, and the coefficient of X^{m+1}, Z_{m+1} = -(\varpi^m)^{-1} (the first nonlinear coefficient), defines \varpi; the endomorphism a = \sqrt{-d} or p of degree q, with exists_unit_coeff_degree_le and the height of the formal group, gives |\varpi^m| = |a|. Then \varpi^{-1}Z(\varpi X) is integral and \equiv X - X^{m+1} mod \varpi^m; its inverse S satisfies S - S^q = X + \pi E with \pi = \varpi^m. For the second part, \log \theta = -L, and the part of L\circ Z in degrees \equiv p + 1 mod m is controlled by norm_coeff_le_of_deriv. A torsion translate, rescaled by \delta = nm, is \theta^{(nm)^2} times an integral series u \in \mathfrak{o}[[\varphi]] (rescale_translate_eq_theta_pow_mul; u is integral, not asserted to be a unit). The norm pair used for a rotation a = \zeta^i is (a, a^{p+1}), so each integral factor is \exp(\zeta^{-i(p+1)}\cdot L(\zeta^i z))\cdot \theta(z): the average of the rotations weighted by the character a \mapsto a^{-(p+1)} extracts the degrees \equiv p + 1 mod m of L (an unweighted average would extract the degrees \equiv 0 mod m).

58 steps, 53 of them leaves · New/Curve/FormalParameter.lean, lines 132–248 · in the notes: Proposition 8.4, p. 29 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1setupline 141

    Let a = i\sqrt{d} if p = d and a = p otherwise.

  2. 2deduction1 step insidelines 142–149

    There are e, s \in \mathbb{N} with a \in \operatorname{quadInt}(d), q := \operatorname{primeNorm}(d, p) = p^e, |\iota_p(a)|^2 = p^{-s}, \rho_p = s/2/(q - 1), \chi_K(p) = 1 + s - 2e, 1 < p, (e = 1, a = p, s = 2) or (a\cdot \overline{a} = q, p odd, p > 2, e = s, and (e = 1, p = d) or e = 2), e \ne 0 and |\iota_p(a)| < 1.

    Lean states∃ e s : ℕ, a ∈ quadInt d ∧ primeNorm d p = p ^ e ∧ ‖ιₚ a‖ ^ 2 = (↑p)⁻¹ ^ s ∧ nonsplitWeight d p = s / 2 / (primeNorm d p - 1) ∧ chiK d p = 1 + s - 2 * e ∧ 1 < p ∧ (e = 1 ∧ a = p ∧ s = 2 ∨ a * conj a = primeNorm d p ∧ Odd p ∧ 2 < p ∧ e = s ∧ (e = 1 ∧ p = d ∨ e = 2)) ∧ e ≠ 0 ∧ ‖ιₚ a‖ < 1

    1. 2.1case-splitlines 146–149

      By the three cases of \chi_K(p): p = d (ramified): e = s = 1, a = \sqrt{-d}; \chi_K(p) = 1 (split): e = 1, s = 2, a = p; \chi_K(p) = -1 (inert): e = s = 2, a = p, q = p^2; the listed identities are then direct computations (|\sqrt{-d}|^2 = |d| = 1/p, |p|^2 = p^{-2}).

      UseschiK_cases unit 106

  3. 3setupline 150

    Write p^e = m + 1.

  4. m \ne 0.

    Lean statesNeZero m

  5. From exists_log_theta: L, L_2 with \theta = \exp(-L), L(0) = L'(0) = 0, L'' = L_2 + \xi, |\iota_p(i\sqrt{d})L_2| \le 1 and the \mathfrak{o}[[\varphi]]-memberships (hL); |m|_p = 1 (m = p^e - 1 is prime to p); and a primitive m-th root of unity \zeta \in \mathbb{C}_p.

    UsesCMLattice.exists_log_theta unit 8

  6. |\zeta | = 1; the Taylor series of \varphi generates \mathfrak{o}[[\varphi]] (isSeriesGenerator_translatedWpDeriv); X generates the integral series; seriesToCp X = X; p \le m + 1.

    UsesCMLattice.isSeriesGenerator_translatedWpDeriv unit 9

  7. For every integer i, the pair (\zeta^i, \zeta^{i(p+1)}) lies in \operatorname{normPairClosure}(d) (mem_normPairClosure_of_pow_eq applied to \zeta^i; its hypotheses |\zeta^i| = 1 and (\zeta^i)^{\operatorname{primeNorm}(d, p)} = \zeta^i are discharged by simplification from the facts in context, among them \zeta^m = 1), so hL holds for this pair: \varphi(\zeta^i z) \in \mathfrak{o}[[\varphi]], \exp(\zeta^{i(p+1)}\cdot L)\cdot \theta(\zeta^i z) \in \mathfrak{o}[[\varphi]] and (\zeta^{i(p+1)}\cdot L - L(\zeta^i z))' \in \mathfrak{o}[[\varphi]] (hi i). The second coordinate \zeta^{i(p+1)} is in general not 1 (at an inert prime, m = p^2 - 1, and i = 1 it has order p - 1), so the character a \mapsto a^{p+1} stays in the rotation average of steps 35.6–35.7.

    Usesstep 5, mem_normPairClosure_of_pow_eq unit 8

  8. T = \operatorname{congruencePart}(m, 1, \varphi) = (1/m)\cdot \sum_{i<m} \zeta^{-i}\varphi(\zeta^i z) lies in \mathfrak{o}[[\varphi]] (m is a p-adic unit), has T(0) = 0 and T_1 = 1, so it generates \mathfrak{o}[[\varphi]] (IsSeriesGenerator.of_mem).

    UsesIsSeriesGenerator.of_mem unit 9, step 7

  9. 9setupline 162

    Name this series T.

  10. 10factline 163

    Let Z be the substitution inverse of T: Z(0) = 0, T(Z) = Z(T) = X, and f \in \mathfrak{o}[[\varphi]] \iff f(Z) integral (hZ).

    UsesIsSeriesGenerator.exists_subst_inverse unit 9

  11. 11factline 164

    Z can be substituted, and Z_1 = 1.

  12. 12factline 165

    z(i): substituting into Z the identity \zeta^i\cdot T = T(\zeta^{iX}) (shown next) gives Z(\zeta^{iX}) = \zeta^i\cdot Z(X).

  13. \zeta^i\cdot T = T(\zeta^{iX}), because T has only degrees \equiv 1 mod m and \zeta^m = 1.

    Lean statesζ ^ i • T = rescale (ζ ^ i) T

  14. 14computationline 167

    Simplify z.

  15. Comparing coefficients in z(1): Z_{n+1} = 0 unless m \mid n (\zeta^n \ne 1 \text{ for } m \nmid n).

  16. 16deduction1 step insidelines 170–171

    For every k < m + 1: (Z - X)_k = 0.

    Lean states∀ k < m + 1, coeff k (Z - X) = 0

    1. 16.1case-splitline 171

      k = 0 (Z(0) = 0), k = 1 (Z_1 = 1), and 2 \le k \le m (Z_k = 0 by step 15).

  17. Facts: (hd) the first-order Taylor formula for f(Z) up to degree m + 1 (coeff_subst_tangent, X^{m+1} \mid Z - X); (hg) g := T(aX)\circ Z is integral (T(aX) \in \mathfrak{o}[[\varphi]] by hL); (\varpi) an m-th root \varpi of (-Z_{m+1})^{-1}; (wi) Z' is integral: T'(Z) is integral (T' \in \mathfrak{o}[[\varphi]], hZ) with constant term 1, hence has an integral inverse, and T'(Z)\cdot Z' = (T(Z))' = 1.

    Usescoeff_subst_tangent unit 150

  18. 18factline 177

    cZ: for k < m + 1, the k-th coefficient of f(Z) equals that of f.

    Usesstep 17, step 16

  19. 19deductionlines 178–180

    U: if |p\cdot(Z - X)_p| < 1 then the coefficient of degree p - 1 of \xi has norm \ge 1 and \chi_K(p) \ne 1 (one_le_norm_coeff_translatedWp_nonsplit: for f \in \mathfrak{o}[[\varphi]], p\cdot f_p is a combination of integral coefficients of f(Z) with small coefficients p and p\cdot(Z - X)_p).

    UsesCMLattice.one_le_norm_coeff_translatedWp_nonsplit unit 110

  20. 20factline 181

    Z_{m+1} = -(\varpi^m)^{-1}.

  21. 21deductionlines 182–185

    cg: |g_{m+1}| = 1, given (for the split case) that |g_{m+1}| < 1 is impossible (supplied in step 23). In the other cases a\cdot \overline{a} = q = m + 1 is odd and multiplication by a is an isogeny of degree q, so exists_unit_coeff_degree_le gives n \le q with |g_n| = 1; for n < m + 1, g_n = a^n\cdot T_n (cZ) has norm \le |a| < 1, so n = m + 1; and |g_{m+1}| \le 1 as g is integral.

    UsesCMLattice.exists_unit_coeff_degree_le unit 110, step 18

  22. 22computationlines 186–188

    Compute g_{m+1}: T(Z) = X gives T_{m+1} = -Z_{m+1} (tangent formula hd), so g_{m+1} = a^{m+1}T_{m+1} + a\cdot Z_{m+1} = a(1 - a^m)Z_{m+1}; as |a^m| < 1, |g_{m+1}| = |a|\cdot |Z_{m+1}| = |a|/|\varpi^m|. So cg reads |a|/|\varpi^m| = 1.

    Usesstep 17, step 20

  23. 23deductionlines 189–190

    n\pi: |\varpi^m| = |\iota_p(a)|, from cg; in the split case (e = 1, m = p - 1) the needed fact holds because |g_{m+1}| < 1 would give |p\cdot(Z - X)_p| < 1 and then \chi_K(p) \ne 1 by U, against \chi_K(p) = 1 + s - 2e = 1.

    Usesstep 19, step 21, step 22

  24. 24computationline 191

    So |\varpi^m|^2 = p^{-s} and |\varpi^m| < 1.

  25. 25factline 192

    \varpi \ne 0.

    Lean statesϖ ≠ 0

  26. 26deduction5 steps insidelines 193–201

    E' := (\varpi^m)^{-1}\cdot(X - X^{m+1} - \varpi^{-1}Z(\varpi X)) has coefficients in \mathfrak{o}.

    Lean states(ϖ ^ m)⁻¹ • (X - X ^ (m + 1) - ϖ⁻¹ • rescale ϖ Z) ∈ seriesToCp.range

    1. 26.1reductionline 194

      It suffices to bound every coefficient by 1.

    2. 26.2case-splitlines 195–196

      Coefficients: those of degree 0, 1 and m + 1 vanish; for degree k + 1 with m \nmid k the coefficient is 0 (step 15); for degree m(j+2) + 1 it is -(\varpi^m)^{-1}\cdot \varpi^{m(j+2)}\cdot Z_{m(j+2)+1}.

    3. 26.3deductionline 197

      |m(j + 2) + 1|_p = p^{-b} with the bounds of exists_norm_eq_inv_pow_bounds.

      Usesexists_norm_eq_inv_pow_bounds unit 150

    4. 26.4estimateline 198

      |Z_{m(j+2)+1}| \le p^b since Z' is integral; reduce to an inequality between powers.

      Usesstep 17

    5. 26.5estimatelines 199–201

      |\varpi |^{2m(j+1)}\cdot p^{2b} \le 1, from |\varpi^m|^2 = p^{-s} and the bound on b (exponent arithmetic).

      Usesstep 24

  27. 27deductionlines 202–204

    W := X - X^{m+1} - \varpi^m\cdot E' = \varpi^{-1}Z(\varpi X) is integral with W(0) = 0, W_1 = 1, so it generates the integral series; let S be its inverse (exists_subst_inverse); then S - S^{m+1} = X + \varpi^m\cdot E'(S).

    UsesIsSeriesGenerator.of_mem unit 9, IsSeriesGenerator.exists_subst_inverse unit 9, step 26

  28. Choose integral preimages (c) of integral series; ZS: rescaling by \varpi commutes with these substitutions.

  29. 29assemblylines 207–211

    First part: |\varpi | = p^{-\rho_p} (|\varpi |^{2m} = p^{-s}, \rho_p = s/(2m)); take e, \varpi, \pi = \varpi^m (|\pi | < 1, \text{ and } 1/p \le |\pi | since |\pi |^2 = p^{-s} with s \le 2), S and E := E'(S) integral, S(0) = 0, S - S^{p^e} = X + \pi E (by injectivity of seriesToCp), and T \in \mathfrak{o}[[\varphi]] with T(\varpi X) = \varpi S (ZS). The second part remains, under \chi_K(p) \ne 1 and p \ge 13.

    Usesstep 27, step 24

  30. Coefficient 0 of L'' = L_2 + \xi gives L_2 = 2\cdot L_2' := 2\cdot \operatorname{coeff}_2(L) (\xi(0) = 0); and since \chi_K(p) \ne 1 the split case is excluded: a\cdot \overline{a} = q, p is odd, e = s and (e = 1, p = d) or e = 2.

  31. 31setupline 214

    Put L_1 = L - L_2\cdot X^2.

  32. 32deduction1 step insidelines 215–216

    L_1'' = \xi.

    Lean statesd⁄dX (d⁄dX L₁) = taylorVia ιₚ C.translatedWp

    1. 32.1computationline 216

      L_1'' = L'' - 2L_2 = L_2 + \xi - L_2 = \xi.

  33. 33deductionlines 217–220

    Apply norm_coeff_le_of_deriv (Q = m) to m := L_1(Z), n := L_1'(Z), Z: L_1(Z)' = L_1'(Z)\cdot Z' (chain rule), (L_1'(Z))' = \xi(Z)\cdot Z' is integral (\xi \in \mathfrak{o}[[\varphi]]), L_1'(Z)(0) = 0, the coefficients of degree \le 2 of L_1(Z) vanish (cZ, L_1 = O(X^3)), Z_{j+1} = 0 for m \nmid j, Z_{m+1} = -(\varpi^m)^{-1}: so for \mu := (\varpi^{p+1}/p)^{-1}\cdot(\operatorname{degrees} \equiv p+1 \text{ mod } m \text{ of } L_1(Z))(\varpi X): |\mu_{p+1}| \le 1, |\mu_{p+p^e}| \le 1 and the rest divided by \varpi^m is integral.

    Usesnorm_coeff_le_of_deriv unit 150, step 32, step 18

  34. 34setupline 221

    Put \kappa = \varpi^{p+1}/p and \psi = \kappa^{-1}\cdot(\operatorname{degrees} \equiv p + 1 \text{ mod } m \text{ of } L)(\varpi X).

  35. 35deduction9 steps insidelines 222–239

    Second part: the witnesses u_0 = \psi_2, u_1 = \mu_{p+1}, u_2 = \mu_{p+p^e}, R, \psi, and for n prime to p: N = (nm)^{-1}, \kappa' = -(nm)^2\kappa.

    1. 35.1witnessline 222

      Take u_0 = \psi_2 (with |\psi_2| \le 1, from the goal \exists w left for later), u_1 = \mu_{p+1}, u_2 = \mu_{p+p^e}, R the integral preimage of the rest (step 33) and \psi; the norm identity for \pi and the disjunction are left as goals.

      Usesstep 33

    2. 35.2computationlines 222–226

      \psi = u_0X^2 + u_1S^{p+1} + u_2S^{p+p^e} + \pi R: by congruencePart_eq_sum, \psi is the average of the rotations of L(\varpi X)/\kappa, and L = L_1 + L_2X^2 with L_1 = L_1(Z)(S-substituted); comparing coefficients (split on the degree).

      Usesstep 33, step 27

    3. \psi(0) = 0; and let n be a natural number prime to p.

    4. 35.4factline 227

      n \ne 0 (as p \mid 0).

      Lean statesn ≠ 0

    5. 35.5witnessline 228

      Take N = (nm)^{-1} (a p-adic unit: n and m are prime to p) and \kappa' = -(nm)^2\kappa; the norm of \kappa' is left as a goal; let y \in \mathbb{C} with n\cdot y \in \Lambda.

    6. 35.6deductionlines 229–233

      With \delta = n\cdot m (multiplication by \delta is an isogeny of degree (nm)^2) and \delta y \in \Lambda (as n\cdot y \in \Lambda): U_y\theta(\iota_p(\delta)z) = \theta(z)^{(nm)^2}\cdot u(z) with u \in \mathfrak{o}[[\varphi]] (rescale_translate_eq_theta_pow_mul). Take for V the integral preimage of the series obtained from (\prod_{i<m} \exp(\zeta^{-i(p+1)}\cdot L(\zeta^i z))\cdot \theta(z))^{n\cdot m\cdot n}\cdot u(z) by substituting Z and rescaling by \varpi: each factor \exp(\zeta^{-i(p+1)}\cdot L(\zeta^i z))\cdot \theta(z) lies in \mathfrak{o}[[\varphi]] (step 7 at -i gives \exp(\zeta^{-i(p+1)}\cdot L)\cdot \theta(\zeta^{-i}z) \in \mathfrak{o}[[\varphi]], and rescaling by \zeta^i keeps \mathfrak{o}[[\varphi]] because \varphi(\zeta^i z) \in \mathfrak{o}[[\varphi]], step 7 at i), hence so does the product, its Z-substitution is integral (hZ), and rescaling by \varpi(|\varpi | \le 1) keeps integrality.

      UsesCMLattice.rescale_translate_eq_theta_pow_mul unit 9, step 7, step 10

    7. 35.7computationlines 234–238

      The identity (Taylor series of U_y\theta)(\varpi X) = (\exp(\kappa'\psi)\cdot V)(NX): rescale the identity of step 35.6 by (nm)^{-1} and by \varpi, write \theta = \exp(-L), turn powers and products of exponentials into exponentials of sums (expSubst_sum, expSubst_add, exp_pow_eq_rescale_exp), and write the weighted sum \sum_{i<m} \zeta^{-i(p+1)}\cdot L(\zeta^i z) over the rotations as m\cdot \operatorname{congruencePart}(m, p + 1, L), the part of L in the degrees \equiv p + 1 mod m (congruencePart_eq_sum with r = p + 1: the weights \zeta^{-i(p+1)} of step 35.6 select exactly these degrees; without them the average would keep the degrees \equiv 0 mod m).

    8. 35.8case-splitline 238

      In every remaining goal, split into the cases (e = 1, p = d, m = p - 1) and (e = 2, m = p^2 - 1).

    9. 35.9computationline 239

      Unfold \psi, the congruence part and the rescaled coefficients in the remaining goals and in the bound for \mu_{p+1}.

  36. 36computationline 240

    Remaining goals (|\psi_2| \le 1 with the disjunction, |\pi | = p^{(\chi_K(p)-1)/2}, |\kappa'|): substitute a in n\pi and in |\varpi^m|^2 = p^{-s}.

    Usesstep 23, step 24

  37. 37estimatelines 241–242

    Split on p = d: |\psi_2| \le 1 follows from |\iota_p(i\sqrt{d})\cdot L_2| \le 1 (nL), |2|_p = 1 (p odd) and |\kappa | computed from |\varpi |.

    Usesstep 5

  38. 38computationline 243

    A remaining case closes by simplification.

  39. 39factline 244

    p < m (in the case e = 2: m = p^2 - 1).

    Lean statesp < m

  40. 40deductionlines 245–247

    |u_1| = 1: |\mu_{p+1}| \le 1 (step 33), and \ge 1 because \mu_{p+1} is, up to units, the coefficient of degree p - 1 of \xi (cZ, L_1'' = \xi), of norm \ge 1 by U; also u_0 = 0 for e = 2.

    Usesstep 19, step 33, step 18, step 32

  41. 41computationline 248

    The remaining norm identities |\pi | = p^{(\chi_K(p)-1)/2} and |\kappa'| = p^{(1-\chi_K(p))/2 - 1/(p-1)} by field arithmetic in each case.