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