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 OAI.RepresentationTheory.Weil.Local.Analytic |
| 2 | import OAI.RepresentationTheory.Weil.Local.RealReflectionLift |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.NormalizedNormGaussian |
| 4 | |
| 5 | /-! # General Split Gaussian -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.GeneralSplitGaussian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The corrected norm-form Weil constant is one at every split local |
| 12 | place, derived from the actual Gaussian limits. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory Filter |
| 15 | open scoped _root_.Topology ComplexConjugate |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticNormCharacter |
| 18 | |
| 19 | variable {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] [CharZero k] |
| 20 | variable [MeasurableSpace k] [BorelSpace k] |
| 21 | variable (hnd : ¬ DiscreteTopology k) (ψ : AddChar k ℂ) |
| 22 | variable (hc : Continuous ψ) (hu : ∀ x : k, ‖ψ x‖ = 1) (hn : ∃ x : k, ψ x ≠ 1) |
| 23 | |
| 24 | include hc hu hn hnd |
| 25 | |
| 26 | theorem gaussianIndex_neg (a : k) (ha : a ≠ 0) : |
| 27 | Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (-a) = (Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ a)⁻¹ := by |
| 28 | have hlim := ((Weil.Local.Analytic.Construction.localField_analytic_normalization hnd ψ hc hu hn 0).2.2.1 a ha).1 |
| 29 | have hne := ((Weil.Local.Analytic.Construction.localField_analytic_normalization hnd ψ hc hu hn 0).2.2.1 a ha).2.1 |
| 30 | have hconj : Tendsto (Weil.Local.FunctionsMetaplectic.Construction.regularizedGaussian k ψ (-a)) (𝓝[>] (0 : ℝ)) |
| 31 | (𝓝 (conj (Weil.Local.FunctionsMetaplectic.Construction.gaussianIntegral k ψ a))) := by |
| 32 | have h := Complex.continuous_conj.continuousAt.tendsto.comp hlim |
| 33 | convert h using 1 |
| 34 | funext ε |
| 35 | exact Weil.Local.GaussianNonarchimedean.Construction.regularizedGaussian_neg ψ hu a ε |
| 36 | have hG : Weil.Local.FunctionsMetaplectic.Construction.gaussianIntegral k ψ (-a) = conj (Weil.Local.FunctionsMetaplectic.Construction.gaussianIntegral k ψ a) := hconj.limUnder_eq |
| 37 | rw [Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex, hG, Weil.Local.GaussianNonarchimedean.Construction.phase_conj] |
| 38 | exact (Complex.inv_eq_conj (Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex_norm k ψ a hne)).symm |
| 39 | |
| 40 | theorem gaussianIndex_square (a : k) (ha : a ≠ 0) (b : kˣ) : |
| 41 | Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (a * b.val ^ 2) = Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ a := by |
| 42 | let : SecondCountableTopology k := Weil.Local.FunctionsMetaplectic.Construction.localField_secondCountable k hnd |
| 43 | exact Weil.Local.SquareDeterminantLift.Construction.gaussianIndex_square_mul_of_limit ψ a b |
| 44 | (((Weil.Local.Analytic.Construction.localField_analytic_normalization hnd ψ hc hu hn 0).2.2.1 a ha).1) |
| 45 | |
| 46 | theorem split_gaussian_pair (d : k) (hd : d ≠ 0) (hsq : IsSquare d) |
| 47 | (a : k) (ha : a ≠ 0) : Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ a * Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex k ψ (-d * a) = 1 := by |
| 48 | obtain ⟨r, hr⟩ := hsq |
| 49 | have hr2 : r ^ 2 = d := by simpa only [pow_two] using hr.symm |
| 50 | have hr0 : r ≠ 0 := by intro hz; apply hd; simpa [hz] using hr2.symm |
| 51 | let u : kˣ := Units.mk0 r hr0 |
| 52 | have hcoeff : -d * a = (-a) * u.val ^ 2 := by change -d * a = (-a) * r ^ 2; rw [hr2]; ring |
| 53 | rw [hcoeff, gaussianIndex_square hnd ψ hc hu hn (-a) (neg_ne_zero.mpr ha) u, |
| 54 | gaussianIndex_neg hnd ψ hc hu hn a ha] |
| 55 | exact mul_inv_cancel₀ (Weil.Local.FunctionsMetaplectic.Construction.phase_ne_zero |
| 56 | (((Weil.Local.Analytic.Construction.localField_analytic_normalization hnd ψ hc hu hn 0).2.2.1 a ha).2.1)) |
| 57 | |
| 58 | theorem schrodingerWeilConstant_split (d : k) (hd : d ≠ 0) (hsq : IsSquare d) : |
| 59 | Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant k ψ d = 1 := by |
| 60 | have h := split_gaussian_pair hnd ψ hc hu hn d hd hsq (-1) (neg_ne_zero.mpr one_ne_zero) |
| 61 | simpa only [neg_mul_neg, mul_one, Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant] using h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Theta.Adelic.GeneralSplitGaussian |