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.CechCoefficient.SourceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSheafCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.SheafSectionNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SheafConstantCoordinates |
| 5 | |
| 6 | /-! # Frame Source Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native sheafified frame map uses the canonical coefficient-source |
| 13 | isomorphism and the original constant-sheaf level transformation. -/ |
| 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] (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom |
| 21 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 22 | |
| 23 | local notation "W" => WittVector p (ZMod p) |
| 24 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 25 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 26 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 27 | local notation "JT" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology |
| 28 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 29 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification |
| 30 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 31 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution.coefficientFunctor (B := W) |
| 32 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.pdComplexes p X Y f hp n |
| 33 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 35 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameProductMap.Intrinsic.complex p X Y f hp n |
| 36 | |
| 37 | local instance separated : IsSeparated w := by |
| 38 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 39 | infer_instance |
| 40 | |
| 41 | local instance sheafCoproducts : HasCoproducts.{0} |
| 42 | (BoundedCrystalline.Site.ModuleSheaf |
| 43 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) := |
| 44 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts CR JT |
| 45 | |
| 46 | abbrev constantFunctor := constantSheaf JT (ModuleCat.{1} CR) |
| 47 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates.Intrinsic.constantFunctor p Y n |
| 48 | |
| 49 | abbrev sourceIso := CechCoefficient.SourceCoordinates.sourceIso F U Q M |
| 50 | (Cech.ComplexDiagramCoordinates.totalIso U Q) |
| 51 | |
| 52 | def transformation := Functor.whiskerLeft |
| 53 | (GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op |
| 54 | (GeometricComparison.Frame.SheafSectionNaturality.FrameSheafSectionNaturality.sheafTransformation |
| 55 | (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 56 | |
| 57 | abbrev sheafMap := ((S).mapHomologicalComplex (.up ℕ)).map |
| 58 | (FrameProductMap.Intrinsic.map p X Y f hp n) |
| 59 | |
| 60 | abbrev comparison := CechCoefficient.SourceCoordinates.map_composite F T U Q P |
| 61 | (transformation p X Y f hp n) M (Cech.ComplexDiagramCoordinates.totalIso U Q) |
| 62 | (GeometricComparison.IntrinsicPadic.CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X Y f hp n) |
| 63 | (sheafMap p X Y f hp n) (GeometricComparison.IntrinsicPadic.PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp n).hom |
| 64 | (FrameSheafCoordinates.Intrinsic.map_eq p X Y f hp n) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.FrameSourceCoordinates.Intrinsic |