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.SupportedGlobalData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedGlobalCoefficients |
| 4 | |
| 5 | /-! # Principal Supported Global -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSupportedGlobal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual additive principal-to-global target map agrees with |
| 12 | the original supported crystalline map after its canonical coefficients. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 21 | (U : X.left.affineOpens) |
| 22 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 23 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 24 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 25 | (g : ℕ) (a : Fin g → Γ(X.left,U.val)) |
| 26 | |
| 27 | abbrev opens := SupportedGlobalData.opens p k n X U |
| 28 | abbrev family := SupportedGlobalData.family p k n X U g a |
| 29 | abbrev linear := CechIso.ResolutionGlobal.presheaf p k n X Y f I |
| 30 | abbrev target := AdditiveGlobal.target p k n X Y f I |
| 31 | abbrev forget := AdditiveTop.Comparison.forget p k |
| 32 | abbrev localComplex := |
| 33 | ((AugmentedCech.AmbientTotal.restriction (opens p k n X U)).mapHomologicalComplex |
| 34 | (.up ℕ)).obj (linear p k n X Y f I) |
| 35 | |
| 36 | local instance tuple_preserves (d : ℕ) (z : Fin (d+1) → ULift (Fin g)) : |
| 37 | PreservesLimit (Discrete.functor (family p k n X U g a ∘ z)) (opens p k n X U) := |
| 38 | AffinePrincipal.Products.preserves X.left U.val U.property (family p k n X U g a ∘ z) |
| 39 | |
| 40 | def localIso (q : ℕ) := AugmentedCech.CoefficientTotal.homologyIso |
| 41 | (family p k n X U g a) (forget p k) (localComplex p k n X Y f U I) q |
| 42 | |
| 43 | variable {κ ν μ ρ : Type} |
| 44 | [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 45 | (B : κ → X.left.Opens) (J : ν → X.left.Opens) |
| 46 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk (ULift (Fin g)) |
| 47 | ((opens p k n X U).obj ∘ family p k n X U g a)) |
| 48 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 49 | (V : μ → X.left.Opens) (hV : iSup V = ⊤) (T : ρ → X.left.Opens) |
| 50 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 51 | (RelativeCech.Intersections.cover |
| 52 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B)) |
| 53 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 54 | (O : X.left.Opens) |
| 55 | (hO : ∀ j, (opens p k n X U).obj (family p k n X U g a j) ≤ O) |
| 56 | (hB : ∀ j, B j ≤ O) |
| 57 | (hcover : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 58 | ⨆ j, (opens p k n X U).obj (family p k n X U g a j)) |
| 59 | (hglobal : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤) |
| 60 | (q : ℕ) |
| 61 | [IsIso (RelativeCech.Refinement.homology |
| 62 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 63 | (linear p k n X Y f I) q)] |
| 64 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (linear p k n X Y f I)) q)] |
| 65 | |
| 66 | def globalValue : |
| 67 | ((AugmentedOrdered.CechFunctor.bicomplex (family p k n X U g a) |
| 68 | (AugmentedCech.CoefficientTotal.mapped (forget p k) |
| 69 | (localComplex p k n X Y f U I))).total (.up ℕ)).homology q ⟶ |
| 70 | (forget p k).obj (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 71 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 72 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 73 | (Witt.Crystalline.wittStructureMap p k Y) n q)) := by |
| 74 | letI : IsIso (RelativeCech.Refinement.homology |
| 75 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 76 | (target p k n X Y f I) q) := |
| 77 | Presheaf.CoverCoefficients.relative_isIso (forget p k) (linear p k n X Y f I) |
| 78 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s q |
| 79 | letI : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 80 | (target p k n X Y f I)) q) := |
| 81 | Presheaf.CoverCoefficients.ordered_isIso (forget p k) (linear p k n X Y f I) V T t q |
| 82 | letI := AdditiveGlobal.ResolutionFlasque.additive_edge_isIso p k n X Y f I V hV q |
| 83 | exact Principal.PresheafCover.Comparison.comparison (opens p k n X U) |
| 84 | (family p k n X U g a) B J r s V T l t (target p k n X Y f I) q ≫ |
| 85 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V (target p k n X Y f I)) q) ≫ |
| 86 | (AdditiveGlobal.globalHomologyIso p k n X Y f I q).hom |
| 87 | |
| 88 | include hB in |
| 89 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 90 | theorem coordinates : |
| 91 | (localIso p k n X Y f U I g a q).hom ≫ |
| 92 | globalValue p k n X Y f U I g a B J r s V hV T l t q = |
| 93 | (forget p k).map |
| 94 | (SupportedGlobalData.forgetSupport p k n X Y f U I g a O hO hcover hglobal q ≫ |
| 95 | (CechIso.ResolutionGlobal.globalHomologyIso p k n X Y f I q).hom) := by |
| 96 | let : ∀ (d : ℕ) (z : Fin (d+1) → ULift (Fin g)), |
| 97 | PreservesLimit (Discrete.functor (family p k n X U g a ∘ z)) (opens p k n X U) := |
| 98 | fun _ z => AffinePrincipal.Products.preserves X.left U.val U.property |
| 99 | (family p k n X U g a ∘ z) |
| 100 | let := AdditiveGlobal.ResolutionFlasque.linear_edge_isIso p k n X Y f I V hV q |
| 101 | let L := Relative.SupportedExtension.underlying.{1,0,2} |
| 102 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) X.left.toTopCat |
| 103 | (ModelSheafComparison.target p k n X Y f I) |
| 104 | let : IsIso (RelativeCech.Refinement.homology |
| 105 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s L q) := by |
| 106 | change IsIso (RelativeCech.Refinement.homology |
| 107 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 108 | (linear p k n X Y f I) q) |
| 109 | infer_instance |
| 110 | let : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t L) q) := by |
| 111 | change IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (linear p k n X Y f I)) q) |
| 112 | infer_instance |
| 113 | let : IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V L) q) := by |
| 114 | change IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V (linear p k n X Y f I)) q) |
| 115 | infer_instance |
| 116 | have h := Principal.SupportedGlobalCoefficients.with_target.{1,0,2} |
| 117 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) X.left.toTopCat |
| 118 | (ModelSheafComparison.target p k n X Y f I) |
| 119 | (opens p k n X U) (family p k n X U g a) B J r s V T l t O hO hB hglobal q hcover |
| 120 | (SupportedGlobalData.exactAt_succ p k n X Y f U I g a) (forget p k) _ |
| 121 | (CechIso.ResolutionGlobal.globalHomologyIso p k n X Y f I q).hom |
| 122 | simp only [globalValue, AdditiveGlobal.globalHomologyIso, |
| 123 | Iso.trans_hom, Functor.mapIso_hom] |
| 124 | convert h using 1 <;> rfl |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSupportedGlobal |