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.FrameCover |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.LocalProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.ChangeOnSubcategoryMap |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PresheafSliceDiagram |
| 5 | |
| 6 | /-! # Slice Diagram -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram.IntrinsicPadicGeometricSliceDiagram |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual native frame diagram contracts after restriction to each |
| 13 | geometric affine chart, using smooth lifts for its bounded objects. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (n : ℕ) (I : X.left.affineOpens) |
| 24 | |
| 25 | local notation "W" => WittVector p (ZMod p) |
| 26 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 27 | local notation "FI" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp I.val I.property n |
| 28 | local notation "t" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose |
| 29 | (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp I.val I.property) |
| 30 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp I.val I.property) n |
| 31 | |
| 32 | local instance separated : IsSeparated w := by |
| 33 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 34 | infer_instance |
| 35 | |
| 36 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 37 | theorem map_to_frame (T) : Nonempty ((t).obj T ⟶ FI) := by |
| 38 | obtain ⟨a⟩ := FrameCover.IntrinsicPadicFrameCover.exists_map p X Y f hp n I.val I.property |
| 39 | ((t).obj T).obj T.obj.mapToX rfl T.property |
| 40 | exact ⟨ObjectProperty.homMk a⟩ |
| 41 | |
| 42 | theorem product_isIso (V : X.left.affineOpens) (T) : |
| 43 | IsIso (prod.map (LocalProduct.IntrinsicPadicLocalProduct.restriction p X Y f hp n |
| 44 | V.val I.val V.property I.property) (𝟙 ((t).obj T))) := by |
| 45 | obtain ⟨a⟩ := map_to_frame p X Y f hp n I T |
| 46 | exact LocalProduct.IntrinsicPadicLocalProduct.map_isIso p X Y f hp n V.val I.val V.property I.property ((t).obj T) a |
| 47 | |
| 48 | theorem frameMap_isIso (V : X.left.affineOpens) : IsIso |
| 49 | (((IntegralComparison.Relative.ComplexRestriction.restriction (B := W) t).mapHomologicalComplex (.up ℕ)).map |
| 50 | (IntegralComparison.BoundedFrame.Change.presheafMap |
| 51 | (LocalProduct.IntrinsicPadicLocalProduct.restriction p X Y f hp n V.val I.val V.property I.property))) := |
| 52 | Frame.ChangeOnSubcategoryMap.FrameChangeOnSubcategoryMap.isIso w n t _ _ |
| 53 | (LocalProduct.IntrinsicPadicLocalProduct.restriction p X Y f hp n V.val I.val V.property I.property) |
| 54 | (fun T => product_isIso p X Y f hp n I V T) |
| 55 | |
| 56 | def diagram := (FrameFunctor.IntrinsicPadicFrameFunctor.functor p X Y f hp n).op ⋙ |
| 57 | BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.presheafFunctor w n ⋙ |
| 58 | (IntegralComparison.Relative.ComplexRestriction.restriction (B := W) t).mapHomologicalComplex (.up ℕ) |
| 59 | |
| 60 | theorem meet_isIso (V : X.left.affineOpens) : IsIso |
| 61 | ((diagram p X Y f hp n I).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op) := by |
| 62 | dsimp only [diagram, Functor.comp_map, Functor.op_map] |
| 63 | rw [Frame.PresheafResolutionAugmentation.FramePresheafResolutionAugmentation.map_eq] |
| 64 | erw [PresheafSliceDiagram.IntrinsicPadicPresheafSliceDiagram.restriction_eq] |
| 65 | exact frameMap_isIso p X Y f hp n I V |
| 66 | |
| 67 | variable {ι : Type} (U : ι → X.left.affineOpens) (i : ι) |
| 68 | |
| 69 | def localHomotopyEquiv := |
| 70 | Semilattice.LocalCechContraction.SemilatticeLocalCechContraction.homotopyEquiv X.left.affineOpens U i |
| 71 | (diagram p X Y f hp n (U i)) (fun V => meet_isIso p X Y f hp n (U i) V) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram.IntrinsicPadicGeometricSliceDiagram |