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.BalancedBounded.GeometricResolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricCupNaturality |
| 3 | |
| 4 | /-! # Geometric Cup -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.GeometricCup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The balanced native cup on original bounded crystalline Ext is natural |
| 11 | for genuine geometric maps and covering-frame refinements. -/ |
| 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 Y : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of (WittVector p k))} |
| 22 | {fY : Y ⟶ Spec (CommRingCat.of (WittVector p k))} |
| 23 | [IsSeparated f] [IsSeparated fY] |
| 24 | (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 25 | {ι κ : Type u} (FX : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 26 | (FY : κ → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) (ρ : ι → κ) |
| 27 | (α : ∀ i, (BoundedOpen.Equivalence.postcompose g hg n).obj (FX i) ⟶ FY (ρ i)) |
| 28 | |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 30 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricCupNaturality |
| 31 | |
| 32 | variable (hX : ∀ V, CoveringObjectsSheafDetection.sieve FX V ∈ BoundedCrystalline.Site.topology f n V) |
| 33 | (hY : ∀ V, CoveringObjectsSheafDetection.sieve FY V ∈ BoundedCrystalline.Site.topology fY n V) |
| 34 | |
| 35 | theorem sheafHomology (i : ℕ) : HomologicalComplex.homologyMap (Bounded.GeometricCechCohomology.map p k g hg n FX FY ρ α) i ≫ |
| 36 | (CechCup.sheafHomologyIso p k f n FX hX i).hom = |
| 37 | (CechCup.sheafHomologyIso p k fY n FY hY i).hom ≫ |
| 38 | ModuleCat.ofHom (BoundedCrystalline.CrystallinePullback.pullback g hg n i) := by |
| 39 | let cX := BoundedFrame.CechCohomology.comparison p k f n FX |
| 40 | let cY := BoundedFrame.CechCohomology.comparison p k fY n FY |
| 41 | let a := Bounded.GeometricResolutionCech.map p k g hg n FX FY ρ α |
| 42 | let b := Bounded.GeometricCechCohomology.map p k g hg n FX FY ρ α |
| 43 | let d := (CechCup.resolutionHomologyIso p k f n FX hX i).hom |
| 44 | have hc := InverseCoordinateHomology.homology cY cX a b (Bounded.GeometricCechCohomology.complexes p k g hg n FX FY ρ α) i |
| 45 | have he := GeometricResolution.homology p k g hg n FX FY ρ α hX hY i |
| 46 | exact (Category.assoc _ _ _).symm.trans |
| 47 | ((congrArg (fun z => z ≫ d) hc).trans |
| 48 | ((Category.assoc _ _ _).trans |
| 49 | ((congrArg (fun z => HomologicalComplex.homologyMap cY.inv i ≫ z) he).trans |
| 50 | (Category.assoc _ _ _).symm))) |
| 51 | |
| 52 | theorem presheafHomology (i : ℕ) : HomologicalComplex.homologyMap |
| 53 | (Bounded.GeometricCupNaturality.liftedPresheafMap p k g hg n FX FY ρ α) i ≫ |
| 54 | (CechCup.presheafHomologyIso p k f n FX hX i).hom = |
| 55 | (CechCup.presheafHomologyIso p k fY n FY hY i).hom ≫ |
| 56 | ModuleCat.ofHom (BoundedCrystalline.CrystallinePullback.pullback g hg n i) := by |
| 57 | let a := Bounded.GeometricCupNaturality.liftedPresheafMap p k g hg n FX FY ρ α |
| 58 | let b := (BoundedFrame.CechPresheafCohomology.sheafIso p k f n FX).hom |
| 59 | let c := (BoundedFrame.CechPresheafCohomology.sheafIso p k fY n FY).hom |
| 60 | let d := Bounded.GeometricCechCohomology.map p k g hg n FX FY ρ α |
| 61 | let h := (CechCup.sheafHomologyIso p k f n FX hX i).hom |
| 62 | have hs := (HomologicalComplex.homologyMap_comp a b i).symm.trans |
| 63 | ((congrArg (fun z => HomologicalComplex.homologyMap z i) (Bounded.GeometricCupNaturality.presheafComplexes p k g hg n FX FY ρ α)).trans |
| 64 | (HomologicalComplex.homologyMap_comp c d i)) |
| 65 | exact (Category.assoc _ _ _).symm.trans |
| 66 | ((congrArg (fun z => z ≫ h) hs).trans |
| 67 | ((Category.assoc _ _ _).trans |
| 68 | ((congrArg (fun z => HomologicalComplex.homologyMap c i ≫ z) |
| 69 | (sheafHomology p k g hg n FX FY ρ α hX hY i)).trans |
| 70 | (Category.assoc _ _ _).symm))) |
| 71 | |
| 72 | private theorem lifted_presheaf_natural (i : ℕ) |
| 73 | (z : (BoundedFrame.CechComplex.presheafComplex fY n FY).homology i) : |
| 74 | (CechCup.presheafHomologyIso p k f n FX hX i).hom |
| 75 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 76 | (BoundedFrame.CechComplex.presheafComplex f n FX) i |
| 77 | (HomologicalComplex.homologyMap |
| 78 | (Bounded.GeometricCechCoordinates.presheafMap g hg n FX FY ρ α) i z)) = |
| 79 | BoundedCrystalline.CrystallinePullback.pullback g hg n i |
| 80 | ((CechCup.presheafHomologyIso p k fY n FY hY i).hom |
| 81 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 82 | (BoundedFrame.CechComplex.presheafComplex fY n FY) i z)) := by |
| 83 | let a := Bounded.GeometricCechCoordinates.presheafMap g hg n FX FY ρ α |
| 84 | have ht := congrArg (fun b => b |
| 85 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 86 | (BoundedFrame.CechComplex.presheafComplex fY n FY) i z)) |
| 87 | (presheafHomology p k g hg n FX FY ρ α hX hY i) |
| 88 | exact (congrArg (CechCup.presheafHomologyIso p k f n FX hX i).hom |
| 89 | (Lifted.HomologyCoordinates.naturality.{u + 1, u + 1, u + 2} R a i z).symm).trans ht |
| 90 | |
| 91 | omit [CharP k p] in |
| 92 | private theorem algebra_homology (i : ℕ) |
| 93 | (x : (Cosimplicial.ModuleComplex.complex |
| 94 | (BoundedCrystalline.CechCup.cochainAlgebra fY n FY)).homology i) : |
| 95 | HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison f n FX).hom i |
| 96 | (HomologicalComplex.homologyMap |
| 97 | (BoundedCrystalline.CupRefinement.complexMap g hg n FX FY ρ α) i x) = |
| 98 | HomologicalComplex.homologyMap (Bounded.GeometricCechCoordinates.presheafMap g hg n FX FY ρ α) i |
| 99 | (HomologicalComplex.homologyMap (BoundedCrystalline.CechCup.comparison fY n FY).hom i x) := by |
| 100 | let c := BoundedCrystalline.CupRefinement.complexMap g hg n FX FY ρ α |
| 101 | let eX := (BoundedCrystalline.CechCup.comparison f n FX).hom |
| 102 | let eY := (BoundedCrystalline.CechCup.comparison fY n FY).hom |
| 103 | let a := Bounded.GeometricCechCoordinates.presheafMap g hg n FX FY ρ α |
| 104 | have hs := (HomologicalComplex.homologyMap_comp c eX i).symm.trans |
| 105 | ((congrArg (fun z => HomologicalComplex.homologyMap z i) (Bounded.GeometricCupNaturality.algebraComplexes p k g hg n FX FY ρ α)).trans |
| 106 | (HomologicalComplex.homologyMap_comp eY a i)) |
| 107 | exact DFunLike.congr_fun (congrArg ModuleCat.Hom.hom hs) x |
| 108 | |
| 109 | def EquivalenceNaturality (i : ℕ) |
| 110 | (x : (Cosimplicial.ModuleComplex.complex |
| 111 | (BoundedCrystalline.CechCup.cochainAlgebra fY n FY)).homology i) : Prop := |
| 112 | CechCup.cohomologyEquiv p k f n FX hX i |
| 113 | (HomologicalComplex.homologyMap (BoundedCrystalline.CupRefinement.complexMap g hg n FX FY ρ α) i x) = |
| 114 | BoundedCrystalline.CrystallinePullback.pullback g hg n i |
| 115 | (CechCup.cohomologyEquiv p k fY n FY hY i x) |
| 116 | |
| 117 | abbrev equivalence_natural (i : ℕ) |
| 118 | (x : (Cosimplicial.ModuleComplex.complex |
| 119 | (BoundedCrystalline.CechCup.cochainAlgebra fY n FY)).homology i) := |
| 120 | let c := BoundedCrystalline.CupRefinement.complexMap g hg n FX FY ρ α |
| 121 | let eY := (BoundedCrystalline.CechCup.comparison fY n FY).hom |
| 122 | let E := fun z => (CechCup.presheafHomologyIso p k f n FX hX i).hom |
| 123 | (Lifted.HomologyCoordinates.equivalence.{u + 1, u + 1, u + 2} R |
| 124 | (BoundedFrame.CechComplex.presheafComplex f n FX) i z) |
| 125 | (CechCup.cohomologyEquiv_apply p k f n FX hX i |
| 126 | (HomologicalComplex.homologyMap c i x)).trans |
| 127 | ((congrArg E (algebra_homology p k g hg n FX FY ρ α i x)).trans |
| 128 | ((lifted_presheaf_natural p k g hg n FX FY ρ α hX hY i |
| 129 | (HomologicalComplex.homologyMap eY i x)).trans |
| 130 | (congrArg (BoundedCrystalline.CrystallinePullback.pullback g hg n i) |
| 131 | (CechCup.cohomologyEquiv_apply p k fY n FY hY i x).symm))) |
| 132 | |
| 133 | include ρ α in |
| 134 | theorem cup_natural (i j : ℕ) |
| 135 | (x : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) fY n i) |
| 136 | (y : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) fY n j) : |
| 137 | BoundedCrystalline.CrystallinePullback.pullback g hg n (i + j) |
| 138 | (CechCup.cup p k fY n FY hY i j x y) = |
| 139 | CechCup.cup p k f n FX hX i j |
| 140 | (BoundedCrystalline.CrystallinePullback.pullback g hg n i x) |
| 141 | (BoundedCrystalline.CrystallinePullback.pullback g hg n j y) := by |
| 142 | obtain ⟨x, rfl⟩ := (CechCup.cohomologyEquiv p k fY n FY hY i).surjective x |
| 143 | obtain ⟨y, rfl⟩ := (CechCup.cohomologyEquiv p k fY n FY hY j).surjective y |
| 144 | rw [CechCup.cup_comparison, |
| 145 | ← equivalence_natural p k g hg n FX FY ρ α hX hY] |
| 146 | have hn := BoundedCrystalline.CupRefinement.cohomologyCup_natural g hg n FX FY ρ α i j x y |
| 147 | exact (congrArg (CechCup.cohomologyEquiv p k f n FX hX (i + j)) hn).trans |
| 148 | ((CechCup.cup_comparison p k f n FX hX i j _ _).symm.trans |
| 149 | (congrArg₂ (fun a b => CechCup.cup p k f n FX hX i j a b) |
| 150 | (equivalence_natural p k g hg n FX FY ρ α hX hY i x) |
| 151 | (equivalence_natural p k g hg n FX FY ρ α hX hY j y))) |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BalancedBounded.GeometricCup |