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.CechPresheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalCechContraction |
| 4 | |
| 5 | /-! # Presheaf Slice Diagram -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PresheafSliceDiagram |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native model-frame diagram contracts on each chart slice. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 16 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 17 | [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom |
| 20 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 21 | (I : X.left.affineOpens) |
| 22 | |
| 23 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 24 | local notation "FI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp I.val I.property |
| 25 | |
| 26 | local instance separated : IsSeparated w := by |
| 27 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 28 | infer_instance |
| 29 | |
| 30 | def diagram : X.left.affineOpensᵒᵖ ⥤ CochainComplex ((Over FI)ᵒᵖ ⥤ ModuleCat.{0} (WittVector p k)) ℕ := |
| 31 | (FrameFunctor.functor p k n X Y f hp).op ⋙ |
| 32 | GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.presheafFunctor w n ⋙ |
| 33 | (Relative.ComplexRestriction.restriction (B := WittVector p k) |
| 34 | (Over.forget FI)).mapHomologicalComplex (.up ℕ) |
| 35 | |
| 36 | omit [IsSeparated Y.hom] in |
| 37 | theorem restriction_eq (V : X.left.affineOpens) : |
| 38 | (FrameFunctor.functor p k n X Y f hp).map |
| 39 | (homOfLE (inf_le_left : V ⊓ I ≤ V)) = |
| 40 | LocalProduct.restriction p k n X Y f hp V.val I.val V.property I.property := rfl |
| 41 | |
| 42 | theorem meet_isIso (V : X.left.affineOpens) : IsIso |
| 43 | ((diagram p k n X Y f hp I).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op) := by |
| 44 | dsimp only [diagram, Functor.comp_map, Functor.op_map] |
| 45 | rw [GeometricComparison.Frame.PresheafResolutionAugmentation.FramePresheafResolutionAugmentation.map_eq] |
| 46 | erw [restriction_eq] |
| 47 | exact LocalProduct.sliceMap_isIso p k n X Y f hp V.val I.val V.property I.property |
| 48 | |
| 49 | variable {ι : Type} (U : ι → X.left.affineOpens) (i : ι) |
| 50 | |
| 51 | def localHomotopyEquiv := GeometricComparison.Semilattice.LocalCechContraction.SemilatticeLocalCechContraction.homotopyEquiv X.left.affineOpens U i |
| 52 | (diagram p k n X Y f hp (U i)) (fun V => meet_isIso p k n X Y f hp (U i) V) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PresheafSliceDiagram |