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.PrincipalComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts |
| 4 | |
| 5 | /-! # Ordinary Base Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryBaseIso.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Witt-relative ordinary frame diagram is naturally the ordinary |
| 12 | de Rham diagram of the same model over its actual truncated base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _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)))) [Smooth X.hom] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | |
| 25 | local notation "W" => WittVector p k |
| 26 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 27 | local notation "AW" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalComplex.Comparison.rings p k n X Y f hp |
| 28 | local notation "AS" => CategoryTheory.Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left) ⋙ |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras S X |
| 30 | |
| 31 | local instance truncated (I : X.left.affineOpensᵒᵖ) : Algebra S ((AW).obj I) := |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X I.unop.val |
| 33 | local instance witt (I : X.left.affineOpensᵒᵖ) : Algebra W ((AS).obj I) := |
| 34 | Truncated.SmoothFrame.Complex.wittAlgebra p k n ((AS).obj I) |
| 35 | local instance tower (I : X.left.affineOpensᵒᵖ) : IsScalarTower W S ((AS).obj I) := |
| 36 | IsScalarTower.of_algebraMap_eq' rfl |
| 37 | |
| 38 | def source := PrincipalComplex.Comparison.ordinaryComplexes p k n X Y f hp |
| 39 | def target := AS ⋙ OrdinaryDeRhamFunctor.Ordinary.functor S ⋙ |
| 40 | (ModuleCat.restrictScalars (algebraMap W S)).mapHomologicalComplex (.up ℕ) |
| 41 | |
| 42 | def component (I : X.left.affineOpensᵒᵖ) : |
| 43 | (source p k n X Y f hp).obj I ≅ (target p k n X).obj I := |
| 44 | GeometricComparison.SurjectiveBase.SurjectiveBaseDeRham.iso W S ((AS).obj I) Ideal.Quotient.mk_surjective |
| 45 | |
| 46 | theorem naturality {I J : X.left.affineOpensᵒᵖ} (α : I ⟶ J) : |
| 47 | (source p k n X Y f hp).map α ≫ (component p k n X Y f hp J).hom = |
| 48 | (component p k n X Y f hp I).hom ≫ (target p k n X).map α := by |
| 49 | exact GeometricComparison.SurjectiveBase.SurjectiveBaseDeRham.naturality W S ((AS).obj I) Ideal.Quotient.mk_surjective |
| 50 | ((AS).obj J) (((AS).map α).hom) |
| 51 | |
| 52 | def iso : source p k n X Y f hp ≅ target p k n X := |
| 53 | NatIso.ofComponents (component p k n X Y f hp) (fun α => naturality p k n X Y f hp α) |
| 54 | |
| 55 | def pdIso : PrincipalComplex.Comparison.pdComplexes p k n X Y f hp ≅ |
| 56 | target p k n X := |
| 57 | PrincipalComplex.Comparison.iso p k n X Y f hp ≪≫ iso p k n X Y f hp |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.OrdinaryBaseIso.Ordinary |