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.WeightedTheta |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.ThetaCovariance |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.SymplecticThetaCompletion |
| 5 | |
| 6 | /-! # Derivative Factorization Definitions -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.DerivativeFactorizationDefinitions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Definitions reproduced from the committed DerivativeFactorization specification in a unique |
| 14 | namespace. No theorem stubs are imported. The trace coordinates and the bare |
| 15 | Weil/Poisson equation remain supplied interfaces as in that specification. |
| 16 | -/ |
| 17 | |
| 18 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 19 | |
| 20 | abbrev AQf := IsDedekindDomain.FiniteAdeleRing ℤ ℚ |
| 21 | abbrev AQ := NumberField.AdeleRing ℤ ℚ |
| 22 | |
| 23 | /-- Schwartz–Bruhat functions on a finite-adelic position space. -/ |
| 24 | abbrev FiniteSchwartz (X : Type*) [TopologicalSpace X] := |
| 25 | { φ : X → ℂ // IsLocallyConstant φ ∧ HasCompactSupport φ } |
| 26 | |
| 27 | abbrev Input (ι : Type*) := FiniteSchwartz (ι → AQf) |
| 28 | |
| 29 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 30 | |
| 31 | def diagonal (x : ι → ℚ) : ι → AQf := |
| 32 | fun i => algebraMap ℚ AQf (x i) |
| 33 | |
| 34 | def realPosition (x : ι → ℚ) : ι → ℝ := |
| 35 | fun i => (x i : ℝ) |
| 36 | |
| 37 | /-- The manuscript's Gaussian with its linear Jacobi term. -/ |
| 38 | def kernel (B : Matrix ι ι ℂ) |
| 39 | (x : ι → ℚ) (z : ι → ℂ) : ℂ := |
| 40 | Complex.exp |
| 41 | ((Real.pi : ℂ) * Complex.I * |
| 42 | AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm B (realPosition x) (realPosition x) + |
| 43 | (2 * (Real.pi : ℂ) * Complex.I) * |
| 44 | AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing ι (realPosition x) z) |
| 45 | |
| 46 | def theta (φ : Input ι) |
| 47 | (B : Matrix ι ι ℂ) (z : ι → ℂ) : ℂ := |
| 48 | ∑' x : ι → ℚ, φ.1 (diagonal x) * kernel B x z |
| 49 | |
| 50 | def completed (φ : Input ι) |
| 51 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ) : ℂ := |
| 52 | AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaCompletionFactor Z.completionForm z * theta φ Z.matrix z |
| 53 | |
| 54 | def firstCoefficient (φ : Input ι) |
| 55 | (B : Matrix ι ι ℂ) : (ι → ℂ) →L[ℂ] ℂ := |
| 56 | ∑' x : ι → ℚ, |
| 57 | φ.1 (diagonal x) • |
| 58 | AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaPhaseGradientTerm (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing ι) |
| 59 | (realPosition x) (AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm B) |
| 60 | |
| 61 | abbrev AFf (F : Type*) [Field F] [NumberField F] := |
| 62 | IsDedekindDomain.FiniteAdeleRing (𝓞 F) F |
| 63 | |
| 64 | abbrev AF (F : Type*) [Field F] [NumberField F] := |
| 65 | NumberField.AdeleRing (𝓞 F) F |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.RepresentationTheory.Theta.DerivativeFactorizationDefinitions |