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.ConstructedOrdinaryCoordinates |
| 2 | |
| 3 | /-! # Group Ordinary Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupOrdinaryCoordinates.Ordinary |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct ordinary coordinates from the actual group-scheme |
| 10 | splitting, retaining its bundled group structures during specialization. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedOrdinaryCoordinates.Lifts |
| 17 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 18 | |
| 19 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 20 | [HenselianLocalRing R] [Field L] [Algebra R L] [IsFractionRing R L] |
| 21 | (q : ℕ) [Fact q.Prime] (G : Grp (Over (Spec (.of R)))) [IsCommMonObj G.X] |
| 22 | [IsFinite G.X.hom] [Flat G.X.hom] |
| 23 | (M : Grp (Over (Spec (.of (IsLocalRing.ResidueField R))))) |
| 24 | (e : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).mapGrp.obj G ≅ |
| 25 | M ⊗ (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).mapGrp.obj |
| 26 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q)))) |
| 27 | {I : Type} [Finite I] |
| 28 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 29 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj G.X) |
| 30 | (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ G.X, a ^ q = 1) |
| 31 | (hrank : G.X.hom.finrank |
| 32 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) (IsLocalRing.closedPoint L)) = q ^ 3) |
| 33 | |
| 34 | def groupOrdinaryIdentityCoordinates := |
| 35 | let eraw : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj G.X ≅ |
| 36 | M.X ⊗ (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj |
| 37 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X := |
| 38 | (Grp.forget _).mapIso e |
| 39 | letI : IsMonHom eraw.hom := e.hom.hom.isMonHom_hom |
| 40 | ConstructedOrdinaryCoordinates.Lifts.ordinaryIdentityCoordinates (M := M.X) R L q G.X eraw eA hk hrank |
| 41 | |
| 42 | def groupOrdinaryIntegralSplit := |
| 43 | let eraw : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj G.X ≅ |
| 44 | M.X ⊗ (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj |
| 45 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X := |
| 46 | (Grp.forget _).mapIso e |
| 47 | letI : IsMonHom eraw.hom := e.hom.hom.isMonHom_hom |
| 48 | ConstructedOrdinaryCoordinates.Lifts.ordinaryEvaluatedSplit (M := M.X) R L q G.X eraw eA hk |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupOrdinaryCoordinates.Ordinary |