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.FrameDiagonalMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexF |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenSectionCoordinates |
| 4 | |
| 5 | /-! # Frame Diagonal Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native frame-diagonal map has exactly the original frame-section |
| 12 | and Zariski restriction components. -/ |
| 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 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 31 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 32 | |
| 33 | local instance separated : IsSeparated w := by |
| 34 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 35 | infer_instance |
| 36 | |
| 37 | variable (I : X.left.affineOpens) |
| 38 | local notation "FY" => CategoryTheory.Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X Y f hp) I |
| 39 | |
| 40 | local instance constPreservesZero : |
| 41 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} Rcoeff ⥤ X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 42 | map_zero _ _ := rfl |
| 43 | |
| 44 | omit [X.left.IsSeparated] in |
| 45 | theorem app_f (degree : ℕ) : |
| 46 | ((FrameDiagonalMap.transformation p k n X Y f hp).app (op I)).f degree = |
| 47 | (ConstantSection.ComplexRestriction.sectionMap.{1, 0, 2} Rcoeff |
| 48 | (BoundedCrystalline.Site.topology (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 49 | (BoundedFrame.DeRhamSections.frameComplex w n FY) |
| 50 | (Bounded.RelativeSheafComplex.complex w n FY) |
| 51 | (BoundedFrame.DeRhamSections.sheafMap w n FY)).f degree ≫ |
| 52 | ((GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation w n).app |
| 53 | ((Bounded.RelativeSheafComplex.complex w n FY).X degree)).app (op (f ⁻¹ᵁ I.val)) := by |
| 54 | have h₁ := GeometricComparison.ConstantComplexF.ConstantComplexDiagonalCoordinates.app_f |
| 55 | (FrameDiagonalMap.source p k n X Y f hp) |
| 56 | (P ⋙ (S).mapHomologicalComplex (.up ℕ)) |
| 57 | (FrameDiagonalMap.openTransformation p k n X Y f hp) (op I) degree |
| 58 | have h₂ := GeometricComparison.Frame.OpenSectionCoordinates.FrameOpenSectionCoordinates.open_app_f w n (op FY) (op (f ⁻¹ᵁ I.val)) degree |
| 59 | have h₃ := GeometricComparison.Frame.OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app_f w n (op FY) degree |
| 60 | exact h₁.trans (h₂.trans (congrArg (fun a => a ≫ |
| 61 | ((GeometricComparison.Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation w n).app |
| 62 | ((Bounded.RelativeSheafComplex.complex w n FY).X degree)).app (op (f ⁻¹ᵁ I.val))) h₃)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalCoordinates |