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.Lifted.OrdinarySplitting |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupOrdinaryCoordinates |
| 3 | |
| 4 | /-! # Ordinary Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinaryCoordinates.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An original integral ordinary lift and a splitting of its generic |
| 11 | active block determine the integral product and identity-line coordinate. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinarySplitting.Ordinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupOrdinaryCoordinates.Ordinary |
| 17 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 22 | {iota : E →+* K} {κ : K →+* ℂ} |
| 23 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 24 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 25 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 26 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 27 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 28 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 29 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] [HenselianLocalRing R] |
| 30 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 31 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 32 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 33 | {I : Type} [Finite I] |
| 34 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 35 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj |
| 36 | (OrdinarySplitting.Ordinary.liftedActiveBlock j hsplit labels l).X) |
| 37 | |
| 38 | def liftedOrdinaryIdentityCoordinates := |
| 39 | let G := OrdinarySplitting.Ordinary.liftedActiveBlock j hsplit labels l |
| 40 | let geometry := OrdinarySplitting.Ordinary.liftedActiveBlock_finiteLocallyFree j hsplit labels l |
| 41 | letI : IsFinite G.X.hom := geometry.1 |
| 42 | letI : Flat G.X.hom := geometry.2.1 |
| 43 | letI : IsCommMonObj G.X := OrdinarySplitting.Ordinary.liftedActiveBlock_commutative j hsplit labels l |
| 44 | GroupOrdinaryCoordinates.Ordinary.groupOrdinaryIdentityCoordinates R L q G (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock (IsLocalRing.ResidueField R) q 1 1) |
| 45 | (OrdinarySplitting.Ordinary.liftedActiveOrdinaryGroupSplit j hsplit labels O l) eA |
| 46 | (OrdinarySplitting.Ordinary.liftedActiveBlock_killed j hsplit labels l (Evaluated.Sections.Lifts.genericTest R L)) |
| 47 | (OrdinarySplitting.Ordinary.liftedActiveBlock_rank j hsplit labels O l |
| 48 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) (IsLocalRing.closedPoint L))) |
| 49 | |
| 50 | def liftedOrdinaryIntegralSplit := |
| 51 | let G := OrdinarySplitting.Ordinary.liftedActiveBlock j hsplit labels l |
| 52 | let geometry := OrdinarySplitting.Ordinary.liftedActiveBlock_finiteLocallyFree j hsplit labels l |
| 53 | letI : IsFinite G.X.hom := geometry.1 |
| 54 | letI : Flat G.X.hom := geometry.2.1 |
| 55 | letI : IsCommMonObj G.X := OrdinarySplitting.Ordinary.liftedActiveBlock_commutative j hsplit labels l |
| 56 | GroupOrdinaryCoordinates.Ordinary.groupOrdinaryIntegralSplit R L q G (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock (IsLocalRing.ResidueField R) q 1 1) |
| 57 | (OrdinarySplitting.Ordinary.liftedActiveOrdinaryGroupSplit j hsplit labels O l) eA |
| 58 | (OrdinarySplitting.Ordinary.liftedActiveBlock_killed j hsplit labels l (Evaluated.Sections.Lifts.genericTest R L)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinaryCoordinates.Ordinary |