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.Section.ComplexBifunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 4 | |
| 5 | /-! # Section Bifunctor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native frame resolution and original Zariski section |
| 12 | functors give a strict bifunctor on integral affine opens. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 21 | [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | |
| 26 | local notation "W" => WittVector p k |
| 27 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 28 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 29 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 30 | |
| 31 | local instance separated : IsSeparated w := by |
| 32 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 33 | infer_instance |
| 34 | |
| 35 | def specialOpens : X.left.affineOpens ⥤ Y.left.Opens := |
| 36 | GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left ⋙ TopologicalSpace.Opens.map f.base |
| 37 | |
| 38 | def sections := BoundedOpen.SectionComplex.functor (p := p) |
| 39 | (J := Ideal.span {(p : W)}) (δ := γ) w n ⋙ |
| 40 | (Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} Rcoeff)).obj |
| 41 | (specialOpens p k n X Y f).op |
| 42 | |
| 43 | instance sections_additive : (sections p k n X Y f).Additive := by |
| 44 | dsimp only [sections] |
| 45 | infer_instance |
| 46 | |
| 47 | def rows : X.left.affineOpensᵒᵖ ⥤ X.left.affineOpensᵒᵖ ⥤ CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 48 | GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor (sections p k n X Y f) |
| 49 | (ResolutionDiagram.diagram p k n X Y f hp) |
| 50 | |
| 51 | def rowIso (I : X.left.affineOpens) : (rows p k n X Y f hp).obj (op I) ≅ |
| 52 | ResolutionDiagram.diagram p k n X Y f hp ⋙ |
| 53 | (BoundedOpen.SectionComplex.functor (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n ⋙ |
| 54 | BoundedOpen.SectionComplex.evaluation (B := W) (f ⁻¹ᵁ I.val)).mapHomologicalComplex (.up ℕ) := |
| 55 | GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.rowIso (sections p k n X Y f) |
| 56 | (ResolutionDiagram.diagram p k n X Y f hp) (op I) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor |