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.SpatialExhaustion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeChainCoefficients |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CoherentLifting |
| 5 | import OAI.Topology.Euclidean.Telescope |
| 6 | |
| 7 | /-! # Locally Finite Exhaustion -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteExhaustion.Cycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Locally finite chains and coherent relative chains along a compact exhaustion |
| 15 | |
| 16 | The stages are the actual relative complexes C(X,X\K_i), and their transition |
| 17 | maps are induced by the identity maps of the complementary pairs. Compatible |
| 18 | sequences form an explicit chain complex with its coordinatewise differential. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Set Function |
| 22 | open scoped Simplicial Classical |
| 23 | |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | |
| 27 | variable (X : TopCat.{0}) (K : CompactExhaustion X) |
| 28 | |
| 29 | /-- The actual ordinary relative-chain stage of a compact exhaustion. -/ |
| 30 | abbrev exhaustionRelativeStage (i : ℕ) : ChainComplex (ModuleCat.{0} ℤ) ℕ := |
| 31 | LocalHomology.Cycles.relativeSingularChains X (K i)ᶜ |
| 32 | |
| 33 | /-- Transition maps are the genuine restrictions of the complementary pairs. -/ |
| 34 | def exhaustionRelativeTransition (i : ℕ) : |
| 35 | exhaustionRelativeStage X K (i + 1) ⟶ exhaustionRelativeStage X K i := |
| 36 | LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X (K.subset_succ i) |
| 37 | |
| 38 | @[reassoc] |
| 39 | theorem exhaustionRelativeTransition_projection (i : ℕ) : |
| 40 | LocalHomology.Cycles.relativeChainProjection X (K (i + 1))ᶜ ≫ exhaustionRelativeTransition X K i = |
| 41 | LocalHomology.Cycles.relativeChainProjection X (K i)ᶜ := |
| 42 | LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction_projection X (K.subset_succ i) |
| 43 | |
| 44 | /-- Every transition of actual relative chains is surjective in every degree. -/ |
| 45 | theorem exhaustionRelativeTransition_surjective (i n : ℕ) : |
| 46 | Function.Surjective ((exhaustionRelativeTransition X K i).f n) := by |
| 47 | have hep : Epi ((LocalHomology.Cycles.relativeChainProjection X (K i)ᶜ).f n) := |
| 48 | (LocalHomology.Cycles.relativeChainSequence_degreewiseShortExact X (K i)ᶜ n).epi_g |
| 49 | have hs := (ModuleCat.epi_iff_surjective ((LocalHomology.Cycles.relativeChainProjection X (K i)ᶜ).f n)).mp hep |
| 50 | intro b |
| 51 | obtain ⟨a, ha⟩ := hs b |
| 52 | refine ⟨(LocalHomology.Cycles.relativeChainProjection X (K (i + 1))ᶜ).f n a, ?_⟩ |
| 53 | exact (ConcreteCategory.congr_hom |
| 54 | (HomologicalComplex.congr_hom (exhaustionRelativeTransition_projection X K i) n) a).trans ha |
| 55 | |
| 56 | /-- The product uses the specified module structures of its actual relative-chain factors. -/ |
| 57 | local instance exhaustionProductModule (n : ℕ) : |
| 58 | Module ℤ (∀ i, (exhaustionRelativeStage X K i).X n) := |
| 59 | Pi.module ℕ (fun i => (exhaustionRelativeStage X K i).X n) ℤ |
| 60 | |
| 61 | /-- Genuine compatible sequences of relative chains in one degree. -/ |
| 62 | abbrev exhaustionCoherentChains (n : ℕ) : Submodule ℤ |
| 63 | (∀ i, (exhaustionRelativeStage X K i).X n) := |
| 64 | Topology.Euclidean.Telescope.telescopeCompatible ℤ (fun i => (exhaustionRelativeStage X K i).X n) |
| 65 | (fun i => ((exhaustionRelativeTransition X K i).f n).hom) |
| 66 | |
| 67 | /-- Coherent sequences carry the inherited product-module structure. -/ |
| 68 | local instance exhaustionCoherentModule (n : ℕ) : |
| 69 | Module ℤ (exhaustionCoherentChains X K n) := |
| 70 | (exhaustionCoherentChains X K n).module |
| 71 | |
| 72 | /-- The actual relative differentials preserve the compatibility equations. -/ |
| 73 | def exhaustionCoherentDifferential (n m : ℕ) : |
| 74 | exhaustionCoherentChains X K n →ₗ[ℤ] exhaustionCoherentChains X K m where |
| 75 | toFun c := ⟨fun i => (exhaustionRelativeStage X K i).d n m (c.val i), by |
| 76 | intro i |
| 77 | change (exhaustionRelativeStage X K i).d n m (c.val i) = |
| 78 | (exhaustionRelativeTransition X K i).f m |
| 79 | ((exhaustionRelativeStage X K (i + 1)).d n m (c.val (i + 1))) |
| 80 | rw [c.property i] |
| 81 | exact ConcreteCategory.congr_hom ((exhaustionRelativeTransition X K i).comm n m) |
| 82 | (c.val (i + 1))⟩ |
| 83 | map_add' c d := by |
| 84 | apply Subtype.ext |
| 85 | funext i |
| 86 | exact ((exhaustionRelativeStage X K i).d n m).hom.map_add (c.val i) (d.val i) |
| 87 | map_smul' r c := by |
| 88 | apply Subtype.ext |
| 89 | funext i |
| 90 | exact ((exhaustionRelativeStage X K i).d n m).hom.map_smul r (c.val i) |
| 91 | |
| 92 | @[simp] |
| 93 | theorem exhaustionCoherentDifferential_apply (n m : ℕ) |
| 94 | (c : exhaustionCoherentChains X K n) (i : ℕ) : |
| 95 | (exhaustionCoherentDifferential X K n m c).val i = |
| 96 | (exhaustionRelativeStage X K i).d n m (c.val i) := rfl |
| 97 | |
| 98 | /-- The explicit chain complex of coherent actual relative chains. -/ |
| 99 | def exhaustionCoherentComplex : ChainComplex (ModuleCat.{0} ℤ) ℕ where |
| 100 | X n := ModuleCat.of ℤ (exhaustionCoherentChains X K n) |
| 101 | d n m := ModuleCat.ofHom (exhaustionCoherentDifferential X K n m) |
| 102 | shape n m h := by |
| 103 | apply ModuleCat.hom_ext |
| 104 | apply LinearMap.ext |
| 105 | intro c |
| 106 | apply Subtype.ext |
| 107 | funext i |
| 108 | change (exhaustionRelativeStage X K i).d n m (c.val i) = 0 |
| 109 | rw [(exhaustionRelativeStage X K i).shape n m h] |
| 110 | rfl |
| 111 | d_comp_d' n m k _ _ := by |
| 112 | apply ModuleCat.hom_ext |
| 113 | apply LinearMap.ext |
| 114 | intro c |
| 115 | apply Subtype.ext |
| 116 | funext i |
| 117 | exact ConcreteCategory.congr_hom ((exhaustionRelativeStage X K i).d_comp_d n m k) |
| 118 | (c.val i) |
| 119 | |
| 120 | /-- Projection of a coherent chain to one actual relative-chain stage. -/ |
| 121 | def exhaustionCoherentProjection (i : ℕ) : |
| 122 | exhaustionCoherentComplex X K ⟶ exhaustionRelativeStage X K i where |
| 123 | f n := ModuleCat.ofHom ((LinearMap.proj i).comp (exhaustionCoherentChains X K n).subtype) |
| 124 | comm' n m _ := by |
| 125 | apply ModuleCat.hom_ext |
| 126 | apply LinearMap.ext |
| 127 | intro c |
| 128 | rfl |
| 129 | |
| 130 | @[simp] |
| 131 | theorem exhaustionCoherentProjection_apply (i n : ℕ) |
| 132 | (c : exhaustionCoherentChains X K n) : |
| 133 | (exhaustionCoherentProjection X K i).f n c = c.val i := rfl |
| 134 | |
| 135 | @[reassoc] |
| 136 | theorem exhaustionCoherentProjection_compatibility (i : ℕ) : |
| 137 | exhaustionCoherentProjection X K (i + 1) ≫ exhaustionRelativeTransition X K i = |
| 138 | exhaustionCoherentProjection X K i := by |
| 139 | apply HomologicalComplex.hom_ext |
| 140 | intro n |
| 141 | apply ModuleCat.hom_ext |
| 142 | apply LinearMap.ext |
| 143 | intro c |
| 144 | exact (c.property i).symm |
| 145 | |
| 146 | /-- Compatible maps into the relative stages lift to the coherent complex. -/ |
| 147 | def exhaustionCoherentLift {C : ChainComplex (ModuleCat.{0} ℤ) ℕ} |
| 148 | (f : ∀ i, C ⟶ exhaustionRelativeStage X K i) |
| 149 | (hf : ∀ i, f (i + 1) ≫ exhaustionRelativeTransition X K i = f i) : |
| 150 | C ⟶ exhaustionCoherentComplex X K where |
| 151 | f n := ModuleCat.ofHom |
| 152 | { toFun := fun c => ⟨fun i => (f i).f n c, by |
| 153 | intro i |
| 154 | exact (ConcreteCategory.congr_hom (HomologicalComplex.congr_hom (hf i) n) c).symm⟩ |
| 155 | map_add' := by |
| 156 | intro c d |
| 157 | apply Subtype.ext |
| 158 | funext i |
| 159 | exact ((f i).f n).hom.map_add c d |
| 160 | map_smul' := by |
| 161 | intro r c |
| 162 | apply Subtype.ext |
| 163 | funext i |
| 164 | exact ((f i).f n).hom.map_smul r c } |
| 165 | comm' n m _ := by |
| 166 | apply ModuleCat.hom_ext |
| 167 | apply LinearMap.ext |
| 168 | intro c |
| 169 | apply Subtype.ext |
| 170 | funext i |
| 171 | exact ConcreteCategory.congr_hom ((f i).comm n m) c |
| 172 | |
| 173 | @[reassoc] |
| 174 | theorem exhaustionCoherentLift_projection {C : ChainComplex (ModuleCat.{0} ℤ) ℕ} |
| 175 | (f : ∀ i, C ⟶ exhaustionRelativeStage X K i) |
| 176 | (hf : ∀ i, f (i + 1) ≫ exhaustionRelativeTransition X K i = f i) (i : ℕ) : |
| 177 | exhaustionCoherentLift X K f hf ≫ exhaustionCoherentProjection X K i = f i := by |
| 178 | apply HomologicalComplex.hom_ext |
| 179 | intro n |
| 180 | apply ModuleCat.hom_ext |
| 181 | apply LinearMap.ext |
| 182 | intro c |
| 183 | rfl |
| 184 | |
| 185 | /-- The compatible lift is unique, giving the explicit inverse-limit universal property. -/ |
| 186 | theorem exhaustionCoherentLift_unique {C : ChainComplex (ModuleCat.{0} ℤ) ℕ} |
| 187 | (f : ∀ i, C ⟶ exhaustionRelativeStage X K i) |
| 188 | (hf : ∀ i, f (i + 1) ≫ exhaustionRelativeTransition X K i = f i) |
| 189 | (g : C ⟶ exhaustionCoherentComplex X K) |
| 190 | (hg : ∀ i, g ≫ exhaustionCoherentProjection X K i = f i) : |
| 191 | g = exhaustionCoherentLift X K f hf := by |
| 192 | apply HomologicalComplex.hom_ext |
| 193 | intro n |
| 194 | apply ModuleCat.hom_ext |
| 195 | apply LinearMap.ext |
| 196 | intro c |
| 197 | apply Subtype.ext |
| 198 | funext i |
| 199 | exact ConcreteCategory.congr_hom (HomologicalComplex.congr_hom (hg i) n) c |
| 200 | |
| 201 | /-- Actual compact restrictions form a compatible map into the exhaustion tower. -/ |
| 202 | def locallyFiniteToExhaustion : |
| 203 | LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X ⟶ exhaustionCoherentComplex X K := |
| 204 | exhaustionCoherentLift X K |
| 205 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)) |
| 206 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction_subset X |
| 207 | (K.isCompact i) (K.isCompact (i + 1)) (K.subset_succ i)) |
| 208 | |
| 209 | /-- The degree map of the canonical compact-restriction comparison. -/ |
| 210 | abbrev locallyFiniteToExhaustionDegree (n : ℕ) : |
| 211 | LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n →ₗ[ℤ] exhaustionCoherentChains X K n := |
| 212 | ((locallyFiniteToExhaustion X K).f n).hom |
| 213 | |
| 214 | @[simp] |
| 215 | theorem locallyFiniteToExhaustionDegree_apply (n : ℕ) |
| 216 | (c : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n) (i : ℕ) : |
| 217 | (locallyFiniteToExhaustionDegree X K n c).val i = |
| 218 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestrictionDegree X (K i) (K.isCompact i) n c := rfl |
| 219 | |
| 220 | @[reassoc] |
| 221 | theorem locallyFiniteToExhaustion_projection (i : ℕ) : |
| 222 | locallyFiniteToExhaustion X K ≫ exhaustionCoherentProjection X K i = |
| 223 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i) := |
| 224 | exhaustionCoherentLift_projection X K _ _ i |
| 225 | |
| 226 | /-- Finite coefficient systems use their inherited function-module structure. -/ |
| 227 | local instance exhaustionCoefficientModule (n : ℕ) : |
| 228 | Module ℤ (SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K) := |
| 229 | (SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K).module |
| 230 | |
| 231 | /-- The genuine relative quotient coefficients of a coherent relative-chain family. -/ |
| 232 | def exhaustionRelativeToCoefficients (n : ℕ) : |
| 233 | exhaustionCoherentChains X K n →ₗ[ℤ] |
| 234 | SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K where |
| 235 | toFun c := ⟨fun i => (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n (c.val i)).val, by |
| 236 | constructor |
| 237 | · intro i σ hσ |
| 238 | exact (Finsupp.mem_supported' ℤ _).1 |
| 239 | (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n (c.val i)).property σ hσ |
| 240 | · intro i σ hσ |
| 241 | change (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K (i + 1)) n (c.val (i + 1))).val σ = |
| 242 | (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n (c.val i)).val σ |
| 243 | rw [c.property i] |
| 244 | exact (RelativeChainCoefficients.Cycles.relativeChainCoefficients_restriction_of_meets X n (K.subset_succ i) |
| 245 | (c.val (i + 1)) σ hσ).symm⟩ |
| 246 | map_add' c d := by |
| 247 | apply Subtype.ext |
| 248 | funext i |
| 249 | exact congrArg Subtype.val ((RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).map_add (c.val i) (d.val i)) |
| 250 | map_smul' r c := by |
| 251 | apply Subtype.ext |
| 252 | funext i |
| 253 | exact congrArg Subtype.val ((RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).map_smul r (c.val i)) |
| 254 | |
| 255 | /-- Each coherent finite family has the proved support required by the genuine |
| 256 | relative-chain coefficient equivalence. -/ |
| 257 | def exhaustionSupportedCoefficients (n : ℕ) |
| 258 | (c : SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K) |
| 259 | (i : ℕ) : Finsupp.supported ℤ ℤ |
| 260 | {σ | (LocallyFiniteChains.Cycles.singularSimplexImage X n σ ∩ K i).Nonempty} := |
| 261 | ⟨c.val i, (Finsupp.mem_supported' ℤ _).2 (c.property.1 i)⟩ |
| 262 | |
| 263 | /-- Reinterpret coherent finite stage coefficients as actual relative chains. -/ |
| 264 | def exhaustionRelativeFromCoefficients (n : ℕ) |
| 265 | (c : SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K) : |
| 266 | exhaustionCoherentChains X K n := |
| 267 | ⟨fun i => (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).symm |
| 268 | (exhaustionSupportedCoefficients X K n c i), by |
| 269 | intro i |
| 270 | apply (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).injective |
| 271 | apply Subtype.ext |
| 272 | apply Finsupp.ext |
| 273 | intro σ |
| 274 | change _ = (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n |
| 275 | ((LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X (K.subset_succ i)).f n _)).val σ |
| 276 | rw [RelativeChainCoefficients.Cycles.relativeChainCoefficients_restriction_apply] |
| 277 | simp only [LinearEquiv.apply_symm_apply] |
| 278 | split_ifs with hσ |
| 279 | · exact (c.property.2 i σ hσ).symm |
| 280 | · exact c.property.1 i σ hσ⟩ |
| 281 | |
| 282 | theorem exhaustionRelativeFromTo (n : ℕ) (c : exhaustionCoherentChains X K n) : |
| 283 | exhaustionRelativeFromCoefficients X K n (exhaustionRelativeToCoefficients X K n c) = c := by |
| 284 | apply Subtype.ext |
| 285 | funext i |
| 286 | change (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).symm |
| 287 | (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n (c.val i)) = c.val i |
| 288 | exact (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).symm_apply_apply (c.val i) |
| 289 | |
| 290 | theorem exhaustionRelativeToFrom (n : ℕ) |
| 291 | (c : SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K) : |
| 292 | exhaustionRelativeToCoefficients X K n (exhaustionRelativeFromCoefficients X K n c) = c := by |
| 293 | apply Subtype.ext |
| 294 | funext i |
| 295 | apply Finsupp.ext |
| 296 | intro σ |
| 297 | change (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n |
| 298 | ((RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n).symm |
| 299 | (exhaustionSupportedCoefficients X K n c i))).val σ = c.val i σ |
| 300 | rw [LinearEquiv.apply_symm_apply] |
| 301 | rfl |
| 302 | |
| 303 | /-- Actual coherent relative chains have exactly the coherent finite coefficients |
| 304 | used in the explicit locally finite reconstruction. -/ |
| 305 | def exhaustionRelativeCoefficientsEquiv (n : ℕ) : |
| 306 | exhaustionCoherentChains X K n ≃ₗ[ℤ] |
| 307 | SpatialExhaustion.Cycles.SpatialSupport.coherentExhaustionCoefficients ℤ (LocallyFiniteChains.Cycles.singularSimplexImage X n) K where |
| 308 | toFun := exhaustionRelativeToCoefficients X K n |
| 309 | invFun := exhaustionRelativeFromCoefficients X K n |
| 310 | left_inv := exhaustionRelativeFromTo X K n |
| 311 | right_inv := exhaustionRelativeToFrom X K n |
| 312 | map_add' := (exhaustionRelativeToCoefficients X K n).map_add |
| 313 | map_smul' := (exhaustionRelativeToCoefficients X K n).map_smul |
| 314 | |
| 315 | /-- The relative stages of the canonical chain map have precisely the finite |
| 316 | compact truncations of the original locally finite coefficients. -/ |
| 317 | theorem locallyFiniteToExhaustion_coefficients (n : ℕ) |
| 318 | (c : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n) : |
| 319 | exhaustionRelativeCoefficientsEquiv X K n (locallyFiniteToExhaustionDegree X K n c) = |
| 320 | SpatialExhaustion.Cycles.SpatialSupport.toExhaustionCoefficients (LocallyFiniteChains.Cycles.singularSimplexImage X n) K c := by |
| 321 | apply Subtype.ext |
| 322 | funext i |
| 323 | apply Finsupp.ext |
| 324 | intro σ |
| 325 | change (RelativeChainCoefficients.Cycles.relativeChainCoefficients X (K i) n |
| 326 | ((LocalHomology.Cycles.relativeChainProjection X (K i)ᶜ).f n |
| 327 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation X (K i) (K.isCompact i) n c))).val σ = |
| 328 | if (LocallyFiniteChains.Cycles.singularSimplexImage X n σ ∩ K i).Nonempty then c σ else 0 |
| 329 | rw [RelativeChainCoefficients.Cycles.relativeChainCoefficients_projection_apply, LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactTruncation_coefficients] |
| 330 | split_ifs <;> rfl |
| 331 | |
| 332 | /-- Degreewise reconstruction identifies actual locally finite singular chains |
| 333 | with compatible actual relative chains along the compact exhaustion. -/ |
| 334 | def locallyFiniteExhaustionDegreeEquiv (n : ℕ) : |
| 335 | LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n ≃ₗ[ℤ] exhaustionCoherentChains X K n := |
| 336 | (SpatialExhaustion.Cycles.SpatialSupport.exhaustionCoefficientsEquiv (LocallyFiniteChains.Cycles.singularSimplexImage X n) K |
| 337 | (LocallyFiniteChains.Cycles.singularSimplexImage_nonempty X n)).trans (exhaustionRelativeCoefficientsEquiv X K n).symm |
| 338 | |
| 339 | /-- The explicit equivalence is the previously constructed compact-restriction map. -/ |
| 340 | theorem locallyFiniteExhaustionDegreeEquiv_eq (n : ℕ) : |
| 341 | (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap = |
| 342 | locallyFiniteToExhaustionDegree X K n := by |
| 343 | apply LinearMap.ext |
| 344 | intro c |
| 345 | apply (exhaustionRelativeCoefficientsEquiv X K n).injective |
| 346 | change (exhaustionRelativeCoefficientsEquiv X K n) |
| 347 | ((exhaustionRelativeCoefficientsEquiv X K n).symm |
| 348 | (SpatialExhaustion.Cycles.SpatialSupport.toExhaustionCoefficients (LocallyFiniteChains.Cycles.singularSimplexImage X n) K c)) = _ |
| 349 | rw [LinearEquiv.apply_symm_apply] |
| 350 | exact (locallyFiniteToExhaustion_coefficients X K n c).symm |
| 351 | |
| 352 | /-- The actual locally finite singular complex is the coherent relative-chain |
| 353 | complex of any genuine compact exhaustion. -/ |
| 354 | def locallyFiniteExhaustionIso : |
| 355 | LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X ≅ exhaustionCoherentComplex X K := |
| 356 | HomologicalComplex.Hom.isoOfComponents |
| 357 | (fun n => (locallyFiniteExhaustionDegreeEquiv X K n).toModuleIso) |
| 358 | (by |
| 359 | intro n m _ |
| 360 | change ModuleCat.ofHom (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap ≫ |
| 361 | (exhaustionCoherentComplex X K).d n m = |
| 362 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).d n m ≫ |
| 363 | ModuleCat.ofHom (locallyFiniteExhaustionDegreeEquiv X K m).toLinearMap |
| 364 | rw [locallyFiniteExhaustionDegreeEquiv_eq, locallyFiniteExhaustionDegreeEquiv_eq] |
| 365 | exact (locallyFiniteToExhaustion X K).comm n m) |
| 366 | |
| 367 | @[simp] |
| 368 | theorem locallyFiniteExhaustionIso_hom : |
| 369 | (locallyFiniteExhaustionIso X K).hom = locallyFiniteToExhaustion X K := by |
| 370 | apply HomologicalComplex.hom_ext |
| 371 | intro n |
| 372 | change ModuleCat.ofHom (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap = _ |
| 373 | rw [locallyFiniteExhaustionDegreeEquiv_eq] |
| 374 | rfl |
| 375 | |
| 376 | @[reassoc] |
| 377 | theorem locallyFiniteExhaustionIso_projection (i : ℕ) : |
| 378 | (locallyFiniteExhaustionIso X K).hom ≫ exhaustionCoherentProjection X K i = |
| 379 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i) := by |
| 380 | rw [locallyFiniteExhaustionIso_hom, locallyFiniteToExhaustion_projection] |
| 381 | |
| 382 | /-- Compact restrictions are jointly injective on the actual locally finite chains. -/ |
| 383 | theorem locallyFiniteExhaustion_jointly_injective (n : ℕ) : |
| 384 | Function.Injective (fun c : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n => |
| 385 | fun i => (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)).f n c) := by |
| 386 | intro a b h |
| 387 | apply (locallyFiniteExhaustionDegreeEquiv X K n).injective |
| 388 | change (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap a = |
| 389 | (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap b |
| 390 | rw [locallyFiniteExhaustionDegreeEquiv_eq] |
| 391 | apply Subtype.ext |
| 392 | exact h |
| 393 | |
| 394 | /-- Every compatible family of actual relative chains lifts to a locally finite |
| 395 | chain with exactly those compact restrictions. -/ |
| 396 | theorem locallyFiniteExhaustion_lift (n : ℕ) |
| 397 | (a : ∀ i, (exhaustionRelativeStage X K i).X n) |
| 398 | (ha : ∀ i, (exhaustionRelativeTransition X K i).f n (a (i + 1)) = a i) : |
| 399 | ∃ b : LocallyFiniteChains.Cycles.LocallyFiniteSingularChains ℤ X n, |
| 400 | ∀ i, (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)).f n b = a i := by |
| 401 | let c : exhaustionCoherentChains X K n := ⟨a, fun i => (ha i).symm⟩ |
| 402 | refine ⟨(locallyFiniteExhaustionDegreeEquiv X K n).symm c, ?_⟩ |
| 403 | have h := (locallyFiniteExhaustionDegreeEquiv X K n).apply_symm_apply c |
| 404 | change (locallyFiniteExhaustionDegreeEquiv X K n).toLinearMap |
| 405 | ((locallyFiniteExhaustionDegreeEquiv X K n).symm c) = c at h |
| 406 | rw [locallyFiniteExhaustionDegreeEquiv_eq] at h |
| 407 | intro i |
| 408 | exact congrArg (fun z : exhaustionCoherentChains X K n => z.val i) h |
| 409 | |
| 410 | /-- The corresponding isomorphism concerns the homology of the actual coherent |
| 411 | chain complex; no commutation of homology with inverse limits is assumed. -/ |
| 412 | def locallyFiniteExhaustionHomologyIso (n : ℕ) : |
| 413 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n ≅ |
| 414 | (exhaustionCoherentComplex X K).homology n := |
| 415 | (HomologicalComplex.homologyFunctor (ModuleCat ℤ) (ComplexShape.down ℕ) n).mapIso |
| 416 | (locallyFiniteExhaustionIso X K) |
| 417 | |
| 418 | /-- Coherent actual relative-homology classes along a compact exhaustion lift |
| 419 | to an actual locally finite homology class. No levelwise vanishing is needed |
| 420 | for existence. -/ |
| 421 | theorem exists_locallyFinite_homology_class_of_coherent_exhaustion (n : ℕ) |
| 422 | (c : ∀ i, (exhaustionRelativeStage X K i).homology n) |
| 423 | (hc : ∀ i, HomologicalComplex.homologyMap (exhaustionRelativeTransition X K i) n |
| 424 | (c (i + 1)) = c i) : |
| 425 | ∃ a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n, |
| 426 | ∀ i, LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (K i) (K.isCompact i) n a = c i := |
| 427 | CoherentLifting.Cycles.exists_homology_class_of_coherent_classes |
| 428 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X) (exhaustionRelativeStage X K) |
| 429 | (exhaustionRelativeTransition X K) |
| 430 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)) n |
| 431 | (fun i => exhaustionRelativeTransition_surjective X K i (n + 1)) |
| 432 | (locallyFiniteExhaustion_jointly_injective X K) (locallyFiniteExhaustion_lift X K) c hc |
| 433 | |
| 434 | /-- When the next relative-homology degree vanishes at every stage, compact |
| 435 | restrictions determine a locally finite homology class uniquely. -/ |
| 436 | theorem locallyFinite_homology_class_eq_of_exhaustion_restrictions (n : ℕ) |
| 437 | (hvanish : ∀ i, IsZero ((exhaustionRelativeStage X K i).homology (n + 1))) |
| 438 | (a b : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n) |
| 439 | (hab : ∀ i, LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (K i) (K.isCompact i) n a = |
| 440 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (K i) (K.isCompact i) n b) : a = b := |
| 441 | CoherentLifting.Cycles.homology_class_eq_of_coherent_projections |
| 442 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X) (exhaustionRelativeStage X K) |
| 443 | (exhaustionRelativeTransition X K) |
| 444 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)) n |
| 445 | (fun i => exhaustionRelativeTransition_surjective X K i (n + 2)) hvanish |
| 446 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction_subset X |
| 447 | (K.isCompact i) (K.isCompact (i + 1)) (K.subset_succ i)) |
| 448 | (locallyFiniteExhaustion_jointly_injective X K) (locallyFiniteExhaustion_lift X K) a b hab |
| 449 | |
| 450 | /-- The existence and uniqueness theorem for an actual coherent family of |
| 451 | relative classes, with the next-degree vanishing stated explicitly. It does |
| 452 | not assert the existence of geometric fundamental classes at the stages. -/ |
| 453 | theorem existsUnique_locallyFinite_homology_class_of_coherent_exhaustion (n : ℕ) |
| 454 | (hvanish : ∀ i, IsZero ((exhaustionRelativeStage X K i).homology (n + 1))) |
| 455 | (c : ∀ i, (exhaustionRelativeStage X K i).homology n) |
| 456 | (hc : ∀ i, HomologicalComplex.homologyMap (exhaustionRelativeTransition X K i) n |
| 457 | (c (i + 1)) = c i) : |
| 458 | ∃! a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n, |
| 459 | ∀ i, LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X (K i) (K.isCompact i) n a = c i := |
| 460 | CoherentLifting.Cycles.existsUnique_homology_class_of_coherent_classes |
| 461 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X) (exhaustionRelativeStage X K) |
| 462 | (exhaustionRelativeTransition X K) |
| 463 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction X (K i) (K.isCompact i)) n |
| 464 | (exhaustionRelativeTransition_surjective X K) hvanish |
| 465 | (fun i => LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactRestriction_subset X |
| 466 | (K.isCompact i) (K.isCompact (i + 1)) (K.subset_succ i)) |
| 467 | (locallyFiniteExhaustion_jointly_injective X K) (locallyFiniteExhaustion_lift X K) c hc |
| 468 | |
| 469 | end |
| 470 | |
| 471 | end OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteExhaustion.Cycles |