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.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveAmbientComparisonData |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData |
| 4 | |
| 5 | /-! # Active Ambient Data -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveAmbientData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct ambient active-family comparison data over the same actual evaluated coordinate record. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.GenericActiveKernel |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockInclusion |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.SourceGroupIso OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TransportedKernelParameterFamily.Family |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PrimeBlockInclusion.Square |
| 20 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 24 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 25 | {iota : E →+* K} {κ : K →+* ℂ} |
| 26 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 27 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 28 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 29 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 30 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 31 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 32 | {R F L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 33 | [Field F] [Field L] [Algebra R F] [Algebra F L] [Algebra R L] |
| 34 | [IsScalarTower R F L] |
| 35 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 36 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 37 | (v : EvaluationDVRLifts.EvaluationDVR R L) |
| 38 | {I : Type} [Finite I] |
| 39 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 40 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap F L)))).obj |
| 41 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) (((l.action).pullback |
| 42 | (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 43 | (j.projector iota hsplit 1 (labels (0, false)))))) |
| 44 | |
| 45 | variable (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) |
| 46 | |
| 47 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveAmbientComparisonData OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveParameterFamily.SourceFamilies |
| 48 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericActiveCoordinateData |
| 49 | |
| 50 | def evaluatedActiveAmbientComparison : |
| 51 | ActiveAmbientComparisonData.ActiveAmbientComparison (GenericActiveCoordinateData.evaluatedActiveCoordinateData (F := F) j hsplit labels O l v eA) |
| 52 | (PrimeBlockInclusion.Square.evaluatedOriginalPrimeInclusion (F := F) j hsplit l (labels (0, false))) where |
| 53 | family := ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily j hsplit labels O l v eA |
| 54 | realizes J := ActiveParameterFamily.SourceFamilies.evaluatedActiveSourceFamilies_eq j hsplit labels O l v eA J |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveAmbientData |