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.AlgebraicTopology.Cohomology.Singular.RelativeSequence |
| 2 | |
| 3 | /-! # Relative Cochain Triple -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainTriple.Cohomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The genuine relative cochain sequence of a nested triple |
| 11 | |
| 12 | For B ⊆ A ⊆ X, relative cochains are the existing kernels of actual singular |
| 13 | cochain restriction maps. The maps below give the short exact sequence |
| 14 | 0 → C*(X,A) → C*(X,B) → C*(A,B) → 0. Inside A the subset B is represented by |
| 15 | the literal inverse image of B under the inclusion A → X. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {R : Type} [Ring R] |
| 25 | |
| 26 | /-- The smaller ambient subset, regarded as an actual subset of A. -/ |
| 27 | def relativeTripleSubspace (X : TopCat.{0}) (A B : Set X) : Set (TopCat.of A) := |
| 28 | {a | a.val ∈ B} |
| 29 | |
| 30 | /-- The canonical map from B to its representation as a subset of A. -/ |
| 31 | def relativeTripleSubspaceLift (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) : |
| 32 | TopCat.of B ⟶ TopCat.of (relativeTripleSubspace X A B) := |
| 33 | TopCat.ofHom ⟨fun b => ⟨⟨b.val, hBA b.property⟩, b.property⟩, |
| 34 | (continuous_subtype_val.subtype_mk fun b => hBA b.property).subtype_mk |
| 35 | fun b => b.property⟩ |
| 36 | |
| 37 | @[reassoc] |
| 38 | theorem relativeTripleSubspaceLift_inclusions (X : TopCat.{0}) (A B : Set X) |
| 39 | (hBA : B ⊆ A) : |
| 40 | relativeTripleSubspaceLift X A B hBA ≫ |
| 41 | LocalHomology.Cycles.subspaceInclusion (TopCat.of A) (relativeTripleSubspace X A B) ≫ |
| 42 | LocalHomology.Cycles.subspaceInclusion X A = LocalHomology.Cycles.subspaceInclusion X B := rfl |
| 43 | |
| 44 | /-- Restricting through A and the embedded copy of B is restriction to B. -/ |
| 45 | @[reassoc] |
| 46 | theorem subspaceCochainRestriction_triple (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 47 | (A B : Set X) (hBA : B ⊆ A) : |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A ≫ |
| 49 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M (TopCat.of A) (relativeTripleSubspace X A B) ≫ |
| 50 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (relativeTripleSubspaceLift X A B hBA) = |
| 51 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X B := by |
| 52 | change AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (LocalHomology.Cycles.subspaceInclusion X A) ≫ |
| 53 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M |
| 54 | (LocalHomology.Cycles.subspaceInclusion (TopCat.of A) (relativeTripleSubspace X A B)) ≫ |
| 55 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (relativeTripleSubspaceLift X A B hBA) = _ |
| 56 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp] |
| 57 | rfl |
| 58 | |
| 59 | /-- Forget vanishing on A while retaining vanishing on its subset B. -/ |
| 60 | def relativeCochainTripleInclusion (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 61 | (A B : Set X) (hBA : B ⊆ A) : |
| 62 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X A ⟶ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X B := |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (𝟙 X) (A := B) (B := A) (fun _ hx => hBA hx) |
| 64 | |
| 65 | /-- The actual pair pullback induced by A → X. -/ |
| 66 | def relativeCochainTripleRestriction (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 67 | (A B : Set X) : |
| 68 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X B ⟶ |
| 69 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of A) (relativeTripleSubspace X A B) := |
| 70 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (LocalHomology.Cycles.subspaceInclusion X A) |
| 71 | (A := relativeTripleSubspace X A B) (B := B) (fun _ hx => hx) |
| 72 | |
| 73 | @[reassoc (attr := simp)] |
| 74 | theorem relativeCochainTripleInclusion_inclusion (M : ModuleCat.{0} R) |
| 75 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) : |
| 76 | relativeCochainTripleInclusion M X A B hBA ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B = |
| 77 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X A := by |
| 78 | simp only [relativeCochainTripleInclusion, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality, |
| 79 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_id, Category.comp_id] |
| 80 | |
| 81 | @[reassoc (attr := simp)] |
| 82 | theorem relativeCochainTripleRestriction_inclusion (M : ModuleCat.{0} R) |
| 83 | (X : TopCat.{0}) (A B : Set X) : |
| 84 | relativeCochainTripleRestriction M X A B ≫ |
| 85 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) (relativeTripleSubspace X A B) = |
| 86 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A := |
| 87 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality M (LocalHomology.Cycles.subspaceInclusion X A) |
| 88 | (fun _ hx => hx) |
| 89 | |
| 90 | @[simp] |
| 91 | theorem relativeCochainTripleInclusion_inclusion_apply (M : ModuleCat.{0} R) |
| 92 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 93 | (c : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X A).X n) : |
| 94 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n |
| 95 | ((relativeCochainTripleInclusion M X A B hBA).f n c) = |
| 96 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X A).f n c := |
| 97 | ConcreteCategory.congr_hom |
| 98 | (HomologicalComplex.congr_hom (relativeCochainTripleInclusion_inclusion M X A B hBA) n) c |
| 99 | |
| 100 | @[simp] |
| 101 | theorem relativeCochainTripleRestriction_inclusion_apply (M : ModuleCat.{0} R) |
| 102 | (X : TopCat.{0}) (A B : Set X) (n : ℕ) |
| 103 | (c : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X B).X n) : |
| 104 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) (relativeTripleSubspace X A B)).f n |
| 105 | ((relativeCochainTripleRestriction M X A B).f n c) = |
| 106 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A).f n |
| 107 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n c) := |
| 108 | ConcreteCategory.congr_hom |
| 109 | (HomologicalComplex.congr_hom (relativeCochainTripleRestriction_inclusion M X A B) n) c |
| 110 | |
| 111 | instance relativeCochainTripleInclusion_mono (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 112 | (A B : Set X) (hBA : B ⊆ A) : |
| 113 | Mono (relativeCochainTripleInclusion M X A B hBA) := |
| 114 | mono_of_mono_fac (relativeCochainTripleInclusion_inclusion M X A B hBA) |
| 115 | |
| 116 | @[reassoc (attr := simp)] |
| 117 | theorem relativeCochainTripleInclusion_restriction (M : ModuleCat.{0} R) |
| 118 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) : |
| 119 | relativeCochainTripleInclusion M X A B hBA ≫ |
| 120 | relativeCochainTripleRestriction M X A B = 0 := by |
| 121 | apply (cancel_mono |
| 122 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) (relativeTripleSubspace X A B))).1 |
| 123 | rw [Category.assoc, relativeCochainTripleRestriction_inclusion, |
| 124 | ← Category.assoc, relativeCochainTripleInclusion_inclusion, |
| 125 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_restriction, zero_comp] |
| 126 | |
| 127 | /-- The actual relative cochain sequence associated with B ⊆ A ⊆ X. -/ |
| 128 | def relativeCochainTripleSequence (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 129 | (A B : Set X) (hBA : B ⊆ A) : |
| 130 | ShortComplex (CochainComplex (ModuleCat.{0} R) ℕ) := |
| 131 | ShortComplex.mk (relativeCochainTripleInclusion M X A B hBA) |
| 132 | (relativeCochainTripleRestriction M X A B) |
| 133 | (relativeCochainTripleInclusion_restriction M X A B hBA) |
| 134 | |
| 135 | /-- Exactness in each degree follows from the actual kernels of restriction. -/ |
| 136 | theorem relativeCochainTripleSequence_degreewiseExact (M : ModuleCat.{0} R) |
| 137 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 138 | ((relativeCochainTripleSequence M X A B hBA).map |
| 139 | (HomologicalComplex.eval (ModuleCat.{0} R) (ComplexShape.up ℕ) n)).Exact := by |
| 140 | apply (ShortComplex.moduleCat_exact_iff _).2 |
| 141 | intro c hc |
| 142 | change (relativeCochainTripleRestriction M X A B).f n c = 0 at hc |
| 143 | have hz : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A).f n |
| 144 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n c) = 0 := by |
| 145 | rw [← relativeCochainTripleRestriction_inclusion_apply, hc, map_zero] |
| 146 | have hr : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n c ∈ |
| 147 | LinearMap.range ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X A).f n).hom := by |
| 148 | rw [AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_range] |
| 149 | exact hz |
| 150 | obtain ⟨a, ha⟩ := hr |
| 151 | refine ⟨a, ?_⟩ |
| 152 | apply (ModuleCat.mono_iff_injective ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n)).1 |
| 153 | inferInstance |
| 154 | change (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n |
| 155 | ((relativeCochainTripleInclusion M X A B hBA).f n a) = _ |
| 156 | rw [relativeCochainTripleInclusion_inclusion_apply] |
| 157 | exact ha |
| 158 | |
| 159 | /-- The restriction to (A,B) is surjective in each degree: extend its |
| 160 | underlying cochain to X, then use B ⊆ A to prove that extension vanishes on B. -/ |
| 161 | theorem relativeCochainTripleRestriction_surjective (M : ModuleCat.{0} R) |
| 162 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 163 | Function.Surjective ((relativeCochainTripleRestriction M X A B).f n) := by |
| 164 | intro c |
| 165 | obtain ⟨a, ha⟩ := |
| 166 | (ModuleCat.epi_iff_surjective ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A).f n)).1 |
| 167 | inferInstance ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) |
| 168 | (relativeTripleSubspace X A B)).f n c) |
| 169 | have hzero : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M (TopCat.of A) |
| 170 | (relativeTripleSubspace X A B)).f n |
| 171 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) |
| 172 | (relativeTripleSubspace X A B)).f n c) = 0 := |
| 173 | ConcreteCategory.congr_hom (HomologicalComplex.congr_hom |
| 174 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_restriction M (TopCat.of A) |
| 175 | (relativeTripleSubspace X A B)) n) c |
| 176 | have hz : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X B).f n a = 0 := by |
| 177 | have h := ConcreteCategory.congr_hom (HomologicalComplex.congr_hom |
| 178 | (subspaceCochainRestriction_triple M X A B hBA) n) a |
| 179 | change (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (relativeTripleSubspaceLift X A B hBA)).f n |
| 180 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M (TopCat.of A) (relativeTripleSubspace X A B)).f n |
| 181 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X A).f n a)) = |
| 182 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction M X B).f n a at h |
| 183 | rw [← h, ha, hzero, map_zero] |
| 184 | have hr : a ∈ LinearMap.range ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X B).f n).hom := by |
| 185 | rw [AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_range] |
| 186 | exact hz |
| 187 | obtain ⟨b, hb⟩ := hr |
| 188 | refine ⟨b, ?_⟩ |
| 189 | apply (ModuleCat.mono_iff_injective |
| 190 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M (TopCat.of A) (relativeTripleSubspace X A B)).f n)).1 |
| 191 | inferInstance |
| 192 | rw [relativeCochainTripleRestriction_inclusion_apply, hb, ha] |
| 193 | |
| 194 | /-- The relative cochain sequence is short exact in every degree. -/ |
| 195 | theorem relativeCochainTripleSequence_degreewiseShortExact (M : ModuleCat.{0} R) |
| 196 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 197 | ((relativeCochainTripleSequence M X A B hBA).map |
| 198 | (HomologicalComplex.eval (ModuleCat.{0} R) (ComplexShape.up ℕ) n)).ShortExact where |
| 199 | exact := relativeCochainTripleSequence_degreewiseExact M X A B hBA n |
| 200 | mono_f := by |
| 201 | change Mono ((relativeCochainTripleInclusion M X A B hBA).f n) |
| 202 | infer_instance |
| 203 | epi_g := (ModuleCat.epi_iff_surjective _).2 |
| 204 | (relativeCochainTripleRestriction_surjective M X A B hBA n) |
| 205 | |
| 206 | /-- The genuine short exact sequence |
| 207 | 0 → C*(X,A;M) → C*(X,B;M) → C*(A,B;M) → 0. -/ |
| 208 | theorem relativeCochainTripleSequence_shortExact (M : ModuleCat.{0} R) |
| 209 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) : |
| 210 | (relativeCochainTripleSequence M X A B hBA).ShortExact := |
| 211 | (HomologicalComplex.shortExact_iff_degreewise_shortExact _).2 |
| 212 | (relativeCochainTripleSequence_degreewiseShortExact M X A B hBA) |
| 213 | |
| 214 | /-- The actual map H^n(X,A) → H^n(X,B). -/ |
| 215 | abbrev relativeCohomologyTripleInclusion (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 216 | (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 217 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n ⟶ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X B n := |
| 218 | HomologicalComplex.homologyMap (relativeCochainTripleInclusion M X A B hBA) n |
| 219 | |
| 220 | /-- The actual restriction H^n(X,B) → H^n(A,B). -/ |
| 221 | abbrev relativeCohomologyTripleRestriction (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 222 | (A B : Set X) (n : ℕ) : |
| 223 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X B n ⟶ |
| 224 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of A) (relativeTripleSubspace X A B) n := |
| 225 | HomologicalComplex.homologyMap (relativeCochainTripleRestriction M X A B) n |
| 226 | |
| 227 | /-- The canonical connecting map H^n(A,B) → H^(n+1)(X,A). -/ |
| 228 | def relativeCohomologyTripleConnecting (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 229 | (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 230 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of A) (relativeTripleSubspace X A B) n ⟶ |
| 231 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1) := |
| 232 | (relativeCochainTripleSequence_shortExact M X A B hBA).δ n (n + 1) rfl |
| 233 | |
| 234 | @[reassoc (attr := simp)] |
| 235 | theorem relativeCohomologyTripleInclusion_restriction (M : ModuleCat.{0} R) |
| 236 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 237 | relativeCohomologyTripleInclusion M X A B hBA n ≫ |
| 238 | relativeCohomologyTripleRestriction M X A B n = 0 := by |
| 239 | change HomologicalComplex.homologyMap (relativeCochainTripleInclusion M X A B hBA) n ≫ |
| 240 | HomologicalComplex.homologyMap (relativeCochainTripleRestriction M X A B) n = 0 |
| 241 | rw [← HomologicalComplex.homologyMap_comp, relativeCochainTripleInclusion_restriction, |
| 242 | HomologicalComplex.homologyMap_zero] |
| 243 | |
| 244 | @[reassoc (attr := simp)] |
| 245 | theorem relativeCohomologyTripleRestriction_connecting (M : ModuleCat.{0} R) |
| 246 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 247 | relativeCohomologyTripleRestriction M X A B n ≫ |
| 248 | relativeCohomologyTripleConnecting M X A B hBA n = 0 := |
| 249 | (relativeCochainTripleSequence_shortExact M X A B hBA).comp_δ n (n + 1) rfl |
| 250 | |
| 251 | @[reassoc (attr := simp)] |
| 252 | theorem relativeCohomologyTripleConnecting_inclusion (M : ModuleCat.{0} R) |
| 253 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 254 | relativeCohomologyTripleConnecting M X A B hBA n ≫ |
| 255 | relativeCohomologyTripleInclusion M X A B hBA (n + 1) = 0 := |
| 256 | (relativeCochainTripleSequence_shortExact M X A B hBA).δ_comp n (n + 1) rfl |
| 257 | |
| 258 | /-- Exactness at H^n(X,B) in the long exact sequence of the actual triple. -/ |
| 259 | theorem relativeCohomologyTriple_exact_middle (M : ModuleCat.{0} R) |
| 260 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 261 | (ShortComplex.mk (relativeCohomologyTripleInclusion M X A B hBA n) |
| 262 | (relativeCohomologyTripleRestriction M X A B n) |
| 263 | (relativeCohomologyTripleInclusion_restriction M X A B hBA n)).Exact := |
| 264 | (relativeCochainTripleSequence_shortExact M X A B hBA).homology_exact₂ n |
| 265 | |
| 266 | /-- Exactness at H^n(A,B) in the long exact sequence of the actual triple. -/ |
| 267 | theorem relativeCohomologyTriple_exact_target (M : ModuleCat.{0} R) |
| 268 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 269 | (ShortComplex.mk (relativeCohomologyTripleRestriction M X A B n) |
| 270 | (relativeCohomologyTripleConnecting M X A B hBA n) |
| 271 | (relativeCohomologyTripleRestriction_connecting M X A B hBA n)).Exact := |
| 272 | (relativeCochainTripleSequence_shortExact M X A B hBA).homology_exact₃ n (n + 1) rfl |
| 273 | |
| 274 | /-- Exactness at H^(n+1)(X,A) in the long exact sequence of the actual triple. -/ |
| 275 | theorem relativeCohomologyTriple_exact_sourceSucc (M : ModuleCat.{0} R) |
| 276 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) : |
| 277 | (ShortComplex.mk (relativeCohomologyTripleConnecting M X A B hBA n) |
| 278 | (relativeCohomologyTripleInclusion M X A B hBA (n + 1)) |
| 279 | (relativeCohomologyTripleConnecting_inclusion M X A B hBA n)).Exact := |
| 280 | (relativeCochainTripleSequence_shortExact M X A B hBA).homology_exact₁ n (n + 1) rfl |
| 281 | |
| 282 | /-- Vanishing of both outer groups forces vanishing of H^n(X,B). This is |
| 283 | the induction step for a finite filtration by closed supports. -/ |
| 284 | theorem relativeCohomologyTriple_isZero_middle (M : ModuleCat.{0} R) |
| 285 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 286 | (hfirst : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 287 | (hthird : IsZero |
| 288 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of A) (relativeTripleSubspace X A B) n)) : |
| 289 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X B n) := |
| 290 | (relativeCohomologyTriple_exact_middle M X A B hBA n).isZero_X₂ |
| 291 | (hfirst.eq_of_src _ _) (hthird.eq_of_tgt _ _) |
| 292 | |
| 293 | /-- If the adjacent groups H^n(X,A) and H^(n+1)(X,A) vanish, the actual |
| 294 | restriction H^n(X,B) → H^n(A,B) is an isomorphism. -/ |
| 295 | theorem relativeCohomologyTripleRestriction_isIso (M : ModuleCat.{0} R) |
| 296 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 297 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 298 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 299 | IsIso (relativeCohomologyTripleRestriction M X A B n) := by |
| 300 | let : Mono (relativeCohomologyTripleRestriction M X A B n) := |
| 301 | (relativeCohomologyTriple_exact_middle M X A B hBA n).mono_g (hi.eq_of_src _ _) |
| 302 | let : Epi (relativeCohomologyTripleRestriction M X A B n) := |
| 303 | (relativeCohomologyTriple_exact_target M X A B hBA n).epi_f (hj.eq_of_tgt _ _) |
| 304 | exact isIso_of_mono_of_epi _ |
| 305 | |
| 306 | /-- The isomorphism is the actual restriction map, so its inverse provides |
| 307 | canonical extension once the two vanishing results have been proved. -/ |
| 308 | def relativeCohomologyTripleRestrictionIso (M : ModuleCat.{0} R) |
| 309 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 310 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 311 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 312 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X B n ≅ |
| 313 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of A) (relativeTripleSubspace X A B) n := by |
| 314 | let := relativeCohomologyTripleRestriction_isIso M X A B hBA n hi hj |
| 315 | exact asIso (relativeCohomologyTripleRestriction M X A B n) |
| 316 | |
| 317 | @[simp] |
| 318 | theorem relativeCohomologyTripleRestrictionIso_hom (M : ModuleCat.{0} R) |
| 319 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 320 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 321 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 322 | (relativeCohomologyTripleRestrictionIso M X A B hBA n hi hj).hom = |
| 323 | relativeCohomologyTripleRestriction M X A B n := rfl |
| 324 | |
| 325 | /-- Canonical extension along the actual restriction isomorphism. -/ |
| 326 | abbrev relativeCohomologyTripleExtension (M : ModuleCat.{0} R) |
| 327 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 328 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 329 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 330 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of A) (relativeTripleSubspace X A B) n ⟶ |
| 331 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X B n := |
| 332 | (relativeCohomologyTripleRestrictionIso M X A B hBA n hi hj).inv |
| 333 | |
| 334 | @[reassoc (attr := simp)] |
| 335 | theorem relativeCohomologyTripleExtension_restriction (M : ModuleCat.{0} R) |
| 336 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 337 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 338 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 339 | relativeCohomologyTripleExtension M X A B hBA n hi hj ≫ |
| 340 | relativeCohomologyTripleRestriction M X A B n = 𝟙 _ := |
| 341 | (relativeCohomologyTripleRestrictionIso M X A B hBA n hi hj).inv_hom_id |
| 342 | |
| 343 | @[reassoc (attr := simp)] |
| 344 | theorem relativeCohomologyTripleRestriction_extension (M : ModuleCat.{0} R) |
| 345 | (X : TopCat.{0}) (A B : Set X) (hBA : B ⊆ A) (n : ℕ) |
| 346 | (hi : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n)) |
| 347 | (hj : IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A (n + 1))) : |
| 348 | relativeCohomologyTripleRestriction M X A B n ≫ |
| 349 | relativeCohomologyTripleExtension M X A B hBA n hi hj = 𝟙 _ := |
| 350 | (relativeCohomologyTripleRestrictionIso M X A B hBA n hi hj).hom_inv_id |
| 351 | |
| 352 | end |
| 353 | |
| 354 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainTriple.Cohomology |