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.GeometricComparison.IntrinsicPadic.CechSheafResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TotalRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafRestriction |
| 5 | |
| 6 | /-! # Cech Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal.IntrinsicPadicCechGeometricTotal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original global native Čech resolution restricts to the |
| 13 | sheafified geometric chart diagram, with the actual comparison maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (n : ℕ) (I : X.left.affineOpens) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 27 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f I.val |
| 28 | local instance specialAlgebra : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ I.val) |
| 29 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) C) |
| 30 | local notation "g" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp I.val I.property |
| 31 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp I.val I.property |
| 32 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 33 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram.IntrinsicPadicGeometricSliceDiagram.diagram p X Y f hp n I |
| 34 | |
| 35 | local instance localSeparated : IsSeparated wI := IntegralComparison.BoundedSmooth.WittFrameProduct.structureMap_separated p (ZMod p) C |
| 36 | local instance globalSeparated : IsSeparated w := by dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap]; infer_instance |
| 37 | local instance chartOpen : IsOpenImmersion g := ChartImage.IntrinsicPadicOpenFrame.chart_open p X Y f hp I.val I.property |
| 38 | |
| 39 | abbrev restriction := IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := Ideal.span {(p : W)}) (δ := γ) g hg n |
| 40 | abbrev presheafRestriction := IntegralComparison.Relative.ComplexRestriction.restriction (B := W) |
| 41 | (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := Ideal.span {(p : W)}) (δ := γ) g hg n) |
| 42 | abbrev localSheafification := IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) |
| 43 | (J := Ideal.span {(p : W)}) (δ := γ) wI n |
| 44 | |
| 45 | def total := ((localSheafification p X Y f n I).mapHomologicalComplex (.up ℕ)).obj |
| 46 | (CechCone.Total.CechConeTotal.total U P) |
| 47 | |
| 48 | def iso : ((restriction p X Y f hp n I).mapHomologicalComplex (.up ℕ)).obj |
| 49 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X Y f hp n) ≅ total p X Y f hp n I := |
| 50 | Cech.TotalRestriction.CechTotalRestrictionComparison.iso |
| 51 | (IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 52 | (restriction p X Y f hp n I) (presheafRestriction p X Y f hp n I) |
| 53 | (localSheafification p X Y f n I) |
| 54 | (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) U |
| 55 | (CechPresheafResolution.IntrinsicPadicCechPresheafResolution.diagram p X Y f hp n) |
| 56 | |
| 57 | def localFrameIso : ((localSheafification p X Y f n I).mapHomologicalComplex (.up ℕ)).obj ((P).obj (op I)) ≅ |
| 58 | IntegralComparison.Bounded.RelativeSheafComplex.complex wI n (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp I.val I.property n) := |
| 59 | ((localSheafification p X Y f n I).mapHomologicalComplex (.up ℕ)).mapIso |
| 60 | (IntegralComparison.BoundedFrame.OpenRestriction.presheafIso g hg n (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp I.val I.property n)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal.IntrinsicPadicCechGeometricTotal |