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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceGeometric.ThetaCandidate |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PrincipalCoordinates |
| 3 | |
| 4 | /-! # Theta Finite Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceGeometric.ThetaFiniteCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual GeometricTheta candidate satisfies the complete finite-coordinate |
| 11 | predicate: native local characters, standard lattices, and exact marked |
| 12 | away membership including every non-active q-adic block. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceGeometric.ThetaCandidate.CM |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 19 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 20 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 21 | {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 22 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K places.count q) (hb : D.reference.b = B.b) |
| 23 | {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ D.reference.lattice] |
| 24 | (b : Module.Basis J ℤ D.reference.lattice) (hN : 0 < D.level) |
| 25 | (hg : D.HasIntegralModelGeometry) (hq : D.IsGoodCompletelySplitPrime) |
| 26 | (hstandard : ∀ v, CMExtraction.SplitLatticeProduct.TestTransport.splitLatticeLocal (R := PadicInt q) (CMExtraction.LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) D.reference.lattice v = |
| 27 | RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData.standardLocalLattice (q := q)) |
| 28 | |
| 29 | include hg hq hstandard in |
| 30 | theorem coordinates : (ThetaCandidate.CM.data E L D hb b hN).HasFiniteCoordinates := by |
| 31 | refine ⟨CMExtraction.LocalEmbedding.ParameterChoices.nativeFieldEmbedding_onIntegers D, hstandard, ?_⟩ |
| 32 | intro g |
| 33 | have hm := Rational.CoefficientTransport.CM.matrix D.reference.b B.b hb g |
| 34 | have hs := (Source.MarkedAwayLevel.CM.rational_mem E L D.reference hb |
| 35 | (CMExtraction.LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (D.reference.distinguished, false)) b D.level hN |
| 36 | (Rational.CoefficientTransport.CM.equivalence D.reference.b B.b hb g)).trans |
| 37 | (Source.PrincipalCoordinates.CM.principal_iff E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 38 | D hb hg hq hstandard b D.level hN hq.2.2.1 |
| 39 | (Rational.CoefficientTransport.CM.equivalence D.reference.b B.b hb g)) |
| 40 | have hlin := congrArg (fun a : Matrix.SpecialLinearGroup (Fin 3) E => |
| 41 | (Matrix.SpecialLinearGroup.toLin' a).restrictScalars ℚ) hm |
| 42 | have hlocal := congrArg (fun a : Matrix.SpecialLinearGroup (Fin 3) E => |
| 43 | ∀ v : Fin places.count × Bool, v.1 ≠ D.reference.distinguished → |
| 44 | Matrix.SpecialLinearGroup.map (CMExtraction.LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) a ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) hm |
| 45 | exact hs.trans (and_congr |
| 46 | (Iff.of_eq (congrArg (fun a => a ∈ AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup |
| 47 | (CMExtraction.LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.reference.lattice q).toAddSubgroup D.level) hlin)) |
| 48 | (Iff.of_eq hlocal)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceGeometric.ThetaFiniteCoordinates.CM |