Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Real |
| 4 | import TauCeti.RingTheory.PowerSeries.Rescale |
| 5 | public import New.Derivatives.Divisibility.NormalForm |
| 6 | public import New.Derivatives.FormalGroup.Resolution |
| 7 | public import New.Derivatives.Vacuum.TightFrames |
| 8 | public import Lib.CM.FormalGroup.PrimeNotation |
| 9 | import New.Derivatives.FormalGroup.Exponent |
| 10 | |
| 11 | /-! |
| 12 | # The normal form of theta products at non-split primes |
| 13 | |
| 14 | The file treats products of theta functions at a prime `p` that is not split in `K = ℚ(√-d)`. Here |
| 15 | `θ` is the theta function of the CM curve, `y` the parameter `C.translatedY` of the curve, composed |
| 16 | with the forms `u† z`, and `E` is `K` with a root of unity adjoined. |
| 17 | |
| 18 | The vectors `u` of `Eⁿ` form a resolution of the identity and are integral above `p`. The partner of |
| 19 | an infinite place `τ` of `E` is `-p ^ e τ`, and `Γ_e` is the coupling of the places with their |
| 20 | partners. Congruences modulo `π_p` between powers at a place and conjugation at its partner lead to |
| 21 | a normal form for `∏ θ(u_j† z) ^ m j` times an integral series in the `y(u† z)`. |
| 22 | |
| 23 | ## Main definitions and results |
| 24 | |
| 25 | * `New.Parameters.norm_pow_sub_conj_partner_le`: for `e` in `I_p°`, modulo `π_p`, the `p ^ e`-th |
| 26 | power at a place `τ` is complex conjugation at its partner `-p ^ e τ`. |
| 27 | * `New.Parameters.piPrimeInt_dvd_sum_linearSeries_sub_coupling`: at a non-split `p`, for a |
| 28 | resolution of the identity by vectors `u` integral above `p`, the sum |
| 29 | `∑ m j * (u_j† z) ^ p ^ e * (u_j† z)` is the coupling `Γ_e` modulo `π_p` for `e` in `I_p°`. |
| 30 | * `New.Parameters.exists_hasNormalForm`: at a non-split prime `p`, for a resolution of the identity |
| 31 | by vectors `u` integral above `p`, the product `∏ θ(u_j† z) ^ m j` times an integral series in the |
| 32 | `y(u† z)` has the normal form. |
| 33 | |
| 34 | Notions from other files: |
| 35 | * `New.piPrime`, `New.piPrimeInt`: the number `π_p`, which is `√-d` if `p = d` and `p` otherwise, in |
| 36 | `ℂ` and in the valuation ring (through the embedding `ιₚ : ℂ → ℂ_p`). |
| 37 | * `New.chiK`, `New.partnerExponents`: the character `χ_K`, with `χ_K(p) ≠ 1` at non-split `p`, and |
| 38 | the set `I_p°` of exponents `e`: the odd ones if `p` is inert, all if `p = d`, none if `p` splits. |
| 39 | * `New.IsResolution`: the vectors `u` with multiplicities `m` satisfy `z = ∑ m j (u_j† z) u_j`, |
| 40 | where `u† z = ∑ conj (τ(u_c)) z_(τ,c)`. |
| 41 | * `New.coupling`, `New.HasNormalForm`: `Γ_e = ∑ z_(τ,c) ^ p ^ e * z_(τ',c)` with `τ'` the partner |
| 42 | of `τ`, and `F(ϖ z) = W exp (c_ϖ ∑ λ_{e j} Γ_e ^ p ^ j)` with `W` integral. |
| 43 | -/ |
| 44 | |
| 45 | @[expose] public section |
| 46 | |
| 47 | /-! ## Substitution of a linear form -/ |
| 48 | |
| 49 | section LinearForm |
| 50 | |
| 51 | open Finset MvPowerSeries Nat Finsupp |
| 52 | |
| 53 | namespace New |
| 54 | |
| 55 | variable {p : ℕ} [Fact p.Prime] {X : Type} [Fintype X] |
| 56 | |
| 57 | open MvPolynomial |
| 58 | |
| 59 | /-- The coefficient of `z ^ D` in `g(∑ c_x z_x)` is `c ^ D g⁽ⁿ⁾(0) / D!` with `n = |D|`, where |
| 60 | `c ^ D = ∏ c_x ^ D_x`, `D! = ∏ D_x!` and `g⁽ⁿ⁾(0)` is `n!` times the `n`-th coefficient of `g`. -/ |
| 61 | @[simp] lemma coeff_subst_linearSeries {D : X →₀ ℕ} (c : X → ℂ_[p]) (g : PowerSeries ℂ_[p]) : |
| 62 | (g.subst (linearSeries c)).coeff D = |
| 63 | (∏ x : X, c x ^ D x) * (D.degree ! * g.coeff D.degree) / ∏ x : X, ((D x)! : ℂ_[p]) := by |
| 64 | -- Apply the chain rule to the jet along the monomial `z ^ D`, and evaluate both jets. |
| 65 | have h_monomial : linSubst (fun _ : Unit ↦ c) (monomial D 1) = |
| 66 | (∏ x : X, c x ^ D x) • MvPolynomial.X () ^ D.degree := by |
| 67 | simp only [linSubst, aeval_monomial] |
| 68 | simp [prod_fintype, smul_pow, prod_smul, prod_pow_eq_pow_sum, degree_eq_sum] |
| 69 | have h_chain : jetPairing (monomial D 1) (g.subst (linearSeries c)) = |
| 70 | jetPairing (linSubst (fun _ : Unit ↦ c) (monomial D 1)) g := |
| 71 | jet_subst_linearSeries (fun _ : Unit ↦ c) (monomial D 1) g |
| 72 | rw [h_monomial, X_pow_eq_monomial, map_smul, LinearMap.smul_apply, jetPairing_monomial, |
| 73 | jetPairing_monomial] at h_chain |
| 74 | rw [eq_div_iff (Finset.prod_ne_zero_iff.2 fun x _ ↦ mod_cast factorial_ne_zero (D x)), mul_comm] |
| 75 | simpa [prod_fintype, PowerSeries.coeff] using h_chain |
| 76 | |
| 77 | /-- Scaling all variables of `g(∑ c_x z_x)` by `a` is scaling the variable of `g` by `a`. -/ |
| 78 | @[simp] lemma rescale_subst_linearSeries {a : ℂ_[p]} (c : X → ℂ_[p]) (g : PowerSeries ℂ_[p]) : |
| 79 | rescale (fun _ : X ↦ a) (g.subst (linearSeries c)) = (g.rescale a).subst (linearSeries c) := by |
| 80 | ext D |
| 81 | simp [coeff_subst_linearSeries, prod_pow_eq_pow_sum, degree_eq_sum, field] |
| 82 | |
| 83 | end New |
| 84 | |
| 85 | end LinearForm |
| 86 | |
| 87 | /-! |
| 88 | ## Partners of places and couplings |
| 89 | |
| 90 | The congruence for powers at partners compares two ring maps on generators of `𝓞 E`. It turns the |
| 91 | identity `∑ m_j τ(u_{j,c}) (u_j† z) = z_(τ,c)` into the congruence for the coupling. |
| 92 | -/ |
| 93 | |
| 94 | section Partner |
| 95 | |
| 96 | open MvPowerSeries ComplexConjugate NumberField Finset |
| 97 | |
| 98 | namespace New |
| 99 | |
| 100 | /-- An element of the valuation ring of `ℂ_p` is divisible by `π_p` (`√-d` if `p = d`, else `p`) |
| 101 | exactly when its norm is at most that of `π_p`. -/ |
| 102 | lemma piPrimeInt_dvd_iff {d p : ℕ} [PrimeSevenModEight d] [Fact p.Prime] [PadicPlace p] |
| 103 | {x : valRingCp p} : piPrimeInt d ∣ x ↔ ‖(x : ℂ_[p])‖ ≤ ‖ιₚ (piPrime d p)‖ := |
| 104 | valRingCp.dvd_iff_norm_le |
| 105 | |
| 106 | namespace Parameters |
| 107 | |
| 108 | /-- The partner `-p ^ e τ` of an infinite place `τ` of `E`. Here `P` fixes the prime `d` and the |
| 109 | modulus `q₀`, and `E = P.E s` is `K = ℚ(√-d)` with a root of unity of order `q₁ = P.q₁ s` adjoined, |
| 110 | `s` being the level in the tower of these fields. The infinite places `P.Φ s` of `E` form the group |
| 111 | `Gal(E/K) = (ℤ/q₁)ˣ`, and the partner is the product of `τ` with `P.placeOfInt s (-p ^ e)`, the |
| 112 | place of the class of `-p ^ e` modulo `q₁` (the identity if this class is not a unit). -/ |
| 113 | noncomputable def partner (P : Parameters) (s p e : ℕ) (τ : P.Φ s) : P.Φ s := |
| 114 | P.placeOfInt s (-p ^ e) * τ |
| 115 | |
| 116 | /-- Let `p` be non-split in `K = ℚ(√-d)` (`χ_K(p) ≠ 1`) and let `ϖ` have valuation |
| 117 | `ρ_p = varpiValuation P.d p`, which is `1 / (p² - 1)` if `p` is inert and `1 / (2 p - 2)` if |
| 118 | `p = d`. Then `c_ϖ π_p` has valuation `1 / (p - 1)`, where `c_ϖ = ϖ ^ (p + 1) / p` and `π_p` is |
| 119 | `√-d` if `p = d` and `p` otherwise. -/ |
| 120 | lemma norm_pow_succ_div_mul_piPrimeInt (P : Parameters) {p : ℕ} [Fact p.Prime] [PadicPlace p] |
| 121 | (hp : chiK P.d p ≠ 1) {ϖ : ℂ_[p]} (hϖ : ‖ϖ‖ = p ^ (-varpiValuation P.d p)) : |
| 122 | ‖ϖ ^ (p + 1) / p * (piPrimeInt P.d : valRingCp p)‖ = p ^ (-(1 / (p - 1)) : ℝ) := by |
| 123 | -- The valuations of `ϖ ^ (p + 1)`, `1 / p` and `π_p` add up to `1 / (p - 1)`. |
| 124 | have hp_gt : (1 : ℝ) < p := mod_cast (Fact.out : p.Prime).one_lt |
| 125 | have h_exponent : |
| 126 | -varpiValuation P.d p * (p + 1) + 1 + -piPrimeValuation P.d p = -(1 / (p - 1)) := by |
| 127 | have hp_sub : (p : ℝ) - 1 ≠ 0 := by linarith |
| 128 | obtain ⟨rfl, -⟩ | ⟨h_ne, h_split | h_inert⟩ := chiK_cases P.d p |
| 129 | · grind [varpiValuation_self, piPrimeValuation_self] |
| 130 | · exact absurd h_split hp |
| 131 | · have hp_sq : (p : ℝ) ^ 2 - 1 ≠ 0 := by nlinarith |
| 132 | rw [varpiValuation_of_inert h_inert, piPrimeValuation_of_ne h_ne] |
| 133 | field |
| 134 | rw [norm_mul, norm_div, norm_pow, hϖ, norm_p_eq_inv, norm_piPrimeInt, ← h_exponent, |
| 135 | Real.rpow_add (by positivity), Real.rpow_add (by positivity), Real.rpow_one, div_inv_eq_mul, |
| 136 | ← Real.rpow_mul_natCast (by positivity), Nat.cast_add, Nat.cast_one] |
| 137 | |
| 138 | /-- Let `E = P.E s` be `K = ℚ(√-d)` (`d = P.d`) with a root of unity of order `q₁ = P.q₁ s` |
| 139 | adjoined, `s` being the level in the tower of these fields. Let `e` be in |
| 140 | `I_p° = partnerExponents P.d p`. Let `τ : P.Φ s` be an infinite place of `E`, and |
| 141 | `τ' = -p ^ e τ = P.partner s p e τ` its partner: the product of `τ` with the class of `-p ^ e` in |
| 142 | the group `Gal(E/K) = (ℤ/q₁)ˣ` of places. Then `τ(α) ^ p ^ e ≡ conj (τ'(α))` modulo `π_p` for `α` in |
| 143 | `𝓞 E`. -/ |
| 144 | lemma norm_pow_sub_conj_partner_le {P : Parameters} {s p : ℕ} [Fact p.Prime] [PadicPlace p] {e : ℕ} |
| 145 | (he : e ∈ partnerExponents P.d p) (τ : P.Φ s) (α : 𝓞 (P.E s)) : |
| 146 | ‖ιₚ (Φ τ α) ^ p ^ e - ιₚ (conj (Φ (P.partner s p e τ) α))‖ ≤ ‖ιₚ (piPrime P.d p)‖ := by |
| 147 | -- Both sides are ring maps to `𝒪 / π_p`. By `forall_map_galOfPlaceInt_eq_pow_iff` it suffices |
| 148 | -- that they agree at the root of unity, which holds by the choice of the partner, and at `√-d`. |
| 149 | let toValRing : 𝓞 (P.E s) →+* valRingCp p := |
| 150 | ((ιₚ.comp (Φ τ)).comp (algebraMap (𝓞 (P.E s)) (P.E s))).codRestrict (valRingCp p) |
| 151 | fun x ↦ (norm_ringOfIntegers_le (ιₚ.comp (Φ τ)) x :) |
| 152 | have h_coe (x : 𝓞 (P.E s)) : (toValRing x : ℂ_[p]) = ιₚ (Φ τ x) := rfl |
| 153 | let modPiPrime : valRingCp p →+* valRingCp p ⧸ Ideal.span {piPrimeInt P.d} := reducePiPrime P.d |
| 154 | have h_mod_eq_zero (x : valRingCp p) : |
| 155 | modPiPrime x = 0 ↔ ‖(x : ℂ_[p])‖ ≤ ‖ιₚ (piPrime P.d p)‖ := by |
| 156 | rw [Ideal.Quotient.eq_zero_iff_dvd, piPrimeInt_dvd_iff] |
| 157 | have h_sqrt : |
| 158 | (chiK P.d p : valRingCp p ⧸ Ideal.span {piPrimeInt P.d}) ^ e * (-1 : ℤ) * |
| 159 | modPiPrime (toValRing (P.sqrtNegDInE s)) = modPiPrime (toValRing (P.sqrtNegDInE s)) := by |
| 160 | obtain h_eq | ⟨h_inert, h_odd⟩ := mem_partnerExponents.1 he |
| 161 | · -- For `p = d` the image of `√-d` is `π_p`; for inert `p` the symbol is `-1` and `e` is odd. |
| 162 | have h_zero : modPiPrime (toValRing (P.sqrtNegDInE s)) = 0 := by |
| 163 | rw [h_mod_eq_zero, h_coe, coe_sqrtNegDInE, phi_algebraMap, QuadField.sqrtNegD_coe, piPrime, |
| 164 | ite_eq_left h_eq] |
| 165 | rw [h_zero, mul_zero] |
| 166 | · simp [h_inert, h_odd.neg_one_pow] |
| 167 | have h_frob : modPiPrime (toValRing (galOfPlaceInt (P.placeOfInt s (-p ^ e)) (star α))) = |
| 168 | modPiPrime (toValRing α) ^ p ^ e := by |
| 169 | have hp_not_dvd : ¬p ∣ P.q₁ s := fun h_dvd ↦ |
| 170 | chiK_ne_one_of_mem_partnerExponents he (P.chiK_eq_one_of_dvd Fact.out h_dvd) |
| 171 | simpa using (forall_map_galOfPlaceInt_eq_pow_iff hp_not_dvd (modPiPrime.comp toValRing) e |
| 172 | (.inr ⟨rfl, rfl⟩ : IsIdOrConjWithSign (starRingAut (R := 𝓞 (P.E s))) (-1))).2 |
| 173 | ⟨by rw [neg_one_mul], h_sqrt⟩ (star α) |
| 174 | have h_partner : (toValRing (galOfPlaceInt (P.placeOfInt s (-p ^ e)) (star α)) : ℂ_[p]) = |
| 175 | ιₚ (conj (Φ (P.partner s p e τ) α)) := by |
| 176 | rw [h_coe, coe_galOfPlaceInt, ← phi_mul, coe_star_ringOfIntegers, map_star_complex, partner, |
| 177 | mul_comm τ, starRingEnd_apply] |
| 178 | rw [← h_partner] |
| 179 | exact (h_mod_eq_zero (toValRing α ^ p ^ e - _)).1 (by rw [map_sub, map_pow, h_frob, sub_self]) |
| 180 | |
| 181 | /-- Let `E = P.E s` be `K = ℚ(√-d)` (`d = P.d`) with a root of unity of order `q₁ = P.q₁ s` |
| 182 | adjoined, `s` being the level in the tower of these fields. Let `e` be in |
| 183 | `I_p° = partnerExponents P.d p`. Let `τ : P.Φ s` be an infinite place of `E`, and |
| 184 | `τ' = -p ^ e τ = P.partner s p e τ` its partner: the product of `τ` with the class of `-p ^ e` in |
| 185 | the group `Gal(E/K) = (ℤ/q₁)ˣ` of places. Then `conj (τ(y)) ^ p ^ e ≡ τ'(y)` modulo `π_p` for `y` in |
| 186 | `E` integral at all primes above `p`. -/ |
| 187 | lemma norm_conj_pow_sub_partner_le {P : Parameters} {s p : ℕ} [Fact p.Prime] [PadicPlace p] {e : ℕ} |
| 188 | (he : e ∈ partnerExponents P.d p) (τ : P.Φ s) {y : P.E s} (hy : IsIntegralAbove p y) : |
| 189 | ‖ιₚ (conj (Φ τ y)) ^ p ^ e - ιₚ (Φ (P.partner s p e τ) y)‖ ≤ ‖ιₚ (piPrime P.d p)‖ := by |
| 190 | -- Write `y = α / N` with `N` prime to `p`, use the congruence for `conj α`, and cancel the unit |
| 191 | -- `N ^ p ^ e ≡ N`. |
| 192 | obtain ⟨N, hN, h_integral⟩ := isIntegralAbove_iff_exists_coprime_denominator.mp hy |
| 193 | let α : 𝓞 (P.E s) := ⟨(N : P.E s) * y, h_integral⟩ |
| 194 | have hα : N * y = (α : P.E s) := rfl |
| 195 | let a : valRingCp p := ⟨ιₚ (conj (Φ τ y)), hy.norm_conj_le_one _⟩ |
| 196 | let b : valRingCp p := ⟨ιₚ (Φ (P.partner s p e τ) y), hy.norm_le_one (ιₚ.comp _)⟩ |
| 197 | have h_int : piPrimeInt P.d ∣ (N * a) ^ p ^ e - N * b := by |
| 198 | simpa [piPrimeInt_dvd_iff, a, b, ← hα, coe_star_ringOfIntegers, map_star_complex] using |
| 199 | norm_pow_sub_conj_partner_le he τ (star α) |
| 200 | have h_fermat : piPrimeInt P.d ∣ (N : valRingCp p) ^ p ^ e - N := by |
| 201 | have h_mod : (p : ℤ) ∣ (N : ℤ) ^ p ^ e - N := |
| 202 | (ZMod.intCast_zmod_eq_zero_iff_dvd _ p).1 (by simp [ZMod.pow_card_pow]) |
| 203 | exact (piPrimeInt_dvd_natCast P.d).trans |
| 204 | (mod_cast map_dvd (Int.castRingHom (valRingCp p)) h_mod) |
| 205 | have h_unit : IsUnit ((N : valRingCp p) ^ p ^ e) := |
| 206 | (isUnit_integer_iff_norm_eq_one.2 (hN.norm_natCast_eq_one ℂ_[p])).pow _ |
| 207 | have h_mul : piPrimeInt P.d ∣ (N : valRingCp p) ^ p ^ e * (a ^ p ^ e - b) := by |
| 208 | have h_split : (N : valRingCp p) ^ p ^ e * (a ^ p ^ e - b) = |
| 209 | (N * a) ^ p ^ e - N * b - (N ^ p ^ e - N) * b := by ring |
| 210 | rw [h_split] |
| 211 | exact h_int.sub (h_fermat.mul_right b) |
| 212 | exact (piPrimeInt_dvd_iff (x := a ^ p ^ e - b)).1 (h_unit.dvd_mul_left.1 h_mul) |
| 213 | |
| 214 | /-- Let `E = P.E s` be `K = ℚ(√-d)` with a root of unity of order `q₁ = P.q₁ s` adjoined, `e` in |
| 215 | `I_p° = partnerExponents P.d p` and `y` a vector over `E` integral above `p`. Then the `p ^ e`-th |
| 216 | power of the linear form `y† z = ∑ conj (τ(y_c)) z_(τ,c)` is `∑ τ'(y_c) z_(τ,c) ^ p ^ e` modulo |
| 217 | `π_p`; the sum runs over infinite places `τ` in `P.Φ s` and coordinates `c`. |
| 218 | `τ' = -p ^ e τ = P.partner s p e τ` is the product of `τ` with the class of `-p ^ e` in the group |
| 219 | `Gal(E/K) = (ℤ/q₁)ˣ` of places. `μ`, `ν` are the coefficients of the form and of the sum, read as |
| 220 | integers of `ℂ_p` through the embedding `ιₚ : ℂ → ℂ_p`. -/ |
| 221 | lemma dvd_pow_sub_sum_partner {P : Parameters} {s p : ℕ} [Fact p.Prime] [PadicPlace p] {e : ℕ} |
| 222 | {n : Type} [Fintype n] (he : e ∈ partnerExponents P.d p) |
| 223 | {y : n → P.E s} (hy : ∀ i : n, IsIntegralAbove p (y i)) |
| 224 | {μ ν : P.Φ s × n → valRingCp p} (hμ : ∀ x : P.Φ s × n, (μ x : ℂ_[p]) = ιₚ (dagger y x)) |
| 225 | (hν : ∀ x : P.Φ s × n, (ν x : ℂ_[p]) = ιₚ (Φ (P.partner s p e x.1) (y x.2))) : |
| 226 | C (piPrimeInt P.d) ∣ linearSeries μ ^ p ^ e - ∑ x : P.Φ s × n, ν x • X x ^ p ^ e := by |
| 227 | have h_add : C (piPrimeInt P.d) ∣ linearSeries μ ^ p ^ e - ∑ x, (μ x • X x) ^ p ^ e := |
| 228 | dvd_sum_pow_sub_sum (mod_cast map_dvd C (piPrimeInt_dvd_natCast P.d)) _ _ e |
| 229 | have h_coeff (x : P.Φ s × n) : piPrimeInt P.d ∣ μ x ^ p ^ e - ν x := by |
| 230 | rw [piPrimeInt_dvd_iff, AddSubgroupClass.coe_sub, SubmonoidClass.coe_pow, hμ, hν] |
| 231 | exact norm_conj_pow_sub_partner_le he x.1 (hy x.2) |
| 232 | rw [← sub_add_sub_cancel _ (∑ x, (μ x • X x) ^ p ^ e), ← sum_sub_distrib] |
| 233 | refine h_add.add (dvd_sum fun x _ ↦ ?_) |
| 234 | rw [smul_pow, ← sub_smul, smul_eq_C_mul] |
| 235 | exact (map_dvd C (h_coeff x)).mul_right _ |
| 236 | |
| 237 | /-- For vectors `u_j` over `E = P.E s` integral above `p`, the linear forms `u_j† z`, whose |
| 238 | coefficient at `z_(τ,c)` is `conj (τ(u_{j,c}))` read in `ℂ_p` through the embedding `ιₚ` of `ℂ`, |
| 239 | have integral coefficients. -/ |
| 240 | lemma norm_daggerForms_le_one (P : Parameters) (s : ℕ) {p : ℕ} [Fact p.Prime] [PadicPlace p] |
| 241 | {n J : Type} {u : J → n → P.E s} |
| 242 | (hu : ∀ (j : J) (i : n), IsIntegralAbove p (u j i)) (j : J) (x : P.Φ s × n) : |
| 243 | ‖(daggerForms u j x : ℂ_[p])‖ ≤ 1 := |
| 244 | (hu j x.2).norm_conj_le_one _ |
| 245 | |
| 246 | /-- Let `E = P.E s` be `K = ℚ(√-d)` (`d = P.d`) with a root of unity of order `q₁ = P.q₁ s` |
| 247 | adjoined, `s` being the tower level, and let `e` be in `I_p° = partnerExponents P.d p`. Let the |
| 248 | vectors `u_j` of `Eⁿ`, integral above `p` and each taken `m_j` times, be a resolution of the |
| 249 | identity: `z = ∑ m_j (u_j† z) u_j`. Then `∑ m_j (u_j† z) ^ p ^ e * (u_j† z)` is the coupling |
| 250 | `Γ_e = ∑ z_(τ,c) ^ p ^ e * z_(τ',c)` modulo `π_p`. -/ |
| 251 | lemma piPrimeInt_dvd_sum_linearSeries_sub_coupling (P : Parameters) (s : ℕ) {p : ℕ} [Fact p.Prime] |
| 252 | [PadicPlace p] |
| 253 | {n J : Type} [Fintype n] [Fintype J] {u : J → n → P.E s} {m : J → ℕ} [DecidableEq n] |
| 254 | {e : ℕ} (he : e ∈ partnerExponents P.d p) |
| 255 | (h_res : IsResolution u m) (hu : ∀ (j : J) (i : n), IsIntegralAbove p (u j i)) |
| 256 | {μ : J → P.Φ s × n → valRingCp p} |
| 257 | (hμ : ∀ (j : J) (x : P.Φ s × n), (μ j x : ℂ_[p]) = daggerForms u j x) : |
| 258 | C (piPrimeInt P.d) ∣ |
| 259 | ∑ j : J, m j * (linearSeries (μ j) ^ p ^ e * linearSeries (μ j)) - |
| 260 | coupling (P.partner s p) e := by |
| 261 | -- `ν j (τ, c)` is the coordinate `c` of `u j` at the partner of `τ`. |
| 262 | let ν (j : J) (x : P.Φ s × n) : valRingCp p := |
| 263 | ⟨ιₚ (Φ (P.partner s p e x.1) (u j x.2)), (hu j x.2).norm_le_one (ιₚ.comp _)⟩ |
| 264 | have h_pow (j : J) : |
| 265 | C (piPrimeInt P.d) ∣ linearSeries (μ j) ^ p ^ e - ∑ x, ν j x • X x ^ p ^ e := |
| 266 | dvd_pow_sub_sum_partner he (hu j) (hμ j) fun _ ↦ rfl |
| 267 | have h_identity (x : P.Φ s × n) : |
| 268 | ∑ j, (m j * ν j x) • linearSeries (μ j) = X (P.partner s p e x.1, x.2) := |
| 269 | h_res.sum_smul_linearSeries (P.partner s p e x.1, x.2) (fun _ ↦ rfl) hμ |
| 270 | have h_coupling : coupling (P.partner s p) e = |
| 271 | ∑ j, (m j : MvPowerSeries (P.Φ s × n) (valRingCp p)) * |
| 272 | ((∑ x, ν j x • X x ^ p ^ e) * linearSeries (μ j)) := by |
| 273 | simp only [coupling, ← h_identity, mul_sum, sum_mul, smul_eq_C_mul, map_mul, map_natCast] |
| 274 | rw [sum_comm] |
| 275 | exact sum_congr rfl fun j _ ↦ sum_congr rfl fun x _ ↦ by ring |
| 276 | rw [h_coupling, ← sum_sub_distrib] |
| 277 | refine dvd_sum fun j _ ↦ ?_ |
| 278 | rw [← mul_sub, ← sub_mul] |
| 279 | exact ((h_pow j).mul_right _).mul_left _ |
| 280 | |
| 281 | end Parameters |
| 282 | |
| 283 | end New |
| 284 | |
| 285 | end Partner |
| 286 | |
| 287 | /-! |
| 288 | ## The normal form of products of theta functions |
| 289 | |
| 290 | Each theta factor at `ϖ z` is an integral series times `exp (c_ϖ Ξ(u† z))`. Modulo `π_p` the |
| 291 | `p`-th power is additive, so the exponents add up to a combination of powers of the couplings. |
| 292 | -/ |
| 293 | |
| 294 | section NormalForm |
| 295 | |
| 296 | open MvPowerSeries WithPiTopology |
| 297 | |
| 298 | namespace New |
| 299 | variable {p : ℕ} [Fact p.Prime] |
| 300 | |
| 301 | /-- Let `p` be a prime and `π ∣ p`, let `T = ∑ λ_{e j} (z ^ p ^ e * z) ^ p ^ j` over `e ∈ S` and |
| 302 | `j`, with `λ_{e j} = l e j`, and let `partner e` be a self-map of the set `Φ` of places with |
| 303 | `Γ_e = coupling partner e = ∑ z_(τ,c) ^ p ^ e * z_(partner e τ,c)` summed over `(τ, c)` in `Φ × n`. |
| 304 | If series `L_i` (indexed by `J`) without constant term and multiplicities `m_i` satisfy |
| 305 | `∑ m_i L_i ^ p ^ e * L_i ≡ Γ_e` modulo `π` for `e ∈ S`, then `∑ m_i T(L_i)` is |
| 306 | `couplingSum S partner l = ∑ λ_{e j} Γ_e ^ p ^ j` modulo `π`. -/ |
| 307 | private lemma dvd_sum_mul_subst_tsum_sub_couplingSum {Φ n J : Type} [Fintype Φ] [Fintype n] |
| 308 | [Fintype J] {S : Set ℕ} {partner : ℕ → Φ → Φ} {l : ℕ → ℕ → valRingCp p} {π : valRingCp p} |
| 309 | (hπ : π ∣ p) {L : J → MvPowerSeries (Φ × n) (valRingCp p)} |
| 310 | (hL : ∀ i : J, constantCoeff (L i) = 0) {m : J → ℕ} |
| 311 | (hΓ : ∀ e ∈ S, C π ∣ ∑ i : J, m i * (L i ^ p ^ e * L i) - coupling partner e) : |
| 312 | C π ∣ ∑ i : J, m i * |
| 313 | PowerSeries.subst (L i) |
| 314 | (∑' x : S × ℕ, l x.1 x.2 • (PowerSeries.X ^ p ^ (x.1 : ℕ) * PowerSeries.X) ^ p ^ x.2 : |
| 315 | PowerSeries (valRingCp p)) - |
| 316 | couplingSum S partner l := by |
| 317 | have h_sum (i : J) : |
| 318 | HasSum (fun x : S × ℕ ↦ l x.1 x.2 • (L i ^ p ^ (x.1 : ℕ) * L i) ^ p ^ x.2) |
| 319 | (PowerSeries.subst (L i) |
| 320 | (∑' x : S × ℕ, l x.1 x.2 • (PowerSeries.X ^ p ^ (x.1 : ℕ) * PowerSeries.X) ^ p ^ x.2 : |
| 321 | PowerSeries (valRingCp p))) := by |
| 322 | have h_subst : PowerSeries.HasSubst (L i) := .of_constantCoeff_zero (hL i) |
| 323 | -- Substitution is continuous, so it maps the sum term by term. |
| 324 | have h_cont : Continuous (PowerSeries.substAlgHom (R := valRingCp p) h_subst) := by |
| 325 | rw [PowerSeries.coe_substAlgHom] |
| 326 | exact continuous_subst_of_constantCoeff_eq_zero fun _ ↦ hL i |
| 327 | rw [← PowerSeries.coe_substAlgHom h_subst] |
| 328 | simpa only [Function.comp_def, map_smul, map_pow, map_mul, PowerSeries.substAlgHom_X] using |
| 329 | (summable_smul_X_pow_mul_X_pow S l).hasSum.map _ h_cont |
| 330 | -- Term by term: `p ^ j`-th powers are additive modulo `π`. |
| 331 | refine C_dvd_of_hasSum ((hasSum_sum fun i _ ↦ (h_sum i).mul_left _).sub hasSum_couplingSum) ?_ |
| 332 | rintro ⟨⟨e, he⟩, j⟩ |
| 333 | -- A sum with multiplicities is a sum over the pairs `(i, k)` with `k < m i`. |
| 334 | have h_add : C π ∣ |
| 335 | (∑ i, m i * (L i ^ p ^ e * L i)) ^ p ^ j - ∑ i, m i * (L i ^ p ^ e * L i) ^ p ^ j := by |
| 336 | simpa [Fintype.sum_sigma] using dvd_sum_pow_sub_sum (mod_cast map_dvd C hπ) .univ |
| 337 | (fun x : Σ i, Fin (m i) ↦ L x.1 ^ p ^ e * L x.1) j |
| 338 | have h_diff : C π ∣ ∑ i, m i * (L i ^ p ^ e * L i) ^ p ^ j - coupling partner e ^ p ^ j := by |
| 339 | simpa only [sub_sub_sub_cancel_left] using |
| 340 | ((hΓ e he).trans (sub_dvd_pow_sub_pow _ _ (p ^ j))).sub h_add |
| 341 | -- The common factor `λ_{e j}` comes out of the sum. |
| 342 | simp only [smul_eq_C_mul, mul_left_comm _ (C (l e j)), ← Finset.mul_sum, ← mul_sub] |
| 343 | exact h_diff.mul_left _ |
| 344 | |
| 345 | /-- Let `π ∣ p`, let `Ξ` be a series in one variable congruent to |
| 346 | `∑ λ_{e j} (z ^ p ^ e * z) ^ p ^ j` modulo `π`, the sum over `e ∈ S` and `j` with |
| 347 | `λ_{e j} = l e j`, and let `partner e` be a self-map of the set `Φ` of places, with |
| 348 | `Γ_e = coupling partner e = ∑ z_(τ,c) ^ p ^ e * z_(partner e τ,c)` summed over `(τ, c)` in `Φ × n`. |
| 349 | If series `L_i` without constant term are such that `∑ m_i L_i ^ p ^ e * L_i` is `Γ_e` modulo `π` |
| 350 | for `e ∈ S`, then the `Ξ(L_i)`, each taken `m_i` times, add up to |
| 351 | `couplingSum S partner l = ∑ λ_{e j} Γ_e ^ p ^ j` modulo `π`. -/ |
| 352 | lemma dvd_sum_subst_sub_couplingSum {Φ n J : Type} [Fintype Φ] [Fintype n] [Fintype J] |
| 353 | {S : Set ℕ} {partner : ℕ → Φ → Φ} {l : ℕ → ℕ → valRingCp p} {π : valRingCp p} (hπ : π ∣ p) |
| 354 | {Ξ : PowerSeries (valRingCp p)} |
| 355 | (hΞ : C π ∣ Ξ - |
| 356 | ∑' x : S × ℕ, l x.1 x.2 • (PowerSeries.X ^ p ^ (x.1 : ℕ) * PowerSeries.X) ^ p ^ x.2) |
| 357 | {L : J → MvPowerSeries (Φ × n) (valRingCp p)} (hL : ∀ i : J, constantCoeff (L i) = 0) |
| 358 | {m : J → ℕ} (hΓ : ∀ e ∈ S, C π ∣ ∑ i : J, m i * (L i ^ p ^ e * L i) - coupling partner e) : |
| 359 | C π ∣ ∑ i : J, m i • Ξ.subst (L i) - couplingSum S partner l := by |
| 360 | have h_subst (i : J) : PowerSeries.HasSubst (L i) := .of_constantCoeff_zero (hL i) |
| 361 | set T : PowerSeries (valRingCp p) := |
| 362 | ∑' x : S × ℕ, l x.1 x.2 • (PowerSeries.X ^ p ^ (x.1 : ℕ) * PowerSeries.X) ^ p ^ x.2 |
| 363 | have h_replace (i : J) : C π ∣ Ξ.subst (L i) - T.subst (L i) := by |
| 364 | obtain ⟨G, hG⟩ : C π ∣ Ξ - T := hΞ |
| 365 | exact ⟨PowerSeries.subst (L i) G, by rw [← PowerSeries.subst_sub (h_subst i), hG, |
| 366 | ← smul_eq_C_mul, ← smul_eq_C_mul, PowerSeries.subst_smul (h_subst i)]⟩ |
| 367 | -- Term by term: `p ^ j`-th powers are additive modulo `π`. |
| 368 | have h_tsum_congr : C π ∣ ∑ i, m i * T.subst (L i) - couplingSum S partner l := |
| 369 | dvd_sum_mul_subst_tsum_sub_couplingSum hπ hL hΓ |
| 370 | have h_sum_replace : C π ∣ |
| 371 | ∑ i, (m i : MvPowerSeries (Φ × n) (valRingCp p)) * (Ξ.subst (L i) - T.subst (L i)) := |
| 372 | Finset.dvd_sum fun i _ ↦ (h_replace i).mul_left _ |
| 373 | simpa only [nsmul_eq_mul, mul_sub, Finset.sum_sub_distrib, sub_add_sub_cancel] using |
| 374 | h_sum_replace.add h_tsum_congr |
| 375 | |
| 376 | /-- For a series `g` without constant term, `exp (n g) = exp(g) ^ n`. -/ |
| 377 | lemma expSubst_nsmul {σ : Type} {g : MvPowerSeries σ ℂ_[p]} (hg : constantCoeff g = 0) (n : ℕ) : |
| 378 | expSubst (n • g) = expSubst g ^ n := by |
| 379 | simpa using expSubst_sum (t := Finset.range n) (a := fun _ ↦ g) fun _ ↦ hg |
| 380 | |
| 381 | /-- For a linear form `L = ∑ ν_x z_x` with integral coefficients, `g(L)` at `ϖ z` is the series |
| 382 | `g(ϖ t)` at `t = L`. -/ |
| 383 | lemma rescale_subst_linearSeries_coe {X : Type} [Fintype X] (ϖ : ℂ_[p]) (g : PowerSeries ℂ_[p]) |
| 384 | (ν : X → valRingCp p) : |
| 385 | (g.subst (linearSeries fun x : X ↦ (ν x : ℂ_[p]))).rescale (fun _ : X ↦ ϖ) = |
| 386 | (g.rescale ϖ).subst (seriesToCp (linearSeries ν)) := by |
| 387 | rw [rescale_subst_linearSeries] |
| 388 | simp [linearSeries] |
| 389 | |
| 390 | /-- The inclusion `seriesToCp` of integral series commutes with substituting a series `L` without |
| 391 | constant term into a series `G` in one variable. -/ |
| 392 | lemma seriesToCp_subst {X : Type} {L : MvPowerSeries X (valRingCp p)} (hL : constantCoeff L = 0) |
| 393 | (G : PowerSeries (valRingCp p)) : |
| 394 | seriesToCp (G.subst L) = PowerSeries.subst (seriesToCp L) (seriesToCp G) := |
| 395 | PowerSeries.map_subst (.of_constantCoeff_zero hL) G |
| 396 | |
| 397 | namespace CMLattice |
| 398 | variable {d : ℕ} (C : CMLattice d) [PadicPlace p] {I X : Type} [Fintype I] |
| 399 | [Fintype X] {μ : I → X → valRingCp p} {ϖ : ℂ_[p]} |
| 400 | |
| 401 | /-- Let `d ≡ 7 mod 8` be prime, `C` a lattice with complex multiplication by the integers of |
| 402 | `ℚ(√-d)` and a point `t` of order two with `a₁² = 12 ℘(t)`, and `y` the Taylor series at `0`, read |
| 403 | in `ℂ_p` by `ιₚ`, of `C.translatedY z = (℘'(z + t) - a₁ (℘(z + t) - ℘(t))) / 2`. Let `μ_i` be |
| 404 | integral linear forms and `v(ϖ) ≥ ρ_p = varpiValuation d p`. Then a series `H` in |
| 405 | `C.multiSeriesRing`, the ring of integral series in the `y(μ_i z)`, is integral at `ϖ z`: `H(ϖ z)` |
| 406 | is in the range of `seriesToCp`, the inclusion of series over the integers of `ℂ_p`. -/ |
| 407 | lemma rescale_mem_range_of_mem_multiSeriesRing [PrimeSevenModEight d] |
| 408 | (hϖ : ‖ϖ‖ ≤ p ^ (-varpiValuation d p)) |
| 409 | {H : MvPowerSeries X ℂ_[p]} (hH : H ∈ C.multiSeriesRing fun (i : I) (x : X) ↦ (μ i x : ℂ_[p])) : |
| 410 | H.rescale (fun _ : X ↦ ϖ) ∈ seriesToCp.range := by |
| 411 | -- `y(ϖ w) = Y(w)` with `Y` integral, so `G(y(μ z))` at `ϖ z` is `G(Y(μ z))`. |
| 412 | obtain ⟨G, rfl⟩ := hH |
| 413 | obtain ⟨Y, hY⟩ : PowerSeries.rescale ϖ (taylorVia ιₚ C.translatedY) ∈ seriesToCp.range := |
| 414 | C.rescale_mem_range_seriesToCp hϖ C.isSeriesGenerator_translatedY.generator_mem |
| 415 | have hY_zero : constantCoeff Y = 0 := by simpa using congrArg constantCoeff hY |
| 416 | let Z (i : I) : MvPowerSeries X (valRingCp p) := PowerSeries.subst (linearSeries (μ i)) Y |
| 417 | have hZ (i : I) : seriesToCp (Z i) = rescale (fun _ ↦ ϖ) |
| 418 | ((taylorVia ιₚ C.translatedY).subst (linearSeries fun x ↦ (μ i x : ℂ_[p]))) := by |
| 419 | rw [rescale_subst_linearSeries_coe, ← hY, seriesToCp_subst (constantCoeff_linearSeries _)] |
| 420 | have h_subst : HasSubst Z := hasSubst_of_constantCoeff_zero fun i ↦ |
| 421 | PowerSeries.constantCoeff_subst_eq_zero (constantCoeff_linearSeries _) Y hY_zero |
| 422 | refine ⟨G.subst Z, ?_⟩ |
| 423 | -- Scaling is a substitution, and substitutions compose. |
| 424 | simp only [map_subst h_subst, hZ, rescale_eq_subst] |
| 425 | rw [← subst_comp_subst_apply (C.hasSubst_translatedY_subst _) (HasSubst.smul_X _)] |
| 426 | simp [Function.comp_def] |
| 427 | |
| 428 | /-- Let `C` be a lattice with complex multiplication by the integers of `ℚ(√-d)` and a point of |
| 429 | order two, and `θ = taylorVia ιₚ C.θ` the Taylor series of its theta function, read in `ℂ_p` by the |
| 430 | embedding `ιₚ` of `ℂ`. Let `θ(ϖ z) = W exp (κ Ξ)` with integral series `W`, `Ξ` and `Ξ(0) = 0`. Then |
| 431 | `C.thetaProd`, the product `∏ θ(μ_i z) ^ m_i` for integral linear forms `μ_i`, is at `ϖ z` the |
| 432 | integral series `∏ W(μ_i z) ^ m_i` times `exp (κ ∑ m_i Ξ(μ_i z))`. -/ |
| 433 | lemma rescale_thetaProd_eq_mul_expSubst {κ : ℂ_[p]} {W Ξ : PowerSeries (valRingCp p)} |
| 434 | (hΞ : PowerSeries.constantCoeff Ξ = 0) |
| 435 | (h_theta : (taylorVia ιₚ C.θ).rescale ϖ = seriesToCp W * expSubst (κ • seriesToCp Ξ)) |
| 436 | (m : I → ℕ) : |
| 437 | (C.thetaProd (fun (i : I) (x : X) ↦ (μ i x : ℂ_[p])) m).rescale (fun _ : X ↦ ϖ) = |
| 438 | seriesToCp (∏ i : I, W.subst (linearSeries (μ i)) ^ m i) * |
| 439 | expSubst (κ • seriesToCp (∑ i : I, m i • Ξ.subst (linearSeries (μ i)))) := by |
| 440 | have hL (i : I) : constantCoeff (linearSeries (μ i)) = 0 := constantCoeff_linearSeries _ |
| 441 | have h_zero (i : I) : constantCoeff (κ • seriesToCp (Ξ.subst (linearSeries (μ i)))) = 0 := by |
| 442 | simp [PowerSeries.constantCoeff_subst_eq_zero (hL i) Ξ hΞ] |
| 443 | have h_factor (i : I) : |
| 444 | ((taylorVia ιₚ C.θ).subst (linearSeries fun x ↦ (μ i x : ℂ_[p]))).rescale (fun _ ↦ ϖ) = |
| 445 | seriesToCp (W.subst (linearSeries (μ i))) * |
| 446 | expSubst (κ • seriesToCp (Ξ.subst (linearSeries (μ i)))) := by |
| 447 | have h_subst : PowerSeries.HasSubst (seriesToCp (linearSeries (μ i))) := |
| 448 | .of_constantCoeff_zero (by simp [hL]) |
| 449 | rw [rescale_subst_linearSeries_coe, h_theta, PowerSeries.subst_mul h_subst, |
| 450 | seriesToCp_subst (hL i), seriesToCp_subst (hL i), ← PowerSeries.subst_smul h_subst] |
| 451 | -- It remains that substitution into an exponential is substitution into the exponent. |
| 452 | exact congrArg _ (subst_expSubst (by simpa using .inr hΞ) h_subst.const) |
| 453 | rw [thetaProd, map_prod, map_prod, map_sum, Finset.smul_sum, expSubst_sum fun i ↦ ?_, |
| 454 | ← Finset.prod_mul_distrib] |
| 455 | · refine Finset.prod_congr rfl fun i _ ↦ ?_ |
| 456 | rw [map_pow, h_factor, mul_pow, map_pow, map_nsmul, smul_comm κ, expSubst_nsmul (h_zero i)] |
| 457 | · rw [map_nsmul, smul_comm κ, map_nsmul, h_zero i, smul_zero] |
| 458 | |
| 459 | end CMLattice |
| 460 | |
| 461 | namespace Parameters |
| 462 | |
| 463 | /-- Let `E = P.E s` be `K = ℚ(√-d)` with a root of unity of order `q₁ = P.q₁ s` adjoined, `p` a |
| 464 | prime not split in `K` (`chiK P.d p ≠ 1`), `I_p° = partnerExponents P.d p`, and for an infinite |
| 465 | place `τ` of `E` let its partner `τ' = -p ^ e τ` be the product of `τ` with the class of `-p ^ e` in |
| 466 | the group `Gal(E/K) = (ℤ/q₁)ˣ` of places. There are `ϖ` of valuation `ρ_p = varpiValuation P.d p` |
| 467 | and integers `λ_{e j}` of `ℂ_p`, with the `λ_{e 0}` for odd `e` units if `p` is inert, such that the |
| 468 | following holds. Take any resolution of the identity by vectors `u_j` of `Eⁿ`, taken `m_j` times and |
| 469 | integral above `p`. Then the product `∏ θ(u_j† z) ^ m_j` times an integral series in the `y(u_j† z)` |
| 470 | has the normal form. -/ |
| 471 | lemma exists_hasNormalForm (P : Parameters) (s : ℕ) [PadicPlace p] (hp : chiK P.d p ≠ 1) : |
| 472 | ∃ (ϖ : ℂ_[p]) (l : ℕ → ℕ → valRingCp p), |
| 473 | ‖ϖ‖ = p ^ (-varpiValuation P.d p) ∧ |
| 474 | (chiK P.d p = -1 → ∀ e : ℕ, Odd e → IsUnit (l e 0)) ∧ |
| 475 | ∀ {n J : Type} [Fintype n] [DecidableEq n] [Fintype J] (u : J → n → P.E s) (m : J → ℕ), |
| 476 | IsResolution u m → (∀ (j : J) (i : n), IsIntegralAbove p (u j i)) → |
| 477 | ∀ H ∈ P.cmCurve.multiSeriesRing (daggerForms u), |
| 478 | HasNormalForm (partnerExponents P.d p) (P.partner s p) ϖ l |
| 479 | (P.cmCurve.thetaProd (daggerForms u) m * H) := by |
| 480 | -- On one curve: `θ(ϖ z) = W exp (c_ϖ Ξ)` with `Ξ ≡ ∑ λ_{e j} (z ^ p ^ e * z) ^ p ^ j`. |
| 481 | obtain ⟨ϖ, Ξ, W, l, hϖ, hΞ_zero, h_theta, hΞ, h_unit⟩ := P.cmCurve.exists_exponent_tsum hp |
| 482 | refine ⟨ϖ, l, hϖ, h_unit, ?_⟩ |
| 483 | intro n J _ _ _ u m h_res hu H hH |
| 484 | -- The linear forms `u† z` are integral, so at `ϖ z` the series is an integral series times |
| 485 | -- the exponential of `c_ϖ ∑ m_j Ξ(u_j† z)`. |
| 486 | let μ (j : J) (x : P.Φ s × n) : valRingCp p := |
| 487 | ⟨daggerForms u j x, P.norm_daggerForms_le_one s hu j x⟩ |
| 488 | have hL (j : J) : constantCoeff (linearSeries (μ j)) = 0 := constantCoeff_linearSeries _ |
| 489 | obtain ⟨V, hV⟩ : H.rescale (fun _ : P.Φ s × n ↦ ϖ) ∈ seriesToCp.range := |
| 490 | P.cmCurve.rescale_mem_range_of_mem_multiSeriesRing (μ := μ) hϖ.le hH |
| 491 | have h_prod : (P.cmCurve.thetaProd (daggerForms u) m * H).rescale (fun _ ↦ ϖ) = |
| 492 | seriesToCp ((∏ j, W.subst (linearSeries (μ j)) ^ m j) * V) * |
| 493 | expSubst ((ϖ ^ (p + 1) / p) • seriesToCp (∑ j, m j • Ξ.subst (linearSeries (μ j)))) := by |
| 494 | rw [map_mul, map_mul, hV, mul_right_comm, |
| 495 | ← P.cmCurve.rescale_thetaProd_eq_mul_expSubst hΞ_zero h_theta m] |
| 496 | have h_congr : C (piPrimeInt P.d) ∣ ∑ j, m j • Ξ.subst (linearSeries (μ j)) - |
| 497 | couplingSum (partnerExponents P.d p) (P.partner s p) l := |
| 498 | dvd_sum_subst_sub_couplingSum (piPrimeInt_dvd_natCast P.d) hΞ hL fun e he ↦ |
| 499 | P.piPrimeInt_dvd_sum_linearSeries_sub_coupling s he h_res hu fun _ _ ↦ rfl |
| 500 | refine .of_dvd_sub (P.norm_pow_succ_div_mul_piPrimeInt hp hϖ).le ?_ h_congr h_prod |
| 501 | simp [PowerSeries.constantCoeff_subst_eq_zero (hL _) Ξ hΞ_zero] |
| 502 | |
| 503 | end Parameters |
| 504 | |
| 505 | end New |
| 506 | |
| 507 | end NormalForm |