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.NumberTheory.PadicHodge.IntegralComparison.Constant.ComplexPrismCone |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.ModuleTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionRowRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution |
| 6 | |
| 7 | /-! # Cech Prism -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.CechPrism.Intrinsic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The signed Čech prism for the actual truncated-model frame |
| 14 | and open-section diagrams. Every inverse-meet hypothesis is supplied |
| 15 | by the native frame restriction theorem. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 27 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X Y f hp n |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 29 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n |
| 30 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp n |
| 31 | |
| 32 | local instance constZero : |
| 33 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ |
| 34 | X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 35 | map_zero _ _ := rfl |
| 36 | |
| 37 | def cone : (Functor.const X.left.affineOpensᵒᵖ).obj Q ⟶ B := |
| 38 | Constant.ComplexPrismCone.cone Q (P ⋙ (S).mapHomologicalComplex (.up ℕ)) |
| 39 | (GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp n) |
| 40 | |
| 41 | def diagonal := CechPrism.ModuleTotal.diagonal R U Q B |
| 42 | (cone p X Y f hp n) |
| 43 | (fun I V => GeometricComparison.IntrinsicPadic.SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp n V I) |
| 44 | |
| 45 | def global := CechPrism.ModuleTotal.global R U Q B (cone p X Y f hp n) |
| 46 | |
| 47 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (diagonal p X Y f hp n) i = |
| 48 | HomologicalComplex.homologyMap (global p X Y f hp n) i := |
| 49 | CechPrism.ModuleTotal.homology R U Q B (cone p X Y f hp n) |
| 50 | (fun I V => GeometricComparison.IntrinsicPadic.SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp n V I) i |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.CechPrism.Intrinsic |