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.TruncatedModel.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 | /-! # Resolution Diagram -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram |
| 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 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 25 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 26 | [Smooth X.hom] |
| 27 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 28 | (hp : IsPullback f Y.hom X.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | |
| 31 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 32 | local notation "JW" => Ideal.span {(p : WittVector p k)} |
| 33 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 34 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := JW) (δ := γ) w n |
| 35 | |
| 36 | local instance separated : IsSeparated w := by |
| 37 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 38 | infer_instance |
| 39 | |
| 40 | def diagram : X.left.affineOpensᵒᵖ ⥤ CochainComplex S ℕ := |
| 41 | (FrameFunctor.functor p k n X Y f hp).op ⋙ |
| 42 | GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w n |
| 43 | |
| 44 | def augmentation : (Functor.const X.left.affineOpensᵒᵖ).obj |
| 45 | ((CochainComplex.single₀ S).obj |
| 46 | (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := JW) (δ := γ) w n)) ⟶ |
| 47 | diagram p k n X Y f hp := |
| 48 | Functor.whiskerLeft (FrameFunctor.functor p k n X Y f hp).op |
| 49 | (GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.augmentation w n) |
| 50 | |
| 51 | def complex : CochainComplex (X.left.affineOpensᵒᵖ ⥤ S) ℕ := |
| 52 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (diagram p k n X Y f hp) |
| 53 | |
| 54 | def evaluationIso (U : X.left.affineOpens) : |
| 55 | (((evaluation X.left.affineOpensᵒᵖ S).obj (op U)).mapHomologicalComplex (.up ℕ)).obj |
| 56 | (complex p k n X Y f hp) ≅ |
| 57 | Bounded.RelativeSheafComplex.complex w n |
| 58 | (Truncated.AffineModelFrame.frame p k n X Y f hp U.val U.property) := |
| 59 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.evaluationIso (.up ℕ) (diagram p k n X Y f hp) (op U) |
| 60 | |
| 61 | variable [X.left.IsSeparated] {ι : Type} (U : ι → X.left.affineOpens) |
| 62 | |
| 63 | def bicomplex : HomologicalComplex₂ S (.up ℕ) (.up ℕ) := |
| 64 | CechCoefficient.Total.bicomplex (NonemptyCechNerve.nerve U) |
| 65 | (complex p k n X Y f hp) |
| 66 | |
| 67 | local instance finiteBiproducts : HasFiniteBiproducts S := HasFiniteBiproducts.of_hasFiniteProducts |
| 68 | |
| 69 | local instance hasTotal : (bicomplex p k n X Y f hp U).HasTotal (.up ℕ) := |
| 70 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 71 | |
| 72 | def total : CochainComplex S ℕ := (bicomplex p k n X Y f hp U).total (.up ℕ) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram |