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.ModelSheafComparison |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrdinaryOrderedEdge |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.OrdinaryCechCoefficientUnit |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeProduct |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeNaturality |
| 6 | |
| 7 | /-! # Cech Iso -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.ResolutionGlobal |
| 14 | |
| 15 | /-! The global sections and ordered Čech edge of the actual pushed |
| 16 | native resolution, with their original bounded crystalline target. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 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 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 27 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 28 | |
| 29 | abbrev presheaf := ((sheafToPresheaf (Opens.grothendieckTopology X.left) |
| 30 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)))).mapHomologicalComplex |
| 31 | (.up ℕ)).obj (ModelSheafComparison.target p k n X Y f I) |
| 32 | |
| 33 | def nativeGlobalComplex : CochainComplex |
| 34 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 35 | ((BoundedOpen.SectionComplex.evaluation (B := WittVector p k) (⊤ : Y.left.Opens)).mapHomologicalComplex |
| 36 | (.up ℕ)).obj (BoundedOpen.SectionComplex.complex (Witt.Crystalline.wittStructureMap p k Y) n I) |
| 37 | |
| 38 | def globalIso : Presheaf.OrderedCechEdge.sections (presheaf p k n X Y f I) ≅ |
| 39 | nativeGlobalComplex p k n Y I := |
| 40 | Iso.refl _ |
| 41 | |
| 42 | def globalHomologyIso (q : ℕ) := |
| 43 | (HomologicalComplex.homologyFunctor _ _ q).mapIso (globalIso p k n X Y f I) ≪≫ |
| 44 | BoundedOpen.SectionGlobal.homologyIso (Witt.Crystalline.wittStructureMap p k Y) n I q |
| 45 | |
| 46 | variable {ι : Type} [LinearOrder ι] (V : ι → X.left.Opens) |
| 47 | |
| 48 | def toOrdered (q : ℕ) := (globalHomologyIso p k n X Y f I q).inv ≫ |
| 49 | homologyMap (Presheaf.OrderedCechEdge.edge V (presheaf p k n X Y f I)) q |
| 50 | |
| 51 | local instance tuple_preserves (m : ℕ) |
| 52 | (t : Fin (m+1) → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) : |
| 53 | PreservesLimit (Discrete.functor (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X ∘ t)) |
| 54 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left) := |
| 55 | AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.inclusion_preserves X.left _ |
| 56 | local instance special_tuple_preserves (m : ℕ) |
| 57 | (t : Fin (m+1) → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) : |
| 58 | PreservesLimit (Discrete.functor (CechSliceResolution.opens p k n X ∘ t)) |
| 59 | (SectionBifunctor.specialOpens p k n X Y f) := |
| 60 | AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.composite_preserves X.left Y.left f _ |
| 61 | |
| 62 | abbrev nativeSections := ((SectionBifunctor.sections p k n X Y f).mapHomologicalComplex |
| 63 | (.up ℕ)).obj I.cocomplex |
| 64 | abbrev pulledSections := ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback |
| 65 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left)).mapHomologicalComplex (.up ℕ)).obj (presheaf p k n X Y f I) |
| 66 | |
| 67 | def affineSectionsIso : nativeSections p k n X Y f I ≅ pulledSections p k n X Y f I := Iso.refl _ |
| 68 | |
| 69 | def affineCone := GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left) |
| 70 | (presheaf p k n X Y f I) (Presheaf.OrderedCechEdge.sections (presheaf p k n X Y f I)) |
| 71 | (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone X.left.Opens (presheaf p k n X Y f I)) |
| 72 | |
| 73 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 74 | theorem affine_cone : |
| 75 | GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.cone (Witt.Crystalline.wittStructureMap p k Y) n I |
| 76 | (SectionBifunctor.specialOpens p k n X Y f) ≫ |
| 77 | (affineSectionsIso p k n X Y f I).hom = |
| 78 | GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant.map (globalIso p k n X Y f I).inv ≫ |
| 79 | affineCone p k n X Y f I := by |
| 80 | apply HomologicalComplex.Hom.ext |
| 81 | funext q |
| 82 | apply NatTrans.ext |
| 83 | funext U |
| 84 | apply ModuleCat.hom_ext |
| 85 | apply LinearMap.ext |
| 86 | intro x |
| 87 | rfl |
| 88 | |
| 89 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.ResolutionGlobal |
| 90 | |
| 91 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.Map |
| 92 | |
| 93 | /-! Mapping an affine-complex isomorphism to the native small Cech total, |
| 94 | with the actual coefficient category fixed before the resolution input. -/ |
| 95 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 96 | set_option backward.isDefEq.respectTransparency false |
| 97 | set_option backward.isDefEq.respectTransparency.types false |
| 98 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 99 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 100 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 101 | (K L : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 102 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 103 | (e : K ≅ L) |
| 104 | |
| 105 | def mapIso : |
| 106 | (Small.OrdinaryCechCoefficientUnit.Ordinary.affineTotal (Truncated.Witt.Ring p k n) X).obj K ≅ |
| 107 | (Small.OrdinaryCechCoefficientUnit.Ordinary.affineTotal (Truncated.Witt.Ring p k n) X).obj L := |
| 108 | (Small.OrdinaryCechCoefficientUnit.Ordinary.affineTotal (Truncated.Witt.Ring p k n) X).mapIso e |
| 109 | |
| 110 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.Map |
| 111 | |
| 112 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.Product |
| 113 | |
| 114 | /-! The small-cover product isomorphism, with the native coefficient |
| 115 | category fixed before choosing the actual crystalline resolution. -/ |
| 116 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 117 | set_option backward.isDefEq.respectTransparency false |
| 118 | set_option backward.isDefEq.respectTransparency.types false |
| 119 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 120 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 121 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 122 | (K : CochainComplex (X.left.Opensᵒᵖ ⥤ |
| 123 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 124 | (N : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 125 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 126 | (e : N ≅ ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback |
| 127 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 128 | |
| 129 | def iso : |
| 130 | (Small.OrdinaryCechCoefficientUnit.Ordinary.affineTotal (Truncated.Witt.Ring p k n) X).obj N ≅ |
| 131 | (OrderedCech.TotalProjection.ordinary |
| 132 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X)).obj K := |
| 133 | Map.mapIso p k n X N _ e ≪≫ |
| 134 | Small.OrdinaryCechCoefficientUnit.Ordinary.productIso (Truncated.Witt.Ring p k n) X K |
| 135 | |
| 136 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechIso.Product |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI |