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.Rat |
| 4 | import Mathlib.FieldTheory.Galois.Profinite |
| 5 | public import Lib.General.NumberTheory.CoefficientInclusion |
| 6 | public import New.Congruences.Selmer.Untied |
| 7 | public import Lib.General.Algebra.BlockFittingBound |
| 8 | public import Lib.General.NumberTheory.GaussValuation |
| 9 | public import New.Congruences.Selmer.SelmerData |
| 10 | public import New.Congruences.Selmer.StickelbergerSystems |
| 11 | import Lib.GaloisRep.Main.DivisibleSelmerModules |
| 12 | import New.Congruences.Selmer.Descent |
| 13 | import New.Congruences.Selmer.StickelbergerLine |
| 14 | |
| 15 | /-! |
| 16 | # Restriction to a line |
| 17 | |
| 18 | For Selmer data and Stickelberger systems there is an integer `s₀` such that, for each radius `r` |
| 19 | with `0 < r` and `s₀ r < 1` and each large `N`, we find auxiliary primes `𝔮` and, for each datum and |
| 20 | each system, a polynomial `P` in variables `X_𝔮`. Write `β_T = T.β` for the number of a datum `T` |
| 21 | with coefficient ring `O`, and `β` for the number of a system. |
| 22 | |
| 23 | At a point `x = (ζ_𝔮 - 1)_𝔮` given by `ℓ ^ N`-th roots of unity, `v(P(x))` bounds the normalised |
| 24 | length of the twisted Selmer group of `T` over sufficiently large coefficient rings `O' ⊇ O` |
| 25 | if `v(P(x)) < O.normLength β_T + 1`. For a system, `P(x)` is its twisted value. Here `v(ℓ) = 1`, |
| 26 | and `O.normLength` scales lengths over `O` to this valuation. There is a point whose |
| 27 | coordinates have valuation at least `r` and where `v(P) ≤ O.normLength β_T + s₀ r` for a datum or |
| 28 | `v(P) ≤ β + s₀ r` for a system. For a datum this point is taken on the line |
| 29 | `X_{𝔮₀} = Y`, `X_𝔮 = s_𝔮 Y`, where `𝔮₀` is the first prime and the `s_𝔮` are the slopes of the |
| 30 | datum at the other primes. |
| 31 | |
| 32 | For a datum, `v(P(x))` is bounded by `v(P⁰(y)) + v(P¹(y))` at the point `x` of the line with |
| 33 | `Y = y`. Here `P⁰` is the restriction to the line of a minor for the tied module that is sharp at |
| 34 | `0`, so that `v(P⁰(0)) ≤ O.normLength β_T`. The polynomial `P¹` bounds the failure to be tied, and |
| 35 | `y` is generic for both. |
| 36 | |
| 37 | * `New.Selmer.SelmerDatum.TwistedLengthLe`: a bound for the length of the twisted Selmer group. |
| 38 | * `New.Selmer.SelmerDatum.exists_boundsSelmer_and_eval_dvd`, |
| 39 | `New.Selmer.SelmerDatum.exists_boundsSelmer_ellVal_eval_le`: the choice of `P⁰`, of `y` and of the |
| 40 | polynomial `P` of a datum. |
| 41 | * `New.Selmer.IsTorsionLevel`: the power `ℓ ^ M` modulo which the Selmer modules are computed. |
| 42 | * `New.Selmer.TwistPolynomials`, `New.Selmer.exists_twistPolynomials`: the primes, polynomials and |
| 43 | points. |
| 44 | |
| 45 | Letters: for a set of tied primes (`New.Selmer.IsTiedPrimes`), `J` is the set `Q` of all auxiliary |
| 46 | primes, `P₀ ∈ J` is the first prime `𝔮₀`, and `d` attaches to `v ∈ J` a Frobenius element, a tame |
| 47 | generator, the homomorphism `λ_v = (d v).1.character` to `ℤ / ℓ ^ N` and the slopes `(d v).2 i`. |
| 48 | |
| 49 | Notions from other files: |
| 50 | * `New.selmerModule ρ S L B`: the locally constant cocycles for `ρ` with values in `B ^ n` that are |
| 51 | unramified outside `S` and obey the linear relations `L`. The coefficients `B` are |
| 52 | `New.QuotSpan a = O / a` or `New.Selmer.DivisibleQuot O = Frac(O) / O`. |
| 53 | * `New.Selmer.SelmerDatum`: a lattice `T` with local conditions and the number `β_T`; |
| 54 | `New.Selmer.SelmerDatum.tiedSelmer` is its tied Selmer group. |
| 55 | * `New.Selmer.StickelbergerSystem`: elements `Θ_Q` of the group rings of class groups `Cl_Q` with a |
| 56 | norm relation, and the number `β`. |
| 57 | * `New.CoeffRing`: rings of integers of finite Galois extensions of `ℚ_ℓ` inside `ℚ̄_ℓ`; |
| 58 | `New.CoeffRing.normLength` scales lengths so that `O / ℓ` has length `1`. |
| 59 | |
| 60 | ## Relation to the literature |
| 61 | |
| 62 | See `New.Congruences.Selmer.TwistingTheorem` for related work. |
| 63 | -/ |
| 64 | |
| 65 | @[expose] public section |
| 66 | |
| 67 | noncomputable section |
| 68 | |
| 69 | namespace New.Selmer |
| 70 | |
| 71 | section Levels |
| 72 | |
| 73 | open Module Submodule Ideal IsDiscreteValuationRing |
| 74 | |
| 75 | variable {O : Type} [CommRing O] [DVR O] |
| 76 | {E n : Type} [Field E] [EmbeddedNumberField E] [Fintype n] [DecidableEq n] |
| 77 | |
| 78 | /-- The Selmer group of locally constant cocycles for `ρ` that are unramified outside `S` and obey |
| 79 | `L`, with coefficients in `DivisibleQuot O = Frac(O) / O`, is a torsion module: a member `z` takes |
| 80 | finitely many values, so a common denominator kills it. -/ |
| 81 | lemma exists_smul_eq_zero_of_mem_selmerModule (ρ : Gal(Ω/E) → Matrix n n O) (S : Set (FinPlace E)) |
| 82 | (L : Set (Gal(Ω/E) →₀ Matrix n n O)) (z : selmerModule ρ S L (DivisibleQuot O)) : |
| 83 | ∃ a : O, a ≠ 0 ∧ a • z = 0 := by |
| 84 | obtain ⟨z, hz⟩ := z |
| 85 | obtain ⟨-, -, -, h_const⟩ := mem_selmerModule_iff.1 hz |
| 86 | have := h_const.range_finite.to_subtype |
| 87 | obtain ⟨a, ha, h⟩ := exists_common_denominator (fun p : Set.range z × n ↦ p.1.val p.2) |
| 88 | exact ⟨a, ha, Subtype.ext (funext₂ fun g i ↦ h (⟨z g, g, rfl⟩, i))⟩ |
| 89 | |
| 90 | /-- Let `O` be a discrete valuation ring with valuation `v = addVal O` and let `a ∈ O` be nonzero. |
| 91 | Consider the Selmer groups of locally constant cocycles for `ρ` that are unramified outside `S` and |
| 92 | obey the relations `L`. If the group with coefficients in `QuotSpan a = O / a` has length less than |
| 93 | `v(a)`, then the group with coefficients in `DivisibleQuot O = Frac(O) / O` has the same length, |
| 94 | because `a` kills the second group. -/ |
| 95 | lemma length_selmerModule_divisibleQuot_eq_of_lt (ρ : Gal(Ω/E) → Matrix n n O) |
| 96 | (S : Set (FinPlace E)) (L : Set (Gal(Ω/E) →₀ Matrix n n O)) {a : O} (ha : a ≠ 0) |
| 97 | (h_lt : length O (selmerModule ρ S L (QuotSpan a)) < addVal O a) : |
| 98 | length O (selmerModule ρ S L (DivisibleQuot O)) = |
| 99 | length O (selmerModule ρ S L (QuotSpan a)) := by |
| 100 | rw [← length_torsionBy_selmerModule_divisibleQuot ρ S L ha] at h_lt ⊢ |
| 101 | rw [torsionBy_eq_top_of_length_lt_addVal (exists_smul_eq_zero_of_mem_selmerModule ρ S L) h_lt, |
| 102 | length_top] |
| 103 | |
| 104 | end Levels |
| 105 | |
| 106 | open Finset Filter Module MvPolynomial Subalgebra |
| 107 | |
| 108 | open scoped NNReal ENNReal NNRat |
| 109 | |
| 110 | section Choice |
| 111 | |
| 112 | variable {ℓ : ℕ} [ThePrime ℓ] {E : Type} [Field E] [EmbeddedNumberField E] [NumberField.IsCMField E] |
| 113 | {S₀ : Finset (FinPlace E)} {g₀ : Gal(Ω/E)} |
| 114 | |
| 115 | namespace SelmerDatum |
| 116 | |
| 117 | /-- The Selmer group `Sel_Q(T ψ)` modulo `a` of a Selmer datum `T`, for a character `ψ` with values |
| 118 | in a ring `O'` over `O` (by the map `e`): the cocycles in `T ψ ⊗ O' / a` that vanish at the element |
| 119 | `γ_* = T.γ`, are unramified outside `S ∪ Q ∪ Q̄`, where `S = T.places`, and satisfy the |
| 120 | local conditions of `T`. If `ψ(γ_*) = 1`, each class has exactly one cocycle that vanishes at |
| 121 | `γ_*`. -/ |
| 122 | def twistedSelmer {O O' n : Type} [CommRing O] [PadicIntegerRing O ℓ] [CommRing O'] [Fintype n] |
| 123 | [DecidableEq n] (T : SelmerDatum ℓ S₀ g₀ O n) (Q : Finset (FinPlace E)) (e : O →+* O') |
| 124 | (ψ : Gal(Ω/E) →* O') (a : O') : Submodule O' (Gal(Ω/E) → n → QuotSpan a) := |
| 125 | selmerModule (twistRep e ψ T.ρ) (unionWithConj T.places Q) (mapRel e '' T.classRelations) |
| 126 | (QuotSpan a) |
| 127 | |
| 128 | /-- The Selmer group `Sel_Q(T ψ)` of a Selmer datum `T` with divisible coefficients, for a character |
| 129 | `ψ` with values in a discrete valuation ring `O'` over `O` (by the map `e`): the cocycles in |
| 130 | `T ψ ⊗ Frac(O') / O'` that vanish at `γ_* = T.γ`, are unramified outside `S ∪ Q ∪ Q̄`, |
| 131 | where `S = T.places`, and satisfy the local conditions of `T`. -/ |
| 132 | def divisibleSelmer {O O' n : Type} [CommRing O] [PadicIntegerRing O ℓ] [CommRing O'] |
| 133 | [Fintype n] [DecidableEq n] (T : SelmerDatum ℓ S₀ g₀ O n) (Q : Finset (FinPlace E)) |
| 134 | (e : O →+* O') (ψ : Gal(Ω/E) →* O') : Submodule O' (Gal(Ω/E) → n → DivisibleQuot O') := |
| 135 | selmerModule (twistRep e ψ T.ρ) (unionWithConj T.places Q) (mapRel e '' T.classRelations) |
| 136 | (DivisibleQuot O') |
| 137 | |
| 138 | /-- The length over `O'` of the Selmer group `Sel_Q(T ψ)` with coefficients in `Frac(O') / O'`. -/ |
| 139 | def divisibleLength {O O' n : Type} [CommRing O] [PadicIntegerRing O ℓ] [CommRing O'] |
| 140 | [Fintype n] [DecidableEq n] (T : SelmerDatum ℓ S₀ g₀ O n) (Q : Finset (FinPlace E)) |
| 141 | (e : O →+* O') (ψ : Gal(Ω/E) →* O') : ℕ∞ := |
| 142 | length O' (T.divisibleSelmer Q e ψ) |
| 143 | |
| 144 | /-- For all large coefficient rings `O' ⊇ O`, the character `ψ` has values in `O'` and the group |
| 145 | `Sel_Q(T ψ)` with coefficients in `Frac(O') / O'` has length at most `b`, normalised by |
| 146 | `len O' / ℓ = 1`. -/ |
| 147 | def TwistedLengthLe {O : CoeffRing ℓ} {n : Type} [Fintype n] [DecidableEq n] |
| 148 | (T : SelmerDatum ℓ S₀ g₀ O.val n) (Q : Finset (FinPlace E)) (ψ : Gal(Ω/E) →* PadicAlgCl ℓ) |
| 149 | (b : ℝ≥0∞) : Prop := |
| 150 | ∀ᶠ O' : CoeffRing ℓ in atTop, ∃ hO : O ≤ O', ∃ ψ' : Gal(Ω/E) →* O'.val, |
| 151 | (∀ g : Gal(Ω/E), (ψ' g : PadicAlgCl ℓ) = ψ g) ∧ |
| 152 | O'.normLength (T.divisibleLength Q (inclusion hO).toRingHom ψ') ≤ b |
| 153 | |
| 154 | /-- A bound for the length of the twisted Selmer group may be weakened. -/ |
| 155 | lemma TwistedLengthLe.mono {O : CoeffRing ℓ} {n : Type} [Fintype n] [DecidableEq n] |
| 156 | {T : SelmerDatum ℓ S₀ g₀ O.val n} {Q : Finset (FinPlace E)} {ψ : Gal(Ω/E) →* PadicAlgCl ℓ} |
| 157 | {b b' : ℝ≥0∞} (h : T.TwistedLengthLe Q ψ b) (hb : b ≤ b') : T.TwistedLengthLe Q ψ b' := by |
| 158 | filter_upwards [h] with O' ⟨hO, ψ', hψ', h_le⟩ using ⟨hO, ψ', hψ', h_le.trans hb⟩ |
| 159 | |
| 160 | end SelmerDatum |
| 161 | |
| 162 | open IsDiscreteValuationRing Polynomial |
| 163 | |
| 164 | open scoped Classical in |
| 165 | /-- Let `d` attach to each prime `w` a tame generator `γ_w` and a Frobenius element `φ_w` (first |
| 166 | component) and slopes `s` indexed by `ι` (second component). The ties `z(γ_w) = s • z(φ_w)` with the |
| 167 | slopes of index `i`, as relations by `n × n` matrices, at the primes of `I ∪ I'` are the ties at |
| 168 | the primes of `I` together with those at the primes of `I'`. -/ |
| 169 | lemma tieRelations_union {O n ι : Type} [CommRing O] [DecidableEq n] {q : ℕ} |
| 170 | (I I' : Finset (FinPlace E)) (d : FinPlace E → AuxPrimeData E q × (ι → O)) (i : ι) : |
| 171 | tieRelations (n := n) (I ∪ I') d i = tieRelations I d i ∪ tieRelations I' d i := by |
| 172 | ext f |
| 173 | simp only [tieRelations, Set.mem_union, Set.mem_range, Prod.exists, Subtype.exists, mem_union, |
| 174 | exists_prop, or_and_right, exists_or] |
| 175 | |
| 176 | /-- The polynomial `P` bounds the length of `Sel(x)`, the Selmer module modulo `ℓ ^ M` of the twist |
| 177 | of `ρ` by `ψ_x(g) = ∏ (1 + x_j) ^ (h_j g)`: we have `len Sel(x) ≤ v(P(x))` at all points `x` over |
| 178 | all discrete valuation rings of characteristic zero over `O`, not only where `ψ_x` is a |
| 179 | character. -/ |
| 180 | def BoundsSelmer (ℓ : ℕ) {E : Type} [Field E] [EmbeddedNumberField E] |
| 181 | {O n σ : Type} [CommRing O] [Fintype n] [DecidableEq n] [Fintype σ] {q : ℕ} (M : ℕ) |
| 182 | (h : σ → Gal(Ω/E) →* Multiplicative (ZMod q)) (ρ : Gal(Ω/E) →* Matrix n n O) |
| 183 | (S : Set (FinPlace E)) (L : Set (Gal(Ω/E) →₀ Matrix n n O)) (P : MvPolynomial σ O) : Prop := |
| 184 | ∀ (O' : Type) [CommRing O'] [DVR O'] [CharZero O'] (e : O →+* O') (x : σ → O'), |
| 185 | length O' (selmerAtPoint ℓ M h ρ S L e x) ≤ addVal O' (P.eval₂ e x) |
| 186 | |
| 187 | /-- The restriction of a polynomial to the line `X_j = a_j Y`. -/ |
| 188 | def restrictToLine {O σ : Type} [CommRing O] (a : σ → O) (P : MvPolynomial σ O) : O[X] := |
| 189 | MvPolynomial.aeval (fun j : σ ↦ Polynomial.C (a j) * Polynomial.X) P |
| 190 | |
| 191 | /-- The value at `y` of the restriction of `P` to the line `X_j = a_j Y` is the value of `P` at the |
| 192 | point `(a_j y)_j`, with coefficients mapped by `e`. -/ |
| 193 | lemma eval₂_restrictToLine {O O' σ : Type} [CommRing O] [CommRing O'] (a : σ → O) |
| 194 | (P : MvPolynomial σ O) (e : O →+* O') (y : O') : |
| 195 | (restrictToLine a P).eval₂ e y = P.eval₂ e fun j : σ ↦ e (a j) * y := by |
| 196 | induction P using MvPolynomial.induction_on <;> simp_all [restrictToLine] |
| 197 | |
| 198 | /-- Let `d` attach a Frobenius element `φ_v` to each prime `v`, and let `P¹ = tiePolynomial ρ I d` |
| 199 | be the product of the polynomials `det ((1 + Y) ρ(g) - 1)` over `g = φ_v` and its conjugate inverse |
| 200 | `g = φ_v^{-c}` for `v ∈ I`. If `2 n #I ≤ s₀`, where `n` is the rank of `ρ`, then the Gauss valuation |
| 201 | of radius `r` satisfies `v_r(P¹) ≤ s₀ r`, because each of the `2 #I` factors has a unit coefficient |
| 202 | in degree `n`. -/ |
| 203 | lemma gaussVal_tiePolynomial_le {O n ι : Type} [CommRing O] [Fintype n] [DecidableEq n] {q : ℕ} |
| 204 | (ρ : Gal(Ω/E) →* Matrix n n O) (I : Finset (FinPlace E)) |
| 205 | (d : FinPlace E → AuxPrimeData E q × (ι → O)) (f : O →+* intQpBar ℓ) (r : ℚ≥0) {s₀ : ℕ} |
| 206 | (hs₀ : 2 * Fintype.card n * #I ≤ s₀) : |
| 207 | gaussVal r ((tiePolynomial ρ I d).map f) ≤ s₀ * (r : ℝ≥0) := by |
| 208 | have h_factor (g : Gal(Ω/E)) : |
| 209 | gaussVal r ((shiftedDet (ρ g)).map f) ≤ (r : ℝ≥0) * (Fintype.card n : ℝ≥0∞) := by |
| 210 | refine gaussVal_le_of_isUnit_coeff ?_ |
| 211 | rw [Polynomial.coeff_map, coeff_shiftedDet_card] |
| 212 | exact ((Matrix.isUnit_iff_isUnit_det _).1 ((Group.isUnit g).map ρ)).map f |
| 213 | -- The Frobenius element at the prime `v` of `I`, or its conjugate inverse. |
| 214 | let φ : I × Bool → Gal(Ω/E) := fun (v, b) ↦ idOrConjInv b (d v).1.frob |
| 215 | have h_prod : tiePolynomial ρ I d = ∏ p : I × Bool, shiftedDet (ρ (φ p)) := rfl |
| 216 | calc gaussVal r ((tiePolynomial ρ I d).map f) |
| 217 | _ ≤ ∑ _p : I × Bool, (r : ℝ≥0) * (Fintype.card n : ℝ≥0∞) := by |
| 218 | rw [h_prod, Polynomial.map_prod, gaussVal_prod] |
| 219 | exact sum_le_sum fun p _ ↦ h_factor (φ p) |
| 220 | _ = (2 * Fintype.card n * #I : ℕ) * (r : ℝ≥0) := by simp [mul_assoc, mul_comm, mul_left_comm] |
| 221 | _ ≤ s₀ * (r : ℝ≥0) := by gcongr |
| 222 | |
| 223 | omit [NumberField.IsCMField E] in |
| 224 | /-- Let `λ_j = lam j` be homomorphisms to `ℤ / q` and `ζ_j` be `q`-th roots of unity. The twist of |
| 225 | `ρ` by the character `g ↦ ∏ ζ_j ^ (λ_j g)` is the twist by the value of |
| 226 | `ψ_X(g) = ∏ (1 + X_j) ^ (λ_j g)` at the point `x = (ζ_j - 1)_j`. -/ |
| 227 | lemma coe_twistRep_pointChar {O O' n σ : Type} [CommRing O] [CommRing O'] [Fintype n] |
| 228 | [DecidableEq n] [Fintype σ] {q : ℕ} [NeZero q] (lam : σ → Gal(Ω/E) →* Multiplicative (ZMod q)) |
| 229 | {ζ : σ → O'} (hζ : ∀ j : σ, ζ j ^ q = 1) (e : O →+* O') (ρ : Gal(Ω/E) →* Matrix n n O) : |
| 230 | ⇑(twistRep e (pointChar lam ζ hζ) ρ) = pointTwist lam (fun j : σ ↦ ζ j - 1) e ρ := by |
| 231 | ext1 g |
| 232 | simp [twistRep, pointTwist, eval_universalChar] |
| 233 | |
| 234 | /-- Bound module length using the relative length and the length of the comparison submodule. -/ |
| 235 | private lemma length_le_of_relLength_le {A M : Type*} [Ring A] [AddCommGroup M] [Module A M] |
| 236 | {S T : Submodule A M} {b c : ℕ∞} (hrel : relLength S T ≤ b) |
| 237 | (hT : Module.length A T ≤ c) : Module.length A S ≤ b + c := by |
| 238 | rw [← relLength_add_length_inf S T] |
| 239 | exact add_le_add hrel ((New.length_mono inf_le_right).trans hT) |
| 240 | |
| 241 | namespace SelmerDatum |
| 242 | |
| 243 | variable {ι n : Type} [Fintype n] [DecidableEq n] {V : ι → Gal(Ω/E) → Prop} {W : Set Gal(Ω/E)} |
| 244 | {J : Finset (FinPlace E)} {M N s₀ : ℕ} {P₀ : FinPlace E} {r : ℚ≥0} |
| 245 | |
| 246 | /-- The action on the lattice of a Selmer datum `T`, reduced modulo `ℓ ^ M`, is trivial on the |
| 247 | inertia groups above the places outside `S₀`. -/ |
| 248 | lemma reduceModPow_eq_one {O : Type} [CommRing O] [PadicIntegerRing O ℓ] |
| 249 | (T : SelmerDatum ℓ S₀ g₀ O n) {g : Gal(Ω/E)} (hg : g ∈ inertiaAbove S₀ᶜ) : |
| 250 | reduceModPow ℓ M T.ρ g = 1 := by |
| 251 | obtain ⟨v, hv, hg_v⟩ := hg |
| 252 | simp [reduceModPow, T.unramified g ⟨v, fun h_mem ↦ hv (T.subset h_mem), hg_v⟩] |
| 253 | |
| 254 | open scoped Classical in |
| 255 | /-- Let `J` be a set of tied primes (`IsTiedPrimes`): auxiliary primes with a first prime `P₀ ∈ J`, |
| 256 | whose Frobenius element `(d P₀).1.frob` lies in `W`, and with Frobenius elements `φ_w`, tame |
| 257 | generators `γ_w` and slopes given by `d`. Let `M < N`. Suppose that the elements with the property |
| 258 | `V i` act trivially on `T` modulo `ℓ ^ M`, and that the Frobenius element of `P₀` and its conjugate |
| 259 | inverse act modulo `ℓ ^ M` as `g₀` and `g₀^{-c}` (`idOrConjInv`). If the Selmer group modulo `ℓ ^ M` |
| 260 | tied at all primes of `J` has length at most `globalTerm + placesTerm`, then the group tied only at |
| 261 | the primes other than `P₀` has length at most `β_T = globalTerm + placesTerm + firstPrimeTerm`. -/ |
| 262 | lemma length_tiedSelmer_erase_le {O : Type} [CommRing O] [PadicIntegerRing O ℓ] |
| 263 | (T : SelmerDatum ℓ S₀ g₀ O n) {d : FinPlace E → AuxPrimeData E (ℓ ^ N) × (ι → O)} |
| 264 | (h_primes : IsTiedPrimes ℓ S₀ V W N P₀ J d) (hMN : M < N) (i : ι) |
| 265 | (hV : ∀ g : Gal(Ω/E), V i g → reduceModPow ℓ M T.ρ g = 1) |
| 266 | (h_first : ∀ b : Bool, reduceModPow ℓ M T.ρ (idOrConjInv b (d P₀).1.frob) = |
| 267 | reduceModPow ℓ M T.ρ (idOrConjInv b g₀)) |
| 268 | (h_tied : length O (T.tiedSelmer J J d i (ℓ ^ M)) ≤ T.globalTerm + T.placesTerm) : |
| 269 | length O (T.tiedSelmer J (J.erase P₀) d i (ℓ ^ M)) ≤ T.β := by |
| 270 | let Z := T.tiedSelmer J J d i (ℓ ^ M) |
| 271 | let Z₀ := T.tiedSelmer J (J.erase P₀) d i (ℓ ^ M) |
| 272 | -- Dropping the ties at `P₀` and its conjugate costs at most `T.firstPrimeTerm`. |
| 273 | have h_release : relLength Z₀ Z ≤ T.firstPrimeTerm := by |
| 274 | have h_ties : tieRelations (n := n) J d i = |
| 275 | tieRelations (J.erase P₀) d i ∪ tieRelations {P₀} d i := by |
| 276 | rw [← tieRelations_union, union_comm, ← insert_eq, insert_erase h_primes.first_mem] |
| 277 | simp only [Z₀, Z, tiedSelmer, h_ties, ← Set.union_assoc] |
| 278 | exact h_primes.relLength_tieRelations_le_sum_addVal_det (Nat.ne_zero_of_lt hMN) i |
| 279 | (fun _ hg ↦ T.reduceModPow_eq_one hg) hV hMN.le h_first (unionWithConj T.places J) |
| 280 | (T.classRelations ∪ tieRelations (J.erase P₀) d i) |
| 281 | calc length O Z₀ ≤ T.firstPrimeTerm + (T.globalTerm + T.placesTerm) := |
| 282 | length_le_of_relLength_le h_release h_tied |
| 283 | _ = T.β := by rw [β, localTerms, add_comm, add_assoc] |
| 284 | |
| 285 | open scoped Classical in |
| 286 | /-- Let `O` be the ring of integers of a finite extension of `ℚ_ℓ` and `T` a Selmer datum: a lattice |
| 287 | `O ^ n` with an action `ρ` of `Gal(Ω/E)`, unramified outside `T.places ⊆ S₀`, with the relations |
| 288 | `T.classRelations`. Its number `β_T = T.β` is the sum of a global term, local terms at `T.places` |
| 289 | and a term for the element `g₀`. Let `J` be a set of auxiliary primes with first prime `P₀` |
| 290 | (`IsTiedPrimes`), where `d` gives each `v ∈ J` a Frobenius element `φ_v`, a tame generator `γ_v`, a |
| 291 | character to `ℤ / ℓ ^ N` and the slope `s_v = (d v).2 i` for the index `i` of `T`. A cocycle `z` is |
| 292 | tied at `v` if `z(γ_v) = s_v • z(φ_v)`, and likewise at the conjugate prime. Let `T` modulo `ℓ ^ M` |
| 293 | be trivial at the elements with the property `V i`, and let `N ≠ 0`, `r ≤ 1` and `M ≤ N r`. Suppose |
| 294 | that the Selmer group of `T` modulo `ℓ ^ M` that is tied at the primes of `J` other than `P₀` has |
| 295 | length at most `β_T`. Then there is a polynomial `P⁰ = lineBound` with `addVal O (P⁰(0)) ≤ β_T`, |
| 296 | where `addVal O` counts powers of a uniformiser. Let `e : O → O'` be a ring map to a discrete |
| 297 | valuation ring of characteristic zero, and let `f : O' → ℤ̄_ℓ` be a ring map that reflects |
| 298 | divisibility, where `ℤ̄_ℓ = intQpBar ℓ`. For `y ∈ O'` with `ellVal (f y) ≥ r`, put |
| 299 | `x = (a_v y)_{v ∈ J}`, where `a = lineDirection P₀ J d i` has `a_{P₀} = 1` and `a_v = s_v` |
| 300 | otherwise. Then some polynomial `P` bounds the length of the Selmer |
| 301 | module of the characters `(d v).1.character` at all points (`BoundsSelmer`), and `P(x)` divides |
| 302 | `P⁰(y) P¹(y)` in `ℤ̄_ℓ`. Here `P¹ = tiePolynomial` is the product of the `det ((1 + Y) ρ(g) - 1)` |
| 303 | over the Frobenius elements `g = φ_v` of the primes `v` of `J` other than `P₀` and their conjugate |
| 304 | inverses. -/ |
| 305 | lemma exists_boundsSelmer_and_eval_dvd {O : Type} [CommRing O] [PadicIntegerRing O ℓ] |
| 306 | (T : SelmerDatum ℓ S₀ g₀ O n) {d : FinPlace E → AuxPrimeData E (ℓ ^ N) × (ι → O)} |
| 307 | (h_primes : IsTiedPrimes ℓ S₀ V W N P₀ J d) (hN₀ : N ≠ 0) (i : ι) |
| 308 | (hV : ∀ g : Gal(Ω/E), V i g → reduceModPow ℓ M T.ρ g = 1) |
| 309 | (h_tied : length O (T.tiedSelmer J (J.erase P₀) d i (ℓ ^ M)) ≤ T.β) (hr : r ≤ 1) |
| 310 | (hN : M ≤ N * r) : |
| 311 | ∃ lineBound : O[X], addVal O (lineBound.coeff 0) ≤ T.β ∧ |
| 312 | ∀ (O' : Type) [CommRing O'] [DVR O'] [CharZero O'] (e : O →+* O') (f : O' →+* intQpBar ℓ) |
| 313 | (y : O') (_hf_reflects : ∀ z z' : O', f z ∣ f z' → z ∣ z') |
| 314 | (_hy_val : (r : ℝ≥0) ≤ ellVal (f y).val), |
| 315 | ∃ P : MvPolynomial J O, |
| 316 | BoundsSelmer ℓ M (fun v : J ↦ (d v).1.character) T.ρ (unionWithConj T.places J) |
| 317 | T.classRelations P ∧ |
| 318 | MvPolynomial.eval (fun v : J ↦ f.comp e (lineDirection P₀ J d i v) * f y) |
| 319 | (P.map (f.comp e)) ∣ |
| 320 | (lineBound.map (f.comp e)).eval (f y) * |
| 321 | ((tiePolynomial T.ρ (J.erase P₀) d).map (f.comp e)).eval (f y) := by |
| 322 | let lam (v : J) : Gal(Ω/E) →* Multiplicative (ZMod (ℓ ^ N)) := (d v).1.character |
| 323 | let S : Set (FinPlace E) := unionWithConj T.places J |
| 324 | let L₀ : Set (Gal(Ω/E) →₀ Matrix n n O) := T.classRelations ∪ tieRelations (J.erase P₀) d i |
| 325 | let a : J → O := lineDirection P₀ J d i |
| 326 | have h_lam (v : J) : IsLocallyConstant (lam v) := |
| 327 | (h_primes.isAuxPrimeDataAt v v.property).isLocallyConstant |
| 328 | -- A polynomial `G` for the tied module that is sharp at `0`; `P⁰` is its restriction to the line. |
| 329 | obtain ⟨G, hG_sharp, hG_bound⟩ : ∃ G : MvPolynomial J O, |
| 330 | addVal O (G.eval₂ (.id O) fun _ ↦ 0) = |
| 331 | length O (selmerAtPoint ℓ M lam T.ρ S L₀ (.id O) fun _ ↦ 0) ∧ |
| 332 | BoundsSelmer ℓ M lam T.ρ S L₀ G := |
| 333 | exists_sharp_polynomial h_lam (T.isLocallyConstant M) (finite_toSet _) L₀ (.id O) fun _ ↦ 0 |
| 334 | refine ⟨restrictToLine a G, ?_, fun O' _ _ _ e f y hf_reflects hy_val ↦ ?_⟩ |
| 335 | · have h_zero : (restrictToLine a G).coeff 0 = G.eval₂ (.id O) fun _ ↦ 0 := by |
| 336 | simpa using eval₂_restrictToLine a G (.id O) 0 |
| 337 | rwa [h_zero, hG_sharp, selmerAtPoint_zero] |
| 338 | -- A polynomial `P` for the module without ties that is sharp at the point `x` of the line. |
| 339 | let x (v : J) : O' := e (a v) * y |
| 340 | let Sel (L : Set (Gal(Ω/E) →₀ Matrix n n O)) : |
| 341 | Submodule O' (Gal(Ω/E) → n → QuotSpan (ℓ ^ M : O')) := selmerAtPoint ℓ M lam T.ρ S L e x |
| 342 | obtain ⟨P, hP_sharp, hP_bound⟩ : ∃ P : MvPolynomial J O, |
| 343 | addVal O' (P.eval₂ e x) = length O' (Sel T.classRelations) ∧ |
| 344 | BoundsSelmer ℓ M lam T.ρ S T.classRelations P := |
| 345 | exists_sharp_polynomial h_lam (T.isLocallyConstant M) (finite_toSet _) T.classRelations e x |
| 346 | have h_norm (α : O') (hα : y ∣ α - 1) : (ℓ ^ M : O') ∣ ∑ j ∈ range (ℓ ^ N), α ^ j := |
| 347 | pow_dvd_geom_sum f hf_reflects hr hN (hy_val.trans (dvd_iff_ellVal_le.1 (map_dvd f hα))) |
| 348 | have h_untie : relLength (Sel T.classRelations) (Sel L₀) ≤ |
| 349 | addVal O' ((tiePolynomial T.ρ (J.erase P₀) d).eval₂ e y) := |
| 350 | h_primes.relLength_tied_le hN₀ i (fun _ ↦ T.reduceModPow_eq_one) hV e h_norm S T.classRelations |
| 351 | have h_dvd : P.eval₂ e x ∣ |
| 352 | (restrictToLine a G).eval₂ e y * (tiePolynomial T.ρ (J.erase P₀) d).eval₂ e y := by |
| 353 | rw [← addVal_le_iff_dvd, addVal_mul, eval₂_restrictToLine, hP_sharp, add_comm] |
| 354 | exact length_le_of_relLength_le h_untie (hG_bound O' e x) |
| 355 | -- The claim is the image of `h_dvd` under `f`. |
| 356 | refine ⟨P, hP_bound, ?_⟩ |
| 357 | simpa only [map_mul, Polynomial.hom_eval₂, MvPolynomial.eval₂_comp_left, Polynomial.eval_map, |
| 358 | MvPolynomial.eval_map, Function.comp_def, RingHom.comp_apply, x, a] using map_dvd f h_dvd |
| 359 | |
| 360 | /-- Let `P` bound, at all points `x`, the length of the Selmer module `Sel(x)` modulo `ℓ ^ M` of the |
| 361 | twist of `T` at `x`, unramified outside `S ∪ J ∪ J̄` and with the relations `T.classRelations` |
| 362 | (`BoundsSelmer`), for characters `λ_v = lam v` to `ℤ / q`. Let `e : O → O'` be a ring map to a |
| 363 | discrete valuation ring `O'` of characteristic zero, with valuation `v = addVal O'`, and let the |
| 364 | `ζ_v ∈ O'` be `q`-th roots of unity. At `x = (ζ_v - 1)_v` the module `Sel(x)` is the Selmer group |
| 365 | `Sel_J(T ψ)` modulo `ℓ ^ M` for `ψ = ∏ ζ_v ^ λ_v` (`pointChar`). So if `v(P(x)) < v(ℓ ^ M)`, where |
| 366 | `P(x)` is `P` evaluated through `e`, then `v(P(x))` bounds the length of `Sel_J(T ψ)` with |
| 367 | coefficients in `Frac(O') / O'` (`divisibleLength`). -/ |
| 368 | lemma divisibleLength_pointChar_le {O : Type} [CommRing O] [PadicIntegerRing O ℓ] |
| 369 | (T : SelmerDatum ℓ S₀ g₀ O n) {σ O' : Type} [Fintype σ] [CommRing O'] [DVR O'] [CharZero O'] |
| 370 | {q : ℕ} [NeZero q] {lam : σ → Gal(Ω/E) →* Multiplicative (ZMod q)} {P : MvPolynomial σ O} |
| 371 | (hP : BoundsSelmer ℓ M lam T.ρ (unionWithConj T.places J) T.classRelations P) (e : O →+* O') |
| 372 | {ζ : σ → O'} (hζ : ∀ v : σ, ζ v ^ q = 1) |
| 373 | (h_lt : addVal O' (P.eval₂ e fun v : σ ↦ ζ v - 1) < addVal O' (ℓ ^ M)) : |
| 374 | T.divisibleLength J e (pointChar lam ζ hζ) ≤ |
| 375 | addVal O' (P.eval₂ e fun v : σ ↦ ζ v - 1) := by |
| 376 | have h_level : length O' (T.twistedSelmer J e (pointChar lam ζ hζ) (ℓ ^ M)) ≤ |
| 377 | addVal O' (P.eval₂ e fun v ↦ ζ v - 1) := by |
| 378 | rw [twistedSelmer, coe_twistRep_pointChar] |
| 379 | exact hP O' e _ |
| 380 | rw [twistedSelmer] at h_level |
| 381 | exact (length_selmerModule_divisibleQuot_eq_of_lt _ _ _ (NeZero.ne _) |
| 382 | (h_level.trans_lt h_lt)).trans_le h_level |
| 383 | |
| 384 | open scoped Classical in |
| 385 | /-- The choice of the polynomial `P` of a Selmer datum `T` over a coefficient ring `O`, the ring of |
| 386 | integers of a finite Galois extension of `ℚ_ℓ`, included in `ℤ̄_ℓ` by `O.toIntQpBar`. The datum is |
| 387 | a lattice `O ^ n` with Galois action, unramified outside `T.places ⊆ S₀`, with the relations |
| 388 | `T.classRelations` (local conditions above `ℓ` and vanishing at `T.γ`); `β_T = T.β` is the sum of a |
| 389 | global term, local terms at `T.places` and a term for the element `g₀`. Let `J` be a set of |
| 390 | auxiliary primes with first prime `P₀` (`IsTiedPrimes`), where `d` gives each `w ∈ J` a Frobenius |
| 391 | element `φ_w`, a tame generator `γ_w`, a character to `ℤ / ℓ ^ N` and the slope `s_w = (d w).2 i` |
| 392 | for the index `i` of `T`; a cocycle `z` is tied at `w` if `z(γ_w) = s_w • z(φ_w)`, and likewise at |
| 393 | the conjugate prime. Let `T` modulo `ℓ ^ M` be trivial at the elements with the property `V i`, and |
| 394 | let `N ≠ 0`, `2 rank(T) #J ≤ s₀`, `r ≤ 1` and `M ≤ N r`. If the Selmer group modulo `ℓ ^ M` that is |
| 395 | tied at the primes of `J` other than `P₀` has length at most `β_T`, then some `P` bounds the length |
| 396 | of the Selmer module of these characters at all points (`BoundsSelmer`), and |
| 397 | `v(P(x₀)) ≤ O.normLength β_T + s₀ r` at a point `x₀` over `ℤ̄_ℓ` whose coordinates have valuation at |
| 398 | least `r`. Here `v = ellVal` has `v(ℓ) = 1`, and `O.normLength` multiplies the length `β_T` by the |
| 399 | valuation of a uniformiser of `O`. -/ |
| 400 | theorem exists_boundsSelmer_ellVal_eval_le {O : CoeffRing ℓ} (T : SelmerDatum ℓ S₀ g₀ O.val n) |
| 401 | {d : FinPlace E → AuxPrimeData E (ℓ ^ N) × (ι → O.val)} |
| 402 | (h_primes : IsTiedPrimes ℓ S₀ V W N P₀ J d) (hN₀ : N ≠ 0) (i : ι) |
| 403 | (hV : ∀ g : Gal(Ω/E), V i g → reduceModPow ℓ M T.ρ g = 1) |
| 404 | (h_tied : length O.val (T.tiedSelmer J (J.erase P₀) d i (ℓ ^ M)) ≤ T.β) |
| 405 | (hs₀ : 2 * Fintype.card n * #J ≤ s₀) (hr : r ≤ 1) (hN : M ≤ N * r) : |
| 406 | ∃ (P : MvPolynomial J O.val) (x₀ : J → intQpBar ℓ), |
| 407 | (∀ v : J, (r : ℝ≥0) ≤ ellVal (x₀ v).val) ∧ |
| 408 | ellVal (MvPolynomial.eval x₀ (P.map O.toIntQpBar)).val ≤ |
| 409 | O.normLength T.β + s₀ * (r : ℝ≥0) ∧ |
| 410 | BoundsSelmer ℓ M (fun v : J ↦ (d v).1.character) T.ρ (unionWithConj T.places J) |
| 411 | T.classRelations P := by |
| 412 | -- Take `x₀` on the line at a parameter `y` that is generic for `p₀ = P⁰` and `p₁ = P¹`: they |
| 413 | -- attain their Gauss valuations of radius `r` at `y`. Then `v(P(x₀)) ≤ v_r(P⁰) + v_r(P¹)`. |
| 414 | obtain ⟨lineBound, h_coeff_zero, h_bound_dvd⟩ := |
| 415 | T.exists_boundsSelmer_and_eval_dvd h_primes hN₀ i hV h_tied hr hN |
| 416 | set p₀ : (intQpBar ℓ)[X] := lineBound.map O.toIntQpBar with hp₀ |
| 417 | set p₁ : (intQpBar ℓ)[X] := (tiePolynomial T.ρ (J.erase P₀) d).map O.toIntQpBar with hp₁ |
| 418 | have h_zero : ellVal (p₀.eval 0).val ≤ O.normLength T.β := by |
| 419 | rw [← Polynomial.coeff_zero_eq_eval_zero, hp₀, Polynomial.coeff_map, CoeffRing.coe_toIntQpBar, |
| 420 | ← CoeffRing.normLength_addVal] |
| 421 | exact CoeffRing.normLength_mono h_coeff_zero |
| 422 | have h_tie : gaussVal r p₁ ≤ s₀ * (r : ℝ≥0) := |
| 423 | gaussVal_tiePolynomial_le T.ρ _ d O.toIntQpBar r |
| 424 | ((Nat.mul_le_mul_left _ card_erase_le).trans hs₀) |
| 425 | obtain ⟨y, hy, h_generic⟩ := exists_forall_ellVal_eval_eq_gaussVal r ![p₀, p₁] |
| 426 | have hy₀ : ellVal (p₀.eval y).val = gaussVal r p₀ := h_generic 0 |
| 427 | have hy₁ : ellVal (p₁.eval y).val = gaussVal r p₁ := h_generic 1 |
| 428 | obtain ⟨O', hO, hy_mem⟩ := ((eventually_ge_atTop O).and (CoeffRing.eventually_mem y.2)).exists |
| 429 | let y' : O'.val := ⟨y, hy_mem⟩ |
| 430 | have hy' : O'.toIntQpBar y' = y := rfl |
| 431 | let x₀ (v : J) : intQpBar ℓ := O.toIntQpBar (lineDirection P₀ J d i v) * y |
| 432 | obtain ⟨P, hP, h_dvd⟩ : ∃ P : MvPolynomial J O.val, |
| 433 | BoundsSelmer ℓ M (fun v : J ↦ (d v).1.character) T.ρ (unionWithConj T.places J) |
| 434 | T.classRelations P ∧ |
| 435 | MvPolynomial.eval x₀ (P.map O.toIntQpBar) ∣ p₀.eval y * p₁.eval y := by |
| 436 | simpa only [CoeffRing.toIntQpBar_comp_inclusion, hy', ← hp₀, ← hp₁] using h_bound_dvd O'.val |
| 437 | (inclusion hO).toRingHom O'.toIntQpBar y' O'.dvd_of_toIntQpBar_dvd (by rwa [hy']) |
| 438 | refine ⟨P, x₀, fun v ↦ hy.trans (dvd_iff_ellVal_le.1 (dvd_mul_left y _)), ?_, hP⟩ |
| 439 | calc |
| 440 | _ ≤ ellVal (p₀.eval y).val + ellVal (p₁.eval y).val := by |
| 441 | simpa only [ellVal_val_mul] using dvd_iff_ellVal_le.1 h_dvd |
| 442 | _ = gaussVal r p₀ + gaussVal r p₁ := by rw [hy₀, hy₁] |
| 443 | _ ≤ O.normLength T.β + s₀ * (r : ℝ≥0) := |
| 444 | add_le_add ((gaussVal_le_eval_zero p₀).trans h_zero) h_tie |
| 445 | |
| 446 | /-- Let `T` be a Selmer datum over a coefficient ring `O`, for the set `S₀` of places and the |
| 447 | element `g₀`: a lattice with Galois action, unramified outside `S = T.places ⊆ S₀`. Let `P` bound, |
| 448 | at all points, the length of the Selmer module modulo `ℓ ^ M` of the twist of `T` by the characters |
| 449 | `λ_v = lam v` to `ℤ / q`, unramified outside `S ∪ J ∪ J̄` and with the relations `T.classRelations`, |
| 450 | the local conditions above `ℓ` and vanishing at `T.γ` (`BoundsSelmer`). Let the `ζ_v ∈ ℤ̄_ℓ` be |
| 451 | `q`-th roots of unity, `x = (ζ_v - 1)_v` and `ψ = ∏ ζ_v ^ λ_v` (`pointChar`). If `v(P(x)) < M`, |
| 452 | where `v = ellVal` has `v(ℓ) = 1`, then over all large coefficient rings the normalised length of |
| 453 | `Sel_J(T ψ)` with divisible coefficients is at most `v(P(x))` (`TwistedLengthLe`). -/ |
| 454 | lemma twistedLengthLe_pointChar {O : CoeffRing ℓ} (T : SelmerDatum ℓ S₀ g₀ O.val n) |
| 455 | {σ : Type} [Fintype σ] {q : ℕ} [NeZero q] |
| 456 | {lam : σ → Gal(Ω/E) →* Multiplicative (ZMod q)} {P : MvPolynomial σ O.val} |
| 457 | (hP : BoundsSelmer ℓ M lam T.ρ (unionWithConj T.places J) T.classRelations P) |
| 458 | (ζ : σ → intQpBar ℓ) (hζ : ∀ v : σ, (ζ v : PadicAlgCl ℓ) ^ q = 1) |
| 459 | (h_lt : ellVal (MvPolynomial.eval (fun v : σ ↦ ζ v - 1) (P.map O.toIntQpBar)).val < M) : |
| 460 | T.TwistedLengthLe J (pointChar lam (fun v : σ ↦ (ζ v : PadicAlgCl ℓ)) hζ) |
| 461 | (ellVal (MvPolynomial.eval (fun v : σ ↦ ζ v - 1) (P.map O.toIntQpBar)).val) := by |
| 462 | filter_upwards [eventually_ge_atTop O, CoeffRing.eventually_exists_toIntQpBar_eq ζ] |
| 463 | with O' hO ⟨ζ', hζ'⟩ |
| 464 | obtain rfl : (fun v ↦ O'.toIntQpBar (ζ' v)) = ζ := funext hζ' |
| 465 | have hζ'_pow (v : σ) : ζ' v ^ q = 1 := Subtype.ext (hζ v) |
| 466 | let value : O'.val := P.eval₂ (inclusion hO).toRingHom fun v ↦ ζ' v - 1 |
| 467 | have h_val : O'.normLength (addVal O'.val value) = |
| 468 | ellVal (MvPolynomial.eval (fun v ↦ O'.toIntQpBar (ζ' v) - 1) (P.map O.toIntQpBar)).val := by |
| 469 | simp only [value, CoeffRing.normLength_addVal_eval₂ hO, map_sub, map_one] |
| 470 | have h_level : O'.normLength (addVal O'.val (ℓ ^ M)) = M := by simp |
| 471 | have h_lt' : addVal O'.val value < addVal O'.val (ℓ ^ M) := |
| 472 | (CoeffRing.normLength_mono (O := O')).reflect_lt (by rwa [h_val, h_level]) |
| 473 | have h_len : T.divisibleLength J (inclusion hO).toRingHom (pointChar lam ζ' hζ'_pow) ≤ |
| 474 | addVal O'.val value := |
| 475 | T.divisibleLength_pointChar_le hP _ hζ'_pow h_lt' |
| 476 | -- The character with values in `O'` has the given values in `ℚ̄_ℓ`. |
| 477 | exact ⟨hO, pointChar lam ζ' hζ'_pow, fun g ↦ by simp, |
| 478 | (CoeffRing.normLength_mono h_len).trans_eq h_val⟩ |
| 479 | |
| 480 | end SelmerDatum |
| 481 | |
| 482 | end Choice |
| 483 | |
| 484 | variable {ℓ : ℕ} [ThePrime ℓ] {E : Type} [Field E] [EmbeddedNumberField E] [NumberField.IsCMField E] |
| 485 | {S₀ : Finset (FinPlace E)} {g₀ : Gal(Ω/E)} |
| 486 | |
| 487 | /-- For `g` near `g₀`, the element `g` (for `b = true`) or its conjugate inverse `g^{-c}` (for |
| 488 | `b = false`) acts on the lattice of a Selmer datum `T` modulo `ℓ ^ M` as `g₀` or `g₀^{-c}` does. -/ |
| 489 | lemma SelmerDatum.eventually_reduceModPow_idOrConjInv_eq {O n : Type} [CommRing O] |
| 490 | [PadicIntegerRing O ℓ] [Fintype n] [DecidableEq n] (T : SelmerDatum ℓ S₀ g₀ O n) (M : ℕ) |
| 491 | (b : Bool) : |
| 492 | ∀ᶠ g : Gal(Ω/E) in nhds g₀, |
| 493 | reduceModPow ℓ M T.ρ (idOrConjInv b g) = reduceModPow ℓ M T.ρ (idOrConjInv b g₀) := by |
| 494 | have h_cont : Continuous (idOrConjInv b : Gal(Ω/E) → Gal(Ω/E)) := by |
| 495 | cases b |
| 496 | exacts [continuous_conjGal.inv, continuous_id] |
| 497 | exact ((T.isLocallyConstant M).comp_continuous h_cont).eventually_eq g₀ |
| 498 | |
| 499 | variable {ι κ : Type} {n : ι → Type} [∀ i : ι, Fintype (n i)] [∀ i : ι, DecidableEq (n i)] |
| 500 | {O : CoeffRing ℓ} |
| 501 | |
| 502 | /-- `ℓ ^ M` is a suitable level of torsion for the Selmer data `T i`: the exponent `M` exceeds the |
| 503 | normalised numbers `β_T` by more than `1`, and the residue field of `O` is large. -/ |
| 504 | structure IsTorsionLevel (T : ∀ i : ι, SelmerDatum ℓ S₀ g₀ O.val (n i)) (M : ℕ) : Prop where |
| 505 | /-- `M > β_T + 1` for each datum, with `β_T` scaled so that `O / ℓ` has length `1`. -/ |
| 506 | β_lt (i : ι) : O.normLength (T i).β + 1 < M |
| 507 | /-- The residue field has more than `2 rank(T i) len(O / ℓ ^ M) + 1` elements, which leaves room |
| 508 | for the choice of slopes. -/ |
| 509 | lt_card_residueField (i : ι) : |
| 510 | 2 * Fintype.card (n i) * IsDiscreteValuationRing.addVal O.val (ℓ ^ M) + 1 < |
| 511 | Nat.card (IsLocalRing.ResidueField O.val) |
| 512 | |
| 513 | /-- Auxiliary primes, homomorphisms to `ℤ / ℓ ^ N`, and polynomials with points for Selmer data |
| 514 | `T i` and Stickelberger systems `Y k`, for an integer `s₀` and a radius `r`. Valuations are those |
| 515 | of `ellVal`, with `v(ℓ) = 1`. -/ |
| 516 | structure TwistPolynomials (T : ∀ i : ι, SelmerDatum ℓ S₀ g₀ O.val (n i)) |
| 517 | (Y : κ → StickelbergerSystem ℓ S₀ g₀) (s₀ : ℕ) (r : ℚ≥0) (N : ℕ) where |
| 518 | /-- The set `Q` of primes. -/ |
| 519 | auxPrimes : Finset (FinPlace E) |
| 520 | /-- `Q` is auxiliary for `S₀`. -/ |
| 521 | auxiliary : IsAuxiliary S₀ auxPrimes |
| 522 | /-- `Q` has at most `s₀ / 2` primes. -/ |
| 523 | two_mul_card_le : 2 * #auxPrimes ≤ s₀ |
| 524 | /-- The homomorphisms `λ_𝔮` to `ℤ / ℓ ^ N`, one for each prime `𝔮` of `Q`. -/ |
| 525 | primeChar : auxPrimes → Gal(Ω/E) →* Multiplicative (ZMod (ℓ ^ N)) |
| 526 | /-- `λ_𝔮` is continuous and `λ_𝔮(Art y) = η(y / ȳ)` for an idele class character `η` of tame |
| 527 | level `𝔮` that is trivial above `ℓ`. So it is anticyclotomic, unramified outside `𝔮` and `𝔮̄`, and |
| 528 | zero on the decomposition groups above `ℓ`. -/ |
| 529 | isFromU1_primeChar (v : auxPrimes) : IsFromU1 (placesDividing E ℓ) {v.val} (primeChar v) |
| 530 | /-- `λ_𝔮` is onto on inertia at `𝔮`. -/ |
| 531 | exists_eq_ofAdd_one (v : auxPrimes) : ∃ g ∈ inertiaAbove {v.val}, |
| 532 | primeChar v g = Multiplicative.ofAdd 1 |
| 533 | /-- The polynomials of the data. -/ |
| 534 | datumPoly : ι → MvPolynomial auxPrimes (intQpBar ℓ) |
| 535 | /-- The polynomials of the systems. -/ |
| 536 | systemPoly : κ → MvPolynomial auxPrimes (intQpBar ℓ) |
| 537 | /-- The points of the data. -/ |
| 538 | datumPoint : ι → auxPrimes → intQpBar ℓ |
| 539 | /-- The points of the systems. -/ |
| 540 | systemPoint : κ → auxPrimes → intQpBar ℓ |
| 541 | /-- The coordinates of the point of a datum have valuation at least `r`. -/ |
| 542 | le_ellVal_datumPoint (i : ι) (v : auxPrimes) : (r : ℝ≥0) ≤ ellVal (datumPoint i v).val |
| 543 | /-- The coordinates of the point of a system have valuation at least `r`. -/ |
| 544 | le_ellVal_systemPoint (k : κ) (v : auxPrimes) : (r : ℝ≥0) ≤ ellVal (systemPoint k v).val |
| 545 | /-- At the point of a datum, `v(P) ≤ O.normLength β_T + s₀ r`. -/ |
| 546 | ellVal_datumPoly_le (i : ι) : |
| 547 | ellVal (eval (datumPoint i) (datumPoly i)).val ≤ O.normLength (T i).β + s₀ * (r : ℝ≥0) |
| 548 | /-- At the point of a system, `v(P) ≤ β + s₀ r`. -/ |
| 549 | ellVal_systemPoly_le (k : κ) : |
| 550 | ellVal (eval (systemPoint k) (systemPoly k)).val ≤ (Y k).β + s₀ * (r : ℝ≥0) |
| 551 | /-- For `ℓ ^ N`-th roots of unity `ζ_𝔮`, `ψ = ∏ ζ_𝔮 ^ λ_𝔮` and `x = (ζ_𝔮 - 1)_𝔮`, the value of `ψ` |
| 552 | at the element `Θ_Q` of a system is `P(x)`. -/ |
| 553 | groupRingEval_eq_eval (ζ : auxPrimes → intQpBar ℓ) |
| 554 | (hζ : ∀ v : auxPrimes, (ζ v : PadicAlgCl ℓ) ^ ℓ ^ N = 1) (k : κ) : |
| 555 | groupRingEval (pointChar primeChar (fun v : auxPrimes ↦ (ζ v : PadicAlgCl ℓ)) hζ) |
| 556 | ((Y k).element auxPrimes) = |
| 557 | (eval (fun v : auxPrimes ↦ ζ v - 1) (systemPoly k) : intQpBar ℓ) |
| 558 | /-- For the same `ψ` and `x`, the normalised length of `Sel_Q(T ψ)` is at most `v(P(x))` if |
| 559 | `v(P(x)) < O.normLength β_T + 1`. -/ |
| 560 | length_le (ζ : auxPrimes → intQpBar ℓ) (hζ : ∀ v : auxPrimes, (ζ v : PadicAlgCl ℓ) ^ ℓ ^ N = 1) |
| 561 | (i : ι) |
| 562 | (h_lt : ellVal (eval (fun v : auxPrimes ↦ ζ v - 1) (datumPoly i)).val < |
| 563 | O.normLength (T i).β + 1) : |
| 564 | (T i).TwistedLengthLe auxPrimes |
| 565 | (pointChar primeChar (fun v : auxPrimes ↦ (ζ v : PadicAlgCl ℓ)) hζ) |
| 566 | (ellVal (eval (fun v : auxPrimes ↦ ζ v - 1) (datumPoly i)).val) |
| 567 | |
| 568 | /-- Let `T i` be Selmer data over a coefficient ring `O` and `Y k` Stickelberger systems. Let `J` be |
| 569 | a set of tied auxiliary primes with elements and slopes given by `d` and with a first prime `P₀` |
| 570 | whose Frobenius element lies in the set `W`, otherwise unused (`IsTiedPrimes`); where the slope for |
| 571 | `T i` is nonzero, the Frobenius element and its conjugate inverse act trivially on `T i` modulo |
| 572 | `ℓ ^ M`. Let the Selmer group of each `T i` modulo `ℓ ^ M` tied at all primes of `J` (`tiedSelmer`) |
| 573 | have length at most `globalTerm + placesTerm`, the global term of `T i` plus its local terms at the |
| 574 | places of `(T i).places` prime to `ℓ`; adding the term for `g₀` gives the number `β` of `T i`. Let |
| 575 | the Frobenius element `φ = (d P₀).1.frob` of `P₀` and its conjugate inverse act on each `T i` modulo |
| 576 | `ℓ ^ M` as `g₀` and its conjugate inverse do, and let `ϑ(φ) ≡ ϑ(g₀)` modulo `ℓ ^ M'` for the |
| 577 | character `ϑ = twistChar` of each `Y k`. Let `M > O.normLength β + 1` for each `T i` and |
| 578 | `M' > β + 1` for each `Y k`, where `β = v(1(Θ_∅)) + 2 m v(ϑ(g₀) - 1)`, `1(Θ_∅)` is the value of the |
| 579 | trivial character at the element `(Y k).element ∅` and `m` is the length of the list |
| 580 | `(Y k).exponents`. Let `c ≥ 1` bound the ranks of the `T i` and the lengths `m`, and let `s₀ ≥ 1`, |
| 581 | `2 c #J ≤ s₀`, `s₀ r < 1`, `M < N` and `M, M' ≤ N r`. Then `TwistPolynomials` is inhabited: there |
| 582 | are auxiliary primes (the proof takes `J`), homomorphisms to `ℤ / ℓ ^ N`, and for each datum and |
| 583 | system a polynomial `P` that controls its twists at roots of unity, with a point of valuation at |
| 584 | least `r` where `v(P) ≤ β + s₀ r`, with `O.normLength β` in place of `β` for the `T i`. -/ |
| 585 | lemma nonempty_twistPolynomials_of_isTiedPrimes (T : ∀ i : ι, SelmerDatum ℓ S₀ g₀ O.val (n i)) |
| 586 | (Y : κ → StickelbergerSystem ℓ S₀ g₀) {M M' N c s₀ : ℕ} {r : ℚ≥0} {W : Set Gal(Ω/E)} |
| 587 | {P₀ : FinPlace E} {J : Finset (FinPlace E)} |
| 588 | {d : FinPlace E → AuxPrimeData E (ℓ ^ N) × (ι → O.val)} |
| 589 | (h_primes : IsTiedPrimes ℓ S₀ |
| 590 | (fun (i : ι) (g : Gal(Ω/E)) ↦ reduceModPow ℓ M (T i).ρ g = 1) W N P₀ J d) |
| 591 | (h_tied : ∀ i : ι, |
| 592 | length O.val ((T i).tiedSelmer J J d i (ℓ ^ M)) ≤ (T i).globalTerm + (T i).placesTerm) |
| 593 | (h_frob_datum : ∀ (i : ι) (b : Bool), reduceModPow ℓ M (T i).ρ (idOrConjInv b (d P₀).1.frob) = |
| 594 | reduceModPow ℓ M (T i).ρ (idOrConjInv b g₀)) |
| 595 | (h_frob_system : ∀ k : κ, |
| 596 | (M' : ℝ≥0∞) ≤ ellVal ((Y k).twistChar (d P₀).1.frob - (Y k).twistChar g₀ : PadicAlgCl ℓ)) |
| 597 | (hM : ∀ i : ι, O.normLength (T i).β + 1 < M) (hM' : ∀ k : κ, (Y k).β + 1 < M') |
| 598 | (hc : 1 ≤ c) (h_rank : ∀ i : ι, Fintype.card (n i) ≤ c) |
| 599 | (h_exps : ∀ k : κ, (Y k).exponents.length ≤ c) (hs₀ : 1 ≤ s₀) (h_card_le : 2 * c * #J ≤ s₀) |
| 600 | (hr : s₀ * r < 1) (hMN : M < N) (hN : M ≤ N * r) (hN' : M' ≤ N * r) : |
| 601 | Nonempty (TwistPolynomials T Y s₀ r N) := by |
| 602 | let lam (v : J) : Gal(Ω/E) →* Multiplicative (ZMod (ℓ ^ N)) := (d v).1.character |
| 603 | have hr_one : r ≤ 1 := (le_mul_of_one_le_left zero_le (mod_cast hs₀)).trans hr.le |
| 604 | have h_card {c' : ℕ} (hc' : c' ≤ c) : 2 * c' * #J ≤ s₀ := le_trans (by gcongr) h_card_le |
| 605 | have h_datum (i : ι) : ∃ (P : MvPolynomial J O.val) (x : J → intQpBar ℓ), |
| 606 | (∀ v : J, (r : ℝ≥0) ≤ ellVal (x v).val) ∧ |
| 607 | ellVal (eval x (P.map O.toIntQpBar)).val ≤ O.normLength (T i).β + s₀ * (r : ℝ≥0) ∧ |
| 608 | BoundsSelmer ℓ M lam (T i).ρ (unionWithConj (T i).places J) (T i).classRelations P := |
| 609 | (T i).exists_boundsSelmer_ellVal_eval_le h_primes (Nat.ne_zero_of_lt hMN) i (fun _ hg ↦ hg) |
| 610 | ((T i).length_tiedSelmer_erase_le h_primes hMN i (fun _ hg ↦ hg) (h_frob_datum i) (h_tied i)) |
| 611 | (h_card (h_rank i)) hr_one hN |
| 612 | have h_system (k : κ) : ∃ x : J → intQpBar ℓ, (∀ v : J, (r : ℝ≥0) ≤ ellVal (x v).val) ∧ |
| 613 | ellVal (eval x (groupRingEval (universalChar lam) ((Y k).element J))).val ≤ |
| 614 | (Y k).β + s₀ * (r : ℝ≥0) := |
| 615 | (Y k).exists_point_ellVal_universalChar_le h_primes (hM' k) (h_frob_system k) hs₀ |
| 616 | (h_card (h_exps k)) hr hN' |
| 617 | have h_inertia (v : J) : ∃ g ∈ inertiaAbove {v.val}, lam v g = Multiplicative.ofAdd 1 := by |
| 618 | obtain ⟨hγ_inertia, hγ_one, -⟩ := (h_primes.isAuxPrimeDataAt v v.property).tame_gen |
| 619 | exact ⟨(d v).1.tameGenerator, |
| 620 | ⟨v, rfl, _, (h_primes.isAuxPrimeDataAt v v.property).isPlaceOver, hγ_inertia⟩, hγ_one⟩ |
| 621 | choose P x hx hP_val hP_bound using h_datum |
| 622 | choose x' hx' hx'_val using h_system |
| 623 | exact ⟨{ |
| 624 | auxPrimes := J |
| 625 | auxiliary := h_primes.auxiliary |
| 626 | two_mul_card_le := h_card hc |
| 627 | primeChar := lam |
| 628 | isFromU1_primeChar v := (h_primes.isAuxPrimeDataAt v v.property).toIsFromU1 |
| 629 | exists_eq_ofAdd_one := h_inertia |
| 630 | datumPoly i := (P i).map O.toIntQpBar |
| 631 | systemPoly k := groupRingEval (universalChar lam) ((Y k).element J) |
| 632 | datumPoint := x |
| 633 | systemPoint := x' |
| 634 | le_ellVal_datumPoint := hx |
| 635 | le_ellVal_systemPoint := hx' |
| 636 | ellVal_datumPoly_le := hP_val |
| 637 | ellVal_systemPoly_le := hx'_val |
| 638 | groupRingEval_eq_eval ζ hζ k := (coe_eval_groupRingEval_universalChar lam hζ _).symm |
| 639 | length_le ζ hζ i h_lt := |
| 640 | (T i).twistedLengthLe_pointChar (hP_bound i) ζ hζ (h_lt.trans (hM i)) }⟩ |
| 641 | |
| 642 | /-- Let finitely many Selmer data `T i` and Stickelberger systems `Y k` be given, and let `g₀` lie |
| 643 | in an inertia group above a place of `S₀` prime to `ℓ`. Let `M > β_T + 1` for all data and let the |
| 644 | residue field of `O` have more than `2 rank(T i) len(O / ℓ ^ M) + 1` elements (`IsTorsionLevel`). |
| 645 | There is an integer `s₀ ≥ 1` such that for every rational `r > 0` with `s₀ r < 1` and every large |
| 646 | `N` the following exist (`TwistPolynomials`), where `v(ℓ) = 1` and `β_T` and the lengths of Selmer |
| 647 | groups are scaled so that `O / ℓ` has length `1`. |
| 648 | * A set `Q` of at most `s₀ / 2` primes of prime norm that lie outside `S₀`, with conjugates outside |
| 649 | `S₀` and `Q` (`IsAuxiliary`). |
| 650 | * For each `𝔮 ∈ Q` a homomorphism `λ_𝔮` to `ℤ / ℓ ^ N` that is onto on inertia at `𝔮` and comes by |
| 651 | `y ↦ y / ȳ` from an idele class character of modulus `𝔮` trivial above `ℓ` (`IsFromU1`). |
| 652 | * For each datum and each system a polynomial `P` over `ℤ̄_ℓ` in variables `X_𝔮`, and a point with |
| 653 | coordinates of valuation at least `r` at which `v(P) ≤ β + s₀ r`, for the number `β` of that datum |
| 654 | or system. |
| 655 | |
| 656 | For `ℓ ^ N`-th roots of unity `ζ_𝔮` put `ψ = ∏ ζ_𝔮 ^ λ_𝔮` and `x = (ζ_𝔮 - 1)_𝔮`. For a system, |
| 657 | `P(x)` is the value of `ψ` at its element `Θ_Q`. For a datum `T` with `v(P(x)) < β_T + 1`, the |
| 658 | Selmer group `Sel_Q(T ψ)` with divisible coefficients has length at most `v(P(x))`. -/ |
| 659 | theorem exists_twistPolynomials (T : ∀ i : ι, SelmerDatum ℓ S₀ g₀ O.val (n i)) |
| 660 | (Y : κ → StickelbergerSystem ℓ S₀ g₀) [Finite ι] [Finite κ] |
| 661 | (hg₀ : g₀ ∈ inertiaAbove (S₀ \ placesDividing E ℓ)) {M : ℕ} (hM : IsTorsionLevel T M) : |
| 662 | ∃ s₀ : ℕ, 1 ≤ s₀ ∧ ∀ r : ℚ≥0, 0 < r → s₀ * r < 1 → |
| 663 | ∀ᶠ N : ℕ in atTop, Nonempty (TwistPolynomials T Y s₀ r N) := by |
| 664 | -- Descend all data at once, with the Frobenius element of the first prime near `g₀`, and take the |
| 665 | -- polynomials and points of the resulting set of tied primes. |
| 666 | obtain ⟨c, hc, h_rank, h_exps⟩ : ∃ c : ℕ, |
| 667 | 1 ≤ c ∧ (∀ i : ι, Fintype.card (n i) ≤ c) ∧ ∀ k : κ, (Y k).exponents.length ≤ c := |
| 668 | ((eventually_ge_atTop 1).and <| (eventually_all.2 fun _ ↦ eventually_ge_atTop _).and <| |
| 669 | eventually_all.2 fun _ ↦ eventually_ge_atTop _).exists |
| 670 | obtain ⟨M', hM'⟩ : ∃ M' : ℕ, ∀ k : κ, (Y k).β + 1 < M' := |
| 671 | (eventually_all.2 fun k ↦ ENNReal.tendsto_nat_nhds_top.eventually |
| 672 | (lt_mem_nhds (by simp [(Y k).β_ne_top.lt_top]))).exists |
| 673 | have h_near : ∀ᶠ g : Gal(Ω/E) in nhds g₀, |
| 674 | (∀ (i : ι) (b : Bool), reduceModPow ℓ M (T i).ρ (idOrConjInv b g) = |
| 675 | reduceModPow ℓ M (T i).ρ (idOrConjInv b g₀)) ∧ |
| 676 | ∀ k : κ, (M' : ℝ≥0∞) ≤ ellVal ((Y k).twistChar g - (Y k).twistChar g₀ : PadicAlgCl ℓ) := |
| 677 | (eventually_all.2 fun i ↦ eventually_all.2 ((T i).eventually_reduceModPow_idOrConjInv_eq M)).and |
| 678 | (eventually_all.2 fun k ↦ (Y k).eventually_le_ellVal_sub M') |
| 679 | obtain ⟨W, hW, h_frob⟩ := h_near.exists_mem |
| 680 | obtain ⟨s, h_descent⟩ : ∃ s : ℕ, ∀ N > M, ∃ (P₀ : FinPlace E) (J : Finset (FinPlace E)) |
| 681 | (d : FinPlace E → AuxPrimeData E (ℓ ^ N) × (ι → O.val)), |
| 682 | IsTiedPrimes ℓ S₀ (fun i g ↦ reduceModPow ℓ M (T i).ρ g = 1) W N P₀ J d ∧ #J ≤ s ∧ |
| 683 | ∀ i : ι, length O.val ((T i).tiedSelmer J J d i (ℓ ^ M)) ≤ (T i).globalTerm + |
| 684 | (T i).placesTerm := |
| 685 | exists_isTiedPrimes_card_le_and_length_le T hg₀ M hM.lt_card_residueField hW |
| 686 | -- The bound `s` includes the first prime; the summand `1` only makes `s₀` positive. |
| 687 | have hs₀ : 1 ≤ 2 * c * (1 + s) := Nat.succ_le_of_lt (by positivity) |
| 688 | refine ⟨2 * c * (1 + s), hs₀, fun r hr₀ hr ↦ ?_⟩ |
| 689 | have h_large (K : ℕ) : ∀ᶠ N : ℕ in atTop, K ≤ N * r := |
| 690 | (tendsto_natCast_atTop_atTop.atTop_mul_const hr₀).eventually_ge_atTop _ |
| 691 | filter_upwards [eventually_gt_atTop M, h_large M, h_large M'] with N hMN hN hN' |
| 692 | obtain ⟨P₀, J, d, h_primes, h_card, h_tied⟩ := h_descent N hMN |
| 693 | obtain ⟨h_frob_datum, h_frob_system⟩ := h_frob _ h_primes.first_frob_mem |
| 694 | exact nonempty_twistPolynomials_of_isTiedPrimes T Y h_primes h_tied h_frob_datum h_frob_system |
| 695 | hM.β_lt hM' hc h_rank h_exps hs₀ (Nat.mul_le_mul_left _ (by omega)) hr hMN hN hN' |
| 696 | |
| 697 | end New.Selmer |
| 698 | |
| 699 | end |