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.FrameCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.ChangeOnSubcategoryMap |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PresheafSliceDiagram |
| 5 | |
| 6 | /-! # Geometric Slice Diagram -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram |
| 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 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (I : X.left.affineOpens) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "FI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.frame p k n X Y f hp I.val I.property |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 33 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 34 | local notation "t" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose |
| 35 | (Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property) |
| 36 | ((Crystalline.OpenPresentation.overWitt p k C Y (Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property) (Truncated.AffineModelFrame.chart_over p k n X Y f hp I.val I.property))) n |
| 37 | |
| 38 | local instance separated : IsSeparated w := by |
| 39 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 40 | infer_instance |
| 41 | |
| 42 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 43 | theorem map_to_frame (T) : Nonempty ((t).obj T ⟶ FI) := by |
| 44 | obtain ⟨a⟩ := FrameCover.exists_map p k n X Y f hp I.val I.property |
| 45 | ((t).obj T).obj T.obj.mapToX rfl T.property |
| 46 | exact ⟨ObjectProperty.homMk a⟩ |
| 47 | |
| 48 | theorem product_isIso (V : X.left.affineOpens) (T) : |
| 49 | IsIso (prod.map (LocalProduct.restriction p k n X Y f hp |
| 50 | V.val I.val V.property I.property) (𝟙 ((t).obj T))) := by |
| 51 | obtain ⟨a⟩ := map_to_frame p k n X Y f hp I T |
| 52 | exact LocalProduct.map_isIso p k n X Y f hp V.val I.val V.property I.property ((t).obj T) a |
| 53 | |
| 54 | theorem frameMap_isIso (V : X.left.affineOpens) : IsIso |
| 55 | (((Relative.ComplexRestriction.restriction (B := W) t).mapHomologicalComplex (.up ℕ)).map |
| 56 | (BoundedFrame.Change.presheafMap |
| 57 | (LocalProduct.restriction p k n X Y f hp V.val I.val V.property I.property))) := |
| 58 | GeometricComparison.Frame.ChangeOnSubcategoryMap.FrameChangeOnSubcategoryMap.isIso w n t _ _ |
| 59 | (LocalProduct.restriction p k n X Y f hp V.val I.val V.property I.property) |
| 60 | (fun T => product_isIso p k n X Y f hp I V T) |
| 61 | |
| 62 | def diagram := (FrameFunctor.functor p k n X Y f hp).op ⋙ |
| 63 | GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.presheafFunctor w n ⋙ |
| 64 | (Relative.ComplexRestriction.restriction (B := W) t).mapHomologicalComplex (.up ℕ) |
| 65 | |
| 66 | theorem meet_isIso (V : X.left.affineOpens) : IsIso |
| 67 | ((diagram p k n X Y f hp I).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op) := by |
| 68 | dsimp only [diagram, Functor.comp_map, Functor.op_map] |
| 69 | rw [GeometricComparison.Frame.PresheafResolutionAugmentation.FramePresheafResolutionAugmentation.map_eq] |
| 70 | erw [PresheafSliceDiagram.restriction_eq] |
| 71 | exact frameMap_isIso p k n X Y f hp I V |
| 72 | |
| 73 | variable {ι : Type} (U : ι → X.left.affineOpens) (i : ι) |
| 74 | |
| 75 | def localHomotopyEquiv := |
| 76 | GeometricComparison.Semilattice.LocalCechContraction.SemilatticeLocalCechContraction.homotopyEquiv X.left.affineOpens U i |
| 77 | (diagram p k n X Y f hp (U i)) (fun V => meet_isIso p k n X Y f hp (U i) V) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram |