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.PrincipalSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.TopSingle |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.SingleDiagonalClassImage |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.CoefficientMap |
| 5 | |
| 6 | /-! # Principal Top Single -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopSingle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine top-form inclusion on the actual principal diagram, |
| 13 | with its literal coefficient in the original integral-form coordinates. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem composite_apply {C : Type*} [Category C] |
| 19 | {R : Type*} [CommRing R] {P Q S : C ⥤ ModuleCat R} |
| 20 | (a : P ⟶ Q) (b : Q ⟶ S) (c : P ⟶ S) (h : a ≫ b = c) |
| 21 | (r : C) (z : P.obj r) : b.app r (a.app r z) = c.app r z := |
| 22 | ConcreteCategory.congr_hom (NatTrans.congr_app h r) z |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 25 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 26 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 27 | (U : X.left.affineOpens) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 28 | |
| 29 | abbrev sheafCoefficient := (ModelSheafComparison.sourceFunctor p k n X).obj |
| 30 | (IntrinsicDeRham.TopSingle.Intrinsic.coefficient (Truncated.Witt.Ring p k n) X g) |
| 31 | |
| 32 | abbrev coefficient := (PrincipalSheaf.Comparison.restriction p k n X U).obj |
| 33 | (sheafCoefficient p k n X g) |
| 34 | |
| 35 | abbrev diagramFunctor := |
| 36 | ModelSheafComparison.sourceFunctor p k n X ⋙ |
| 37 | PrincipalSheaf.Comparison.restriction p k n X U |
| 38 | |
| 39 | def map : (single _ (.up ℕ) g).obj (coefficient p k n X U g) ⟶ |
| 40 | FractionClass.Integral.target p k n X U := |
| 41 | Single.CoefficientMap.map (diagramFunctor p k n X U) |
| 42 | (IntrinsicDeRham.TopSingle.Intrinsic.coefficient (Truncated.Witt.Ring p k n) X g) g |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex (Truncated.Witt.Ring p k n) X) |
| 44 | (IntrinsicDeRham.TopSingle.Intrinsic.sheafMap (Truncated.Witt.Ring p k n) X g) |
| 45 | |
| 46 | def coefficientMap : coefficient p k n X U g ⟶ |
| 47 | (FractionClass.Integral.target p k n X U).X g := |
| 48 | (PrincipalSheaf.Comparison.restriction p k n X U).map |
| 49 | ((ModelSheafComparison.sourceFunctor p k n X).map |
| 50 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso (Truncated.Witt.Ring p k n) X g).hom) |
| 51 | |
| 52 | omit [Fintype k] [CharP k p] [Smooth X.hom] [X.left.IsSeparated] in |
| 53 | theorem map_f : (PrincipalTopSingle.map p k n X U g).f g = |
| 54 | (singleObjXSelf (.up ℕ) g (coefficient p k n X U g)).hom ≫ coefficientMap p k n X U g := |
| 55 | Single.CoefficientMap.self (diagramFunctor p k n X U) |
| 56 | (IntrinsicDeRham.TopSingle.Intrinsic.coefficient (Truncated.Witt.Ring p k n) X g) g |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex (Truncated.Witt.Ring p k n) X) |
| 58 | (IntrinsicDeRham.TopSingle.Intrinsic.sheafMap (Truncated.Witt.Ring p k n) X g) |
| 59 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso (Truncated.Witt.Ring p k n) X g).hom |
| 60 | (IntrinsicDeRham.TopSingle.Intrinsic.sheafMap_f (Truncated.Witt.Ring p k n) X g) |
| 61 | |
| 62 | omit [Fintype k] [CharP k p] [Smooth X.hom] [X.left.IsSeparated] in |
| 63 | theorem inverse_map_f : |
| 64 | (singleObjXSelf (.up ℕ) g (coefficient p k n X U g)).inv ≫ |
| 65 | (PrincipalTopSingle.map p k n X U g).f g = coefficientMap p k n X U g := |
| 66 | Single.CoefficientMap.inverse_self (diagramFunctor p k n X U) |
| 67 | (IntrinsicDeRham.TopSingle.Intrinsic.coefficient (Truncated.Witt.Ring p k n) X g) g |
| 68 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex (Truncated.Witt.Ring p k n) X) |
| 69 | (IntrinsicDeRham.TopSingle.Intrinsic.sheafMap (Truncated.Witt.Ring p k n) X g) |
| 70 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso (Truncated.Witt.Ring p k n) X g).hom |
| 71 | (IntrinsicDeRham.TopSingle.Intrinsic.sheafMap_f (Truncated.Witt.Ring p k n) X g) |
| 72 | |
| 73 | omit [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 74 | theorem coefficientMap_apply (r : PrincipalFrame.Index X.left U) |
| 75 | (x : Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g, |
| 76 | (Principal.DeRhamSectionUnit.opens (Truncated.Witt.Ring p k n) X U).obj r)) : |
| 77 | (coefficientMap p k n X U g).app (op r) (ULift.up.{2,1} (ULift.up.{1,0} x)) = |
| 78 | ULift.up.{2,1} (ULift.up.{1,0} |
| 79 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso (Truncated.Witt.Ring p k n) X |
| 80 | ((Principal.DeRhamSectionUnit.opens (Truncated.Witt.Ring p k n) X U).obj r) g).hom x)) := rfl |
| 81 | |
| 82 | omit [Fintype k] [CharP k p] [Smooth X.hom] [X.left.IsSeparated] in |
| 83 | theorem component (r : PrincipalFrame.Index X.left U) |
| 84 | (x : Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g, |
| 85 | (Principal.DeRhamSectionUnit.opens (Truncated.Witt.Ring p k n) X U).obj r)) : |
| 86 | ((PrincipalTopSingle.map p k n X U g).f g).app (op r) |
| 87 | ((singleObjXSelf (.up ℕ) g (coefficient p k n X U g)).inv.app (op r) |
| 88 | (ULift.up.{2,1} (ULift.up.{1,0} x))) = |
| 89 | ULift.up.{2,1} (ULift.up.{1,0} |
| 90 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso (Truncated.Witt.Ring p k n) X |
| 91 | ((Principal.DeRhamSectionUnit.opens (Truncated.Witt.Ring p k n) X U).obj r) g).hom x)) := by |
| 92 | exact (composite_apply |
| 93 | (singleObjXSelf (.up ℕ) g (coefficient p k n X U g)).inv |
| 94 | ((PrincipalTopSingle.map p k n X U g).f g) (coefficientMap p k n X U g) |
| 95 | (inverse_map_f p k n X U g) (op r) |
| 96 | (ULift.up.{2,1} (ULift.up.{1,0} x))).trans (coefficientMap_apply p k n X U g r x) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopSingle |