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.Data.Rat.Cast.OfScientific |
| 4 | public import New.Congruences.FirstOrder.TraceRelations |
| 5 | public import New.Determinant.Twist.FitTwists |
| 6 | import New.Congruences.FirstOrder.DenominatorBound |
| 7 | import New.Congruences.GaloisRepresentations.AttachedRepresentations |
| 8 | import New.Congruences.GaloisRepresentations.RowsFromEigensystems |
| 9 | import New.Congruences.Selmer.ClassSums |
| 10 | import New.Congruences.Selmer.TwistingTheorem |
| 11 | import New.Determinant.Chain.NormOfChain |
| 12 | import New.OneLift.HeckeValues.CentralAction |
| 13 | import New.Reduction.Data.Sizes |
| 14 | import New.UpperBound.Size.Estimates |
| 15 | |
| 16 | /-! |
| 17 | # All data have regular families of m-fold twists |
| 18 | |
| 19 | This file states the conclusion of the Selmer group argument. |
| 20 | |
| 21 | * `New.exists_isRegularFamily`: for all data `D` there is a family of `m`-fold twists, one for each |
| 22 | prime `ℓ` and isomorphism `ι : ℂ ≃ ℚ̄_ℓ`, that is regular (`New.Data.IsRegularFamily`): for the |
| 23 | first `m` powers of its members the inverse ratios of `L`-values have height at most `D.x₁`, and |
| 24 | the logarithms of the denominators of the projections to lifts sum over the primes to at most |
| 25 | `D.denominatorBudget`. |
| 26 | * `New.Selmer.exists_mFoldTwist_hasDenominatorsLe`: the twist for one prime and one isomorphism. |
| 27 | * `New.Selmer.range_goodLift_le_span_hasLiftHeckePolynomial`: the lifts are spanned by forms that |
| 28 | lift one of finitely many eigensystems, which do not depend on the twist. |
| 29 | |
| 30 | Notions from other files: |
| 31 | * `New.Data.MFoldTwist`: a twist ϑ whose tame part ψ has ψ_wⁿ non-trivial for all places w in its |
| 32 | set Q and 1 ≤ n ≤ m. |
| 33 | * `New.Data.IsNegligible`: reals `e l` with `∑ e l log l ≤ x ^ C` over every finite set |
| 34 | of primes, where `x = D.x` is the length of the prime sum, the smallest scale of the data. |
| 35 | * `New.Selmer.IsMainSummand`: an `ℓ`-adic Galois representation satisfies the local and global |
| 36 | conditions `IsMainSummandLike` and, up to a twist and a string of characters, gives the traces of |
| 37 | the representations attached to the lifts of a Hecke eigensystem, for all twists of a descent |
| 38 | pair. |
| 39 | * `New.Selmer.DenominatorLe`: an operator `Λ` on a space `Z` of forms, with determinant of norm at |
| 40 | least `exp (-(dim Z · r · β))` at `ι`, clears the denominators of the orthogonal projection to |
| 41 | `Z`. Here `r` is the rank of the source of the lift. |
| 42 | |
| 43 | ## Relation to the literature |
| 44 | |
| 45 | For each prime ℓ and each identification of the complex numbers with the algebraic closure of the |
| 46 | ℓ-adic numbers, there is a twist whose first m powers have few congruences. For these twists, the |
| 47 | denominators of projections to theta lifts and the divisibility of ratios of Hecke values sum over |
| 48 | all ℓ to a total that the heights afford. It is known that denominators of projections to lifts give |
| 49 | Selmer classes and that twisting lowers Selmer ranks. Related work: Prasanna, Integrality of a ratio |
| 50 | of Petersson norms, 2006 (after Ribet, 1976; Wiles); Klosin, Congruences among modular forms on |
| 51 | U(2,2) and the Bloch–Kato conjecture, 2009; Mazur–Rubin, Ranks of twists of elliptic curves, 2010. |
| 52 | -/ |
| 53 | |
| 54 | @[expose] public section |
| 55 | |
| 56 | open New Selmer Submodule Data GaloisRep Polynomial Multiset Finset Real |
| 57 | |
| 58 | /-- Let the projection to the space `Z` of lifts have denominator at most `exp β` per dimension of |
| 59 | `Z` and per unit of the rank `r` of the source (`DenominatorLe`). If `β ≤ β'`, then some operator |
| 60 | with determinant of norm at least `exp (-(dim Z · r · β'))` clears this denominator |
| 61 | (`New.Data.ClearsProjection`). -/ |
| 62 | lemma New.Selmer.DenominatorLe.clearsProjection {P : Parameters} {D : Data P} {ℓ : ℕ} |
| 63 | [Fact ℓ.Prime] {ι : ℂ ≃+* PadicAlgCl ℓ} {ϑ : D.Twist} {j : ℕ} {β β' : ℝ} |
| 64 | (h_denom : DenominatorLe ι (D.descentPair ϑ j) D.e₀ (D.goodLift ϑ j).range β) (hββ' : β ≤ β') : |
| 65 | D.ClearsProjection ι ϑ j β' := by |
| 66 | obtain ⟨Λ, h_det, h_int⟩ := h_denom |
| 67 | refine ⟨Λ, ?_, fun y hy h_test ↦ (h_int y hy h_test).left⟩ |
| 68 | calc exp (-(Module.finrank ℂ (D.goodLift ϑ j).range * (D.r * β'))) |
| 69 | ≤ exp (-(Module.finrank ℂ (D.goodLift ϑ j).range * (Fintype.card D.RowIndex * β))) := by |
| 70 | rw [D.card_rowIndex] |
| 71 | gcongr |
| 72 | _ ≤ ‖ι Λ.det‖ := h_det |
| 73 | |
| 74 | /-- Summed over a finite set `T` of primes `l` with weights `log l`, the `l`-adic valuations of a |
| 75 | natural number `a` are at most `log b` for every natural number `b ≥ a`. -/ |
| 76 | lemma New.Selmer.sum_padicValNat_mul_log_le (T : Finset ℕ) (hT : ∀ l ∈ T, l.Prime) {a b : ℕ} |
| 77 | (hab : a ≤ b) : ∑ l ∈ T, (padicValNat l a : ℝ) * log l ≤ log b := |
| 78 | calc ∑ l ∈ T, (padicValNat l a : ℝ) * log l = ∑ l ∈ T, a.factorization l * log l := |
| 79 | sum_congr rfl fun l hl ↦ by rw [a.factorization_def (hT l hl), Nat.padicValNat_def] |
| 80 | _ ≤ ∑ l ∈ T ∪ a.factorization.support, a.factorization l * log l := by |
| 81 | grw [← T.subset_union_left] |
| 82 | _ = log a := by |
| 83 | rw [log_nat_eq_sum_factorization, |
| 84 | Finsupp.sum_of_support_subset _ subset_union_right _ (by simp)] |
| 85 | _ ≤ log b := by |
| 86 | rw [← log_of_nat_eq_posLog, ← log_of_nat_eq_posLog] |
| 87 | exact posLog_le_posLog (by linarith [a.cast_nonneg (α := ℝ)]) (Nat.cast_le.2 hab) |
| 88 | |
| 89 | lemma New.Selmer.sum_half_pow_mul_log_le (T : Finset ℕ) : |
| 90 | ∑ l ∈ T, (1 / 2 : ℝ) ^ l * log l ≤ 2 := |
| 91 | calc ∑ l ∈ T, (1 / 2 : ℝ) ^ l * log l ≤ ∑ l ∈ T, l * (1 / 2 : ℝ) ^ l := |
| 92 | sum_le_sum fun l _ ↦ by grw [log_le_self l.cast_nonneg, mul_comm] |
| 93 | _ ≤ 1 / 2 / (1 - 1 / 2) ^ 2 := |
| 94 | sum_le_hasSum T (by simp) (hasSum_coe_mul_geometric_of_norm_lt_one (by norm_num)) |
| 95 | _ = 2 := by norm_num |
| 96 | |
| 97 | /-- Let `natB` be the weight `b` of the data `D` as a natural number, and `halfGap = r ^ 8`. The |
| 98 | product of the natural numbers `k` with `natB - 30 halfGap³ < k ≤ natB + 30 halfGap³` (truncated |
| 99 | subtraction), which enters the crystalline loss `crystallineLoss`, is at most |
| 100 | `(natB + 30 halfGap³) ^ (60 halfGap³)`. -/ |
| 101 | lemma New.Selmer.prod_Ioc_natB_le_pow {P : Parameters} (D : Data P) : |
| 102 | ∏ k ∈ Finset.Ioc (D.natB - 30 * D.halfGap ^ 3) (D.natB + 30 * D.halfGap ^ 3), k ≤ |
| 103 | (D.natB + 30 * D.halfGap ^ 3) ^ (60 * D.halfGap ^ 3) := by |
| 104 | have h_pos : 0 < D.halfGap := Nat.zero_lt_of_lt D.k_add_t_add_one_le_halfGap |
| 105 | set hCube : ℕ := D.halfGap ^ 3 |
| 106 | have h_card : #(Finset.Ioc (D.natB - 30 * hCube) (D.natB + 30 * hCube)) ≤ 60 * hCube := by |
| 107 | rw [Nat.card_Ioc] |
| 108 | omega |
| 109 | calc _ ≤ (D.natB + 30 * hCube) ^ #(Finset.Ioc (D.natB - 30 * hCube) (D.natB + 30 * hCube)) := |
| 110 | prod_le_pow_card _ _ _ fun k hk ↦ (Finset.mem_Ioc.1 hk).2 |
| 111 | _ ≤ (D.natB + 30 * hCube) ^ (60 * hCube) := Nat.pow_le_pow_right (by positivity) h_card |
| 112 | |
| 113 | /-- Let `m` be the number of lifts, `r` the rank of the target, `k = r + 1 - m` the rank of the |
| 114 | source, `b = D.natB` the weight as a natural number, `h = D.halfGap = r ^ 8`, and `M = D.M` the |
| 115 | product of the two level primes. The local loss `defectBound D l` is |
| 116 | `10⁶ (m / k) (b v_l(M) + v_l((2 b)! Π ^ h³))`, where `v_l` is the `l`-adic valuation and `Π` is the |
| 117 | product of the positive integers in `(b - 30 h³, b + 30 h³]`. Summed over any finite set `T` of |
| 118 | primes `l` with weights `log l`, these losses are at most |
| 119 | `10⁶ (m / k) (b log M + log ((2 b)! (b + 30 h³) ^ (60 h⁶)))`. -/ |
| 120 | lemma New.Selmer.sum_defectBound_mul_log_le {P : Parameters} (D : Data P) (T : Finset ℕ) |
| 121 | (hT : ∀ l ∈ T, l.Prime) : |
| 122 | ∑ l ∈ T, (defectBound D l : ℝ) * log l ≤ |
| 123 | 10 ^ 6 * ((D.m : ℝ) / D.k) * (D.natB * log D.M + |
| 124 | log ((2 * D.natB).factorial * |
| 125 | ((D.natB + 30 * D.halfGap ^ 3) ^ (60 * D.halfGap ^ 3)) ^ D.halfGap ^ 3 : ℕ)) := by |
| 126 | -- `defectBound` is a combination of two valuations; bound each weighted sum by a logarithm |
| 127 | set hCube : ℕ := D.halfGap ^ 3 |
| 128 | let N : ℕ := (2 * D.natB).factorial * |
| 129 | (∏ k ∈ Finset.Ioc (D.natB - 30 * hCube) (D.natB + 30 * hCube), k) ^ hCube |
| 130 | have hN : N ≤ (2 * D.natB).factorial * ((D.natB + 30 * hCube) ^ (60 * hCube)) ^ hCube := |
| 131 | Nat.mul_le_mul_left _ (Nat.pow_le_pow_left (prod_Ioc_natB_le_pow D) _) |
| 132 | calc ∑ l ∈ T, (defectBound D l : ℝ) * log l |
| 133 | = 10 ^ 6 * ((D.m : ℝ) / D.k) * (D.natB * ∑ l ∈ T, (padicValNat l D.M : ℝ) * log l + |
| 134 | ∑ l ∈ T, (padicValNat l N : ℝ) * log l) := by |
| 135 | rw [mul_sum, ← sum_add_distrib, mul_sum] |
| 136 | refine sum_congr rfl fun l _ ↦ ?_ |
| 137 | push_cast [defectBound, crystallineLoss, N, hCube] |
| 138 | ring |
| 139 | _ ≤ _ := by |
| 140 | gcongr |
| 141 | exacts [sum_padicValNat_mul_log_le T hT le_rfl, sum_padicValNat_mul_log_le T hT hN] |
| 142 | |
| 143 | /-- **Bound for the local loss.** The numbers `localDefectBound D l = 4 f · defectBound D l` have |
| 144 | `∑ localDefectBound D l · log l ≤ 4 · 10⁶ e¹⁸⁰ f (m / k) b log b` over every finite set `T` of |
| 145 | primes. Here `f` is the number of infinite places of `D.E`, `m` the number of lifts, `k = r + 1 - m` |
| 146 | the rank of the source, `b = exp D.logB` the weight, and `defectBound D l` is `10⁶ (m / k)` times a |
| 147 | sum of `l`-adic valuations of integers attached to `D`. -/ |
| 148 | lemma New.Selmer.sum_localDefectBound_mul_log_le {P : Parameters} (D : Data P) (T : Finset ℕ) |
| 149 | (hT : ∀ l ∈ T, l.Prime) : |
| 150 | ∑ l ∈ T, (localDefectBound D l : ℝ) * log l ≤ |
| 151 | 4 * 10 ^ 6 * exp 180 * (D.f * ((D.m : ℝ) / D.k) * D.b * D.logB) := by |
| 152 | have h_bracket : D.natB * log D.M + log ((2 * D.natB).factorial * |
| 153 | ((D.natB + 30 * D.halfGap ^ 3) ^ (60 * D.halfGap ^ 3)) ^ D.halfGap ^ 3 : ℕ) ≤ |
| 154 | exp 180 * D.b * D.logB := by |
| 155 | push_cast |
| 156 | exact D.le_of_hasLogBound (by scale_grind D) |
| 157 | calc ∑ l ∈ T, (localDefectBound D l : ℝ) * log l = 4 * D.f * ∑ l ∈ T, |
| 158 | (defectBound D l : ℝ) * log l := by |
| 159 | simp [localDefectBound, mul_sum, mul_assoc] |
| 160 | _ ≤ 4 * D.f * (10 ^ 6 * ((D.m : ℝ) / D.k) * (exp 180 * D.b * D.logB)) := by |
| 161 | grw [sum_defectBound_mul_log_le D T hT, h_bracket] |
| 162 | _ = _ := by ring |
| 163 | |
| 164 | /-- **The odd classes are few.** The integer `oddClassBound D` is at most `2 ^ (4 (N + t + 3) ^ 27)` |
| 165 | times the class number of `D.E`, for the cyclotomic conductor `N`. Its `l`-adic valuation bounds the |
| 166 | lengths of the groups of odd classes (`shaOdd`), Galois cohomology classes of `D.E` with |
| 167 | coefficients in Tate twists of `O/l^ν`. These valuations are negligible with the exponent `2000`: |
| 168 | with weights `log l` they sum to at most `D.x ^ 2000` over every finite set of primes. -/ |
| 169 | lemma New.Selmer.isNegligible_padicValNat_oddClassBound {P : Parameters} (D : Data P) : |
| 170 | D.IsNegligible 2000 fun l : ℕ ↦ padicValNat l (oddClassBound D) := by |
| 171 | refine ⟨fun T hT ↦ ?_⟩ |
| 172 | calc ∑ l ∈ T, (padicValNat l (oddClassBound D) : ℝ) * log l |
| 173 | ≤ log (2 ^ (4 * (D.cyclotomicConductor + D.t + 3) ^ 27) * NumberField.classNumber D.E : ℕ) := |
| 174 | sum_padicValNat_mul_log_le T hT (oddClassBound_le D) |
| 175 | _ = 4 * (D.cyclotomicConductor + D.t + 3) ^ 27 * log 2 + log (NumberField.classNumber D.E) := by |
| 176 | generalize D.cyclotomicConductor = c |
| 177 | rw [Nat.cast_mul, Nat.cast_pow, Nat.cast_ofNat, |
| 178 | log_mul (by positivity) (Nat.cast_ne_zero.mpr (NumberField.classNumber_ne_zero D.E)), |
| 179 | log_pow] |
| 180 | simp only [Nat.cast_mul, Nat.cast_pow, Nat.cast_add, Nat.cast_ofNat] |
| 181 | _ ≤ 4 * (D.cyclotomicConductor + D.t + 3) ^ 27 * log 2 + D.x ^ 30 := |
| 182 | add_le_add_right D.log_classNumber_le _ |
| 183 | _ ≤ D.x ^ 2000 := D.le_of_hasLogBound |
| 184 | |
| 185 | /-- The numbers `twistError l D = (4 f + 3) r v_l(D.chosenGroupOrder) + 2⁻ˡ` are negligible with |
| 186 | the exponent `999`: with weights `log l` they sum to at most `D.x ^ 999` over every finite set of |
| 187 | primes. -/ |
| 188 | lemma New.Selmer.isNegligible_twistError {P : Parameters} (D : Data P) : |
| 189 | D.IsNegligible 999 fun l : ℕ ↦ twistError l D := by |
| 190 | refine ⟨fun T hT ↦ ?_⟩ |
| 191 | calc ∑ l ∈ T, (twistError l D : ℝ) * log l |
| 192 | = (4 * D.f + 3) * D.r * ∑ l ∈ T, (padicValNat l D.chosenGroupOrder : ℝ) * log l + |
| 193 | ∑ l ∈ T, (1 / 2 : ℝ) ^ l * log l := by |
| 194 | simp [twistError, add_mul, sum_add_distrib, mul_sum, mul_assoc] |
| 195 | _ ≤ (4 * D.f + 3) * D.r * log D.chosenGroupOrder + 2 := by |
| 196 | grw [sum_padicValNat_mul_log_le T hT le_rfl, sum_half_pow_mul_log_le T] |
| 197 | _ ≤ D.x ^ 999 := D.le_of_hasLogBound |
| 198 | |
| 199 | /-- The error term `denominatorError D l` of the bound for the denominators of projections to lifts |
| 200 | is finite: it is an explicit combination of the `l`-adic valuations of `oddClassBound D`, the bound |
| 201 | for odd Galois cohomology classes, and `D.chosenGroupOrder`, the order of a product of general |
| 202 | linear groups over residue fields. These terms are negligible with the exponent `4000`: with weights |
| 203 | `log l` they sum to at most `D.x ^ 4000` over every finite set of primes. -/ |
| 204 | lemma New.Selmer.isNegligible_denominatorError {P : Parameters} (D : Data P) : |
| 205 | D.IsNegligible 4000 fun l : ℕ ↦ (denominatorError D l).toReal := by |
| 206 | refine ⟨fun T hT ↦ ?_⟩ |
| 207 | -- every term is a multiple of the valuation of `oddClassBound D` or of `D.chosenGroupOrder` |
| 208 | let c : ℝ := 8 * D.f * D.t + 2 + ((4 * D.t + 1) * D.halfGap ^ 22 + D.halfGap) |
| 209 | calc ∑ l ∈ T, (denominatorError D l).toReal * log l |
| 210 | = D.t * ∑ l ∈ T, (padicValNat l (oddClassBound D) : ℝ) * log l + |
| 211 | c * ∑ l ∈ T, (padicValNat l D.chosenGroupOrder : ℝ) * log l := by |
| 212 | rw [mul_sum, mul_sum, ← sum_add_distrib] |
| 213 | refine sum_congr rfl fun l _ ↦ ?_ |
| 214 | rw [denominatorError_eq_natCast, ENNReal.toReal_natCast] |
| 215 | push_cast [c] |
| 216 | ring |
| 217 | _ ≤ D.t * D.x ^ 2000 + c * log D.chosenGroupOrder := by |
| 218 | grw [(isNegligible_padicValNat_oddClassBound D).sum_mul_log_le T hT, |
| 219 | sum_padicValNat_mul_log_le T hT le_rfl] |
| 220 | _ ≤ D.x ^ 4000 := D.le_of_hasLogBound |
| 221 | |
| 222 | /-- The `l`-adic valuations of the class number of `U(1)` at the level `D.chosenLevel` (the number |
| 223 | of double cosets `StdClasses`) are negligible with the exponent `30`: with weights `log l` they sum |
| 224 | to at most `D.x ^ 30` over every finite set of primes. -/ |
| 225 | lemma New.Selmer.isNegligible_padicValNat_card_stdClasses {P : Parameters} (D : Data P) : |
| 226 | D.IsNegligible 30 fun l : ℕ ↦ |
| 227 | padicValNat l (Nat.card (StdClasses (n := Unit) D.chosenLevel)) := by |
| 228 | refine ⟨fun T hT ↦ ?_⟩ |
| 229 | have h_classes : (Nat.card (StdClasses (n := Unit) D.chosenLevel) : ℝ) ≤ exp (D.x ^ 30) := |
| 230 | D.card_stdClasses_le_exp (D.principalLevel_le_chosenLevel (dvd_mul_right ..)) |
| 231 | (Fintype.card_unit.trans_le D.nat_le_of_hasLogBound) |
| 232 | calc ∑ l ∈ T, (padicValNat l (Nat.card (StdClasses (n := Unit) D.chosenLevel)) : ℝ) * log l |
| 233 | ≤ log (Nat.card (StdClasses (n := Unit) D.chosenLevel)) := |
| 234 | sum_padicValNat_mul_log_le T hT le_rfl |
| 235 | _ ≤ D.x ^ 30 := (log_le_iff_le_exp (Nat.cast_pos.2 Nat.card_pos)).2 h_classes |
| 236 | |
| 237 | /-- The number `clearingBound D l` is the bound for the exponent of `l` in the denominator of a |
| 238 | projection to lifts, per dimension and per unit of rank of the source: a sum of the local loss |
| 239 | `localDefectBound D l`, multiples of the twist and error terms, and the valuation of |
| 240 | `D.chosenGroupOrder`. The number of `StdClasses` at the level `D.chosenLevel` is the class number of |
| 241 | `U(1)` there. Summed over a finite set `T` of primes `l` with weights `log l`, the clearing bounds |
| 242 | and the `l`-adic valuations of this class number are at most |
| 243 | `D.denominatorBudget = D.errorUnit / (m k)`, for `m` the number of lifts and `k = r + 1 - m`. -/ |
| 244 | lemma New.Selmer.sum_clearingBound_add_padicValNat_le {P : Parameters} (D : Data P) (T : Finset ℕ) |
| 245 | (hT : ∀ l ∈ T, l.Prime) : |
| 246 | ∑ l ∈ T, (clearingBound D l * log l + |
| 247 | padicValNat l (Nat.card (StdClasses (n := Unit) D.chosenLevel)) * log l) ≤ |
| 248 | D.denominatorBudget := by |
| 249 | -- the terms are the local loss and negligible numbers, and all are small against |
| 250 | -- `denominatorBudget` |
| 251 | calc _ = ∑ l ∈ T, (localDefectBound D l : ℝ) * log l + |
| 252 | (1 + 2 * D.t) * ∑ l ∈ T, (twistError l D : ℝ) * log l + |
| 253 | ∑ l ∈ T, (denominatorError D l).toReal * log l + |
| 254 | ∑ l ∈ T, (padicValNat l D.chosenGroupOrder : ℝ) * log l + |
| 255 | ∑ l ∈ T, (padicValNat l (Nat.card (StdClasses (n := Unit) D.chosenLevel)) : ℝ) * log l := by |
| 256 | simp only [mul_sum, ← sum_add_distrib] |
| 257 | refine sum_congr rfl fun l _ ↦ ?_ |
| 258 | push_cast [clearingBound, ENNReal.coe_toNNReal_eq_toReal] |
| 259 | ring |
| 260 | _ ≤ 4 * 10 ^ 6 * exp 180 * (D.f * ((D.m : ℝ) / D.k) * D.b * D.logB) + |
| 261 | (1 + 2 * D.t) * D.x ^ 999 + D.x ^ 4000 + log D.chosenGroupOrder + D.x ^ 30 := by |
| 262 | grw [sum_localDefectBound_mul_log_le D T hT, |
| 263 | (isNegligible_twistError D).sum_mul_log_le T hT, |
| 264 | (isNegligible_denominatorError D).sum_mul_log_le T hT, |
| 265 | sum_padicValNat_mul_log_le T hT (a := D.chosenGroupOrder) le_rfl, |
| 266 | (isNegligible_padicValNat_card_stdClasses D).sum_mul_log_le T hT] |
| 267 | _ ≤ D.denominatorBudget := D.le_of_hasLogBound |
| 268 | |
| 269 | /-- A descent pair `O` consists of the data of a theta lift from a hermitian space `W` to one of |
| 270 | rank `#n`: a finite set of level places, a character of `U(1)` with its weight and tame part, and |
| 271 | the weight of the forms. Here `W` has rank one (index type `Unit`), and `O.ChosenIndex` indexes the |
| 272 | chosen places of `O`. The label of each chosen place, a polynomial over its residue field, is taken |
| 273 | to be `X - 1`. Then the trivial `ℓ`-adic representation of rank one satisfies `IsRepOfType`: it is |
| 274 | conjugate self-dual with the parameter `1`, meets the local conditions of `IsConjSelfDualOfLevel` at |
| 275 | all finite places (the level is `∅`) with the single jump `0` at each embedding of `D.E` in `ℂ`, and |
| 276 | inertia at each chosen place acts through the root of the label. -/ |
| 277 | lemma New.Selmer.isRepOfType_one {P : Parameters} {D : Data P} {ℓ : ℕ} [ThePrime ℓ] |
| 278 | [PadicIso ℓ] {n : Type} [Fintype n] (O : DescentPair D.E Unit n) : |
| 279 | IsRepOfType O (Fintype.card Unit) (fun _ : D.E →+* ℂ ↦ {0}) |
| 280 | (fun _ : O.ChosenIndex ↦ Polynomial.X - 1) ∅ (1 : GalRep ℓ D.E Unit) := by |
| 281 | -- the local clauses are those of the trivial character |
| 282 | have h_loc (A : ClosurePlace) : IsFiniteTypeAt (1 : GalRep ℓ D.E Unit) A ∧ |
| 283 | HasJumpsAt (1 : GalRep ℓ D.E Unit) A (fun _ : D.E →+* ℂ ↦ {0}) ∧ |
| 284 | ∀ s : AbsGal D, PolyKillsAt (1 : GalRep ℓ D.E Unit) A s (Polynomial.X - 1) := by |
| 285 | simpa using |
| 286 | localConditions_char_of_finite_image_inertia (E := D.E) (A := A) (μ := 1) (m := Unit) |
| 287 | continuous_one (by simp) |
| 288 | choose h_finite h_jumps h_kills using h_loc |
| 289 | refine |
| 290 | { continuous := continuous_one |
| 291 | nondeg := by simp +contextual [IsTraceNondeg, Matrix.trace, ← Matrix.ext_iff] |
| 292 | trace_conj := by simp |
| 293 | local_conditions v _ A _ := |
| 294 | ⟨h_finite A, h_jumps A, fun _ ↦ isGoodAt_iff.2 ⟨h_finite A, fun s _ ↦ h_kills A s⟩⟩ |
| 295 | labeled i A s a _ := ?_ } |
| 296 | -- the only root of the label `X - 1` is `1` |
| 297 | rw [← C_1, aroots_X_sub_C] |
| 298 | simpa using h_kills A s |
| 299 | |
| 300 | /-- A critical pair `(ν, z)` is a main pair for an index `1 ≤ j ≤ m` if `m < z ≤ r`, the tame part |
| 301 | of `ν` is `D.chiMLocal ^ j`, and the weight `-c` of `ν` has `w + r - t ≤ c ≤ w` at each infinite |
| 302 | place, for `w = D.liftWeight j`. Here `m` is the number of lifts, `r = D.r`, `t = D.t`, and |
| 303 | `D.chiMLocal` is the fixed family of residue characters that is trivial off the chosen places. The |
| 304 | data `lValueData` describe the theta lift of `ν`, untwisted, from `U(1)` to `U(2 z)`. Then there is |
| 305 | an `ℓ`-adic representation `T` of rank one that is a main summand (`IsMainSummand`) for this lift |
| 306 | and the constant system `1` of Hecke eigenvalues: `T` satisfies `IsMainSummandLike`, and for every |
| 307 | twist of the lift the Galois representations attached to lifted eigenforms have, up to |
| 308 | normalisation, the trace of the twisted `T` plus a string of characters. -/ |
| 309 | lemma New.Selmer.exists_isMainSummand_mainPair {P : Parameters} {D : Data P} {ℓ : ℕ} [ThePrime ℓ] |
| 310 | {ι : PadicIso ℓ} (p : {p : D.CriticalPair × D.LiftIndex // p.1.IsMainPair p.2}) : |
| 311 | ∃ T : GalRep ℓ D.E Unit, |
| 312 | IsMainSummand (p.val.1.lValueData p.prop.hasLiftRank (1 : D.Twist)).descentPair 1 T := by |
| 313 | obtain ⟨⟨q, j⟩, hq : q.IsMainPair j⟩ := p |
| 314 | -- the main summand comes from the trivial representation, whose only jump is `0` |
| 315 | refine exists_isMainSummand_of_isRepOfType ι (isLiftSetting_mainPair 1 hq) 1 (fun _ ↦ {0}) 1 |
| 316 | (isRepOfType_one _) (by simp) ?_ |
| 317 | -- the shifted jump is that of `isMainSummandWeights_mainPair` |
| 318 | obtain ⟨h_card, hz_large⟩ : Fintype.card (RankOneIndex q.z) = 2 * q.z ∧ 2 ≤ q.z := |
| 319 | hq.hasLiftRank |
| 320 | have h_weight (v : D.Φ) : q.negWeight v - q.z + 2 * q.z / 2 = q.negWeight v := by |
| 321 | grind [q.le_negWeight v] |
| 322 | have h_shift : ((1 : ℕ) - (2 * q.z - 1 : ℕ) : ℤ) / 2 = 1 - q.z := by omega |
| 323 | have h_jump (s c z : ℤ) : 0 - (1 - z - s * -c) = z - 1 - s * c := by ring |
| 324 | simpa only [DescentPair.rankDiff, Fintype.card_unit, h_card, h_weight, h_shift, |
| 325 | Multiset.map_singleton, h_jump] using isMainSummandWeights_mainPair hq |
| 326 | |
| 327 | /-- **Splitting, pairs of rank `r`.** Let `ϑ` be a twist and `1 ≤ j ≤ m`. The map `D.goodLift ϑ j` |
| 328 | is the theta lift, for the data `D.descentPair ϑ j`, of the good forms on the rank `r` space |
| 329 | `W_j = D.spaceW j`; good forms have principal level at the chosen places and lie in the image of the |
| 330 | idempotent `D.e₀`. Its range, the space of lifts, is spanned by its forms `y` with two properties. |
| 331 | * There is a tuple `c` of labels, one polynomial over the residue field at each chosen place, that |
| 332 | satisfies `IsLiftSetting`: each label has degree `r`, some label over each level prime is |
| 333 | primitive, and no twisted label has the root `1`. The form `y` lies in the image of the idempotent |
| 334 | of `c` (`typeProjection`), which is contained in that of `D.e₀`. |
| 335 | * There is a system `q (w, i)` of Hecke eigenvalues, one for each finite place `w` and number `i` of |
| 336 | the Hecke operator, that occurs in a good form on `W_m`, such that at the split places outside the |
| 337 | level the Hecke polynomial of `y` is that of a lift of `q`. -/ |
| 338 | theorem New.Selmer.range_goodLift_le_span_hasLiftHeckePolynomial {P : Parameters} {D : Data P} |
| 339 | (j : D.LiftIndex) (ϑ : D.Twist) : |
| 340 | (D.goodLift ϑ j).range ≤ span ℂ {y ∈ (D.goodLift ϑ j).range | |
| 341 | (∃ c : ∀ i : (D.descentPair ϑ j).ChosenIndex, |
| 342 | (ResField ((D.descentPair ϑ j).chosenPlace i))[X], |
| 343 | y ∈ (typeProjection (D.descentPair ϑ j) c).range ∧ |
| 344 | IsLiftSetting (D.descentPair ϑ j) c ϑ ∧ |
| 345 | (typeProjection (D.descentPair ϑ j) c).range ≤ |
| 346 | ((D.descentPair ϑ j).groupAlgAction D.e₀).range) ∧ |
| 347 | ∃ q : FinPlace D.E × ℕ → ℂ, |
| 348 | D.goodForms (D.spaceW D.m) ⊓ D.eigenPart (D.spaceW D.m) q ≠ ⊥ ∧ |
| 349 | (D.descentPair ϑ j).HasLiftHeckePolynomial y fun (w : FinPlace D.E) (i : ℕ) ↦ |
| 350 | q (w, i)} := by |
| 351 | -- the space of lifts is spanned by the lifts of good eigenforms `y` on `W_j` |
| 352 | refine D.range_goodLift_le fun q y hy c hc hy_c ↦ ?_ |
| 353 | obtain rfl | hy_ne := eq_or_ne y 0 |
| 354 | · simp |
| 355 | -- the eigensystem `q` of `y` also occurs on `W_m` |
| 356 | let jmax : D.LiftIndex := ⟨D.m, D.nat_le_of_hasLogBound, le_rfl⟩ |
| 357 | have hq : D.goodForms (D.spaceW D.m) ⊓ D.eigenPart (D.spaceW D.m) q ≠ ⊥ := fun h_bot ↦ |
| 358 | hy_ne ((D.goodForms_inf_eigenPart_eq_bot_of_eq_bot (D.spaceW j) (D.spaceW jmax) h_bot).le hy) |
| 359 | obtain ⟨hy_good : y ∈ D.goodForms (D.spaceW j), hy_eigen : y ∈ D.eigenPart (D.spaceW j) q⟩ := hy |
| 360 | have h_range : D.singleLift ϑ j y ∈ (D.goodLift ϑ j).range := ⟨⟨y, hy_good⟩, rfl⟩ |
| 361 | have h_lifts : (D.descentPair ϑ j).HasLiftHeckePolynomial (D.singleLift ϑ j y) fun w i ↦ |
| 362 | q (w, i) := |
| 363 | D.hasLiftHeckePolynomial_singleLift _ hy_eigen |
| 364 | exact subset_span ⟨h_range, ⟨c, hy_c, isLiftSetting_descentPair D ϑ j hc, |
| 365 | D.range_tupleIdem_le hc⟩, |
| 366 | q, hq, h_lifts⟩ |
| 367 | |
| 368 | /-- **The twisting theorem for two families of main summands.** Let `ℓ` be a prime, |
| 369 | `ι : ℂ ≃ ℚ̄_ℓ`, and `e = twistError ℓ D = (4 f + 3) r v_ℓ(D.chosenGroupOrder) + 2 ^ (-ℓ)`, where |
| 370 | `f` is the number of infinite places of `D.E` and `D.chosenGroupOrder` the order of a product of |
| 371 | general linear groups over residue fields. Let `R a` and `R₁ b` be finitely many Galois |
| 372 | representations of rank `r` and one, each satisfying the conditions `IsMainSummandLike` on main |
| 373 | summands for some self-duality parameter `t` and some multisets `J` of Hodge–Tate jumps. There is a |
| 374 | twist `τ`, whose tame part has nontrivial powers up to `m` at each place of its modulus |
| 375 | (`MFoldTwist`), such that each power `ϑ = τ ^ j`, `1 ≤ j ≤ m`, has the following properties, where |
| 376 | `ψ = ϑ.invAvatar` is the `ℓ`-adic Galois character of `ϑ⁻¹`. |
| 377 | * The modulus `ϑ.Q` is auxiliary for the places dividing `ℓ p₀ p₁ N`, for the two level primes |
| 378 | `p₀, p₁` and the level `N` (`badPlaces`): its places have prime norm, avoid these places and |
| 379 | their conjugates, and no two are conjugate. The character `ψ` comes from the norm-one torus, and |
| 380 | the valuations of `ψ σ - 1`, for tame generators `σ` at the places of `ϑ.Q`, sum to at most `e` |
| 381 | (`IsAuxTwist`). |
| 382 | * For each given representation, some Galois element `γ` acts on a lattice in its twist by `ψ` as a |
| 383 | scalar `ζ`, and the crystalline Selmer group of that lattice with coefficients in `Frac O / O` |
| 384 | has length at most `e`, normalised so that `O / ℓ` has length one, for all large coefficient |
| 385 | rings `O` (`HasDivisibleSelmerLengthLe`). |
| 386 | * For each pair `p = (ν, z)` ramified exactly at the chosen places and each sign `s`, the inverse of |
| 387 | `p.ratio ϑ s = |L(z, (ν ϑ ^ s)⁻¹)| / |L(z, ν⁻¹)|`, a ratio of partial `L`-values, has norm at most |
| 388 | `ℓ ^ e` at `ι`. -/ |
| 389 | lemma New.Selmer.exists_mFoldTwist_selmerLengthLe_inv_ratio_le {P : Parameters} (D : Data P) {ℓ : ℕ} |
| 390 | [ThePrime ℓ] (ι : PadicIso ℓ) {A B : Type} [Finite A] [Finite B] |
| 391 | {R : A → GalRep ℓ D.E D.RowIndex} {R₁ : B → GalRep ℓ D.E Unit} |
| 392 | (hR : ∀ a : A, ∃ (t : ℕ) (J : (D.E →+* ℂ) → Multiset ℤ), IsMainSummandLike D t J (R a)) |
| 393 | (hR₁ : ∀ b : B, ∃ (t : ℕ) (J : (D.E →+* ℂ) → Multiset ℤ), IsMainSummandLike D t J (R₁ b)) : |
| 394 | ∃ τ : D.MFoldTwist, ∀ j : D.LiftIndex, |
| 395 | let ϑ : D.Twist := τ.powTwist j |
| 396 | IsAuxTwist (badPlaces D ℓ) ϑ.Q ϑ.invAvatar (twistError ℓ D) ∧ |
| 397 | (∀ a : A, ∃ γ : AbsGal D, |
| 398 | HasDivisibleSelmerLengthLe ϑ.invAvatar (R a) ϑ.Q γ (twistError ℓ D)) ∧ |
| 399 | (∀ b : B, ∃ γ : AbsGal D, |
| 400 | HasDivisibleSelmerLengthLe ϑ.invAvatar (R₁ b) ϑ.Q γ (twistError ℓ D)) ∧ |
| 401 | ∀ (p : D.CriticalPair) (s : ℤˣ), p.IsRamified → |
| 402 | ‖ι.ιℓ (p.ratio ϑ s)⁻¹‖ ≤ exp (twistError ℓ D * log ℓ) := by |
| 403 | -- join the families over `A ⊕ B`; `SummandCoordIndex` is the index type `D.RowIndex` on the left |
| 404 | -- summand and `Unit` on the right |
| 405 | let r (i : A ⊕ B) : Type := SummandCoordIndex D.RowIndex (t := 1) (i.getRight?.map 0) |
| 406 | let S : ∀ i : A ⊕ B, GalRep ℓ D.E (r i) |
| 407 | | .inl a => R a |
| 408 | | .inr b => R₁ b |
| 409 | have hS : ∀ i : A ⊕ B, ∃ (t : ℕ) (J : (D.E →+* ℂ) → Multiset ℤ), IsMainSummandLike D t J (S i) := |
| 410 | Sum.forall.2 ⟨hR, hR₁⟩ |
| 411 | obtain ⟨τ, hτ⟩ := exists_mFoldTwist_hasDivisibleSelmerLengthLe D ℓ ι hS |
| 412 | refine ⟨τ, fun j ↦ ?_⟩ |
| 413 | obtain ⟨h_aux, h_divisible, h_ratio⟩ := hτ j |
| 414 | exact ⟨h_aux, fun a ↦ h_divisible (.inl a), fun b ↦ h_divisible (.inr b), |
| 415 | fun p s hp ↦ norm_inv_le_exp_of_ellVal_le (h_ratio p s hp)⟩ |
| 416 | |
| 417 | /-- **Denominator for the space of lifts.** Let the modulus of the twist `ϑ` be auxiliary and its |
| 418 | ramification at most `twistError ℓ D` (`IsAuxTwist`). Suppose that every Hecke eigensystem `q` of |
| 419 | good forms on `W_m = D.spaceW D.m` has a main summand for the `j`-th descent pair of the trivial |
| 420 | twist `TameChar.one`. That is, there is a Galois representation `R` giving the traces attached to |
| 421 | all twisted lifts of `q` (`IsMainSummand`), and the twist of `R` by `ϑ⁻¹` has a short Selmer group |
| 422 | with divisible coefficients. Let `Z = (D.goodLift ϑ j).range` be the space of lifts for `ϑ` and `j`, |
| 423 | and let `r` be the size of `D.RowIndex`, the rank of `W_m`. Then some operator with determinant of |
| 424 | norm at least `ℓ ^ (-(dim Z · r · clearingBound D ℓ))` clears the denominators of the projection to |
| 425 | `Z` on integral forms orthogonal to the false lifts for the idempotent `D.e₀` of the good forms |
| 426 | (`DenominatorLe`). -/ |
| 427 | lemma New.Selmer.denominatorLe_range_goodLift {P : Parameters} {D : Data P} {ℓ : ℕ} [ThePrime ℓ] |
| 428 | (ι : PadicIso ℓ) {ϑ : D.Twist} (j : D.LiftIndex) |
| 429 | (h_aux : IsAuxTwist (badPlaces D ℓ) ϑ.Q ϑ.invAvatar (twistError ℓ D)) |
| 430 | (h_summand : ∀ q : FinPlace D.E × ℕ → ℂ, |
| 431 | D.goodForms (D.spaceW D.m) ⊓ D.eigenPart (D.spaceW D.m) q ≠ ⊥ → |
| 432 | ∃ R : GalRep ℓ D.E D.RowIndex, |
| 433 | IsMainSummand (D.descentPair TameChar.one j) (fun (w : FinPlace D.E) (i : ℕ) ↦ q (w, i)) R ∧ |
| 434 | ∃ γ : AbsGal D, |
| 435 | HasDivisibleSelmerLengthLe ϑ.invAvatar R ϑ.Q γ (twistError ℓ D)) : |
| 436 | DenominatorLe ι.ιℓ (D.descentPair ϑ j) D.e₀ (D.goodLift ϑ j).range |
| 437 | (clearingBound D ℓ * log ℓ) := by |
| 438 | have h_char : (D.descentPair ϑ j).u1Char = (D.descentPair TameChar.one j).u1Char * |
| 439 | ϑ.toAutChar := by |
| 440 | simp [descentPair, liftChar, toAutChar_one_and_toTwist_one_and_Q_one] |
| 441 | refine denominatorLe_clearingBound ι ϑ h_aux |
| 442 | ((range_goodLift_le_span_hasLiftHeckePolynomial j ϑ).trans (span_mono ?_)) |
| 443 | rintro y ⟨h_mem, h_labels, q, hq, h_lifts⟩ |
| 444 | obtain ⟨R, hR, h_selmer⟩ := h_summand q hq |
| 445 | -- `y` is a lift generator, with the system `q` and the main summand `R` |
| 446 | exact ⟨h_mem, h_labels, _, h_lifts, R, D.descentPair TameChar.one j, hR, h_char, h_selmer⟩ |
| 447 | |
| 448 | /-- **Denominator for the line of a main pair.** Let the modulus of the twist `ϑ` be auxiliary and |
| 449 | its ramification at most `twistError ℓ D` (`IsAuxTwist`). Let `p = (ν, z)` be a main pair for `j` |
| 450 | (`IsMainPair`), with `lValueData` the data of the theta lift of `ν ϑ` from `U(1)` to `U(2 z)` and |
| 451 | `trivialLift` the lifted form. Let `R` be a main summand for the untwisted lift and the trivial |
| 452 | eigensystem whose twist by `ϑ⁻¹` has a short Selmer group with divisible coefficients. Then an |
| 453 | operator with determinant of norm at least `ℓ ^ (-clearingBound D ℓ)` clears the denominators of the |
| 454 | projection to the line of `trivialLift` on integral forms orthogonal to the false lifts for the |
| 455 | idempotent of the labels `X - 1` at the chosen places (`DenominatorLe`). -/ |
| 456 | lemma New.Selmer.denominatorLe_span_trivialLift {P : Parameters} {D : Data P} {ℓ : ℕ} [ThePrime ℓ] |
| 457 | (ι : PadicIso ℓ) {ϑ : D.Twist} {p : D.CriticalPair} {j : ℕ} (hp : p.IsMainPair j) |
| 458 | (h_aux : IsAuxTwist (badPlaces D ℓ) ϑ.Q ϑ.invAvatar (twistError ℓ D)) {R : GalRep ℓ D.E Unit} |
| 459 | (hR : IsMainSummand (p.lValueData hp.hasLiftRank (1 : D.Twist)).descentPair 1 R) |
| 460 | (h_selmer : ∃ γ : AbsGal D, |
| 461 | HasDivisibleSelmerLengthLe ϑ.invAvatar R ϑ.Q γ (twistError ℓ D)) : |
| 462 | open scoped Classical in |
| 463 | DenominatorLe ι.ιℓ (p.lValueData hp.hasLiftRank ϑ).descentPair |
| 464 | (tupleIdem Unit fun _ : (p.lValueData hp.hasLiftRank ϑ).descentPair.ChosenIndex ↦ |
| 465 | Polynomial.X - 1) |
| 466 | (ℂ ∙ (p.lValueData hp.hasLiftRank ϑ).trivialLift) (clearingBound D ℓ * log ℓ) := by |
| 467 | have h_char : (p.lValueData hp.hasLiftRank ϑ).descentPair.u1Char = |
| 468 | (p.lValueData hp.hasLiftRank (1 : D.Twist)).descentPair.u1Char * ϑ.toAutChar := by |
| 469 | simp [toAutChar_one_and_toTwist_one_and_Q_one] |
| 470 | refine denominatorLe_clearingBound ι ϑ h_aux (span_mono (Set.singleton_subset_iff.2 ?_)) |
| 471 | -- `trivialLift` has the labels `X - 1` and lifts the eigensystem `1` |
| 472 | refine ⟨mem_span_singleton_self _, ⟨fun _ ↦ Polynomial.X - 1, ?_, isLiftSetting_mainPair ϑ hp, |
| 473 | le_rfl⟩, |
| 474 | 1, LValueData.hasLiftHeckePolynomial_trivialLift _, R, _, hR, h_char, h_selmer⟩ |
| 475 | -- `convert`, as the two `DecidableEq` instances on the index type agree only propositionally |
| 476 | convert trivialLift_mem_range_typeProjection ϑ hp |
| 477 | |
| 478 | /-- **A twist with few congruences at one prime.** For a prime `ℓ` and `ι : ℂ ≃ ℚ̄_ℓ` there is an |
| 479 | `m`-fold twist `τ` (`D.MFoldTwist`) with three properties, where `ϑ = τ ^ j` (`τ.powTwist j`) and |
| 480 | `j : D.LiftIndex`, so `1 ≤ j ≤ m`. The product `τ.normQ` of the norms of the places in the set `Q` |
| 481 | of `τ` is prime to `ℓ`. Take each ramified pair `p = (ν, z)` (`p.IsRamified`: the tame part of `ν` |
| 482 | is nontrivial exactly at the places dividing `D.piM`, of norm `p₀ p₁`) and each sign `s`. The |
| 483 | inverse of `p.ratio ϑ s = |L(z, (ν ϑ ^ s)⁻¹)| / |L(z, ν⁻¹)|` (partial `L`-values) has norm at most |
| 484 | `ℓ ^ e` under `ι.ιℓ`, where `e = twistError ℓ D = (4 f + 3) r v_ℓ(D.chosenGroupOrder) + 2 ^ (-ℓ)`. |
| 485 | For each `j`, `D.HasDenominatorsLe ι.ιℓ ϑ j β` holds, with `exp β` equal to `ℓ ^ clearingBound D ℓ` |
| 486 | times the `ℓ`-part of the number of classes `StdClasses` of `U(1)` at level `D.chosenLevel`. -/ |
| 487 | lemma New.Selmer.exists_mFoldTwist_hasDenominatorsLe {P : Parameters} (D : Data P) {ℓ : ℕ} |
| 488 | [ThePrime ℓ] (ι : PadicIso ℓ) : |
| 489 | ∃ τ : D.MFoldTwist, ℓ.Coprime τ.normQ ∧ |
| 490 | (∀ (j : D.LiftIndex) (p : D.CriticalPair) (s : ℤˣ), p.IsRamified → |
| 491 | ‖ι.ιℓ (p.ratio (τ.powTwist j) s)⁻¹‖ ≤ exp (twistError ℓ D * log ℓ)) ∧ |
| 492 | ∀ j : D.LiftIndex, D.HasDenominatorsLe ι.ιℓ (τ.powTwist j) j (clearingBound D ℓ * log ℓ + |
| 493 | padicValNat ℓ (Nat.card (StdClasses (n := Unit) D.chosenLevel)) * log ℓ) := by |
| 494 | -- There are finitely many main summands: one for each `j` and each eigensystem of good forms on |
| 495 | -- `W_m`, one for each main pair. The twisting theorem gives a twist for whose powers all of them |
| 496 | -- have short Selmer groups, and these bound the denominators. |
| 497 | let systems : Set (FinPlace D.E × ℕ → ℂ) := |
| 498 | {q | D.goodForms (D.spaceW D.m) ⊓ D.eigenPart (D.spaceW D.m) q ≠ ⊥} |
| 499 | have : Finite systems := D.finite_setOf_inf_eigenPart_ne_bot _ _ |
| 500 | have h_summands (a : D.LiftIndex × systems) : ∃ T : GalRep ℓ D.E D.RowIndex, |
| 501 | IsMainSummand (D.descentPair TameChar.one a.1) (fun w i ↦ a.2.val (w, i)) T := |
| 502 | exists_isMainSummand_descentPair ι a.2.prop a.1 |
| 503 | choose R hR using h_summands |
| 504 | choose R₁ hR₁ using exists_isMainSummand_mainPair (D := D) (ι := ι) |
| 505 | obtain ⟨τ, hτ⟩ := exists_mFoldTwist_selmerLengthLe_inv_ratio_le D ι (R := R) (R₁ := R₁) |
| 506 | (fun a ↦ ⟨_, (hR a).left⟩) fun b ↦ ⟨_, (hR₁ b).left⟩ |
| 507 | -- the powers of `τ`: auxiliary modulus, short Selmer groups for `R` and `R₁`, small ratios |
| 508 | choose h_aux h_selmer h_selmer₁ h_ratio using hτ |
| 509 | have h_coprime : ℓ.Coprime τ.normQ := by |
| 510 | obtain ⟨h_auxiliary, -⟩ := h_aux ⟨1, le_rfl, D.nat_le_of_hasLogBound⟩ |
| 511 | exact (coprime_prod_q_of_isAuxiliary h_auxiliary).left |
| 512 | have h_projection_denominators (j : D.LiftIndex) : |
| 513 | DenominatorLe ι.ιℓ (D.descentPair (τ.powTwist j) j) D.e₀ |
| 514 | (D.goodLift (τ.powTwist j) j).range (clearingBound D ℓ * log ℓ) := |
| 515 | denominatorLe_range_goodLift ι j (h_aux j) fun q hq ↦ |
| 516 | ⟨R (j, ⟨q, hq⟩), hR (j, ⟨q, hq⟩), h_selmer j (j, ⟨q, hq⟩)⟩ |
| 517 | have h_free : ∀ g : Gf D.E Unit, classAut stdRatPoints D.chosenLevel g = ⊥ := |
| 518 | D.classAut_eq_bot_of_le_chosenLevel le_rfl |
| 519 | (Fintype.card_unit.trans_le D.nat_le_of_hasLogBound) |
| 520 | refine ⟨τ, h_coprime, h_ratio, fun j ↦ ⟨?_, fun p hp Ξ Ξ' hΞ hΞ' ↦ ?_⟩⟩ |
| 521 | · exact (h_projection_denominators j).clearsProjection (le_add_of_nonneg_right (by positivity)) |
| 522 | · -- main pairs: the denominator for the line of `trivialLift` bounds the inner product |
| 523 | have h_line_denominator := denominatorLe_span_trivialLift ι hp (h_aux j) (hR₁ ⟨(p, j), hp⟩) |
| 524 | (h_selmer₁ j ⟨(p, j), hp⟩) |
| 525 | exact h_line_denominator.norm_inner_starProjection_le _ h_free hΞ hΞ' |
| 526 | |
| 527 | /-- **Twists with few congruences.** All data `D` have a regular family of `m`-fold twists `θ κ`, |
| 528 | one for each pair `κ` of a prime `ℓ` and an isomorphism `ℂ ≃ ℚ̄_ℓ`. The modulus of `θ κ` is prime to |
| 529 | `ℓ`. -/ |
| 530 | lemma New.exists_isRegularFamily {P : Parameters} (D : Data P) : |
| 531 | ∃ θ : PrimePadicIso → D.MFoldTwist, D.IsRegularFamily θ := by |
| 532 | have h_local_twist (κ : PrimePadicIso) : ∃ τ : D.MFoldTwist, Nat.Coprime κ.prime τ.normQ ∧ |
| 533 | (∀ (j : D.LiftIndex) (p : D.CriticalPair) (s : ℤˣ), p.IsRamified → |
| 534 | ‖κ.iso (p.ratio (τ.powTwist j) s)⁻¹‖ ≤ exp (twistError κ.prime D * log (κ.prime : ℕ))) ∧ |
| 535 | ∀ j : D.LiftIndex, D.HasDenominatorsLe κ.iso (τ.powTwist j) j |
| 536 | (clearingBound D κ.prime * log (κ.prime : ℕ) + |
| 537 | padicValNat κ.1 (Nat.card (StdClasses (n := Unit) D.chosenLevel)) * log (κ.1 : ℕ)) := |
| 538 | have : ThePrime κ.prime := ⟨⟩ |
| 539 | exists_mFoldTwist_hasDenominatorsLe D ⟨κ.iso⟩ |
| 540 | choose θ h_coprime h_ratio h_denominators using h_local_twist |
| 541 | -- Local choices need not agree at distinct embeddings. Their uniform prime-wise bounds |
| 542 | -- give the global height and denominator budgets by summing over rational primes. |
| 543 | have h_ratio_height_budget (T : Finset ℕ) (hT : ∀ l ∈ T, l.Prime) : |
| 544 | ∑ l ∈ T, twistError l D * log l ≤ D.x₁ := |
| 545 | ((isNegligible_twistError D).sum_mul_log_le T hT).trans D.le_of_hasLogBound |
| 546 | exact ⟨θ, |
| 547 | { coprime := h_coprime |
| 548 | height_le j p s hp := .of_le h_ratio_height_budget fun κ ↦ h_ratio κ j p s hp |
| 549 | exists_denominator_bound j := ⟨_, sum_clearingBound_add_padicValNat_le D, fun κ ↦ |
| 550 | h_denominators κ j⟩ }⟩ |