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.IntrinsicPadic.FreeEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.IncomingChartObject |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.EvaluationObjectIso |
| 4 | |
| 5 | /-! # Bounded Evaluation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.BoundedEvaluation.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual global comparison is a section quasi-isomorphism at every |
| 12 | bounded object admitting a map to one of the genuine covering frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom |
| 20 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 21 | |
| 22 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 23 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 24 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 25 | |
| 26 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 28 | (Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 29 | |
| 30 | local notation "W" => WittVector p (ZMod p) |
| 31 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 32 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 33 | local notation "JT" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) |
| 34 | (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 35 | local notation "m" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n J |
| 36 | |
| 37 | local instance separated : IsSeparated w := by |
| 38 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 39 | infer_instance |
| 40 | |
| 41 | variable (V : BoundedCrystalline.Site.Objects (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 43 | (Witt.Crystalline.wittStructureMap p (ZMod p) Y) n) |
| 44 | |
| 45 | abbrev evaluationFunctor := Sheaf.EvaluationObjectIso.evaluationFunctor.{1,0,1,1} Rcoeff JT V |
| 46 | |
| 47 | theorem quasiIso (i : GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) |
| 48 | (α : V ⟶ GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp (U i).val (U i).property n) : |
| 49 | QuasiIso (((evaluationFunctor p Y n V).mapHomologicalComplex (.up ℕ)).map m) := by |
| 50 | let C₀ := GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f (U i).val |
| 51 | let : Algebra (ZMod p) C₀ := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ (U i).val) |
| 52 | let g := GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp (U i).val (U i).property |
| 53 | let hg := GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp (U i).val (U i).property |
| 54 | let F₀ := GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp (U i).val (U i).property n |
| 55 | let V₀ := Bounded.IncomingChartObject.object g hg n F₀ V α |
| 56 | let e := Bounded.IncomingChartObject.iso g hg n F₀ V α |
| 57 | have hv : QuasiIso (((evaluationFunctor p Y n |
| 58 | ((BoundedOpen.Equivalence.postcompose g hg n).obj V₀)).mapHomologicalComplex (.up ℕ)).map m) := |
| 59 | FreeEvaluation.Intrinsic.globalMap_quasiIso p X Y f hp n (U i) J V₀ i le_rfl |
| 60 | let := hv |
| 61 | exact Sheaf.EvaluationObjectIso.quasiIso Rcoeff JT e m |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.BoundedEvaluation.Intrinsic |