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 | public import New.Spanning.Frames.BesselVector |
| 4 | public import New.Spanning.Unfolding.BesselLevelStructure |
| 5 | import New.Spanning.Frames.OneFrame |
| 6 | import New.Spanning.Frames.TwoGauges |
| 7 | |
| 8 | /-! |
| 9 | # Depth, heads and far positions at the finite places |
| 10 | |
| 11 | This file proves the facts about a large lattice datum at the finite places that bound the local |
| 12 | Bessel kernels: the sets 𝔡_a are fractional ideals, the heads of a nonvanishing form have integral |
| 13 | leading products, and a position far from the identity forces a small ideal. Here `R = integers` is |
| 14 | the ring of integers of `A`, K is the group of integral points of the unitary group (in statements, |
| 15 | `K : ℕ` is an exponent), K(g) is its principal congruence subgroup of level `g = F.levelUnit`, and |
| 16 | `n = 𝔰.n = ϱ + 1`. In the gauge `Γ` of scale `α` an element `a` has size `i` if `α ^ i * a ∈ R`, and |
| 17 | losses are powers of `Γ.loss = 2 / modulus α`. |
| 18 | |
| 19 | ## Main definitions and results |
| 20 | |
| 21 | * `New.Floors.IntegralPlace.IsLargeLatticeData.prod_mem_of_formMajorant_ne_zero`: the forms vanish |
| 22 | unless the leading products of both heads are integral. |
| 23 | * `New.Floors.IntegralPlace.IsLargeLatticeData.exists_gauge_of_formMajorant_ne_zero`: a scale |
| 24 | adapted to two heads. |
| 25 | * `New.Floors.IntegralPlace.IsLargeLatticeData.exists_volume_stableProducts_le`: a large denominator |
| 26 | of `(x - 1) / g` forces a deep vector. |
| 27 | |
| 28 | Notions from other files: |
| 29 | * `New.Floors.IntegralPlace.IsLargeLatticeData`: the place data is given by a lattice, in a |
| 30 | unimodular unitary group of large rank; its box `F.boxSet` is K. |
| 31 | * `New.Floors.PlaceData.stableProducts`: the set 𝔡_a of the products of e_a with the vectors that |
| 32 | are stable at two points `x` and `x * y`. |
| 33 | * `New.Floors.PlaceData.IsNear`: `x` is near at `j` if a translate of `x` by |
| 34 | `T.partialUnitriangularGroup j` lies in the box. |
| 35 | * `New.Floors.PlaceData.IntermediateGroup.besselVector`: for a group `Z` with K(g) ≤ Z ≤ K, the |
| 36 | vector whose coordinate at the coset K(g) z is `extendedBesselChar F.levelUnit (y * z⁻¹)`. |
| 37 | * `New.Floors.PlaceData.formMajorant`: an integral of moduli of orbital integrals that bounds the |
| 38 | form of two heads. |
| 39 | |
| 40 | ## Relation to the literature |
| 41 | |
| 42 | See `New.Spanning.MainTerm.EnergyEstimate` for related work. |
| 43 | -/ |
| 44 | |
| 45 | @[expose] public section |
| 46 | |
| 47 | noncomputable section |
| 48 | |
| 49 | namespace New.Floors |
| 50 | |
| 51 | open Matrix MeasureTheory Measure ENNReal Fintype FloorGroups InnerProductSpace Subgroup |
| 52 | IntegralPlace Place Set PlaceData Size SemilocalField QuotientGroup Finset |
| 53 | |
| 54 | variable {A ι : Type} {𝔰 : Shape} [SemilocalField A] [StarRing A] [P : IntegralPlace A] |
| 55 | [Fintype ι] [DecidableEq ι] {m : ℕ} {T : 𝔰.Form A} [IsHermitianUnit T.splitGram] |
| 56 | |
| 57 | variable {F : PlaceData ι T (m + 1)} {x y : T.G} (Z : F.IntermediateGroup) |
| 58 | |
| 59 | namespace IntegralPlace.IsLargeLatticeData |
| 60 | |
| 61 | private lemma exists_ne_zero_of_formMajorant_ne_zero (Z : F.IntermediateGroup) |
| 62 | {j : ℕ} {p q : ℕ → Aˣ} {x : T.G} (hx : F.formMajorant j p q Z.besselVector x ≠ 0) : |
| 63 | ∃ y ∈ floorGroup 0, |
| 64 | F.pivotL1Norm j (frameCorrelation Z.besselVector 1) y (y * x) * |
| 65 | F.pivotL1Norm j (frameCorrelation Z.besselVector (weylRatio j p q)) |
| 66 | ((weylElem j p)⁻¹ * y) ((weylElem j p)⁻¹ * y * x) ≠ 0 := |
| 67 | exists_ne_zero_of_ae ae_partialGroupMeasure_mem hx |
| 68 | |
| 69 | variable [h : IsLargeLatticeData F] |
| 70 | |
| 71 | /-- Let `F` be a large lattice datum, `R = integers` the ring of integers of `A` and `P.intUnits` |
| 72 | its set of units. The hypothesis `hB` has two parts: `B` is at least `2`, and the non-units of `R` |
| 73 | have volume at most `B⁻¹`. Then the group `K = unitaryLevel integers 1 T.splitGram` of integral |
| 74 | points of the unitary group has measure at least `2⁻¹ ^ 𝔰.n` for the measure `F.groupMeasure`. -/ |
| 75 | theorem inv_two_pow_le_groupMeasure {B : ℝ≥0∞} |
| 76 | (hB : 2 ≤ B ∧ volume ((P.integers : Set A) \ P.intUnits) ≤ B⁻¹) : |
| 77 | 2⁻¹ ^ 𝔰.n ≤ F.groupMeasure (unitaryLevel integers 1 T.splitGram) := by |
| 78 | -- The non-units of `R` have volume at most `B⁻¹ ≤ 2⁻¹` and `R` has volume `1`. |
| 79 | obtain ⟨hB_two, hB_volume⟩ := hB |
| 80 | have h_units : 2⁻¹ ≤ volume P.intUnits := |
| 81 | calc (2⁻¹ : ℝ≥0∞) = 1 - 2⁻¹ := one_sub_inv_two.symm |
| 82 | _ ≤ volume (P.integers : Set A) - volume (P.integers \ P.intUnits) := by |
| 83 | rw [SemilocalField.volume_O] |
| 84 | gcongr |
| 85 | exact hB_volume.trans (ENNReal.inv_le_inv.2 hB_two) |
| 86 | _ ≤ volume (P.integers \ (P.integers \ P.intUnits)) := le_measure_sdiff |
| 87 | _ ≤ volume P.intUnits := measure_mono sdiff_sdiff_le |
| 88 | -- The integral group is the box, of measure at least `volume P.intUnits ^ 𝔰.n`. |
| 89 | grw [h_units, ← h.boxSet_eq] |
| 90 | exact h.le_partialGroupMeasure_boxSet 𝔰.ϱ 0 (zero_add _) |
| 91 | |
| 92 | /-- For a large lattice datum, the set 𝔡_a = `F.stableProducts a x y` (the coordinates at the dual |
| 93 | of e_a of the vectors that are stable, `F.IsStable a`, at the points x and x y) is c R for some unit |
| 94 | c of A, where R = `integers`. -/ |
| 95 | theorem exists_stableProducts_eq_unit_mul_integers (a : Fin 𝔰.ϱ) (x y : T.G) : |
| 96 | ∃ c : Aˣ, F.stableProducts a x y = {t : A | c⁻¹.val * t ∈ integers} := by |
| 97 | -- A stable vector `w` with second lift `w + d` is a point `(w, d)` of the lattice on which `X` |
| 98 | -- is integral. The weight `wt` makes the coordinate of `w` at `e*_a` the leading one: larger |
| 99 | -- weights belong to the `e*_b`, `b < a`, and to the coordinates of `d` off the `e_b`, `b < a`. |
| 100 | let M (z : T.G) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex A := z |
| 101 | let X : Matrix (𝔰.BesselIndex ⊕ 𝔰.BesselIndex) (𝔰.BesselIndex ⊕ 𝔰.BesselIndex) A := |
| 102 | fromBlocks (M x⁻¹) 0 (F.levelUnit⁻¹.val • (M x⁻¹ - M (x * y)⁻¹)) |
| 103 | (-F.levelUnit⁻¹.val • M (x * y)⁻¹) |
| 104 | let wt : 𝔰.BesselIndex ⊕ 𝔰.BesselIndex → ℕ := |
| 105 | BesselIndex.level ⊕ᵥ fun k ↦ if BesselIndex.level k < a then 0 else 2 * 𝔰.ϱ + 1 |
| 106 | have hX : HasLeftInv X := by |
| 107 | refine ⟨fromBlocks (M x) 0 (M (x * y) - M x) (-F.levelUnit.val • M (x * y)), ?_⟩ |
| 108 | simp [X, M, fromBlocks_multiply, smul_smul, mul_sub, sub_mul, mul_assoc] |
| 109 | have h_close (w d : 𝔰.BesselIndex → A) : X *ᵥ (w ⊕ᵥ d) ∈ intVectors P.integers _ ↔ |
| 110 | (M x⁻¹ *ᵥ w, M (x * y)⁻¹ *ᵥ (w + d)) ∈ F.closePairs := by |
| 111 | simp [closePairs_eq, X, fromBlocks_mulVec, smul_mulVec, sub_mulVec, neg_mulVec, mulVec_add, |
| 112 | intVectors, mul_sub, sub_add_eq_sub_sub, ← sub_eq_add_neg] |
| 113 | have h_zero (w d : 𝔰.BesselIndex → A) : |
| 114 | (∀ l : 𝔰.BesselIndex ⊕ 𝔰.BesselIndex, wt (.inl (eStar a)) < wt l → (w ⊕ᵥ d) l = 0) ↔ |
| 115 | IsOrthogonalBelow a w ∧ CongrBelow a w (w + d) := by |
| 116 | simp only [wt, IsOrthogonalBelow, CongrBelow, BesselIndex.level, Sum.forall, Sum.elim_inl, |
| 117 | Sum.elim_inr, Pi.add_apply] |
| 118 | grind |
| 119 | have h_alone : ∀ l : 𝔰.BesselIndex ⊕ 𝔰.BesselIndex, |
| 120 | wt l = wt (.inl (eStar a)) → l = .inl (eStar a) := by |
| 121 | simp only [wt, BesselIndex.level, Sum.forall, Sum.elim_inl, Sum.elim_inr, Sum.inl.injEq] |
| 122 | grind |
| 123 | obtain ⟨c, hc⟩ : ∃ c : Aˣ, ∀ t : A, |
| 124 | (∃ v : 𝔰.BesselIndex ⊕ 𝔰.BesselIndex → A, X *ᵥ v ∈ intVectors P.integers _ ∧ |
| 125 | (∀ l, wt (.inl (eStar a)) < wt l → v l = 0) ∧ |
| 126 | v (.inl (eStar a)) = t) ↔ c⁻¹.val * t ∈ integers := |
| 127 | exists_unit_leadingCoord_iff_mem_integers hX wt (.inl (eStar a)) h_alone |
| 128 | refine ⟨c, Set.ext fun t ↦ Iff.trans ?_ (hc t)⟩ |
| 129 | constructor |
| 130 | · rintro ⟨w, ⟨h_orth, w', h_congr, hw⟩, rfl⟩ |
| 131 | have h_add : w + (w' - w) = w' := add_sub_cancel w w' |
| 132 | refine ⟨w ⊕ᵥ (w' - w), (h_close w (w' - w)).2 ?_, (h_zero w (w' - w)).2 ⟨h_orth, ?_⟩, rfl⟩ |
| 133 | · rwa [h_add] |
| 134 | · rwa [h_add] |
| 135 | · rintro ⟨v, hv_int, hv_zero, rfl⟩ |
| 136 | rw [← Sum.elim_comp_inl_inr v] at hv_int hv_zero |
| 137 | obtain ⟨h_orth, h_congr⟩ : |
| 138 | IsOrthogonalBelow a (v ∘ .inl) ∧ CongrBelow a (v ∘ .inl) (v ∘ .inl + v ∘ .inr) := |
| 139 | (h_zero (v ∘ .inl) (v ∘ .inr)).1 hv_zero |
| 140 | exact ⟨v ∘ .inl, |
| 141 | ⟨h_orth, v ∘ .inl + v ∘ .inr, h_congr, (h_close (v ∘ .inl) (v ∘ .inr)).1 hv_int⟩, rfl⟩ |
| 142 | |
| 143 | /-- For a large lattice datum, let x be near at a + 1. Then the set 𝔡_a = `F.stableProducts a x y`, |
| 144 | the coordinates at the dual of e_a of the vectors that are stable at x and x y, lies in the ring of |
| 145 | integers. -/ |
| 146 | theorem stableProducts_subset {a : Fin 𝔰.ϱ} (h_near : F.IsNear (a + 1) x) : |
| 147 | F.stableProducts a x y ⊆ P.integers := by |
| 148 | -- If `ξ x` is integral, so is `ξ w = (ξ x) (x⁻¹ w)`, which has the same product with `e_a`. |
| 149 | obtain ⟨ξ, hξ, h_box⟩ : ∃ ξ ∈ T.partialUnitriangularGroup (a + 1), ξ * x ∈ F.boxSet := h_near |
| 150 | rintro _ ⟨w, ⟨h_orth, w', -, hw⟩, rfl⟩ |
| 151 | rw [closePairs_eq] at hw |
| 152 | have hw_int : x⁻¹.val.val *ᵥ w ∈ intVectors integers 𝔰.BesselIndex := hw.left |
| 153 | obtain ⟨hξx_int, -⟩ : ξ * x ∈ unitaryLevel integers 1 T.splitGram := boxSet_eq.le h_box |
| 154 | have h_int : (ξ.val.val *ᵥ w) (eStar a) ∈ integers := by |
| 155 | simpa [mul_assoc] using hξx_int.isIntMatrix.mulVec hw_int (eStar a) |
| 156 | rwa [partialUnitriangularGroup_mulVec_eStar hξ a.val.lt_succ_self h_orth] at h_int |
| 157 | |
| 158 | /-- For a large lattice datum and a group Z between the congruence subgroup K(g) and the integral |
| 159 | group K, if the finite Bessel vectors `Z.besselVector` at two points x and z are not orthogonal, |
| 160 | then for each a and each y the set 𝔡_a = `F.stableProducts a x y` contains a unit c of A lying in |
| 161 | the ring `integers`, and has volume at most the modulus of c. -/ |
| 162 | theorem exists_unit_mem_stableProducts (a : Fin 𝔰.ϱ) {z : T.G} (y : T.G) |
| 163 | (h_inner : ⟪Z.besselVector x, Z.besselVector z⟫_ℂ ≠ 0) : |
| 164 | ∃ c : Aˣ, c.val ∈ integers ∧ c.val ∈ F.stableProducts a x y ∧ |
| 165 | volume (F.stableProducts a x y) ≤ P.modulus c := by |
| 166 | obtain ⟨c, hc⟩ : ∃ c : Aˣ, F.stableProducts a x y = {t : A | c⁻¹.val * t ∈ integers} := |
| 167 | exists_stableProducts_eq_unit_mul_integers a x y |
| 168 | obtain ⟨u, hu, v, hv, hux, -⟩ : ∃ u ∈ besselU, ∃ v ∈ besselU, |
| 169 | u * x ∈ unitaryLevel integers 1 T.splitGram ∧ (u * x)⁻¹ * (v * z) ∈ F.congruenceSubgroup := |
| 170 | exists_mem_congruenceSubgroup_of_inner_ne_zero Z h_inner |
| 171 | have h_near : F.IsNear (a + 1) x := ⟨u, mem_partialUnitriangularGroup_of_mem_besselU hu, |
| 172 | boxSet_eq.ge hux⟩ |
| 173 | have hc_mem : c.val ∈ F.stableProducts a x y := hc.ge (by simp) |
| 174 | have h_volume : volume (F.stableProducts a x y) = P.modulus c := by |
| 175 | rw [hc, volume_setOf_mul_mem, modulus_inv, inv_inv] |
| 176 | exact ⟨c, stableProducts_subset h_near hc_mem, hc_mem, h_volume.le⟩ |
| 177 | |
| 178 | /-- Let `F` be a large lattice datum with level unit `F.levelUnit`. Let `Z` be a group between the |
| 179 | congruence subgroup K(g) and the integral group K. Let `Γ` be a gauge, a notion of size together |
| 180 | with a scale. If the finite Bessel vectors `Z.besselVector x` and `Z.besselVector y` are not |
| 181 | orthogonal, there are u, v in the Bessel unipotent group `besselU` with (a) u x and v y in the box |
| 182 | `F.boxSet` of integral points, and (b) `Γ.HasMatrixSize 2` holding for (v y − u |
| 183 | x) / `F.levelUnit`. -/ |
| 184 | theorem exists_mem_boxSet_hasMatrixSize_of_inner_ne_zero {Γ : Gauge F} |
| 185 | (h_inner : ⟪Z.besselVector x, Z.besselVector y⟫_ℂ ≠ 0) : |
| 186 | ∃ u ∈ besselU, ∃ v ∈ besselU, |
| 187 | -- (a) |
| 188 | u * x ∈ F.boxSet ∧ v * y ∈ F.boxSet ∧ |
| 189 | -- (b) |
| 190 | Γ.HasMatrixSize 2 (F.levelUnit⁻¹.val • ((v * y).val.val - (u * x).val.val)) := by |
| 191 | obtain ⟨u, hu, v, hv, hux, h_close⟩ : ∃ u ∈ besselU, ∃ v ∈ besselU, |
| 192 | u * x ∈ unitaryLevel integers 1 T.splitGram ∧ (u * x)⁻¹ * (v * y) ∈ F.congruenceSubgroup := |
| 193 | exists_mem_congruenceSubgroup_of_inner_ne_zero Z h_inner |
| 194 | -- `(v y - u x) / g = u x · ((u x)⁻¹ v y - 1) / g` is a product of integral matrices. |
| 195 | have h_int : IsIntMatrix integers (F.levelUnit⁻¹.val • ((v * y).val.val - (u * x).val.val)) := by |
| 196 | obtain ⟨hux_int, -⟩ := hux |
| 197 | obtain ⟨-, h_congr⟩ := h_close |
| 198 | simpa [mul_sub, mul_assoc, Units.smul_def] using hux_int.isIntMatrix.mul h_congr |
| 199 | have hvy : v * y ∈ unitaryLevel integers 1 T.splitGram := by |
| 200 | simpa [mul_assoc] using mul_mem hux (unitaryLevel_le_unitaryLevel_one h_close) |
| 201 | -- The box is the integral group, and an integral column `ω` has size `1`, as `(ω, ω)` is a |
| 202 | -- close pair. |
| 203 | have h_size (ω : 𝔰.BesselIndex → A) (hω : ω ∈ intVectors P.integers 𝔰.BesselIndex) : |
| 204 | ω ∈ Γ.vecsOfSize 1 := by |
| 205 | have h_pair : (ω, ω) ∈ F.closePairs := closePairs_eq.ge ⟨hω, by simp⟩ |
| 206 | exact (Γ.mem_vecsOfSize_of_mem_closePairs h_pair).1 |
| 207 | exact ⟨u, hu, v, hv, boxSet_eq.ge hux, boxSet_eq.ge hvy, |
| 208 | fun i j ↦ mem_ofSize_mono (h_size _ (fun k ↦ h_int k j) i)⟩ |
| 209 | |
| 210 | /-- Let `F` be a large lattice datum, `Z` a group between the congruence subgroup K(g) and the |
| 211 | integral group K, `j ≤ ϱ`, and let `p`, `q` be sequences of units. If the majorant `F.formMajorant` |
| 212 | of their form of floor `j` (an integral of moduli of orbital integrals of the Bessel vector of `Z`) |
| 213 | is nonzero at a point `x`, then the products `p 0 ⋯ p (l - 1)` and `q 0 ⋯ q (l - 1)`, `l ≤ j`, lie |
| 214 | in the ring `integers`. -/ |
| 215 | theorem prod_mem_of_formMajorant_ne_zero (Z : F.IntermediateGroup) {j : ℕ} |
| 216 | (hj : j ≤ 𝔰.ϱ) {p q : ℕ → Aˣ} {x : T.G} |
| 217 | (hx : F.formMajorant j p q Z.besselVector x ≠ 0) {l : ℕ} (hl : l ≤ j) : |
| 218 | (∏ a ∈ Finset.range l, p a).val ∈ integers ∧ (∏ a ∈ Finset.range l, q a).val ∈ integers := by |
| 219 | -- Where the integrand is not zero, the frames `y`, `y * x` and their translates by the inverses |
| 220 | -- of the Weyl elements of `p` and of `q` respectively are near at `j`. |
| 221 | obtain ⟨y, -, hy⟩ := exists_ne_zero_of_formMajorant_ne_zero Z hx |
| 222 | have cut := isCut_besselVector Z |
| 223 | obtain ⟨h_y, h_yx⟩ : F.IsNear j y ∧ F.IsNear j (y * x) := by |
| 224 | simpa using cut.isNear_pair_of_pivot_ne_zero (d := 1) (by simp) (left_ne_zero_of_mul hy) |
| 225 | (ρ := 1) (one_mem _) |
| 226 | obtain ⟨h_py, h_qyx⟩ : F.IsNear j ((weylElem j p)⁻¹ * y) ∧ |
| 227 | F.IsNear j ((weylElem j q)⁻¹ * (y * x)) := by |
| 228 | simpa [weylRatio, mul_assoc] using cut.isNear_pair_of_pivot_ne_zero |
| 229 | (fun τ hτ ↦ (commute_weylRatio hτ).left_comm _) |
| 230 | (right_ne_zero_of_mul hy) (ρ := 1) (one_mem _) |
| 231 | -- In the gauge of scale `1` every size means integral. |
| 232 | have h_minor {r : ℕ → Aˣ} {z : T.G} (hz : F.IsNear j z) |
| 233 | (hrz : F.IsNear j ((weylElem j r)⁻¹ * z)) : |
| 234 | (∏ a ∈ Finset.range l, r a).val ∈ integers := by |
| 235 | obtain ⟨ξ, hξ⟩ : F.IsNear j z := hz |
| 236 | simpa using head_products_mem_ofSize (h.gauge 1 (one_mem integers) |
| 237 | (star_one A)).hasMatrixSize_boxSet hj hrz |
| 238 | hξ l hl |
| 239 | exact ⟨h_minor h_y h_py, h_minor h_yx h_qyx⟩ |
| 240 | |
| 241 | /-- Let `r` be a sequence of units of `A` all of whose products `r 0 ⋯ r (l - 1)`, `l ≤ j`, are |
| 242 | integral. Then some unit `β` of `A` lying in `integers` is an integral multiple of each of them and |
| 243 | of each `r i`, `i < j`, and the weight `finHeadWeight K j r` equals `√(genIndex β) ^ K`. Here |
| 244 | `genIndex β` is the inverse of the factor by which `β` scales Haar measure, and the weight is the |
| 245 | product of the numbers `√(genIndex (r 0 ⋯ r l)) ^ K` over `l < j`. -/ |
| 246 | theorem exists_unit_multiple_of_prod_mem (j K : ℕ) (r : ℕ → Aˣ) |
| 247 | (h_minor : ∀ l ≤ j, (∏ a ∈ Finset.range l, r a).val ∈ integers) : |
| 248 | ∃ β : Aˣ, β.val ∈ integers ∧ |
| 249 | (∀ l ≤ j, (β / ∏ a ∈ Finset.range l, r a).val ∈ integers) ∧ |
| 250 | (∀ i < j, (β / r i).val ∈ integers) ∧ |
| 251 | finHeadWeight K j r = √(genIndex β.val) ^ K := by |
| 252 | let β : Aˣ := ∏ l ∈ Finset.range (j + 1), ∏ a ∈ Finset.range l, r a |
| 253 | have h_weight : finHeadWeight K j r = √(genIndex β.val) ^ K := by |
| 254 | unfold β |
| 255 | induction j with |
| 256 | | zero => simp [finHeadWeight] |
| 257 | | succ j ih => |
| 258 | have h_last : (∏ a ∈ Finset.range (j + 1), r a).val ∈ integers := h_minor (j + 1) le_rfl |
| 259 | rw [finHeadWeight, prod_range_succ, ← finHeadWeight, |
| 260 | ih fun l hl ↦ h_minor l (hl.trans j.le_succ), prod_range_succ _ (j + 1)] |
| 261 | simp [h_last, ← Units.coe_prod, genIndex_pos, le_of_lt, mul_pow] |
| 262 | have h_int (l : ℕ) (hl : l ∈ Finset.range (j + 1)) : (∏ a ∈ Finset.range l, r a).val ∈ integers := |
| 263 | h_minor l (Nat.lt_succ_iff.1 (Finset.mem_range.1 hl)) |
| 264 | have hβ : β.val ∈ integers := by |
| 265 | rw [Units.coe_prod] |
| 266 | exact prod_mem h_int |
| 267 | have h_div (l : ℕ) (hl : l ≤ j) : (β / ∏ a ∈ Finset.range l, r a).val ∈ integers := by |
| 268 | rw [← prod_erase_eq_div (Finset.mem_range.2 (Nat.lt_succ_iff.2 hl)), Units.coe_prod] |
| 269 | exact prod_mem fun i hi ↦ h_int i (Finset.mem_of_mem_erase hi) |
| 270 | refine ⟨β, hβ, h_div, fun i hi ↦ ?_, h_weight⟩ |
| 271 | have h_quot : β / r i = β / (∏ a ∈ Finset.range (i + 1), r a) * ∏ a ∈ Finset.range i, r a := by |
| 272 | rw [prod_range_succ, div_mul_eq_div_div_swap, div_mul_cancel] |
| 273 | rw [h_quot, Units.val_mul] |
| 274 | exact mul_mem (h_div (i + 1) hi) (h_minor i hi.le) |
| 275 | |
| 276 | /-- Let `g`, `β`, `γ` be units of `A` lying in `integers`, and `α` a unit with `modulus α = modulus |
| 277 | g * (modulus β * modulus γ) ^ 2`. If `4 E ≤ K`, then `(2 / modulus α) ^ E` is at most |
| 278 | `(2 / modulus g) ^ K` times `√(genIndex β) ^ K * √(genIndex γ) ^ K`. -/ |
| 279 | theorem two_div_modulus_pow_le_mul_sqrt_genIndex_pow {α g β γ : Aˣ} (hg : g.val ∈ P.integers) |
| 280 | (hβ : β.val ∈ P.integers) (hγ : γ.val ∈ P.integers) |
| 281 | (h_modulus : P.modulus α = P.modulus g * (P.modulus β * P.modulus γ) ^ 2) {E K : ℕ} |
| 282 | (hE : 4 * E ≤ K) : |
| 283 | (2 / P.modulus α) ^ E ≤ |
| 284 | (2 / P.modulus g) ^ K * ENNReal.ofReal (√(genIndex β.val) ^ K * √(genIndex γ.val) ^ K) := by |
| 285 | let b : ℝ≥0∞ := ENNReal.ofReal √(genIndex β.val) |
| 286 | let c : ℝ≥0∞ := ENNReal.ofReal √(genIndex γ.val) |
| 287 | have hb : (P.modulus β)⁻¹ = b ^ 2 := inv_modulus_eq_sqrt_genIndex_sq β |
| 288 | have hc : (P.modulus γ)⁻¹ = c ^ 2 := inv_modulus_eq_sqrt_genIndex_sq γ |
| 289 | have h_base : 2 / P.modulus α = 2 / P.modulus g * (b * c) ^ 4 := |
| 290 | calc 2 / P.modulus α |
| 291 | _ = 2 / P.modulus g * ((P.modulus β)⁻¹ * (P.modulus γ)⁻¹) ^ 2 := by |
| 292 | simp [h_modulus, div_eq_mul_inv, ENNReal.mul_inv, sq, mul_assoc] |
| 293 | _ = 2 / P.modulus g * (b * c) ^ 4 := by rw [hb, hc, ← mul_pow, ← pow_mul] |
| 294 | -- Compare powers base by base: each base is at least 1, and `4 * E ≤ K`. |
| 295 | have hg_base : 1 ≤ 2 / P.modulus g := one_le_two.trans (two_le_two_div_modulus hg) |
| 296 | have hb_base : 1 ≤ b := by simp [b, one_le_genIndex, hβ] |
| 297 | have hc_base : 1 ≤ c := by simp [c, one_le_genIndex, hγ] |
| 298 | have hE_le : E ≤ K := by lia |
| 299 | calc (2 / P.modulus α) ^ E |
| 300 | _ = (2 / P.modulus g) ^ E * (b * c) ^ (4 * E) := by rw [h_base, mul_pow, ← pow_mul] |
| 301 | _ ≤ (2 / P.modulus g) ^ K * (b * c) ^ K := |
| 302 | mul_le_mul' (pow_le_pow_right₀ hg_base hE_le) |
| 303 | (pow_le_pow_right₀ (one_le_mul hb_base hc_base) hE) |
| 304 | _ = _ := by simp [b, c, mul_pow] |
| 305 | |
| 306 | /-- Let `g`, `β`, `γ` be units of `A` lying in `integers`, with `g` fixed by the involution. Then |
| 307 | there is a unit `α` of `A` lying in `integers` and fixed by the involution, with |
| 308 | `modulus α = modulus g * (modulus β * modulus γ) ^ 2`, such that `α * u⁻¹ ∈ integers` whenever |
| 309 | `u = g` or `u` divides `β` or `γ` in `integers` (meaning `β / u ∈ integers` or |
| 310 | `γ / u ∈ integers`). -/ |
| 311 | private lemma exists_star_eq_scale {g β γ : Aˣ} (hg : g.val ∈ integers) |
| 312 | (hg_star : star g.val = g.val) (hβ : β.val ∈ integers) (hγ : γ.val ∈ integers) : |
| 313 | ∃ α : Aˣ, α.val ∈ integers ∧ star α.val = α.val ∧ |
| 314 | (∀ u : Aˣ, (β / u).val ∈ integers → α.val * u⁻¹.val ∈ integers) ∧ |
| 315 | (∀ u : Aˣ, (γ / u).val ∈ integers → α.val * u⁻¹.val ∈ integers) ∧ |
| 316 | α.val * g⁻¹.val ∈ integers ∧ |
| 317 | P.modulus α = P.modulus g * (P.modulus β * P.modulus γ) ^ 2 := by |
| 318 | have h_star : (star (β * γ)).val ∈ integers := isAdelic.toIsStarStable.star_mem (mul_mem hβ hγ) |
| 319 | let α : Aˣ := g * star (β * γ) * β * γ |
| 320 | have hα_mem : α.val ∈ integers := mul_mem (mul_mem (mul_mem hg h_star) hβ) hγ |
| 321 | have hα_star : star α.val = α.val := by |
| 322 | simp [α, hg_star, mul_comm, mul_left_comm, mul_assoc] |
| 323 | -- A unit that divides `β` or `γ` divides `α`, and so does `g`. |
| 324 | have h_dvd (v w u : Aˣ) (hvw : β * γ = v * w) |
| 325 | (hw : w.val ∈ integers) (hu : (v / u).val ∈ integers) : |
| 326 | α.val * u⁻¹.val ∈ integers := by |
| 327 | have h_quot : α * u⁻¹ = g * star (β * γ) * w * (v / u) := by |
| 328 | rw [show α = g * star (β * γ) * (β * γ) by simp [α, mul_assoc], hvw] |
| 329 | simp [div_eq_mul_inv, mul_assoc, mul_left_comm] |
| 330 | rw [← Units.val_mul, h_quot] |
| 331 | exact mul_mem (mul_mem (mul_mem hg h_star) hw) hu |
| 332 | have h_dvd_left (u : Aˣ) := h_dvd β γ u rfl hγ |
| 333 | have h_dvd_right (u : Aˣ) := h_dvd γ β u (mul_comm β γ) hβ |
| 334 | have h_dvd_g : α.val * g⁻¹.val ∈ integers := by |
| 335 | have h_quot : α * g⁻¹ = star (β * γ) * β * γ := by |
| 336 | rw [mul_comm] |
| 337 | simp only [α, mul_assoc, inv_mul_cancel_left] |
| 338 | rw [← Units.val_mul, h_quot] |
| 339 | exact mul_mem (mul_mem h_star hβ) hγ |
| 340 | -- The involution keeps the modulus. |
| 341 | have h_modulus : P.modulus α = P.modulus g * (P.modulus β * P.modulus γ) ^ 2 := by |
| 342 | simp only [α, Units.val_mul, Units.coe_star, map_mul, modulus_star, sq, mul_assoc] |
| 343 | exact ⟨α, hα_mem, hα_star, h_dvd_left, h_dvd_right, h_dvd_g, h_modulus⟩ |
| 344 | |
| 345 | /-- Let `F` be a large lattice datum with level unit `g = F.levelUnit`, let `Z` be a group between |
| 346 | the congruence subgroup of level `g` and the group of integral points, let `j ≤ 𝔰.ϱ`, and let `p`, |
| 347 | `q` be sequences of units of `A`. Suppose that the majorant `F.formMajorant` of their form of floor |
| 348 | `j`, for the Bessel vector of `Z`, is not zero at some point. Then there is a unit `α` of `A`, lying |
| 349 | in `integers` and fixed by the involution, with the following properties in the gauge `Γ` of scale |
| 350 | `α`. The inverses of the products `p 0 ⋯ p (l - 1)` and `q 0 ⋯ q (l - 1)`, `l ≤ j`, have size 1 |
| 351 | (`Γ.IsHead`); so have `g⁻¹` if `j ≠ 0` and `1 / p i - 1 / q i` for `i < j`; and if `4 E ≤ K`, then |
| 352 | `Γ.loss ^ E` is at most `(2 / modulus g) ^ K` times the weights `New.finHeadWeight K j` of `p` and |
| 353 | `q`. -/ |
| 354 | theorem exists_gauge_of_formMajorant_ne_zero {F : PlaceData ι T (m + 1)} [h : IsLargeLatticeData F] |
| 355 | (Z : F.IntermediateGroup) {j : ℕ} (hj : j ≤ 𝔰.ϱ) (K : ℕ) (p q : ℕ → Aˣ) |
| 356 | (h_ne : ∃ x : T.G, F.formMajorant j p q Z.besselVector x ≠ 0) : |
| 357 | ∃ (α : Aˣ) (hα_mem : α.val ∈ integers) (hα_star : star α.val = α.val), |
| 358 | let Γ : Gauge F := h.gauge α hα_mem hα_star |
| 359 | Γ.IsHead j p ∧ |
| 360 | Γ.IsHead j q ∧ |
| 361 | (j ≠ 0 → F.levelUnit⁻¹.val ∈ Γ.ofSize 1) ∧ |
| 362 | (∀ i : ℕ, i < j → (p i)⁻¹.val - (q i)⁻¹.val ∈ Γ.ofSize 1) ∧ |
| 363 | ∀ E : ℕ, 4 * E ≤ K → |
| 364 | Γ.loss ^ E ≤ |
| 365 | (2 / P.modulus F.levelUnit) ^ K * ENNReal.ofReal |
| 366 | (finHeadWeight K j p * finHeadWeight K j q) := by |
| 367 | -- The leading products of `p` and `q` are integral. With common multiples `β` of those of `p` |
| 368 | -- and `γ` of those of `q`, the scale `α = g * star (β * γ) * β * γ` has all the properties. |
| 369 | have hg : F.levelUnit.val ∈ integers := by |
| 370 | obtain ⟨-, -, hg, -⟩ := h.integral_data |
| 371 | exact hg |
| 372 | obtain ⟨x, hx⟩ : ∃ x : T.G, F.formMajorant j p q Z.besselVector x ≠ 0 := h_ne |
| 373 | have h_minors (l : ℕ) (hl : l ≤ j) : |
| 374 | (∏ a ∈ Finset.range l, p a).val ∈ integers ∧ (∏ a ∈ Finset.range l, q a).val ∈ integers := |
| 375 | prod_mem_of_formMajorant_ne_zero Z hj hx hl |
| 376 | obtain ⟨β, hβ, hβ_minor, hβ_entry, hβ_weight⟩ : ∃ β : Aˣ, β.val ∈ integers ∧ |
| 377 | (∀ l ≤ j, (β / ∏ a ∈ Finset.range l, p a).val ∈ integers) ∧ |
| 378 | (∀ i < j, (β / p i).val ∈ integers) ∧ |
| 379 | finHeadWeight K j p = √(genIndex β.val) ^ K := |
| 380 | exists_unit_multiple_of_prod_mem j K p fun l hl ↦ (h_minors l hl).left |
| 381 | obtain ⟨γ, hγ, hγ_minor, hγ_entry, hγ_weight⟩ : ∃ γ : Aˣ, γ.val ∈ integers ∧ |
| 382 | (∀ l ≤ j, (γ / ∏ a ∈ Finset.range l, q a).val ∈ integers) ∧ |
| 383 | (∀ i < j, (γ / q i).val ∈ integers) ∧ |
| 384 | finHeadWeight K j q = √(genIndex γ.val) ^ K := |
| 385 | exists_unit_multiple_of_prod_mem j K q fun l hl ↦ (h_minors l hl).right |
| 386 | -- Form the scale `α` from `g = F.levelUnit` and the common multiples `β` and `γ`. |
| 387 | obtain ⟨α, hα_mem, hα_star, h_dvd_left, h_dvd_right, h_dvd_g, h_modulus⟩ := |
| 388 | exists_star_eq_scale hg F.star_levelUnit hβ hγ |
| 389 | let Γ : Gauge F := h.gauge α hα_mem hα_star |
| 390 | have h_size (z : A) : z ∈ Γ.ofSize 1 ↔ α.val * z ∈ integers := by simp [Γ] |
| 391 | have h_close (i : ℕ) (hi : i < j) : α.val * ((p i)⁻¹.val - (q i)⁻¹.val) ∈ integers := by |
| 392 | rw [mul_sub] |
| 393 | exact sub_mem (h_dvd_left (p i) (hβ_entry i hi)) (h_dvd_right (q i) (hγ_entry i hi)) |
| 394 | have hp_head : Γ.IsHead j p := fun l hl ↦ (h_size _).2 (h_dvd_left _ (hβ_minor l hl)) |
| 395 | have hq_head : Γ.IsHead j q := fun l hl ↦ (h_size _).2 (h_dvd_right _ (hγ_minor l hl)) |
| 396 | refine ⟨α, hα_mem, hα_star, hp_head, hq_head, fun _ ↦ (h_size _).2 h_dvd_g, |
| 397 | fun i hi ↦ (h_size _).2 (h_close i hi), fun E hE ↦ ?_⟩ |
| 398 | change (2 / P.modulus α) ^ E ≤ _ |
| 399 | rw [hβ_weight, hγ_weight] |
| 400 | exact two_div_modulus_pow_le_mul_sqrt_genIndex_pow hg hβ hγ h_modulus hE |
| 401 | |
| 402 | /-- Let `F` be a large lattice datum with level unit `g`, let `Z` be a group between the congruence |
| 403 | subgroup K(g) = `F.congruenceSubgroup` and the group of integral points, and let `p`, `q` be any two |
| 404 | sequences of units. A point `x` at which the majorant `F.formMajorant` of their form of floor `j`, |
| 405 | for the Bessel vector of `Z`, does not vanish lies in `F.positions`, the set of products of a |
| 406 | conjugate of an element of the Bessel unipotent group `besselU` and an element of K(g). -/ |
| 407 | theorem mem_positions_of_formMajorant_ne_zero {F : PlaceData ι T (m + 1)} {x : T.G} |
| 408 | (Z : F.IntermediateGroup) [h : IsLargeLatticeData F] {j : ℕ} {p q : ℕ → Aˣ} |
| 409 | (hx : F.formMajorant j p q Z.besselVector x ≠ 0) : |
| 410 | x ∈ F.positions := by |
| 411 | -- Some frames `σ * y` and `σ * y * x` pair; by |
| 412 | -- `PlaceData.exists_mem_congruenceSubgroup_of_inner_ne_zero`, `x` is then a conjugate by `σ * y` |
| 413 | -- of an element of `besselU`, times an element of `F.congruenceSubgroup`, which is the form of a |
| 414 | -- position. |
| 415 | obtain ⟨y, -, hy⟩ := exists_ne_zero_of_formMajorant_ne_zero Z hx |
| 416 | obtain ⟨σ, -, h_pair⟩ : |
| 417 | ∃ σ ∈ floorGroup j, ⟪Z.besselVector (σ * y), Z.besselVector (1 * (σ * (y * x)))⟫_ℂ ≠ 0 := |
| 418 | exists_ne_zero_of_pivotL1Norm_ne_zero (left_ne_zero_of_mul hy) |
| 419 | rw [one_mul] at h_pair |
| 420 | obtain ⟨u, hu, v, hv, -, h_lev⟩ : |
| 421 | ∃ u ∈ besselU, ∃ v ∈ besselU, |
| 422 | u * (σ * y) ∈ unitaryLevel integers 1 T.splitGram ∧ |
| 423 | (u * (σ * y))⁻¹ * (v * (σ * (y * x))) ∈ F.congruenceSubgroup := |
| 424 | exists_mem_congruenceSubgroup_of_inner_ne_zero Z h_pair |
| 425 | have h_positions (z : T.G) : z ∈ F.positions ↔ |
| 426 | ∃ a : T.G, (∃ s : T.G, ∃ w ∈ besselU, s⁻¹ * w * s = a) ∧ ∃ k ∈ F.congruenceSubgroup, |
| 427 | a * k = z := by |
| 428 | obtain ⟨-, -, -, -, h_eq⟩ := h.volume_le_and_boxSet_closePairs_positions_eq |
| 429 | rw [h_eq] |
| 430 | exact Set.mem_mul |
| 431 | have h_factor : |
| 432 | (σ * y)⁻¹ * (v⁻¹ * u) * (σ * y) * ((u * (σ * y))⁻¹ * (v * (σ * (y * x)))) = x := by |
| 433 | simp [mul_assoc] |
| 434 | exact (h_positions x).2 ⟨_, ⟨σ * y, v⁻¹ * u, mul_mem (inv_mem hv) hu, rfl⟩, _, h_lev, h_factor⟩ |
| 435 | |
| 436 | /-- Let `d i`, `i < ϱ`, be units of `A` lying in `integers`, and let `σ ≤ 1` satisfy `σ ^ 2 ≤ |d i|` |
| 437 | for `j ≤ i`. Then the `d i` with `j ≤ i` have a common multiple `C` in `integers`, a unit of `A` |
| 438 | fixed by the involution, of modulus at least `σ ^ (4 n)`. -/ |
| 439 | theorem exists_star_eq_common_multiple {j : ℕ} {d : Fin 𝔰.ϱ → Aˣ} |
| 440 | (hd_int : ∀ i : Fin 𝔰.ϱ, (d i).val ∈ P.integers) {σ : ℝ≥0∞} (hσ_le : σ ≤ 1) |
| 441 | (hd_modulus : ∀ i : Fin 𝔰.ϱ, j ≤ i → σ ^ 2 ≤ P.modulus (d i)) : |
| 442 | ∃ C : Aˣ, C.val ∈ P.integers ∧ star C.val = C.val ∧ |
| 443 | (∀ i : Fin 𝔰.ϱ, j ≤ i → (C / d i).val ∈ P.integers) ∧ |
| 444 | σ ^ (4 * 𝔰.n) ≤ P.modulus C := by |
| 445 | have hd_star (i : Fin 𝔰.ϱ) : star (d i).val ∈ P.integers := |
| 446 | isAdelic.toIsStarStable.star_mem (hd_int i) |
| 447 | let C : Aˣ := ∏ i : Fin 𝔰.ϱ with j ≤ i.val, d i * star (d i) |
| 448 | have hC : C.val ∈ P.integers := by simp [C, hd_int, hd_star, prod_mem, mul_mem] |
| 449 | have hC_star : star C.val = C.val := by simp [C, mul_comm] |
| 450 | have hC_div (i : Fin 𝔰.ϱ) (hi : j ≤ i) : (C / d i).val ∈ P.integers := by |
| 451 | have h_quot : C / d i = (∏ k ∈ ({k : Fin 𝔰.ϱ | j ≤ k.val} : Finset (Fin 𝔰.ϱ)).erase i, d k) * |
| 452 | ∏ k : Fin 𝔰.ϱ with j ≤ k.val, star (d k) := by |
| 453 | simp [C, hi, prod_mul_distrib, mul_div_right_comm, prod_erase_eq_div] |
| 454 | simp [h_quot, hd_int, hd_star, prod_mem, mul_mem] |
| 455 | have h_card : 2 * 2 * #{i : Fin 𝔰.ϱ | j ≤ i.val} ≤ 4 * 𝔰.n := by grind [card_finset_fin_le] |
| 456 | refine ⟨C, hC, hC_star, hC_div, ?_⟩ |
| 457 | calc σ ^ (4 * 𝔰.n) |
| 458 | _ ≤ ∏ i : Fin 𝔰.ϱ with j ≤ i.val, (σ ^ 2) ^ 2 := by |
| 459 | simpa [← pow_mul] using pow_le_pow_right_of_le_one' hσ_le h_card |
| 460 | _ ≤ ∏ i : Fin 𝔰.ϱ with j ≤ i.val, P.modulus (d i) ^ 2 := |
| 461 | prod_le_prod fun i hi ↦ pow_le_pow_left' (hd_modulus i (by simpa using hi)) 2 |
| 462 | _ = P.modulus C := by simp [C, sq] |
| 463 | |
| 464 | /-- The moduli of units `c`, `C` can not satisfy all of `σ ^ (4 n) ≤ modulus C`, |
| 465 | `modulus (c⁻¹ C ^ (99 n)) ≤ L ^ (10 n · 99 n)` and `modulus c * L ^ (10 n · 99 n) ≤ σ ^ (400 n²)` |
| 466 | for `σ < 1` and `n = 𝔰.n`: since `4 · 99 < 400`, they would give `X < X` for |
| 467 | `X = modulus (C ^ (99 n))`. -/ |
| 468 | private lemma not_modulus_mul_pow_le_of_lt_one {c C : Aˣ} {σ L : ℝ≥0∞} (hσ_lt : σ < 1) |
| 469 | (hC_md : σ ^ (4 * 𝔰.n) ≤ P.modulus C) |
| 470 | (h_md : P.modulus (c⁻¹ * C ^ (99 * 𝔰.n)).val ≤ L ^ (10 * 𝔰.n * (99 * 𝔰.n))) : |
| 471 | ¬P.modulus c * L ^ (10 * 𝔰.n * (99 * 𝔰.n)) ≤ σ ^ (400 * 𝔰.n ^ 2) := by |
| 472 | intro hσ_bound |
| 473 | let X : ℝ≥0∞ := P.modulus (C ^ (99 * 𝔰.n)).val |
| 474 | have hX_zero : X ≠ 0 := by simp [X] |
| 475 | have hX_top : X ≠ ∞ := by simp [X] |
| 476 | have hX_lt : X < X := |
| 477 | calc X = P.modulus c * P.modulus (c⁻¹ * C ^ (99 * 𝔰.n)).val := by simp [X, ← map_mul] |
| 478 | _ ≤ σ ^ (400 * 𝔰.n ^ 2) := by grw [h_md, hσ_bound] |
| 479 | _ ≤ σ * (σ ^ (4 * 𝔰.n)) ^ (99 * 𝔰.n) := by |
| 480 | simpa only [← pow_mul, ← pow_succ'] using pow_le_pow_right_of_le_one' hσ_lt.le (by lia) |
| 481 | _ ≤ σ * X := by grw [hC_md, ← map_pow, ← C.val_pow_eq_pow_val] |
| 482 | _ < X := by simpa using ENNReal.mul_lt_mul_left hX_zero hX_top hσ_lt |
| 483 | exact hX_lt.false |
| 484 | |
| 485 | /-- Let `F` be a large lattice datum with level unit `g`, let `Z` be a group between the congruence |
| 486 | subgroup of level `g` and the group of integral points, let `n = 𝔰.n`, and let `Γ` be the gauge of |
| 487 | scale `α`, in which size 1 means that `α` times the element lies in `integers` and |
| 488 | `Γ.loss = 2 / modulus α`. Let `c` divide every common denominator in `integers` of the entries of |
| 489 | `(x - 1) / g`, let `σ < 1` satisfy `modulus c * Γ.loss ^ (10 n · 99 n) ≤ σ ^ (400 n²)`, let `p`, `q` |
| 490 | be heads of length `j` for `Γ`, and let `g⁻¹` have size 1 if `j ≠ 0`. Suppose that the Bessel |
| 491 | vectors of `Z` at `y` and `y * x` are not orthogonal and that these two points, moved back by the |
| 492 | Weyl elements `weylElem j p` and `weylElem j q`, are near at `j`. Then for some `i ≥ j` the set |
| 493 | `F.stableProducts i y x`, the coordinates at the dual of e_i of the vectors that are stable at `y` |
| 494 | and `y * x`, has volume at most `σ ^ 2`. -/ |
| 495 | theorem exists_volume_stableProducts_le {F : PlaceData ι T (m + 1)} [h : IsLargeLatticeData F] |
| 496 | {x y : T.G} (Z : F.IntermediateGroup) {j : ℕ} {p q : ℕ → Aˣ} {Γ : Gauge F} |
| 497 | {α : Aˣ} {hα_mem : α.val ∈ integers} {hα_star : star α.val = α.val} |
| 498 | (hΓ : Γ = h.gauge α hα_mem hα_star) (hp_head : Γ.IsHead j p) (hq_head : Γ.IsHead j q) |
| 499 | (hg_size : j ≠ 0 → F.levelUnit⁻¹.val ∈ Γ.ofSize 1) {c : Aˣ} {σ : ℝ≥0∞} (hσ_lt : σ < 1) |
| 500 | (hσ_bound : P.modulus c * Γ.loss ^ (10 * 𝔰.n * (99 * 𝔰.n)) ≤ σ ^ (400 * 𝔰.n ^ 2)) |
| 501 | (h_den : ∀ ε : A, ε ∈ integers → |
| 502 | (∀ i k : 𝔰.BesselIndex, ε * (F.levelUnit⁻¹.val • (x.val.val - 1)) i k ∈ integers) → |
| 503 | c⁻¹.val * ε ∈ integers) |
| 504 | (h_pair : ⟪Z.besselVector y, Z.besselVector (y * x)⟫_ℂ ≠ 0) |
| 505 | (hp_near : F.IsNear j ((weylElem j p)⁻¹ * y)) |
| 506 | (hq_near : F.IsNear j ((weylElem j q)⁻¹ * (y * x))) : |
| 507 | ∃ i : Fin 𝔰.ϱ, j ≤ i ∧ volume (F.stableProducts i y x) ≤ σ ^ 2 := by |
| 508 | by_contra! h_large |
| 509 | -- Each ideal holds a unit `d i` lying in `integers` whose modulus bounds the volume of the ideal. |
| 510 | have h_units (i : Fin 𝔰.ϱ) : ∃ d : Aˣ, d.val ∈ integers ∧ d.val ∈ F.stableProducts i y x ∧ |
| 511 | volume (F.stableProducts i y x) ≤ P.modulus d := |
| 512 | exists_unit_mem_stableProducts Z i x h_pair |
| 513 | choose d hd_int hd_mem hd_vol using h_units |
| 514 | obtain ⟨C, hC, hC_star, hC_div, hC_md⟩ : ∃ C : Aˣ, C.val ∈ P.integers ∧ star C.val = C.val ∧ |
| 515 | (∀ i : Fin 𝔰.ϱ, j ≤ i → (C / d i).val ∈ P.integers) ∧ σ ^ (4 * 𝔰.n) ≤ P.modulus C := |
| 516 | exists_star_eq_common_multiple hd_int hσ_lt.le fun i hi ↦ |
| 517 | (h_large i hi).le.trans (hd_vol i) |
| 518 | -- In the gauge of scale `α ^ (10 * 𝔰.n) * C` every `(d i)⁻¹`, `j ≤ i`, has size 1, so by |
| 519 | -- `Gauge.hasMatrixSize_sub_one_of_stableProducts` the matrix `(x - 1) / g` has size `99 * 𝔰.n`. |
| 520 | have h_scale : (α ^ (10 * 𝔰.n) * C).val ∈ integers := mul_mem (pow_mem hα_mem _) hC |
| 521 | let Γ' : Gauge F := |
| 522 | h.gauge (α ^ (10 * 𝔰.n) * C) h_scale (by simp [hα_star, hC_star]) |
| 523 | have h_subset : Γ.ofSize (10 * 𝔰.n) ⊆ Γ'.ofSize 1 := by |
| 524 | intro b hb |
| 525 | have hb_int : α.val ^ (10 * 𝔰.n) * b ∈ integers := by simpa [hΓ] using hb |
| 526 | simpa [Γ', mul_left_comm C.val, mul_assoc] using mul_mem hC hb_int |
| 527 | have hd_inv (i : Fin 𝔰.ϱ) (hi : j ≤ i) : (d i)⁻¹.val ∈ Γ'.ofSize 1 := by |
| 528 | simpa [Γ', mul_assoc, div_eq_mul_inv] using mul_mem (pow_mem hα_mem _) (hC_div i hi) |
| 529 | have h_size : Γ'.HasMatrixSize (99 * 𝔰.n) (F.levelUnit⁻¹.val • (x.val.val - 1)) := |
| 530 | Γ'.hasMatrixSize_sub_one_of_stableProducts Γ hp_head hq_head hg_size (fun _ ↦ h_subset) |
| 531 | (exists_mem_boxSet_hasMatrixSize_of_inner_ne_zero Z h_pair) hp_near hq_near |
| 532 | fun i hi ↦ ⟨d i, hd_mem i, hd_inv i hi⟩ |
| 533 | -- That power of the scale is then a common denominator, so `c` divides it. |
| 534 | have h_entries (i k : 𝔰.BesselIndex) : |
| 535 | (α ^ (10 * 𝔰.n) * C).val ^ (99 * 𝔰.n) * (F.levelUnit⁻¹.val • (x.val.val - 1)) i k ∈ |
| 536 | integers := |
| 537 | h_size i k |
| 538 | have h_dvd : c⁻¹.val * (α ^ (10 * 𝔰.n) * C).val ^ (99 * 𝔰.n) ∈ integers := |
| 539 | h_den _ (pow_mem h_scale _) h_entries |
| 540 | have h_md : P.modulus (c⁻¹ * C ^ (99 * 𝔰.n)).val ≤ Γ.loss ^ (10 * 𝔰.n * (99 * 𝔰.n)) := by |
| 541 | refine Γ.modulus_le _ _ ?_ |
| 542 | simpa [hΓ, ← pow_mul, mul_left_comm c⁻¹.val, mul_pow] using h_dvd |
| 543 | -- Compare moduli (`not_modulus_mul_pow_le_of_lt_one`). |
| 544 | exact not_modulus_mul_pow_le_of_lt_one hσ_lt hC_md h_md hσ_bound |
| 545 | |
| 546 | end IntegralPlace.IsLargeLatticeData |
| 547 | |
| 548 | end New.Floors |
| 549 | |
| 550 | end |