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.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainTriple |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality |
| 3 | |
| 4 | /-! # Relative Cohomology Extension Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologyExtensionNaturality.Cohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Naturality and refinement independence of relative cohomology extension |
| 12 | |
| 13 | The extension used here is the inverse of the actual restriction map from the |
| 14 | relative cochain sequence of a nested triple. Naturality is therefore obtained |
| 15 | by cancelling that restriction isomorphism. No extension operation is supplied |
| 16 | as additional data. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable {R : Type} [Ring R] |
| 26 | |
| 27 | /-- A map of two nested triples restricts to a map of their inner pairs. -/ |
| 28 | theorem relativeTripleSubspace_mapsTo {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 29 | {A B : Set X} {A' B' : Set Y} |
| 30 | (hA : Set.MapsTo f A A') (hB : Set.MapsTo f B B') : |
| 31 | Set.MapsTo (LocalHomology.Cycles.subspaceMap f hA) |
| 32 | (RelativeCochainTriple.Cohomology.relativeTripleSubspace X A B) (RelativeCochainTriple.Cohomology.relativeTripleSubspace Y A' B') := |
| 33 | fun _ hx => hB hx |
| 34 | |
| 35 | /-- Actual relative cochain restriction commutes with pullback of triples. -/ |
| 36 | @[reassoc] |
| 37 | theorem relativeCochainTripleRestriction_naturality (M : ModuleCat.{0} R) |
| 38 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A B : Set X} {A' B' : Set Y} |
| 39 | (hA : Set.MapsTo f A A') (hB : Set.MapsTo f B B') : |
| 40 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f hB ≫ RelativeCochainTriple.Cohomology.relativeCochainTripleRestriction M X A B = |
| 41 | RelativeCochainTriple.Cohomology.relativeCochainTripleRestriction M Y A' B' ≫ |
| 42 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (LocalHomology.Cycles.subspaceMap f hA) |
| 43 | (relativeTripleSubspace_mapsTo f hA hB) := by |
| 44 | unfold RelativeCochainTriple.Cohomology.relativeCochainTripleRestriction |
| 45 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp M (LocalHomology.Cycles.subspaceInclusion X A) f |
| 46 | (fun _ hx => hx) hB, |
| 47 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp M (LocalHomology.Cycles.subspaceMap f hA) |
| 48 | (LocalHomology.Cycles.subspaceInclusion Y A') (relativeTripleSubspace_mapsTo f hA hB) |
| 49 | (fun _ hx => hx)] |
| 50 | rfl |
| 51 | |
| 52 | /-- The restriction square remains commutative on relative cohomology. -/ |
| 53 | @[reassoc] |
| 54 | theorem relativeCohomologyTripleRestriction_naturality (M : ModuleCat.{0} R) |
| 55 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A B : Set X} {A' B' : Set Y} |
| 56 | (hA : Set.MapsTo f A A') (hB : Set.MapsTo f B B') (n : ℕ) : |
| 57 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f hB n ≫ |
| 58 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction M X A B n = |
| 59 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction M Y A' B' n ≫ |
| 60 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceMap f hA) |
| 61 | (relativeTripleSubspace_mapsTo f hA hB) n := by |
| 62 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 63 | HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n |
| 64 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 65 | relativeCochainTripleRestriction_naturality M f hA hB] |
| 66 | |
| 67 | /-- The canonical inverse of triple restriction is natural whenever both |
| 68 | restriction maps are isomorphisms by the proved adjacent vanishing groups. -/ |
| 69 | @[reassoc] |
| 70 | theorem relativeCohomologyTripleExtension_naturality (M : ModuleCat.{0} R) |
| 71 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A B : Set X} {A' B' : Set Y} |
| 72 | (hBA : B ⊆ A) (hB'A' : B' ⊆ A') |
| 73 | (hA : Set.MapsTo f A A') (hB : Set.MapsTo f B B') (n : ℕ) |
| 74 | (hiX : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 75 | (hjX : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) |
| 76 | (hiY : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y A' n)) |
| 77 | (hjY : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y A' (n + 1))) : |
| 78 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M Y A' B' hB'A' n hiY hjY ≫ |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f hB n = |
| 80 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceMap f hA) |
| 81 | (relativeTripleSubspace_mapsTo f hA hB) n ≫ |
| 82 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X A B hBA n hiX hjX := by |
| 83 | let := RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction_isIso M X A B hBA n hiX hjX |
| 84 | apply (cancel_mono (RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction M X A B n)).1 |
| 85 | simp only [Category.assoc, RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension_restriction, |
| 86 | Category.comp_id] |
| 87 | rw [relativeCohomologyTripleRestriction_naturality M f hA hB n, |
| 88 | ← Category.assoc, RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension_restriction, Category.id_comp] |
| 89 | |
| 90 | /-- Forgetting relative supports is natural for actual maps of pairs. -/ |
| 91 | @[reassoc] |
| 92 | theorem relativeCohomologyInclusion_naturality (M : ModuleCat.{0} R) |
| 93 | {X Y : TopCat.{0}} (f : X ⟶ Y) {B : Set X} {B' : Set Y} |
| 94 | (hB : Set.MapsTo f B B') (n : ℕ) : |
| 95 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f hB n ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n = |
| 96 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M Y B' n ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback M f n := by |
| 97 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 98 | HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n |
| 99 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 100 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality M f hB] |
| 101 | |
| 102 | /-- Extending a class and forgetting its support commutes with pullback. -/ |
| 103 | @[reassoc] |
| 104 | theorem relativeCohomologyTripleExtension_forget_naturality (M : ModuleCat.{0} R) |
| 105 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A B : Set X} {A' B' : Set Y} |
| 106 | (hBA : B ⊆ A) (hB'A' : B' ⊆ A') |
| 107 | (hA : Set.MapsTo f A A') (hB : Set.MapsTo f B B') (n : ℕ) |
| 108 | (hiX : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 109 | (hjX : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) |
| 110 | (hiY : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y A' n)) |
| 111 | (hjY : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y A' (n + 1))) : |
| 112 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M Y A' B' hB'A' n hiY hjY ≫ |
| 113 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M Y B' n ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback M f n = |
| 114 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceMap f hA) |
| 115 | (relativeTripleSubspace_mapsTo f hA hB) n ≫ |
| 116 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X A B hBA n hiX hjX ≫ |
| 117 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n := by |
| 118 | rw [← relativeCohomologyInclusion_naturality M f hB n, ← Category.assoc, |
| 119 | relativeCohomologyTripleExtension_naturality M f hBA hB'A' hA hB n |
| 120 | hiX hjX hiY hjY, Category.assoc] |
| 121 | |
| 122 | /-- Actual restriction of the inner pair from U to V. This applies to |
| 123 | arbitrary subsets, and in particular to a further open shrinking. -/ |
| 124 | abbrev relativeCohomologyTripleShrink (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 125 | (U V B : Set X) (hVU : V ⊆ U) (n : ℕ) : |
| 126 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X U B) n ⟶ |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of V) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X V B) n := |
| 128 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceMap (𝟙 X) (fun _ hx => hVU hx)) |
| 129 | (relativeTripleSubspace_mapsTo (𝟙 X) (fun _ hx => hVU hx) |
| 130 | (B := B) (B' := B) (fun _ hx => hx)) n |
| 131 | |
| 132 | /-- Restricting to an intermediate subset and then shrinking is the direct |
| 133 | restriction to the smaller subset. -/ |
| 134 | @[reassoc] |
| 135 | theorem relativeCohomologyTripleRestriction_shrink (M : ModuleCat.{0} R) |
| 136 | (X : TopCat.{0}) (U V B : Set X) (hVU : V ⊆ U) (n : ℕ) : |
| 137 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction M X U B n ≫ |
| 138 | relativeCohomologyTripleShrink M X U V B hVU n = |
| 139 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction M X V B n := by |
| 140 | simpa only [relativeCohomologyTripleShrink, AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id, |
| 141 | Category.id_comp] using |
| 142 | (relativeCohomologyTripleRestriction_naturality M (𝟙 X) |
| 143 | (A := V) (B := B) (A' := U) (B' := B) |
| 144 | (fun _ hx => hVU hx) (fun _ hx => hx) n).symm |
| 145 | |
| 146 | /-- The existing canonical extensions agree after a further shrinking. The |
| 147 | proof is naturality for the identity map of the ambient pair. -/ |
| 148 | @[reassoc] |
| 149 | theorem relativeCohomologyTripleExtension_shrink (M : ModuleCat.{0} R) |
| 150 | (X : TopCat.{0}) (U V B : Set X) (hVU : V ⊆ U) (hBV : B ⊆ V) (n : ℕ) |
| 151 | (hiU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U n)) |
| 152 | (hjU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U (n + 1))) |
| 153 | (hiV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V n)) |
| 154 | (hjV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V (n + 1))) : |
| 155 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X U B (hBV.trans hVU) n hiU hjU = |
| 156 | relativeCohomologyTripleShrink M X U V B hVU n ≫ |
| 157 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X V B hBV n hiV hjV := by |
| 158 | simpa only [relativeCohomologyTripleShrink, AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id, |
| 159 | Category.comp_id] using |
| 160 | (relativeCohomologyTripleExtension_naturality M (𝟙 X) |
| 161 | hBV (hBV.trans hVU) (fun _ hx => hVU hx) (fun _ hx => hx) n |
| 162 | hiV hjV hiU hjU) |
| 163 | |
| 164 | /-- Shrinking also preserves the resulting class after forgetting supports. -/ |
| 165 | @[reassoc] |
| 166 | theorem relativeCohomologyTripleExtension_forget_shrink (M : ModuleCat.{0} R) |
| 167 | (X : TopCat.{0}) (U V B : Set X) (hVU : V ⊆ U) (hBV : B ⊆ V) (n : ℕ) |
| 168 | (hiU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U n)) |
| 169 | (hjU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U (n + 1))) |
| 170 | (hiV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V n)) |
| 171 | (hjV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V (n + 1))) : |
| 172 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X U B (hBV.trans hVU) n hiU hjU ≫ |
| 173 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n = |
| 174 | relativeCohomologyTripleShrink M X U V B hVU n ≫ |
| 175 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X V B hBV n hiV hjV ≫ |
| 176 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n := by |
| 177 | rw [relativeCohomologyTripleExtension_shrink M X U V B hVU hBV n |
| 178 | hiU hjU hiV hjV, Category.assoc] |
| 179 | |
| 180 | /-- Classes agreeing on a common refinement have equal canonical extensions. |
| 181 | The comparison maps are the actual inclusions of pairs. -/ |
| 182 | theorem relativeCohomologyTripleExtension_eq_of_commonRefinement (M : ModuleCat.{0} R) |
| 183 | (X : TopCat.{0}) (U V W B : Set X) (hWU : W ⊆ U) (hWV : W ⊆ V) |
| 184 | (hBW : B ⊆ W) (n : ℕ) |
| 185 | (hiU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U n)) |
| 186 | (hjU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U (n + 1))) |
| 187 | (hiV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V n)) |
| 188 | (hjV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V (n + 1))) |
| 189 | (hiW : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X W n)) |
| 190 | (hjW : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X W (n + 1))) |
| 191 | (cU : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X U B) n) |
| 192 | (cV : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of V) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X V B) n) |
| 193 | (hc : relativeCohomologyTripleShrink M X U W B hWU n cU = |
| 194 | relativeCohomologyTripleShrink M X V W B hWV n cV) : |
| 195 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X U B (hBW.trans hWU) n hiU hjU cU = |
| 196 | RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X V B (hBW.trans hWV) n hiV hjV cV := by |
| 197 | calc |
| 198 | _ = RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X W B hBW n hiW hjW |
| 199 | (relativeCohomologyTripleShrink M X U W B hWU n cU) := |
| 200 | ConcreteCategory.congr_hom |
| 201 | (relativeCohomologyTripleExtension_shrink M X U W B hWU hBW n |
| 202 | hiU hjU hiW hjW) cU |
| 203 | _ = RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X W B hBW n hiW hjW |
| 204 | (relativeCohomologyTripleShrink M X V W B hWV n cV) := congrArg _ hc |
| 205 | _ = _ := (ConcreteCategory.congr_hom |
| 206 | (relativeCohomologyTripleExtension_shrink M X V W B hWV hBW n |
| 207 | hiV hjV hiW hjW) cV).symm |
| 208 | |
| 209 | /-- Agreement on a common refinement gives the same absolute cohomology class |
| 210 | after canonical extension and forgetting supports. In particular, open choices |
| 211 | with a common open refinement yield identical classes. -/ |
| 212 | theorem relativeCohomologyTripleExtension_forget_eq_of_commonRefinement |
| 213 | (M : ModuleCat.{0} R) (X : TopCat.{0}) (U V W B : Set X) |
| 214 | (hWU : W ⊆ U) (hWV : W ⊆ V) (hBW : B ⊆ W) (n : ℕ) |
| 215 | (hiU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U n)) |
| 216 | (hjU : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X U (n + 1))) |
| 217 | (hiV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V n)) |
| 218 | (hjV : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X V (n + 1))) |
| 219 | (hiW : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X W n)) |
| 220 | (hjW : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X W (n + 1))) |
| 221 | (cU : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X U B) n) |
| 222 | (cV : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of V) (RelativeCochainTriple.Cohomology.relativeTripleSubspace X V B) n) |
| 223 | (hc : relativeCohomologyTripleShrink M X U W B hWU n cU = |
| 224 | relativeCohomologyTripleShrink M X V W B hWV n cV) : |
| 225 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n |
| 226 | (RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X U B (hBW.trans hWU) n hiU hjU cU) = |
| 227 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n |
| 228 | (RelativeCochainTriple.Cohomology.relativeCohomologyTripleExtension M X V B (hBW.trans hWV) n hiV hjV cV) := |
| 229 | congrArg (fun c => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion M X B n c) |
| 230 | (relativeCohomologyTripleExtension_eq_of_commonRefinement M X U V W B |
| 231 | hWU hWV hBW n hiU hjU hiV hjV hiW hjW cU cV hc) |
| 232 | |
| 233 | end |
| 234 | |
| 235 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologyExtensionNaturality.Cohomology |