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.BoundedFrame.CechPresheafRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CechCup |
| 3 | |
| 4 | /-! # Cup Family Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CupFamilyRefinement.Family |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native cup on original bounded crystalline Ext is invariant under |
| 11 | an actual refinement of covering frame families. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 20 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (CommRingCat.of (WittVector p k))) [IsSeparated f] (n : ℕ) |
| 22 | {ι κ : Type u} (F : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 23 | (G : κ → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) (ρ : ι → κ) |
| 24 | (α : ∀ i, F i ⟶ G (ρ i)) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 27 | local notation "PA" => Functor.comp (Functor.op (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n)) |
| 28 | (BoundedCrystalline.CechCup.structureAlgebraPresheaf f) |
| 29 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CechCup.forgetModule (B := WittVector p k) |
| 30 | |
| 31 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} R) := by |
| 32 | let h : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 33 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 34 | |
| 35 | local instance algebraProducts : HasProducts.{u} (CommAlgCat.{u + 1} R) := by |
| 36 | have h : HasLimitsOfSize.{u, u} (CommAlgCat.{u + 1} R) := |
| 37 | hasLimitsOfSizeShrink.{u, u, u + 1, u + 1} _ |
| 38 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 39 | |
| 40 | def map : BoundedCrystalline.CechCup.cochainAlgebra f n G ⟶ |
| 41 | BoundedCrystalline.CechCup.cochainAlgebra f n F := |
| 42 | Cech.FamilyRefinement.Family.map.{u + 1, u} F G ρ α PA |
| 43 | |
| 44 | def complexMap := Cosimplicial.ModuleCup.complexMap (Family.map p k f n F G ρ α) |
| 45 | |
| 46 | omit [CharP k p] in |
| 47 | theorem comparison_f (a : ℕ) : (BoundedCrystalline.CechCup.comparison f n F).hom.f a = |
| 48 | piComparison T (fun t : Fin (a + 1) → ι => |
| 49 | (PA).obj (op (Presentation.TupleProducts.family.{u + 1, u} F a t))) := by |
| 50 | let Q := fun t : Fin (a + 1) → ι => |
| 51 | (PA).obj (op (Presentation.TupleProducts.family.{u + 1, u} F a t)) |
| 52 | let C := NonemptyCechNerve.complexFunctor (A := ModuleCat.{u + 1} R) F |
| 53 | let H := (BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n).op ⋙ |
| 54 | BigCrystallineCohomology.largePresheaf f |
| 55 | change piComparison T Q ≫ (C.map (𝟙 H)).f a = piComparison T Q |
| 56 | exact (congrArg (fun z => piComparison T Q ≫ z.f a) (C.map_id H)).trans (Category.comp_id _) |
| 57 | |
| 58 | omit [CharP k p] in |
| 59 | theorem complexes : complexMap p k f n F G ρ α ≫ |
| 60 | (BoundedCrystalline.CechCup.comparison f n F).hom = |
| 61 | (BoundedCrystalline.CechCup.comparison f n G).hom ≫ |
| 62 | BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α := by |
| 63 | apply HomologicalComplex.Hom.ext |
| 64 | funext a |
| 65 | exact (congrArg (fun z => (complexMap p k f n F G ρ α).f a ≫ z) |
| 66 | (comparison_f p k f n F a)).trans |
| 67 | ((Frame.CosimplicialRefinement.piComparison_reindex |
| 68 | (fun t : Fin (a + 1) → ι => ρ ∘ t) T |
| 69 | (P := fun t => (PA).obj (op (Presentation.TupleProducts.family.{u + 1, u} G a t))) |
| 70 | (Q := fun t => (PA).obj (op (Presentation.TupleProducts.family.{u + 1, u} F a t))) |
| 71 | (Cech.FamilyRefinement.Family.coefficient.{u + 1, u} F G ρ α PA a)).trans |
| 72 | (congrArg (fun z => z ≫ (BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α).f a) |
| 73 | (comparison_f p k f n G a)).symm) |
| 74 | |
| 75 | variable (hF : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ BoundedCrystalline.Site.topology f n U) |
| 76 | (hG : ∀ U, CoveringObjectsSheafDetection.sieve G U ∈ BoundedCrystalline.Site.topology f n U) |
| 77 | |
| 78 | theorem equivalence_natural (i : ℕ) |
| 79 | (x : (Cosimplicial.ModuleComplex.complex |
| 80 | (BoundedCrystalline.CechCup.cochainAlgebra f n G)).homology i) : |
| 81 | BoundedCrystalline.CechCup.cohomologyEquiv p k f n F hF i |
| 82 | (HomologicalComplex.homologyMap (complexMap p k f n F G ρ α) i x) = |
| 83 | BoundedCrystalline.CechCup.cohomologyEquiv p k f n G hG i x := by |
| 84 | let c := complexMap p k f n F G ρ α |
| 85 | let eF := (BoundedCrystalline.CechCup.comparison f n F).hom |
| 86 | let eG := (BoundedCrystalline.CechCup.comparison f n G).hom |
| 87 | let a := BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α |
| 88 | have hs := (HomologicalComplex.homologyMap_comp c eF i).symm.trans |
| 89 | ((congrArg (fun z => HomologicalComplex.homologyMap z i) (complexes p k f n F G ρ α)).trans |
| 90 | (HomologicalComplex.homologyMap_comp eG a i)) |
| 91 | let EF := (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 92 | (BoundedFrame.CechComplex.presheafComplex f n F) i).trans |
| 93 | (BoundedFrame.CechPresheafCohomology.homologyIso p k f n F hF i).toLinearEquiv |
| 94 | have ht := congrArg (fun z => z |
| 95 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 96 | (BoundedFrame.CechComplex.presheafComplex f n G) i (HomologicalComplex.homologyMap eG i x))) |
| 97 | (BoundedFrame.CechPresheafRefinement.homology p k f n F G ρ α hF hG i) |
| 98 | exact (congrArg EF (congrArg (fun z => z x) hs)).trans |
| 99 | ((congrArg (BoundedFrame.CechPresheafCohomology.homologyIso p k f n F hF i).hom |
| 100 | (Lifted.HomologyCoordinates.naturality.{u + 1, u + 1, u + 2} R a i |
| 101 | (HomologicalComplex.homologyMap eG i x)).symm).trans ht) |
| 102 | |
| 103 | include ρ α in |
| 104 | theorem cup_eq (i j : ℕ) |
| 105 | (x : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) |
| 106 | (y : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n j) : |
| 107 | BoundedCrystalline.CechCup.cup p k f n F hF i j x y = |
| 108 | BoundedCrystalline.CechCup.cup p k f n G hG i j x y := by |
| 109 | obtain ⟨x, rfl⟩ := (BoundedCrystalline.CechCup.cohomologyEquiv p k f n G hG i).surjective x |
| 110 | obtain ⟨y, rfl⟩ := (BoundedCrystalline.CechCup.cohomologyEquiv p k f n G hG j).surjective y |
| 111 | let c := complexMap p k f n F G ρ α |
| 112 | have hn : HomologicalComplex.homologyMap c (i + j) |
| 113 | (Cosimplicial.ModuleCup.cohomologyCup _ i j x y) = |
| 114 | Cosimplicial.ModuleCup.cohomologyCup _ i j |
| 115 | (HomologicalComplex.homologyMap c i x) (HomologicalComplex.homologyMap c j y) := |
| 116 | Cosimplicial.ModuleCup.cohomologyCup_natural (Family.map p k f n F G ρ α) i j x y |
| 117 | exact (congrArg₂ (fun a b => BoundedCrystalline.CechCup.cup p k f n F hF i j a b) |
| 118 | (equivalence_natural p k f n F G ρ α hF hG i x).symm |
| 119 | (equivalence_natural p k f n F G ρ α hF hG j y).symm).trans |
| 120 | ((BoundedCrystalline.CechCup.cup_comparison p k f n F hF i j |
| 121 | (HomologicalComplex.homologyMap c i x) (HomologicalComplex.homologyMap c j y)).trans |
| 122 | ((congrArg (BoundedCrystalline.CechCup.cohomologyEquiv p k f n F hF (i + j)) hn.symm).trans |
| 123 | ((equivalence_natural p k f n F G ρ α hF hG (i + j) |
| 124 | (Cosimplicial.ModuleCup.cohomologyCup _ i j x y)).trans |
| 125 | (BoundedCrystalline.CechCup.cup_comparison p k f n G hG i j x y).symm))) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CupFamilyRefinement.Family |