Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.SymplecticThetaCompletion |
| 3 | import Lean.Util.CollectAxioms |
| 4 | |
| 5 | /-! # Poisson Automorphy Normalization Data -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 12 | section |
| 13 | |
| 14 | /-! Continuous determinant square roots on the full Siegel domain. |
| 15 | The branch is fixed by the principal logarithm at `i I`, then continued |
| 16 | over the convex domain. No theta identity is used in this construction. -/ |
| 17 | |
| 18 | open scoped Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 19 | open _root_.Matrix OAI.AlgebraicGeometry.ComplexMultiplication.SymplecticThetaCompletion.CM |
| 20 | |
| 21 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 22 | |
| 23 | def siegelSet (ι : Type*) [Fintype ι] : Set (Matrix ι ι ℂ) := |
| 24 | {Z | Z.IsSymm ∧ Matrix.PosDef (fun i j => (Z i j).im)} |
| 25 | |
| 26 | abbrev Domain (ι : Type*) [Fintype ι] := ↥(siegelSet ι) |
| 27 | |
| 28 | def toSiegel (Z : Domain ι) : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι := |
| 29 | ⟨Z.val, Z.property.1, Z.property.2⟩ |
| 30 | |
| 31 | def ofSiegel (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : Domain ι := |
| 32 | ⟨Z.matrix, Z.symmetric, Z.imaginary_posDef⟩ |
| 33 | |
| 34 | def basePeriod (ι : Type*) [Fintype ι] [DecidableEq ι] : Domain ι := |
| 35 | ⟨Matrix.diagonal (fun _ => Complex.I), Matrix.isSymm_diagonal _, by |
| 36 | have him : (fun i j : ι => |
| 37 | (Matrix.diagonal (fun _ : ι => Complex.I) i j).im) = |
| 38 | (1 : Matrix ι ι ℝ) := by |
| 39 | ext i j |
| 40 | by_cases h : i = j <;> simp [Matrix.one_apply, h] |
| 41 | rw [him] |
| 42 | exact Matrix.PosDef.one⟩ |
| 43 | |
| 44 | omit [DecidableEq ι] in |
| 45 | theorem siegelSet_convex : Convex ℝ (siegelSet ι) := by |
| 46 | intro X hX Y hY a b ha hb hab |
| 47 | refine ⟨(hX.1.smul a).add (hY.1.smul b), ?_⟩ |
| 48 | have him : |
| 49 | (fun i j => ((a • X + b • Y) i j).im) = |
| 50 | a • (fun i j => (X i j).im) + b • (fun i j => (Y i j).im) := by |
| 51 | ext i j |
| 52 | simp [Complex.real_smul] |
| 53 | rw [him] |
| 54 | rcases eq_or_lt_of_le ha with rfl | ha' |
| 55 | · have hb' : b = 1 := by linarith |
| 56 | simpa [hb'] using hY.2 |
| 57 | · exact (hX.2.smul ha').add_posSemidef (hY.2.posSemidef.smul hb) |
| 58 | |
| 59 | instance domainContractible : ContractibleSpace (Domain ι) := |
| 60 | siegelSet_convex.contractibleSpace ⟨(basePeriod ι).val, (basePeriod ι).property⟩ |
| 61 | |
| 62 | instance domainLocallyPathConnected : LocallyPathConnectedSpace (Domain ι) := by |
| 63 | let : LocallyConvexSpace ℝ (Matrix ι ι ℂ) := |
| 64 | NormedSpace.toLocallyConvexSpace |
| 65 | exact siegelSet_convex.locallyPathConnectedSpace |
| 66 | |
| 67 | def denominatorDet (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : Domain ι) : ℂ := |
| 68 | (g.complexify.denominator Z.val).det |
| 69 | |
| 70 | theorem denominatorDet_ne_zero (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : Domain ι) : |
| 71 | denominatorDet g Z ≠ 0 := |
| 72 | (g.denominator_det_isUnit (toSiegel Z)).ne_zero |
| 73 | |
| 74 | theorem denominatorDet_continuous (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 75 | Continuous (denominatorDet g) := by |
| 76 | unfold denominatorDet AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.denominator |
| 77 | fun_prop |
| 78 | |
| 79 | /-- The logarithm lift is uniquely fixed at the base period. -/ |
| 80 | theorem existsUnique_normalizedLog (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 81 | ∃! L : C(Domain ι, ℂ), |
| 82 | L (basePeriod ι) = Complex.log (denominatorDet g (basePeriod ι)) ∧ |
| 83 | ∀ Z, Complex.exp (L Z) = denominatorDet g Z := by |
| 84 | obtain ⟨L, ⟨hbase, hL⟩, huniq⟩ := |
| 85 | Complex.isCoveringMapOn_exp.existsUnique_continuousMap_lifts |
| 86 | ⟨denominatorDet g, denominatorDet_continuous g⟩ |
| 87 | (Complex.exp_log (denominatorDet_ne_zero g (basePeriod ι))) |
| 88 | (fun Z => by simpa using denominatorDet_ne_zero g Z) |
| 89 | refine ⟨L, ⟨hbase, fun Z => congrFun hL Z⟩, ?_⟩ |
| 90 | intro M hM |
| 91 | exact huniq M ⟨hM.1, funext hM.2⟩ |
| 92 | |
| 93 | def normalizedLog (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : C(Domain ι, ℂ) := |
| 94 | (existsUnique_normalizedLog g).exists.choose |
| 95 | |
| 96 | theorem normalizedLog_base (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 97 | normalizedLog g (basePeriod ι) = |
| 98 | Complex.log (denominatorDet g (basePeriod ι)) := |
| 99 | (existsUnique_normalizedLog g).exists.choose_spec.1 |
| 100 | |
| 101 | theorem exp_normalizedLog (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : Domain ι) : |
| 102 | Complex.exp (normalizedLog g Z) = denominatorDet g Z := |
| 103 | (existsUnique_normalizedLog g).exists.choose_spec.2 Z |
| 104 | |
| 105 | def halfDetDomain (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : Domain ι) : ℂ := |
| 106 | Complex.exp (normalizedLog g Z / 2) |
| 107 | |
| 108 | def halfDet (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : ℂ := |
| 109 | halfDetDomain g (ofSiegel Z) |
| 110 | |
| 111 | theorem halfDetDomain_sq (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : Domain ι) : |
| 112 | halfDetDomain g Z ^ 2 = denominatorDet g Z := by |
| 113 | rw [halfDetDomain, ← Complex.exp_nat_mul] |
| 114 | convert exp_normalizedLog g Z using 1 |
| 115 | congr 1 |
| 116 | ring |
| 117 | |
| 118 | theorem halfDet_sq (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 119 | halfDet g Z ^ 2 = (g.complexify.denominator Z.matrix).det := |
| 120 | halfDetDomain_sq g (ofSiegel Z) |
| 121 | |
| 122 | theorem halfDet_ne_zero (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 123 | halfDet g Z ≠ 0 := Complex.exp_ne_zero _ |
| 124 | |
| 125 | theorem halfDetDomain_continuous (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 126 | Continuous (halfDetDomain g) := by |
| 127 | unfold halfDetDomain |
| 128 | fun_prop |
| 129 | |
| 130 | theorem halfDet_base (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 131 | halfDet g (toSiegel (basePeriod ι)) = |
| 132 | Complex.exp (Complex.log (denominatorDet g (basePeriod ι)) / 2) := by |
| 133 | change Complex.exp (normalizedLog g (basePeriod ι) / 2) = _ |
| 134 | rw [normalizedLog_base] |
| 135 | |
| 136 | theorem halfDet_norm (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 137 | ‖halfDet g Z‖ = Real.sqrt ‖(g.complexify.denominator Z.matrix).det‖ := by |
| 138 | have h : ‖halfDet g Z‖ ^ 2 = ‖(g.complexify.denominator Z.matrix).det‖ := by |
| 139 | rw [← norm_pow, halfDet_sq] |
| 140 | rw [← h, Real.sqrt_sq (norm_nonneg _)] |
| 141 | |
| 142 | theorem halfDetDomain_unique (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (f : C(Domain ι, ℂ)) |
| 143 | (hsq : ∀ Z, f Z ^ 2 = denominatorDet g Z) |
| 144 | (hbase : f (basePeriod ι) = halfDetDomain g (basePeriod ι)) : |
| 145 | ∀ Z, f Z = halfDetDomain g Z := by |
| 146 | obtain ⟨_, _, huniq⟩ := |
| 147 | (isCoveringMapOn_npow (𝕜 := ℂ) 2 (by norm_num)).existsUnique_continuousMap_lifts |
| 148 | ⟨denominatorDet g, denominatorDet_continuous g⟩ |
| 149 | (halfDetDomain_sq g (basePeriod ι)) |
| 150 | (fun Z => by simpa using denominatorDet_ne_zero g Z) |
| 151 | have h₁ := huniq f ⟨hbase, funext hsq⟩ |
| 152 | have h₂ := huniq ⟨halfDetDomain g, halfDetDomain_continuous g⟩ |
| 153 | ⟨rfl, funext (halfDetDomain_sq g)⟩ |
| 154 | intro Z |
| 155 | exact congrArg (fun F : C(Domain ι, ℂ) => F Z) (h₁.trans h₂.symm) |
| 156 | |
| 157 | /-- A total extension used only to express differentiability within the |
| 158 | Siegel domain in the ambient complex matrix space. -/ |
| 159 | def halfDetExtension (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (M : Matrix ι ι ℂ) : ℂ := |
| 160 | if h : M ∈ siegelSet ι then halfDetDomain g ⟨M, h⟩ else 0 |
| 161 | |
| 162 | theorem halfDetExtension_continuousOn (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 163 | ContinuousOn (halfDetExtension g) (siegelSet ι) := by |
| 164 | rw [continuousOn_iff_continuous_domRestrict] |
| 165 | simpa [halfDetExtension, Set.domRestrict_def] using halfDetDomain_continuous g |
| 166 | |
| 167 | theorem halfDetExtension_sq (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) |
| 168 | {M : Matrix ι ι ℂ} (hM : M ∈ siegelSet ι) : |
| 169 | halfDetExtension g M ^ 2 = (g.complexify.denominator M).det := by |
| 170 | simpa [halfDetExtension, hM, denominatorDet] using halfDetDomain_sq g ⟨M, hM⟩ |
| 171 | |
| 172 | /-- Holomorphy follows from the analytic local inverse of squaring at a |
| 173 | nonzero square root. This does not assume a Gaussian integral formula. -/ |
| 174 | theorem halfDetExtension_differentiableOn (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : |
| 175 | DifferentiableOn ℂ (halfDetExtension g) (siegelSet ι) := by |
| 176 | intro M hM |
| 177 | let c := halfDetExtension g M |
| 178 | have hc : c ≠ 0 := by |
| 179 | simp [c, halfDetExtension, hM, halfDetDomain] |
| 180 | have hder : HasStrictDerivAt (fun z : ℂ => z ^ 2) (2 * c) c := by |
| 181 | simpa using hasStrictDerivAt_pow 2 c |
| 182 | have hder0 : 2 * c ≠ 0 := mul_ne_zero (by norm_num) hc |
| 183 | let inv := hder.localInverse _ _ _ hder0 |
| 184 | have hinv : DifferentiableAt ℂ inv (c ^ 2) := |
| 185 | (hder.to_localInverse hder0).hasDerivAt.differentiableAt |
| 186 | have hdet : Differentiable ℂ (fun N : Matrix ι ι ℂ => |
| 187 | (g.complexify.denominator N).det) := by |
| 188 | simp only [Matrix.det_apply', AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.denominator, |
| 189 | Matrix.add_apply, Matrix.mul_apply] |
| 190 | fun_prop |
| 191 | have hs := halfDetExtension_sq g hM |
| 192 | have hcomp : DifferentiableWithinAt ℂ |
| 193 | (fun N => inv ((g.complexify.denominator N).det)) (siegelSet ι) M := by |
| 194 | have hinv' : DifferentiableAt ℂ inv (g.complexify.denominator M).det := by |
| 195 | simpa only [← hs] using hinv |
| 196 | exact hinv'.comp_differentiableWithinAt M (hdet M).differentiableWithinAt |
| 197 | have heq : (fun N => inv ((g.complexify.denominator N).det)) =ᶠ[ |
| 198 | nhdsWithin M (siegelSet ι)] halfDetExtension g := by |
| 199 | have hcont := halfDetExtension_continuousOn g M hM |
| 200 | have hlocal := hder.eventually_left_inverse hder0 |
| 201 | filter_upwards [hcont hlocal, self_mem_nhdsWithin] with N hN hNs |
| 202 | rw [← halfDetExtension_sq g hNs] |
| 203 | exact hN |
| 204 | exact hcomp.congr_of_eventuallyEq_of_mem heq.symm hM |
| 205 | |
| 206 | /-- The unit phase at the base period; the positive modulus is separate. -/ |
| 207 | def basePhase (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : ℂ := |
| 208 | halfDet g (toSiegel (basePeriod ι)) / |
| 209 | (‖halfDet g (toSiegel (basePeriod ι))‖ : ℂ) |
| 210 | |
| 211 | theorem basePhase_norm (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) : ‖basePhase g‖ = 1 := by |
| 212 | rw [basePhase, norm_div, Complex.norm_real, Real.norm_eq_abs, |
| 213 | abs_of_nonneg (norm_nonneg _)] |
| 214 | exact div_self (norm_ne_zero_iff.mpr (halfDet_ne_zero g _)) |
| 215 | |
| 216 | def quadraticFactor (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) |
| 217 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : ℂ := |
| 218 | Complex.exp (g.thetaCorrectionForm Z z z) |
| 219 | |
| 220 | theorem quadraticFactor_zero (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 221 | quadraticFactor g Z 0 = 1 := by simp [quadraticFactor] |
| 222 | |
| 223 | theorem quadraticFactor_ne_zero (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) |
| 224 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : quadraticFactor g Z z ≠ 0 := |
| 225 | Complex.exp_ne_zero _ |
| 226 | |
| 227 | theorem quadraticFactor_formula (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) |
| 228 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : |
| 229 | quadraticFactor g Z z = Complex.exp |
| 230 | ((Real.pi : ℂ) * Complex.I * |
| 231 | (z ⬝ᵥ (((g.complexify.denominator Z.matrix)⁻¹ * g.complexify.C) *ᵥ z))) := by |
| 232 | rw [quadraticFactor, g.thetaCorrectionForm_apply] |
| 233 | |
| 234 | end |
| 235 | |
| 236 | /-! |
| 237 | # PoissonAutomorphy's explicit Schrödinger data |
| 238 | |
| 239 | For ℚ we use the concrete adelic coordinates ℝ × 𝔸_f. Test functions are |
| 240 | finite sums of tensors of actual real Schwartz functions and locally constant |
| 241 | compactly supported finite functions. All operators act on these spaces. |
| 242 | |
| 243 | The hypotheses specify genuine two-fold operator covers, Heisenberg |
| 244 | intertwining, self-dual measure, a rational splitting with its three |
| 245 | Schrödinger generator formulas, and tensor factorization. None mention a |
| 246 | theta functional or a sum over rational points. |
| 247 | |
| 248 | The real cover's scalar normalization is specified by its matrix coefficient |
| 249 | at the standard Gaussian and zero. This is the usual concrete realization of |
| 250 | the two real metaplectic intertwiners above a symplectic matrix. We construct |
| 251 | the choice of its sign from the determinant root, rather than assume a |
| 252 | Gaussian transformation formula. Existence of an independently supplied |
| 253 | Weil representation is a natural input, not an asserted canonical constant. |
| 254 | |
| 255 | LocalWeil's repaired construction uses (position,momentum) coordinates. Here a symplectic matrix |
| 256 | acts on (momentum,position): LocalWeil's lower unipotent becomes our upper |
| 257 | unipotent, and its negative Fourier transform covers our matrix (0,-1;1,0). |
| 258 | The `coordinateSwap_conjugation` lemma below verifies this convention change. |
| 259 | No LocalWeil target or construction is assumed as an established canonical cover. |
| 260 | -/ |
| 261 | |
| 262 | open scoped _root_.Matrix |
| 263 | open _root_.Matrix _root_.MeasureTheory OAI.AlgebraicGeometry.ComplexMultiplication.SymplecticThetaCompletion.CM |
| 264 | |
| 265 | abbrev AQf := IsDedekindDomain.FiniteAdeleRing ℤ ℚ |
| 266 | abbrev AQ := ℝ × AQf |
| 267 | |
| 268 | instance finiteAdeleMeasurableSpace : MeasurableSpace AQf := borel AQf |
| 269 | instance finiteAdeleBorelSpace : BorelSpace AQf := ⟨rfl⟩ |
| 270 | |
| 271 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 272 | |
| 273 | abbrev Sp (ι : Type*) [Fintype ι] [DecidableEq ι] |
| 274 | (K : Type*) [CommRing K] := Matrix.symplecticGroup ι K |
| 275 | |
| 276 | def mapSp {K L : Type*} [CommRing K] [CommRing L] (f : K →+* L) : |
| 277 | Sp ι K →* Sp ι L where |
| 278 | toFun g := ⟨g.val.map f, SymplecticGroup.map_mem g.property f⟩ |
| 279 | map_one' := by apply Subtype.ext; simp |
| 280 | map_mul' g h := by apply Subtype.ext; exact Matrix.map_mul |
| 281 | |
| 282 | def blocks {K : Type*} [CommRing K] (g : Sp ι K) : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι K where |
| 283 | A := g.val.toBlocks₁₁ |
| 284 | B := g.val.toBlocks₁₂ |
| 285 | C := g.val.toBlocks₂₁ |
| 286 | D := g.val.toBlocks₂₂ |
| 287 | symplectic := by simpa only [Matrix.fromBlocks_toBlocks] using g.property |
| 288 | |
| 289 | def realBlocks (γ : Sp ι ℚ) : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ := |
| 290 | blocks (mapSp (algebraMap ℚ ℝ) γ) |
| 291 | |
| 292 | /-- Coordinate change from LocalWeil's (position,momentum) to (momentum,position). |
| 293 | This matrix is used for conjugation, not asserted to be symplectic itself. -/ |
| 294 | def coordinateSwap {K : Type*} [CommRing K] : Matrix (Sum ι ι) (Sum ι ι) K := |
| 295 | Matrix.fromBlocks 0 1 1 0 |
| 296 | |
| 297 | theorem coordinateSwap_conjugation {K : Type*} [CommRing K] |
| 298 | (A B C D : Matrix ι ι K) : |
| 299 | coordinateSwap * Matrix.fromBlocks A B C D * coordinateSwap = |
| 300 | Matrix.fromBlocks D C B A := by |
| 301 | simp [coordinateSwap, Matrix.fromBlocks_multiply] |
| 302 | |
| 303 | /-- LocalWeil's lower quadratic generator becomes the upper Siegel generator. -/ |
| 304 | theorem e23_quadratic_coordinates {K : Type*} [CommRing K] |
| 305 | (B : Matrix ι ι K) : |
| 306 | coordinateSwap * Matrix.fromBlocks 1 0 B 1 * coordinateSwap = |
| 307 | Matrix.fromBlocks 1 B 0 1 := coordinateSwap_conjugation 1 0 B 1 |
| 308 | |
| 309 | /-- Both results use a negative Fourier kernel; only the coordinate order changes. -/ |
| 310 | theorem e23_fourier_coordinates {K : Type*} [CommRing K] : |
| 311 | (coordinateSwap : Matrix (Sum ι ι) (Sum ι ι) K) * |
| 312 | Matrix.fromBlocks 0 1 (-1) 0 * coordinateSwap = |
| 313 | Matrix.fromBlocks 0 (-1) 1 0 := coordinateSwap_conjugation 0 1 (-1) 0 |
| 314 | |
| 315 | def finiteSchwartz (ι : Type*) [Fintype ι] : |
| 316 | Submodule ℂ ((ι → AQf) → ℂ) := |
| 317 | Submodule.span ℂ {f | IsLocallyConstant f ∧ HasCompactSupport f} |
| 318 | |
| 319 | def realSchwartz (ι : Type*) [Fintype ι] : |
| 320 | Submodule ℂ ((ι → ℝ) → ℂ) := |
| 321 | Submodule.span ℂ {f | ∃ φ : SchwartzMap (ι → ℝ) ℂ, f = φ} |
| 322 | |
| 323 | def pureTensor (f : realSchwartz ι) (φ : finiteSchwartz ι) |
| 324 | (x : ι → AQ) : ℂ := f.val (fun i => (x i).1) * φ.val (fun i => (x i).2) |
| 325 | |
| 326 | def adelicSchwartz (ι : Type*) [Fintype ι] : |
| 327 | Submodule ℂ ((ι → AQ) → ℂ) := |
| 328 | Submodule.span ℂ {F | ∃ f : realSchwartz ι, ∃ φ : finiteSchwartz ι, |
| 329 | F = pureTensor f φ} |
| 330 | |
| 331 | def tensor (f : realSchwartz ι) (φ : finiteSchwartz ι) : adelicSchwartz ι := |
| 332 | ⟨pureTensor f φ, Submodule.subset_span ⟨f, φ, rfl⟩⟩ |
| 333 | |
| 334 | def standardRealCharacter : AddChar ℝ ℂ := |
| 335 | Circle.coeHom.compAddChar Real.fourierChar |
| 336 | |
| 337 | theorem standardRealCharacter_apply (t : ℝ) : |
| 338 | standardRealCharacter t = |
| 339 | Complex.exp (((2 * Real.pi * t : ℝ) : ℂ) * Complex.I) := rfl |
| 340 | |
| 341 | theorem standardRealCharacter_unitary (t : ℝ) : |
| 342 | ‖standardRealCharacter t‖ = 1 := Circle.norm_coe (Real.fourierChar t) |
| 343 | |
| 344 | def fourier {K : Type*} [CommRing K] [MeasurableSpace K] |
| 345 | (ψ : AddChar K ℂ) (μ : Measure (ι → K)) |
| 346 | (f : (ι → K) → ℂ) (x : ι → K) : ℂ := |
| 347 | ∫ y, f y * ψ (-(∑ i, x i * y i)) ∂μ |
| 348 | |
| 349 | def heisenberg {K : Type*} [CommRing K] [Algebra ℚ K] |
| 350 | (ψ : AddChar K ℂ) (p q : ι → K) (f : (ι → K) → ℂ) |
| 351 | (x : ι → K) : ℂ := |
| 352 | ψ (∑ i, p i * (x i - algebraMap ℚ K (1 / 2) * q i)) * |
| 353 | f (fun i => x i - q i) |
| 354 | |
| 355 | /-- Covariance for actual Heisenberg translates that lie in the test space. |
| 356 | The condition is pointwise and contains no rational summation operation. -/ |
| 357 | def IntertwinesHeisenberg {K : Type*} [CommRing K] [Algebra ℚ K] |
| 358 | (ψ : AddChar K ℂ) (S : Submodule ℂ ((ι → K) → ℂ)) |
| 359 | (g : Sp ι K) (T : S ≃ₗ[ℂ] S) : Prop := |
| 360 | ∀ (p q : ι → K) (f h : S), |
| 361 | (∀ x, h.val x = heisenberg ψ p q f.val x) → |
| 362 | ∀ x, (T h).val x = |
| 363 | heisenberg ψ |
| 364 | (fun i => (g.val *ᵥ Sum.elim p q) (Sum.inl i)) |
| 365 | (fun i => (g.val *ᵥ Sum.elim p q) (Sum.inr i)) (T f).val x |
| 366 | |
| 367 | /-- A genuine two-fold cover realized by unitary Schrödinger intertwiners. -/ |
| 368 | structure SchrodingerCover (K : Type*) [CommRing K] [Algebra ℚ K] |
| 369 | [MeasurableSpace K] (ψ : AddChar K ℂ) (μ : Measure (ι → K)) |
| 370 | (S : Submodule ℂ ((ι → K) → ℂ)) (Mp : Type*) [Group Mp] where |
| 371 | project : Mp →* Sp ι K |
| 372 | action : Mp →* (S ≃ₗ[ℂ] S) |
| 373 | surjective : Function.Surjective project |
| 374 | negOne : Mp |
| 375 | negOne_ne_one : negOne ≠ 1 |
| 376 | project_negOne : project negOne = 1 |
| 377 | kernel : ∀ m, project m = 1 ↔ m = 1 ∨ m = negOne |
| 378 | genuine : ∀ f : S, action negOne f = -f |
| 379 | faithful : Function.Injective (fun m => (project m, action m)) |
| 380 | intertwines : ∀ m, IntertwinesHeisenberg ψ S (project m) (action m) |
| 381 | unitary : ∀ (m : Mp) (f h : S), |
| 382 | (∫ x, (action m f).val x * star ((action m h).val x) ∂μ) = |
| 383 | ∫ x, f.val x * star (h.val x) ∂μ |
| 384 | |
| 385 | def adelicMeasure (μ : Measure (ι → AQf)) : Measure (ι → AQ) := |
| 386 | Measure.map (fun x : (ι → ℝ) × (ι → AQf) => fun i => (x.1 i, x.2 i)) |
| 387 | (volume.prod μ) |
| 388 | |
| 389 | structure WeilData (ι : Type*) [Fintype ι] [DecidableEq ι] |
| 390 | (MpR MpF MpA : Type*) [Group MpR] [Group MpF] [Group MpA] where |
| 391 | character : AddChar AQ ℂ |
| 392 | character_continuous : Continuous character |
| 393 | character_unitary : ∀ x, ‖character x‖ = 1 |
| 394 | character_rational : ∀ q : ℚ, character (algebraMap ℚ AQ q) = 1 |
| 395 | character_real : ∀ t : ℝ, character (t, 0) = standardRealCharacter t |
| 396 | finiteCharacter : AddChar AQf ℂ |
| 397 | finiteCharacter_eq : ∀ t, finiteCharacter t = character (0, t) |
| 398 | finiteMeasure : Measure (ι → AQf) |
| 399 | finiteMeasure_haar : finiteMeasure.IsAddHaarMeasure |
| 400 | finiteMeasure_selfDual : ∀ (φ : finiteSchwartz ι) x, |
| 401 | fourier finiteCharacter finiteMeasure |
| 402 | (fourier finiteCharacter finiteMeasure φ.val) x = φ.val (-x) |
| 403 | real : SchrodingerCover ℝ standardRealCharacter volume (realSchwartz ι) MpR |
| 404 | finite : SchrodingerCover AQf finiteCharacter finiteMeasure (finiteSchwartz ι) MpF |
| 405 | adelic : SchrodingerCover AQ character (adelicMeasure finiteMeasure) |
| 406 | (adelicSchwartz ι) MpA |
| 407 | includeReal : MpR →* MpA |
| 408 | includeFinite : MpF →* MpA |
| 409 | commute : ∀ r f, Commute (includeReal r) (includeFinite f) |
| 410 | factorization : ∀ (r : MpR) (f : MpF) (h : realSchwartz ι) (φ : finiteSchwartz ι), |
| 411 | adelic.action (includeReal r * includeFinite f) (tensor h φ) = |
| 412 | tensor (real.action r h) (finite.action f φ) |
| 413 | includeReal_covers : ∀ r, |
| 414 | (adelic.project (includeReal r)).val = fun i j => |
| 415 | ((real.project r).val i j, |
| 416 | (1 : Matrix (Sum ι ι) (Sum ι ι) AQf) i j) |
| 417 | includeFinite_covers : ∀ f, |
| 418 | (adelic.project (includeFinite f)).val = fun i j => |
| 419 | ((1 : Matrix (Sum ι ι) (Sum ι ι) ℝ) i j, |
| 420 | (finite.project f).val i j) |
| 421 | centralProduct_kernel : ∀ r f, |
| 422 | includeReal r * includeFinite f = 1 ↔ |
| 423 | (r = 1 ∧ f = 1) ∨ (r = real.negOne ∧ f = finite.negOne) |
| 424 | -- Exactness of the real/finite central-product presentation. |
| 425 | decompose : ∀ (a : MpA) (r : MpR), |
| 426 | mapSp (RingHom.fst ℝ AQf) (adelic.project a) = real.project r → |
| 427 | ∃ f : MpF, includeReal r * includeFinite f = a |
| 428 | rationalSplit : Sp ι ℚ →* MpA |
| 429 | rationalSplit_covers : ∀ γ, |
| 430 | adelic.project (rationalSplit γ) = mapSp (algebraMap ℚ AQ) γ |
| 431 | -- The global generator laws fix the rational splitting's scalar. |
| 432 | rational_linear : ∀ (γ : Sp ι ℚ) (A : (Matrix ι ι ℚ)ˣ), |
| 433 | γ.val = Matrix.fromBlocks A.val 0 0 (A⁻¹).val.transpose → |
| 434 | ∀ (f : adelicSchwartz ι) x, |
| 435 | (adelic.action (rationalSplit γ) f).val x = |
| 436 | f.val ((A.val.transpose.map (algebraMap ℚ AQ)) *ᵥ x) |
| 437 | rational_quadratic : ∀ (γ : Sp ι ℚ) (B : Matrix ι ι ℚ), |
| 438 | B.IsSymm → γ.val = Matrix.fromBlocks 1 B 0 1 → |
| 439 | ∀ (f : adelicSchwartz ι) x, |
| 440 | (adelic.action (rationalSplit γ) f).val x = |
| 441 | character (algebraMap ℚ AQ (1 / 2) * |
| 442 | (x ⬝ᵥ (B.map (algebraMap ℚ AQ) *ᵥ x))) * f.val x |
| 443 | rational_fourier : ∀ γ : Sp ι ℚ, |
| 444 | γ.val = Matrix.fromBlocks 0 (-1) 1 0 → |
| 445 | ∀ (f : adelicSchwartz ι) x, |
| 446 | (adelic.action (rationalSplit γ) f).val x = |
| 447 | fourier character (adelicMeasure finiteMeasure) f.val x |
| 448 | vacuum : realSchwartz ι |
| 449 | vacuum_eq : ∀ x, vacuum.val x = |
| 450 | Complex.exp (-((Real.pi : ℂ) * ∑ i, (x i : ℂ) ^ 2)) |
| 451 | real_normalization : ∀ r : MpR, |
| 452 | ((real.action r vacuum).val 0) ^ 2 = |
| 453 | (denominatorDet (blocks (real.project r)) (basePeriod ι))⁻¹ |
| 454 | |
| 455 | namespace WeilData |
| 456 | |
| 457 | variable {MpR MpF MpA : Type*} [Group MpR] [Group MpF] [Group MpA] |
| 458 | (D : WeilData ι MpR MpF MpA) |
| 459 | |
| 460 | def rationalAction : Sp ι ℚ →* |
| 461 | (adelicSchwartz ι ≃ₗ[ℂ] adelicSchwartz ι) := |
| 462 | D.adelic.action.comp D.rationalSplit |
| 463 | |
| 464 | /-- The real sign is chosen by the previously constructed branch at `i I`. |
| 465 | Only a single vacuum matrix coefficient is used, not a theta identity. -/ |
| 466 | theorem exists_normalizedRealLift (γ : Sp ι ℚ) : |
| 467 | ∃ r : MpR, D.real.project r = mapSp (algebraMap ℚ ℝ) γ ∧ |
| 468 | (D.real.action r D.vacuum).val 0 = |
| 469 | (halfDet (realBlocks γ) (toSiegel (basePeriod ι)))⁻¹ := by |
| 470 | obtain ⟨r, hr⟩ := D.real.surjective (mapSp (algebraMap ℚ ℝ) γ) |
| 471 | have hs : ((D.real.action r D.vacuum).val 0) ^ 2 = |
| 472 | ((halfDet (realBlocks γ) (toSiegel (basePeriod ι)))⁻¹) ^ 2 := by |
| 473 | rw [D.real_normalization, hr, inv_pow, halfDet_sq] |
| 474 | rfl |
| 475 | rcases sq_eq_sq_iff_eq_or_eq_neg.mp hs with h | h |
| 476 | · exact ⟨r, hr, h⟩ |
| 477 | · refine ⟨D.real.negOne * r, ?_, ?_⟩ |
| 478 | · rw [map_mul, D.real.project_negOne, one_mul, hr] |
| 479 | · rw [map_mul] |
| 480 | change (D.real.action D.real.negOne (D.real.action r D.vacuum)).val 0 = _ |
| 481 | rw [D.real.genuine] |
| 482 | change -((D.real.action r D.vacuum).val 0) = _ |
| 483 | rw [h, neg_neg] |
| 484 | |
| 485 | def normalizedRealLift (γ : Sp ι ℚ) : MpR := |
| 486 | (D.exists_normalizedRealLift γ).choose |
| 487 | |
| 488 | theorem normalizedRealLift_covers (γ : Sp ι ℚ) : |
| 489 | D.real.project (D.normalizedRealLift γ) = mapSp (algebraMap ℚ ℝ) γ := |
| 490 | (D.exists_normalizedRealLift γ).choose_spec.1 |
| 491 | |
| 492 | theorem normalizedRealLift_coefficient (γ : Sp ι ℚ) : |
| 493 | (D.real.action (D.normalizedRealLift γ) D.vacuum).val 0 = |
| 494 | (halfDet (realBlocks γ) (toSiegel (basePeriod ι)))⁻¹ := |
| 495 | (D.exists_normalizedRealLift γ).choose_spec.2 |
| 496 | |
| 497 | theorem normalizedRealLift_unique (γ : Sp ι ℚ) (r : MpR) |
| 498 | (hr : D.real.project r = mapSp (algebraMap ℚ ℝ) γ) |
| 499 | (hcoef : (D.real.action r D.vacuum).val 0 = |
| 500 | (halfDet (realBlocks γ) (toSiegel (basePeriod ι)))⁻¹) : |
| 501 | r = D.normalizedRealLift γ := by |
| 502 | have hker : D.real.project (r * (D.normalizedRealLift γ)⁻¹) = 1 := by |
| 503 | rw [map_mul, map_inv, hr, D.normalizedRealLift_covers, mul_inv_cancel] |
| 504 | rcases (D.real.kernel _).mp hker with h | h |
| 505 | · exact mul_inv_eq_one.mp h |
| 506 | · have hrel : r = D.real.negOne * D.normalizedRealLift γ := |
| 507 | mul_inv_eq_iff_eq_mul.mp h |
| 508 | rw [hrel, map_mul] at hcoef |
| 509 | change (D.real.action D.real.negOne |
| 510 | (D.real.action (D.normalizedRealLift γ) D.vacuum)).val 0 = _ at hcoef |
| 511 | rw [D.real.genuine] at hcoef |
| 512 | change -((D.real.action (D.normalizedRealLift γ) D.vacuum).val 0) = _ at hcoef |
| 513 | rw [D.normalizedRealLift_coefficient] at hcoef |
| 514 | have hz : (2 : ℂ) * |
| 515 | (halfDet (realBlocks γ) (toSiegel (basePeriod ι)))⁻¹ = 0 := by |
| 516 | linear_combination -hcoef |
| 517 | exact (mul_ne_zero (by norm_num) |
| 518 | (inv_ne_zero (halfDet_ne_zero _ _)) hz).elim |
| 519 | |
| 520 | theorem rationalSplit_realProjection (γ : Sp ι ℚ) : |
| 521 | mapSp (RingHom.fst ℝ AQf) (D.adelic.project (D.rationalSplit γ)) = |
| 522 | mapSp (algebraMap ℚ ℝ) γ := by |
| 523 | rw [D.rationalSplit_covers] |
| 524 | apply Subtype.ext |
| 525 | ext i j |
| 526 | rfl |
| 527 | |
| 528 | theorem exists_finiteLift (γ : Sp ι ℚ) : |
| 529 | ∃ f : MpF, |
| 530 | D.includeReal (D.normalizedRealLift γ) * D.includeFinite f = |
| 531 | D.rationalSplit γ := by |
| 532 | apply D.decompose |
| 533 | rw [D.rationalSplit_realProjection, D.normalizedRealLift_covers] |
| 534 | |
| 535 | def finiteLift (γ : Sp ι ℚ) : MpF := (D.exists_finiteLift γ).choose |
| 536 | |
| 537 | theorem finiteLift_factorization (γ : Sp ι ℚ) : |
| 538 | D.includeReal (D.normalizedRealLift γ) * D.includeFinite (D.finiteLift γ) = |
| 539 | D.rationalSplit γ := |
| 540 | (D.exists_finiteLift γ).choose_spec |
| 541 | |
| 542 | def finiteAction (γ : Sp ι ℚ) : finiteSchwartz ι ≃ₗ[ℂ] finiteSchwartz ι := |
| 543 | D.finite.action (D.finiteLift γ) |
| 544 | |
| 545 | theorem rationalAction_tensor (γ : Sp ι ℚ) |
| 546 | (f : realSchwartz ι) (φ : finiteSchwartz ι) : |
| 547 | D.rationalAction γ (tensor f φ) = |
| 548 | tensor (D.real.action (D.normalizedRealLift γ) f) (D.finiteAction γ φ) := by |
| 549 | change D.adelic.action (D.rationalSplit γ) (tensor f φ) = _ |
| 550 | rw [← D.finiteLift_factorization γ] |
| 551 | exact D.factorization _ _ f φ |
| 552 | |
| 553 | theorem includeFinite_injective : Function.Injective D.includeFinite := by |
| 554 | intro f h heq |
| 555 | have hker : D.includeReal 1 * D.includeFinite (f⁻¹ * h) = 1 := by |
| 556 | simp [map_mul, heq] |
| 557 | rcases (D.centralProduct_kernel 1 (f⁻¹ * h)).mp hker with h | h |
| 558 | · exact inv_mul_eq_one.mp h.2 |
| 559 | · exact (D.real.negOne_ne_one h.1.symm).elim |
| 560 | |
| 561 | theorem finiteLift_unique (γ : Sp ι ℚ) (f : MpF) |
| 562 | (hf : D.includeReal (D.normalizedRealLift γ) * D.includeFinite f = |
| 563 | D.rationalSplit γ) : f = D.finiteLift γ := by |
| 564 | apply D.includeFinite_injective |
| 565 | exact mul_left_cancel (hf.trans (D.finiteLift_factorization γ).symm) |
| 566 | |
| 567 | theorem finiteLift_covers (γ : Sp ι ℚ) : |
| 568 | D.finite.project (D.finiteLift γ) = mapSp (algebraMap ℚ AQf) γ := by |
| 569 | have h := congrArg |
| 570 | (fun a => mapSp (RingHom.snd ℝ AQf) (D.adelic.project a)) |
| 571 | (D.finiteLift_factorization γ) |
| 572 | have hR : mapSp (RingHom.snd ℝ AQf) |
| 573 | (D.adelic.project (D.includeReal (D.normalizedRealLift γ))) = 1 := by |
| 574 | apply Subtype.ext |
| 575 | change (D.adelic.project (D.includeReal (D.normalizedRealLift γ))).val.map |
| 576 | (RingHom.snd ℝ AQf) = 1 |
| 577 | rw [D.includeReal_covers] |
| 578 | rfl |
| 579 | have hF : mapSp (RingHom.snd ℝ AQf) |
| 580 | (D.adelic.project (D.includeFinite (D.finiteLift γ))) = |
| 581 | D.finite.project (D.finiteLift γ) := by |
| 582 | apply Subtype.ext |
| 583 | change (D.adelic.project (D.includeFinite (D.finiteLift γ))).val.map |
| 584 | (RingHom.snd ℝ AQf) = _ |
| 585 | rw [D.includeFinite_covers] |
| 586 | rfl |
| 587 | have hQ : mapSp (RingHom.snd ℝ AQf) |
| 588 | (D.adelic.project (D.rationalSplit γ)) = mapSp (algebraMap ℚ AQf) γ := by |
| 589 | rw [D.rationalSplit_covers] |
| 590 | apply Subtype.ext |
| 591 | ext i j |
| 592 | rfl |
| 593 | simpa only [map_mul, hR, hF, one_mul, hQ] using h |
| 594 | |
| 595 | end WeilData |
| 596 | |
| 597 | def diagonal (x : ι → ℚ) : ι → AQ := fun i => algebraMap ℚ AQ (x i) |
| 598 | def finiteDiagonal (x : ι → ℚ) : ι → AQf := fun i => algebraMap ℚ AQf (x i) |
| 599 | |
| 600 | def thetaFunctional (f : adelicSchwartz ι) : ℂ := |
| 601 | ∑' x : ι → ℚ, f.val (PoissonAutomorphyNormalizationData.diagonal x) |
| 602 | |
| 603 | def thetaTerm (φ : finiteSchwartz ι) |
| 604 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) (x : ι → ℚ) : ℂ := |
| 605 | φ.val (finiteDiagonal x) * Complex.exp |
| 606 | ((Real.pi : ℂ) * Complex.I * |
| 607 | AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm Z.matrix (fun i => (x i : ℝ)) (fun i => (x i : ℝ)) + |
| 608 | (2 * (Real.pi : ℂ) * Complex.I) * ∑ i, (x i : ℂ) * z i) |
| 609 | |
| 610 | def theta (φ : finiteSchwartz ι) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : ℂ := |
| 611 | ∑' x : ι → ℚ, thetaTerm φ Z z x |
| 612 | |
| 613 | end RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 614 | |
| 615 | namespace RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction |
| 616 | open OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 617 | section |
| 618 | |
| 619 | /-! Concrete properties of the test spaces used by PoissonAutomorphy. -/ |
| 620 | |
| 621 | variable {ι : Type*} [Fintype ι] |
| 622 | |
| 623 | theorem finiteSchwartz_mem_iff (f : (ι → AQf) → ℂ) : |
| 624 | f ∈ finiteSchwartz ι ↔ IsLocallyConstant f ∧ HasCompactSupport f := by |
| 625 | constructor |
| 626 | · intro hf |
| 627 | induction hf using Submodule.span_induction with |
| 628 | | mem f hf => exact hf |
| 629 | | zero => exact ⟨IsLocallyConstant.const 0, HasCompactSupport.zero⟩ |
| 630 | | add f g _ _ hf hg => exact ⟨hf.1.add hg.1, hf.2.add hg.2⟩ |
| 631 | | smul c f _ hf => |
| 632 | exact ⟨hf.1.comp (fun z : ℂ => c * z), hf.2.smul_left⟩ |
| 633 | · intro hf |
| 634 | exact Submodule.subset_span hf |
| 635 | |
| 636 | theorem realSchwartz_mem_iff (f : (ι → ℝ) → ℂ) : |
| 637 | f ∈ realSchwartz ι ↔ ∃ φ : SchwartzMap (ι → ℝ) ℂ, f = φ := by |
| 638 | constructor |
| 639 | · intro hf |
| 640 | induction hf using Submodule.span_induction with |
| 641 | | mem f hf => exact hf |
| 642 | | zero => exact ⟨0, rfl⟩ |
| 643 | | add f g _ _ hf hg => |
| 644 | obtain ⟨φ, rfl⟩ := hf |
| 645 | obtain ⟨ψ, rfl⟩ := hg |
| 646 | exact ⟨φ + ψ, rfl⟩ |
| 647 | | smul c f _ hf => |
| 648 | obtain ⟨φ, rfl⟩ := hf |
| 649 | exact ⟨c • φ, rfl⟩ |
| 650 | · intro hf |
| 651 | exact Submodule.subset_span hf |
| 652 | |
| 653 | theorem finiteSchwartz_continuous (φ : finiteSchwartz ι) : Continuous φ.val := |
| 654 | ((finiteSchwartz_mem_iff φ.val).mp φ.property).1.continuous |
| 655 | |
| 656 | theorem finiteSchwartz_hasCompactSupport (φ : finiteSchwartz ι) : |
| 657 | HasCompactSupport φ.val := |
| 658 | ((finiteSchwartz_mem_iff φ.val).mp φ.property).2 |
| 659 | |
| 660 | theorem finiteSchwartz_bounded (φ : finiteSchwartz ι) : |
| 661 | ∃ C : ℝ, ∀ x, ‖φ.val x‖ ≤ C := |
| 662 | (finiteSchwartz_hasCompactSupport φ).exists_bound_of_continuous |
| 663 | (finiteSchwartz_continuous φ) |
| 664 | |
| 665 | end |
| 666 | |
| 667 | section |
| 668 | |
| 669 | /-! Absolute convergence of Schwartz restrictions to discrete lattices. -/ |
| 670 | |
| 671 | open scoped Classical |
| 672 | open Filter OAI.AlgebraicGeometry.ComplexMultiplication.SymplecticThetaCompletion.CM |
| 673 | |
| 674 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 675 | [FiniteDimensional ℝ V] |
| 676 | |
| 677 | theorem schwartz_lattice_summable (L : Submodule ℤ V) [DiscreteTopology L] |
| 678 | (f : SchwartzMap V ℂ) : Summable (fun x : L => ‖f x.val‖) := by |
| 679 | have hclosed : IsClosed (L : Set V) := |
| 680 | @AddSubgroup.isClosed_of_discreteTopology _ _ _ _ _ L.toAddSubgroup |
| 681 | (inferInstanceAs (DiscreteTopology L)) |
| 682 | have hproper : Tendsto (Subtype.val : L → V) cofinite (cocompact V) := |
| 683 | hclosed.tendsto_coe_cofinite_of_isDiscrete DiscreteTopology.isDiscrete |
| 684 | let r : ℝ := -(Module.finrank ℤ L : ℝ) - 1 |
| 685 | have hr : r < -(Module.finrank ℤ L : ℝ) := by dsimp [r]; linarith |
| 686 | exact summable_of_isBigO (ZLattice.summable_norm_rpow L r hr) |
| 687 | ((f.isBigO_cocompact_rpow r).norm_left.comp_tendsto hproper) |
| 688 | |
| 689 | variable {ι : Type*} [Fintype ι] |
| 690 | |
| 691 | def rationalReal (x : ι → ℚ) : ι → ℝ := fun i => (x i : ℝ) |
| 692 | |
| 693 | omit [Fintype ι] in |
| 694 | theorem rationalReal_injective : Function.Injective (rationalReal (ι := ι)) := by |
| 695 | intro x y h |
| 696 | funext i |
| 697 | have hi : (x i : ℝ) = (y i : ℝ) := congrFun h i |
| 698 | exact_mod_cast hi |
| 699 | |
| 700 | def scaleMap (n : ℤ) : (ι → ℝ) →L[ℝ] (ι → ℝ) := |
| 701 | (n : ℝ) • ContinuousLinearMap.id ℝ (ι → ℝ) |
| 702 | |
| 703 | def scaledLattice (n : ℤ) : Submodule ℤ (ι → ℝ) := |
| 704 | ZLattice.comap ℝ (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) (scaleMap (ι := ι) n).toLinearMap |
| 705 | |
| 706 | theorem scaledLattice_discrete (n : ℤ) (hn : n ≠ 0) : |
| 707 | DiscreteTopology (scaledLattice (ι := ι) n) := by |
| 708 | apply ZLattice.comap_discreteTopology ℝ (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) |
| 709 | (scaleMap n).continuous |
| 710 | intro x y h |
| 711 | have hn' : (n : ℝ) ≠ 0 := by exact_mod_cast hn |
| 712 | change (n : ℝ) • x = (n : ℝ) • y at h |
| 713 | have heq := congrArg (fun z : ι → ℝ => (n : ℝ)⁻¹ • z) h |
| 714 | simpa only [smul_smul, inv_mul_cancel₀ hn', one_smul] using heq |
| 715 | |
| 716 | theorem rationalReal_mem_scaledLattice (n : ℤ) (x : ι → ℚ) |
| 717 | (hx : ∀ i, ∃ m : ℤ, (m : ℚ) = (n : ℚ) * x i) : |
| 718 | rationalReal x ∈ scaledLattice n := by |
| 719 | change (scaleMap n (rationalReal x)) ∈ AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι |
| 720 | apply ((Pi.basisFun ℝ ι).mem_span_iff_repr_mem ℤ _).mpr |
| 721 | intro i |
| 722 | obtain ⟨m, hm⟩ := hx i |
| 723 | refine ⟨m, ?_⟩ |
| 724 | have hreal := congrArg (fun q : ℚ => (q : ℝ)) hm |
| 725 | simpa [scaleMap, rationalReal] using hreal |
| 726 | |
| 727 | end |
| 728 | |
| 729 | /-! Locally uniform absolute convergence of Schwartz lattice periodization. -/ |
| 730 | |
| 731 | open scoped Classical |
| 732 | open Filter _root_.TopologicalSpace Asymptotics |
| 733 | |
| 734 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 735 | [FiniteDimensional ℝ V] |
| 736 | |
| 737 | omit [FiniteDimensional ℝ V] in |
| 738 | theorem schwartz_one_add_bound (f : SchwartzMap V ℂ) (k : ℕ) : |
| 739 | ∃ C : ℝ, 0 ≤ C ∧ ∀ x, (1 + ‖x‖) ^ k * ‖f x‖ ≤ C := by |
| 740 | let C := 2 ^ k * (Finset.Iic (k, 0)).sup |
| 741 | (fun m => SchwartzMap.seminorm ℝ m.1 m.2) f |
| 742 | refine ⟨max 0 C, le_max_left _ _, fun x => ?_⟩ |
| 743 | apply le_trans _ (le_max_right _ _) |
| 744 | simpa only [norm_iteratedFDeriv_zero] using |
| 745 | f.one_add_le_sup_seminorm_apply (𝕜 := ℝ) (m := (k, 0)) (k := k) (n := 0) |
| 746 | le_rfl le_rfl x |
| 747 | |
| 748 | def shiftedSchwartz (f : SchwartzMap V ℂ) (a : V) : C(V, ℂ) := |
| 749 | ⟨fun x => f (x + a), f.continuous.comp (continuous_id.add continuous_const)⟩ |
| 750 | |
| 751 | theorem schwartz_lattice_locally_summable_norm (L : Submodule ℤ V) [DiscreteTopology L] |
| 752 | (f : SchwartzMap V ℂ) (K : Compacts V) : |
| 753 | Summable (fun a : L => ‖(shiftedSchwartz f a.val).restrict K‖) := by |
| 754 | let k := Module.finrank ℤ L + 1 |
| 755 | obtain ⟨C, hC, hf⟩ := schwartz_one_add_bound f k |
| 756 | obtain ⟨R, hR⟩ := K.isCompact.isBounded.subset_closedBall 0 |
| 757 | let S := max 0 R |
| 758 | have hS : 0 ≤ S := le_max_left _ _ |
| 759 | have hxS : ∀ x : K, ‖x.val‖ ≤ S := by |
| 760 | intro x |
| 761 | have h := hR x.property |
| 762 | rw [Metric.mem_closedBall, dist_zero_right] at h |
| 763 | exact h.trans (le_max_right _ _) |
| 764 | have hbound : ∀ (a : L), a ≠ 0 → ∀ x : K, |
| 765 | ‖f (x.val + a.val)‖ ≤ (1 + S) ^ k * C * ‖a.val‖ ^ (-(k : ℝ)) := by |
| 766 | intro a ha x |
| 767 | have ha0 : 0 < ‖a.val‖ := norm_pos_iff.mpr (fun h => ha (Subtype.ext h)) |
| 768 | have htri : ‖a.val‖ ≤ ‖x.val + a.val‖ + ‖x.val‖ := by |
| 769 | calc |
| 770 | ‖a.val‖ = ‖(x.val + a.val) - x.val‖ := by congr 1; abel |
| 771 | _ ≤ ‖x.val + a.val‖ + ‖x.val‖ := norm_sub_le _ _ |
| 772 | have hbase : ‖a.val‖ ≤ (1 + S) * (1 + ‖x.val + a.val‖) := by |
| 773 | nlinarith [hxS x, norm_nonneg (x.val + a.val)] |
| 774 | have hweight : ‖a.val‖ ^ k * ‖f (x.val + a.val)‖ ≤ (1 + S) ^ k * C := by |
| 775 | calc |
| 776 | _ ≤ ((1 + S) * (1 + ‖x.val + a.val‖)) ^ k * ‖f (x.val + a.val)‖ := |
| 777 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) hbase k) (norm_nonneg _) |
| 778 | _ = (1 + S) ^ k * ((1 + ‖x.val + a.val‖) ^ k * ‖f (x.val + a.val)‖) := by |
| 779 | rw [mul_pow, mul_assoc] |
| 780 | _ ≤ (1 + S) ^ k * C := mul_le_mul_of_nonneg_left (hf _) (by positivity) |
| 781 | rw [Real.rpow_neg ha0.le, Real.rpow_natCast, ← div_eq_mul_inv] |
| 782 | exact (le_div_iff₀ (pow_pos ha0 k)).mpr (by simpa only [mul_comm] using hweight) |
| 783 | have hr : -(k : ℝ) < -(Module.finrank ℤ L : ℝ) := by |
| 784 | dsimp [k] |
| 785 | push_cast |
| 786 | linarith |
| 787 | apply summable_of_isBigO (ZLattice.summable_norm_rpow L (-(k : ℝ)) hr) |
| 788 | refine IsBigO.of_bound ((1 + S) ^ k * C) ?_ |
| 789 | filter_upwards [eventually_cofinite_ne (0 : L)] with a ha |
| 790 | rw [norm_norm, Real.norm_eq_abs, abs_of_nonneg (Real.rpow_nonneg (norm_nonneg _) _)] |
| 791 | apply (ContinuousMap.norm_le _ (by positivity)).mpr |
| 792 | exact hbound a ha |
| 793 | |
| 794 | def latticePeriodization (L : Submodule ℤ V) [DiscreteTopology L] |
| 795 | (f : SchwartzMap V ℂ) : C(V, ℂ) := ∑' a : L, shiftedSchwartz f a.val |
| 796 | |
| 797 | theorem latticePeriodization_apply (L : Submodule ℤ V) [DiscreteTopology L] |
| 798 | (f : SchwartzMap V ℂ) (x : V) : |
| 799 | latticePeriodization L f x = ∑' a : L, f (x + a.val) := by |
| 800 | exact (ContinuousMap.tsum_apply (ContinuousMap.summable_of_locally_summable_norm |
| 801 | (schwartz_lattice_locally_summable_norm L f)) x).symm |
| 802 | |
| 803 | theorem latticePeriodization_add (L : Submodule ℤ V) [DiscreteTopology L] |
| 804 | (f : SchwartzMap V ℂ) (a : L) (x : V) : |
| 805 | latticePeriodization L f (x + a.val) = latticePeriodization L f x := by |
| 806 | simp only [latticePeriodization_apply] |
| 807 | have h := (Equiv.addLeft a).tsum_eq (fun b : L => f (x + b.val)) |
| 808 | simpa only [Equiv.coe_addLeft, Submodule.coe_add, add_assoc] using h |
| 809 | |
| 810 | end RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction |
| 811 | |
| 812 | end |
| 813 | |
| 814 | end OAI |