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.Generators |
| 2 | import OAI.RepresentationTheory.Weil.Local.Gaussian |
| 3 | import OAI.RepresentationTheory.Weil.Local.RealFourierLp |
| 4 | import OAI.RepresentationTheory.Weil.Local.RealNormalization |
| 5 | import OAI.RepresentationTheory.Weil.Local.ArchimedeanTestSpace |
| 6 | import OAI.RepresentationTheory.Weil.Local.RealCover |
| 7 | import OAI.RepresentationTheory.Weil.Local.RealFourierFamily |
| 8 | import OAI.RepresentationTheory.Weil.Local.CompactCharacter |
| 9 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanFourier |
| 10 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanCover |
| 11 | import OAI.RepresentationTheory.Weil.Local.AnnihilatorDuality |
| 12 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanHaar |
| 13 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanNormalization |
| 14 | import OAI.RepresentationTheory.Weil.Local.GaussianCompact |
| 15 | import OAI.RepresentationTheory.Weil.Local.FiniteQuadraticPhase |
| 16 | import OAI.RepresentationTheory.Weil.Local.GaussianNonarchimedean |
| 17 | import OAI.RepresentationTheory.Weil.Local.NormalizedFresnel |
| 18 | import OAI.RepresentationTheory.Weil.Local.BruhatCosets |
| 19 | import OAI.RepresentationTheory.Weil.Local.BareGeneration |
| 20 | import OAI.RepresentationTheory.Weil.Local.GaussianSquareClasses |
| 21 | import OAI.RepresentationTheory.Weil.Local.ComplexCover |
| 22 | import OAI.RepresentationTheory.Weil.Local.ComplexLevi |
| 23 | import OAI.RepresentationTheory.Weil.Local.RealWeyl |
| 24 | import OAI.RepresentationTheory.Weil.Local.ComplexWeyl |
| 25 | import OAI.RepresentationTheory.Weil.Local.GeneralSchur |
| 26 | import OAI.RepresentationTheory.Weil.Local.ComplexTheorem |
| 27 | import OAI.RepresentationTheory.Weil.Local.SquareDeterminantLift |
| 28 | import OAI.RepresentationTheory.Weil.Local.RealLevi |
| 29 | import OAI.RepresentationTheory.Weil.Local.SiegelGaussian |
| 30 | import OAI.RepresentationTheory.Weil.Local.RealOscillator |
| 31 | import OAI.RepresentationTheory.Weil.Local.RealStandardBareKernel |
| 32 | import OAI.RepresentationTheory.Weil.Local.RealBareKernel |
| 33 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanLevi |
| 34 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanSquareMinusOne |
| 35 | import OAI.RepresentationTheory.Weil.Local.ArchimedeanKernel |
| 36 | import OAI.RepresentationTheory.Weil.Local.ComplexTransportedNorm |
| 37 | import OAI.RepresentationTheory.Weil.Local.RealPower |
| 38 | import OAI.RepresentationTheory.Weil.Local.RealFieldAnalytic |
| 39 | import OAI.RepresentationTheory.Weil.Local.RealFieldTheorem |
| 40 | import OAI.RepresentationTheory.Weil.Local.PlanarRadialTransfer |
| 41 | import OAI.RepresentationTheory.Weil.Local.PlanarPowerDamping |
| 42 | import OAI.RepresentationTheory.Weil.Local.RadialTailCutoffBound |
| 43 | import OAI.RepresentationTheory.Weil.Local.PlanarIntegral |
| 44 | import OAI.RepresentationTheory.Weil.Local.ComplexPowerGaussian |
| 45 | import OAI.RepresentationTheory.Weil.Local.ArchimedeanTheorem |
| 46 | import OAI.RepresentationTheory.Weil.Local.Analytic |
| 47 | import OAI.RepresentationTheory.Weil.Local.LocalGenerators |
| 48 | import OAI.RepresentationTheory.Weil.Local.CompactGroupIndex |
| 49 | import OAI.RepresentationTheory.Weil.Local.PrincipalSquareClasses |
| 50 | import OAI.RepresentationTheory.Weil.Local.NormSmallSubgroup |
| 51 | import OAI.RepresentationTheory.Weil.Local.FiniteSquareClasses |
| 52 | import OAI.RepresentationTheory.Weil.Local.QuadraticNormIndex |
| 53 | import OAI.RepresentationTheory.Weil.Local.GaussianSquareCharacter |
| 54 | import OAI.RepresentationTheory.Weil.Local.CharacterExtension |
| 55 | import OAI.RepresentationTheory.Weil.Local.FourierNormalForm |
| 56 | import OAI.RepresentationTheory.Weil.Local.GeneralGaussianCoefficient |
| 57 | import OAI.RepresentationTheory.Weil.Local.NonarchimedeanBareKernel |
| 58 | import Lean.Util.CollectAxioms |
| 59 | |
| 60 | /-! # Formulas -/ |
| 61 | |
| 62 | namespace OAI.RepresentationTheory.Weil.Local.Formulas |
| 63 | |
| 64 | noncomputable section |
| 65 | |
| 66 | /-! |
| 67 | LocalWeil construction entry point and exhaustive helper axiom audit. |
| 68 | The admitted target in Statements/LocalWeil.lean is deliberately not imported. |
| 69 | Every declaration, including generated declarations, in the LocalWeil |
| 70 | construction and proof modules is checked against the standard classical foundations. |
| 71 | The full repaired local-field theorem is proved below, with the statement file unchanged. |
| 72 | |
| 73 | The analytic normalization and prescribed bare generators are assembled by |
| 74 | `localField_analytic_normalization` and `localField_metaplectic_generators`. |
| 75 | The archimedean kernel follows from the real and complex constructions and |
| 76 | transport along the classified topological field isomorphisms. |
| 77 | |
| 78 | For a nonarchimedean field in which -1 is nonsquare, the normalized squared |
| 79 | Gaussian index is proved to be a quadratic character using the index-two |
| 80 | quadratic norm subgroup. General Fresnel pairing then gives a multiplicative |
| 81 | value on the oscillator Fourier cell. Extending that value to the whole |
| 82 | oscillator group produces a character whose value on a scalar operator z is |
| 83 | z². It kills commutators and the negative identity, so the intrinsically |
| 84 | defined bare metaplectic kernel consists of signs. The case in which -1 is |
| 85 | a square uses the checked conjugate-linear quarter-turn structure. |
| 86 | -/ |
| 87 | |
| 88 | open _root_.MeasureTheory Filter |
| 89 | open scoped BigOperators _root_.Topology |
| 90 | |
| 91 | /-- The full repaired LocalWeil theorem, proved independently of the admitted statement module. -/ |
| 92 | theorem schrodinger_generator_formulas |
| 93 | (k : Type) [NormedField k] [CompleteSpace k] |
| 94 | [LocallyCompactSpace k] [CharZero k] |
| 95 | [MeasurableSpace k] [BorelSpace k] |
| 96 | (hNondiscrete : ¬ DiscreteTopology k) |
| 97 | (n : ℕ) (hn : 0 < n) |
| 98 | (ψ : AddChar k ℂ) |
| 99 | (hContinuous : Continuous (fun t : k => ψ t)) |
| 100 | (hUnitary : ∀ t : k, ‖ψ t‖ = 1) |
| 101 | (hNontrivial : ∃ t : k, ψ t ≠ 1) : |
| 102 | -- Positivity prevents the Haar normalization from degenerating. |
| 103 | (0 < FunctionsMetaplectic.Construction.fourierHaarScaleSquared k ψ) ∧ |
| 104 | (FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure ∧ |
| 105 | -- The Gaussian phase is taken from an actual nonzero oscillatory limit. |
| 106 | (∀ a : k, a ≠ 0 → |
| 107 | Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian k ψ a) (𝓝[>] (0 : ℝ)) |
| 108 | (𝓝 (FunctionsMetaplectic.Construction.gaussianIntegral k ψ a)) ∧ |
| 109 | FunctionsMetaplectic.Construction.gaussianIntegral k ψ a ≠ 0 ∧ FunctionsMetaplectic.Construction.gaussianIndex k ψ a ^ 8 = 1) ∧ |
| 110 | -- The selected Haar measure is self-dual for the coordinate pairing. |
| 111 | (∀ (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 112 | FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) |
| 113 | (FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) φ.val) x = φ.val (-x)) ∧ |
| 114 | Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection k n ψ) ∧ |
| 115 | ∃ (m : FunctionsMetaplectic.Construction.GeneralLinear k n → FunctionsMetaplectic.Construction.Metaplectic k n ψ) |
| 116 | (u : FunctionsMetaplectic.Construction.SymmetricMatrix k n → FunctionsMetaplectic.Construction.Metaplectic k n ψ) |
| 117 | (w : FunctionsMetaplectic.Construction.Metaplectic k n ψ), |
| 118 | (∀ A : FunctionsMetaplectic.Construction.GeneralLinear k n, |
| 119 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (m A) = Generators.Construction.leviSymplectic A) ∧ |
| 120 | (∀ B : FunctionsMetaplectic.Construction.SymmetricMatrix k n, |
| 121 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (u B) = Generators.Construction.quadraticSymplectic B) ∧ |
| 122 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ w = Generators.Construction.weylSymplectic k n ∧ |
| 123 | (∀ (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 124 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (m A) φ).val x = |
| 125 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ (FunctionsMetaplectic.Construction.determinantUnit k A) / FunctionsMetaplectic.Construction.gaussianIndex k ψ 1) * |
| 126 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A)))⁻¹ : ℂ) * |
| 127 | φ.val (Matrix.mulVec (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) x)) ∧ |
| 128 | (∀ (B : FunctionsMetaplectic.Construction.SymmetricMatrix k n) (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 129 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (u B) φ).val x = |
| 130 | ψ ((∑ i, ∑ j, x i * B.val i j * x j) / 2) * φ.val x) ∧ |
| 131 | (∀ (φ : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n), |
| 132 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ w φ).val x = |
| 133 | (FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ n)⁻¹ * |
| 134 | ∫ y : FunctionsMetaplectic.Construction.Position k n, |
| 135 | φ.val y * ψ (-(∑ i, x i * y i)) ∂(FunctionsMetaplectic.Construction.positionMeasure k n ψ)) ∧ |
| 136 | (∀ g h : FunctionsMetaplectic.Construction.Metaplectic k n ψ, |
| 137 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ g = FunctionsMetaplectic.Construction.metaplecticProjection k n ψ h → |
| 138 | ∃ ε : ℂ, ε ^ 2 = 1 ∧ |
| 139 | ∀ φ : FunctionsMetaplectic.Construction.schwartzBruhat k n, |
| 140 | FunctionsMetaplectic.Construction.weilRepresentation k n ψ h φ = ε • FunctionsMetaplectic.Construction.weilRepresentation k n ψ g φ) := by |
| 141 | have ha := Analytic.Construction.localField_analytic_normalization hNondiscrete ψ hContinuous hUnitary hNontrivial n |
| 142 | obtain ⟨hsurj, m, u, w, hm, hu, hw, hma, hua, hwa⟩ := |
| 143 | LocalGenerators.Construction.localField_metaplectic_generators hNondiscrete n hn ψ hContinuous hUnitary hNontrivial |
| 144 | refine ⟨ha.1, ha.2.1, ha.2.2.1, ha.2.2.2, hsurj, m, u, w, hm, hu, hw, hma, hua, hwa, ?_⟩ |
| 145 | intro g h hgh |
| 146 | by_cases hArch : ∀ m : ℕ, ‖(m : k)‖ ≤ 1 |
| 147 | · let : IsUltrametricDist k := |
| 148 | IsUltrametricDist.isUltrametricDist_of_forall_norm_natCast_le_one hArch |
| 149 | exact NonarchimedeanBareKernel.Construction.nonarchimedean_metaplectic_same_projection_sign hNondiscrete ψ hUnitary hContinuous |
| 150 | hNontrivial h g hgh.symm |
| 151 | · have hfull := ArchimedeanTheorem.Construction.archimedean_schrodinger_generator_formulas hNondiscrete hArch n hn ψ |
| 152 | hContinuous hUnitary hNontrivial |
| 153 | obtain ⟨_, _, _, _, _, _, _, _, _, hsign⟩ := hfull.2.2.2.2.2 |
| 154 | exact hsign g h hgh |
| 155 | |
| 156 | end |
| 157 | |
| 158 | end OAI.RepresentationTheory.Weil.Local.Formulas |