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.FrameFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 5 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi |
| 6 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 7 | |
| 8 | /-! # Padic Resolution Diagram -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual affine intersection frames assemble their relative crystalline |
| 15 | resolutions and natural augmentations into a Čech bicomplex. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] |
| 22 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 23 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 24 | (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 26 | (n : ℕ) |
| 27 | |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | local notation "JW" => Ideal.span {(p : WittVector p (ZMod p))} |
| 30 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := JW) (δ := γ) w n |
| 32 | |
| 33 | local instance separated : IsSeparated w := by |
| 34 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 35 | infer_instance |
| 36 | |
| 37 | def diagram : X.left.affineOpensᵒᵖ ⥤ CochainComplex S ℕ := |
| 38 | (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op ⋙ |
| 39 | BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w n |
| 40 | |
| 41 | def augmentation : (Functor.const X.left.affineOpensᵒᵖ).obj |
| 42 | ((CochainComplex.single₀ S).obj |
| 43 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := JW) (δ := γ) w n)) ⟶ |
| 44 | diagram p X Y f hp n := |
| 45 | Functor.whiskerLeft (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op |
| 46 | (BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.augmentation w n) |
| 47 | |
| 48 | def complex : CochainComplex (X.left.affineOpensᵒᵖ ⥤ S) ℕ := |
| 49 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (diagram p X Y f hp n) |
| 50 | |
| 51 | def evaluationIso (U : X.left.affineOpens) : |
| 52 | (((evaluation X.left.affineOpensᵒᵖ S).obj (op U)).mapHomologicalComplex (.up ℕ)).obj |
| 53 | (complex p X Y f hp n) ≅ |
| 54 | IntegralComparison.Bounded.RelativeSheafComplex.complex w n |
| 55 | (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U.val U.property n) := |
| 56 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.evaluationIso (.up ℕ) (diagram p X Y f hp n) (op U) |
| 57 | |
| 58 | variable [X.left.IsSeparated] {ι : Type} (U : ι → X.left.affineOpens) |
| 59 | |
| 60 | def bicomplex : HomologicalComplex₂ S (.up ℕ) (.up ℕ) := |
| 61 | IntegralComparison.CechCoefficient.Total.bicomplex (Affine.OpenProducts.AffineOpenProducts.nerve X.left U) |
| 62 | (complex p X Y f hp n) |
| 63 | |
| 64 | local instance finiteBiproducts : HasFiniteBiproducts S := HasFiniteBiproducts.of_hasFiniteProducts |
| 65 | |
| 66 | local instance hasTotal : (bicomplex p X Y f hp n U).HasTotal (.up ℕ) := |
| 67 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 68 | |
| 69 | def total : CochainComplex S ℕ := (bicomplex p X Y f hp n U).total (.up ℕ) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram |