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.Bounded.CupFamilyRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.PresheafRefinement |
| 3 | |
| 4 | /-! # Cup Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.CupRefinement |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CupFamilyRefinement.Family (map complexMap complexes) |
| 41 | |
| 42 | variable (hF : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ BoundedCrystalline.Site.topology f n U) |
| 43 | (hG : ∀ U, CoveringObjectsSheafDetection.sieve G U ∈ BoundedCrystalline.Site.topology f n U) |
| 44 | |
| 45 | omit [CharP k p] in |
| 46 | private theorem algebra_homology (i : ℕ) |
| 47 | (x : (Cosimplicial.ModuleComplex.complex |
| 48 | (BoundedCrystalline.CechCup.cochainAlgebra f n G)).homology i) : |
| 49 | HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison f n F).hom i |
| 50 | (HomologicalComplex.homologyMap (Bounded.CupFamilyRefinement.Family.complexMap p k f n F G ρ α) i x) = |
| 51 | HomologicalComplex.homologyMap (BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α) i |
| 52 | (HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison f n G).hom i x) := by |
| 53 | let c := Bounded.CupFamilyRefinement.Family.complexMap p k f n F G ρ α |
| 54 | let eF := (BoundedCrystalline.CechCup.comparison f n F).hom |
| 55 | let eG := (BoundedCrystalline.CechCup.comparison f n G).hom |
| 56 | let a := BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α |
| 57 | have hs := (HomologicalComplex.homologyMap_comp c eF i).symm.trans |
| 58 | ((congrArg (fun z => HomologicalComplex.homologyMap z i) (Bounded.CupFamilyRefinement.Family.complexes p k f n F G ρ α)).trans |
| 59 | (HomologicalComplex.homologyMap_comp eG a i)) |
| 60 | exact DFunLike.congr_fun (congrArg ModuleCat.Hom.hom hs) x |
| 61 | |
| 62 | private theorem lifted_natural (i : ℕ) |
| 63 | (x : (BoundedFrame.CechComplex.presheafComplex f n G).homology i) : |
| 64 | (CechCup.presheafHomologyIso p k f n F hF i).hom |
| 65 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 66 | (BoundedFrame.CechComplex.presheafComplex f n F) i |
| 67 | (HomologicalComplex.homologyMap |
| 68 | (BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α) i x)) = |
| 69 | (CechCup.presheafHomologyIso p k f n G hG i).hom |
| 70 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 71 | (BoundedFrame.CechComplex.presheafComplex f n G) i x) := by |
| 72 | let a := BoundedFrame.CechPresheafRefinement.map p k f n F G ρ α |
| 73 | have ht := congrArg (fun z => z |
| 74 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 75 | (BoundedFrame.CechComplex.presheafComplex f n G) i x)) |
| 76 | (PresheafRefinement.homology p k f n F G ρ α hF hG i) |
| 77 | exact (congrArg (CechCup.presheafHomologyIso p k f n F hF i).hom |
| 78 | (Lifted.HomologyCoordinates.naturality.{u + 1, u + 1, u + 2} R a i x).symm).trans ht |
| 79 | |
| 80 | abbrev equivalence_natural (i : ℕ) |
| 81 | (x : (Cosimplicial.ModuleComplex.complex |
| 82 | (BoundedCrystalline.CechCup.cochainAlgebra f n G)).homology i) := |
| 83 | let E := fun z => (CechCup.presheafHomologyIso p k f n F hF i).hom |
| 84 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 85 | (BoundedFrame.CechComplex.presheafComplex f n F) i z) |
| 86 | (CechCup.cohomologyEquiv_apply p k f n F hF i |
| 87 | (HomologicalComplex.homologyMap (Bounded.CupFamilyRefinement.Family.complexMap p k f n F G ρ α) i x)).trans |
| 88 | ((congrArg E (algebra_homology p k f n F G ρ α i x)).trans |
| 89 | ((lifted_natural p k f n F G ρ α hF hG i |
| 90 | (HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison f n G).hom i x)).trans |
| 91 | (CechCup.cohomologyEquiv_apply p k f n G hG i x).symm)) |
| 92 | |
| 93 | include ρ α in |
| 94 | theorem cup_eq (i j : ℕ) |
| 95 | (x : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) |
| 96 | (y : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n j) : |
| 97 | CechCup.cup p k f n F hF i j x y = |
| 98 | CechCup.cup p k f n G hG i j x y := by |
| 99 | obtain ⟨x, rfl⟩ := (CechCup.cohomologyEquiv p k f n G hG i).surjective x |
| 100 | obtain ⟨y, rfl⟩ := (CechCup.cohomologyEquiv p k f n G hG j).surjective y |
| 101 | let c := Bounded.CupFamilyRefinement.Family.complexMap p k f n F G ρ α |
| 102 | have hn : HomologicalComplex.homologyMap c (i + j) |
| 103 | (Cosimplicial.ModuleCup.cohomologyCup _ i j x y) = |
| 104 | Cosimplicial.ModuleCup.cohomologyCup _ i j |
| 105 | (HomologicalComplex.homologyMap c i x) (HomologicalComplex.homologyMap c j y) := |
| 106 | Cosimplicial.ModuleCup.cohomologyCup_natural (Bounded.CupFamilyRefinement.Family.map p k f n F G ρ α) i j x y |
| 107 | exact (congrArg₂ (fun a b => CechCup.cup p k f n F hF i j a b) |
| 108 | (equivalence_natural p k f n F G ρ α hF hG i x).symm |
| 109 | (equivalence_natural p k f n F G ρ α hF hG j y).symm).trans |
| 110 | ((CechCup.cup_comparison p k f n F hF i j |
| 111 | (HomologicalComplex.homologyMap c i x) (HomologicalComplex.homologyMap c j y)).trans |
| 112 | ((congrArg (CechCup.cohomologyEquiv p k f n F hF (i + j)) hn.symm).trans |
| 113 | ((equivalence_natural p k f n F G ρ α hF hG (i + j) |
| 114 | (Cosimplicial.ModuleCup.cohomologyCup _ i j x y)).trans |
| 115 | (CechCup.cup_comparison p k f n G hG i j x y).symm))) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.CupRefinement |