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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import Mathlib.Data.Fin.Tuple.Sort |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechSupportContraction |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechAlternating |
| 10 | |
| 11 | /-! # Ordered Cech Support Alternating -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechSupportAlternating |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | /-! |
| 18 | # Alternating extension of ordered support-restricted Cech cochains |
| 19 | |
| 20 | This file compares the native support-restricted Cech cochains with their ordered version. |
| 21 | Alternating extension from strictly increasing tuples is a section of restriction to those tuples. |
| 22 | -/ |
| 23 | |
| 24 | open Set |
| 25 | |
| 26 | universe u v |
| 27 | |
| 28 | variable (R : Type u) {ι : Type v} [CommRing R] [LinearOrder ι] |
| 29 | |
| 30 | /-- Restrict native support cochains to strictly increasing tuples. -/ |
| 31 | def orderedCechSupportRestrict (N : Set ι) (n : ℕ) : |
| 32 | CechSupportContraction.CechSupportCochain R N n →ₗ[R] OrderedCechSupportContraction.OrderedCechSupportCochain R N n where |
| 33 | toFun s := |
| 34 | ⟨fun a => s.1 a.1, fun a ha => s.2 a.1 ha⟩ |
| 35 | map_add' _ _ := rfl |
| 36 | map_smul' _ _ := rfl |
| 37 | |
| 38 | private def orderedCechSupportPermutationExtend (N : Set ι) (n : ℕ) |
| 39 | (σ : Equiv.Perm (Fin (n + 1))) : |
| 40 | OrderedCechSupportContraction.OrderedCechSupportCochain R N n →ₗ[R] CechSupportContraction.CechSupportCochain R N n where |
| 41 | toFun s := |
| 42 | ⟨fun a => if h : StrictMono (a ∘ σ) then s.1 ⟨a ∘ σ, h⟩ else 0, |
| 43 | fun a ha => by |
| 44 | change (if h : StrictMono (a ∘ σ) then s.1 ⟨a ∘ σ, h⟩ else 0) = 0 |
| 45 | split_ifs with h |
| 46 | · apply s.2 |
| 47 | intro hN |
| 48 | apply ha |
| 49 | intro x hx |
| 50 | obtain ⟨k, hk⟩ := hN hx |
| 51 | exact ⟨σ k, hk⟩ |
| 52 | · rfl⟩ |
| 53 | map_add' s t := by |
| 54 | apply Subtype.ext |
| 55 | funext a |
| 56 | change (if h : StrictMono (a ∘ σ) then (s + t).1 ⟨a ∘ σ, h⟩ else 0) = |
| 57 | (if h : StrictMono (a ∘ σ) then s.1 ⟨a ∘ σ, h⟩ else 0) + |
| 58 | if h : StrictMono (a ∘ σ) then t.1 ⟨a ∘ σ, h⟩ else 0 |
| 59 | split_ifs |
| 60 | · rfl |
| 61 | · simp |
| 62 | map_smul' r s := by |
| 63 | apply Subtype.ext |
| 64 | funext a |
| 65 | change (if h : StrictMono (a ∘ σ) then (r • s).1 ⟨a ∘ σ, h⟩ else 0) = |
| 66 | r * if h : StrictMono (a ∘ σ) then s.1 ⟨a ∘ σ, h⟩ else 0 |
| 67 | split_ifs |
| 68 | · rfl |
| 69 | · simp |
| 70 | |
| 71 | /-- Alternatingly extend ordered support cochains to all tuples. -/ |
| 72 | noncomputable def orderedCechSupportAlternatingExtend (N : Set ι) (n : ℕ) : |
| 73 | OrderedCechSupportContraction.OrderedCechSupportCochain R N n →ₗ[R] CechSupportContraction.CechSupportCochain R N n := |
| 74 | ∑ σ : Equiv.Perm (Fin (n + 1)), (Equiv.Perm.sign σ : ℤ) • |
| 75 | orderedCechSupportPermutationExtend R N n σ |
| 76 | |
| 77 | private theorem orderedCechSupportAlternatingExtend_apply (N : Set ι) (n : ℕ) |
| 78 | (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) (a : Fin (n + 1) → ι) : |
| 79 | (orderedCechSupportAlternatingExtend R N n s).1 a = |
| 80 | ∑ σ : Equiv.Perm (Fin (n + 1)), |
| 81 | (Equiv.Perm.sign σ : ℤ) • |
| 82 | if h : StrictMono (a ∘ σ) then s.1 ⟨a ∘ σ, h⟩ else 0 := by |
| 83 | change ((∑ σ : Equiv.Perm (Fin (n + 1)), |
| 84 | (Equiv.Perm.sign σ : ℤ) • |
| 85 | orderedCechSupportPermutationExtend R N n σ) s).1 a = _ |
| 86 | rw [LinearMap.sum_apply] |
| 87 | simp only [LinearMap.smul_apply, AddSubmonoidClass.coe_finsetSum, |
| 88 | Finset.sum_apply, SetLike.val_smul_of_tower] |
| 89 | rfl |
| 90 | |
| 91 | private theorem orderedCechSupportAlternatingExtend_permute (N : Set ι) (n : ℕ) |
| 92 | (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) (a : Fin (n + 1) → ι) |
| 93 | (τ : Equiv.Perm (Fin (n + 1))) : |
| 94 | (orderedCechSupportAlternatingExtend R N n s).1 (a ∘ τ) = |
| 95 | (Equiv.Perm.sign τ : ℤ) • |
| 96 | (orderedCechSupportAlternatingExtend R N n s).1 a := by |
| 97 | rw [orderedCechSupportAlternatingExtend_apply, |
| 98 | orderedCechSupportAlternatingExtend_apply] |
| 99 | rw [Finset.smul_sum] |
| 100 | refine Fintype.sum_equiv (Equiv.mulLeft τ) _ _ fun σ => ?_ |
| 101 | simp only [Equiv.coe_mulLeft, Equiv.Perm.sign_mul, smul_smul] |
| 102 | rw [show (a ∘ τ) ∘ σ = a ∘ (τ * σ) by rfl] |
| 103 | rw [Units.val_mul, ← mul_assoc, Int.units_coe_mul_self, one_mul] |
| 104 | congr 1 |
| 105 | |
| 106 | private theorem orderedCechSupportAlternatingExtend_apply_of_not_injective |
| 107 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) |
| 108 | (a : Fin (n + 1) → ι) (ha : ¬Function.Injective a) : |
| 109 | (orderedCechSupportAlternatingExtend R N n s).1 a = 0 := by |
| 110 | rw [orderedCechSupportAlternatingExtend_apply] |
| 111 | apply Finset.sum_eq_zero |
| 112 | intro σ _ |
| 113 | have hmono : ¬StrictMono (a ∘ σ) := by |
| 114 | intro h |
| 115 | apply ha |
| 116 | intro x y hxy |
| 117 | apply σ.symm.injective |
| 118 | apply h.injective |
| 119 | simpa using hxy |
| 120 | simp [hmono] |
| 121 | |
| 122 | /-- Restricting an alternating extension back to ordered tuples recovers the original cochain. -/ |
| 123 | theorem orderedCechSupportAlternatingExtend_restrict (N : Set ι) (n : ℕ) |
| 124 | (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) : |
| 125 | orderedCechSupportRestrict R N n |
| 126 | (orderedCechSupportAlternatingExtend R N n s) = s := by |
| 127 | apply Subtype.ext |
| 128 | funext a |
| 129 | change ((∑ σ : Equiv.Perm (Fin (n + 1)), |
| 130 | (Equiv.Perm.sign σ : ℤ) • |
| 131 | orderedCechSupportPermutationExtend R N n σ) s).1 a.1 = s.1 a |
| 132 | rw [LinearMap.sum_apply] |
| 133 | simp only [LinearMap.smul_apply, AddSubmonoidClass.coe_finsetSum, |
| 134 | Finset.sum_apply, SetLike.val_smul_of_tower] |
| 135 | change (∑ σ : Equiv.Perm (Fin (n + 1)), |
| 136 | (Equiv.Perm.sign σ : ℤ) • |
| 137 | (if h : StrictMono (a.1 ∘ σ) then s.1 ⟨a.1 ∘ σ, h⟩ else 0)) = s.1 a |
| 138 | rw [Finset.sum_eq_single 1] |
| 139 | · simp only [Equiv.Perm.sign_one, Units.val_one, one_zsmul] |
| 140 | rw [dite_eq_left (by simpa using a.2)] |
| 141 | apply congrArg s.1 |
| 142 | apply Subtype.ext |
| 143 | rfl |
| 144 | · intro σ _ hσ |
| 145 | have hnot : ¬StrictMono (a.1 ∘ σ) := by |
| 146 | intro h |
| 147 | have hmono : Monotone σ := fun i j hij => |
| 148 | a.2.le_iff_le.mp (h.monotone hij) |
| 149 | exact hσ ((Equiv.Perm.monotone_iff σ).mp hmono) |
| 150 | simp [hnot] |
| 151 | · simp |
| 152 | |
| 153 | private theorem orderedCechSupportAlternatingExtend_apply_of_strictMono |
| 154 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) |
| 155 | (a : Fin (n + 1) → ι) (ha : StrictMono a) : |
| 156 | (orderedCechSupportAlternatingExtend R N n s).1 a = s.1 ⟨a, ha⟩ := by |
| 157 | have h := congrArg (fun t => t.1 ⟨a, ha⟩) |
| 158 | (orderedCechSupportAlternatingExtend_restrict R N n s) |
| 159 | exact h |
| 160 | |
| 161 | /-- Restriction to ordered tuples commutes with the alternating deletion differentials. -/ |
| 162 | theorem orderedCechSupportRestrict_differential (N : Set ι) (n : ℕ) |
| 163 | (s : CechSupportContraction.CechSupportCochain R N n) : |
| 164 | orderedCechSupportRestrict R N (n + 1) |
| 165 | (CechSupportContraction.cechSupportDifferential R N n s) = |
| 166 | OrderedCechSupportContraction.orderedCechSupportDifferential R N n |
| 167 | (orderedCechSupportRestrict R N n s) := by |
| 168 | apply Subtype.ext |
| 169 | funext a |
| 170 | rfl |
| 171 | |
| 172 | private theorem cechSupportDifferential_alternatingExtend_permute |
| 173 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) |
| 174 | (a : Fin (n + 2) → ι) (τ : Equiv.Perm (Fin (n + 2))) : |
| 175 | (CechSupportContraction.cechSupportDifferential R N n |
| 176 | (orderedCechSupportAlternatingExtend R N n s)).1 (a ∘ τ) = |
| 177 | (Equiv.Perm.sign τ : ℤ) • |
| 178 | (CechSupportContraction.cechSupportDifferential R N n |
| 179 | (orderedCechSupportAlternatingExtend R N n s)).1 a := by |
| 180 | change (∑ r : Fin (n + 2), (-1 : R) ^ (r : ℕ) * |
| 181 | (orderedCechSupportAlternatingExtend R N n s).1 |
| 182 | ((a ∘ τ) ∘ r.succAbove)) = |
| 183 | (Equiv.Perm.sign τ : ℤ) • |
| 184 | ∑ r : Fin (n + 2), (-1 : R) ^ (r : ℕ) * |
| 185 | (orderedCechSupportAlternatingExtend R N n s).1 |
| 186 | (a ∘ r.succAbove) |
| 187 | rw [Finset.smul_sum] |
| 188 | refine Fintype.sum_equiv τ _ _ fun r => ?_ |
| 189 | have hface : |
| 190 | (a ∘ τ) ∘ r.succAbove = |
| 191 | (a ∘ (τ r).succAbove) ∘ |
| 192 | OrderedBaseCechAlternating.Scheme.Modules.cechPermDelete τ r := by |
| 193 | funext x |
| 194 | exact congrArg a |
| 195 | (OrderedBaseCechAlternating.Scheme.Modules.succAbove_cechPermDelete τ r x).symm |
| 196 | rw [hface, orderedCechSupportAlternatingExtend_permute] |
| 197 | simp only [zsmul_eq_mul] |
| 198 | have hcoefficient : |
| 199 | (-1 : R) ^ (r : ℕ) * |
| 200 | (Equiv.Perm.sign |
| 201 | (OrderedBaseCechAlternating.Scheme.Modules.cechPermDelete τ r) : R) = |
| 202 | (Equiv.Perm.sign τ : R) * (-1 : R) ^ (τ r : ℕ) := by |
| 203 | have h := congrArg (Int.castRingHom R) |
| 204 | (OrderedBaseCechAlternating.Scheme.Modules.cechPermDelete_signed_coefficient τ r) |
| 205 | simpa using h |
| 206 | rw [← mul_assoc, ← mul_assoc, hcoefficient] |
| 207 | |
| 208 | private theorem orderedCechSupportAlternatingExtend_face_pair_cancel |
| 209 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) |
| 210 | (a : Fin (n + 2) → ι) (k l : Fin (n + 2)) |
| 211 | (hal : a l = a k) (hkl : k ≠ l) : |
| 212 | (-1 : R) ^ (k : ℕ) * |
| 213 | (orderedCechSupportAlternatingExtend R N n s).1 |
| 214 | (a ∘ k.succAbove) + |
| 215 | (-1 : R) ^ (l : ℕ) * |
| 216 | (orderedCechSupportAlternatingExtend R N n s).1 |
| 217 | (a ∘ l.succAbove) = 0 := by |
| 218 | let τ := OrderedBaseCechAlternating.Scheme.Modules.cechDeleteSwapPerm k l |
| 219 | have htuple : |
| 220 | (a ∘ l.succAbove) ∘ τ = a ∘ k.succAbove := |
| 221 | OrderedBaseCechAlternating.Scheme.Modules.comp_succAbove_cechDeleteSwapPerm_of_eq |
| 222 | a k l hal.symm |
| 223 | have hpair := orderedCechSupportAlternatingExtend_permute |
| 224 | R N n s (a ∘ l.succAbove) τ |
| 225 | rw [htuple] at hpair |
| 226 | have hsign : |
| 227 | (Equiv.Perm.sign τ : R) = |
| 228 | -((-1 : R) ^ (k : ℕ) * (-1 : R) ^ (l : ℕ)) := by |
| 229 | have h := congrArg (Int.castRingHom R) |
| 230 | (OrderedBaseCechAlternating.Scheme.Modules.cechDeleteSwapPerm_sign k l hkl) |
| 231 | simpa [τ] using h |
| 232 | have hk : |
| 233 | (-1 : R) ^ (k : ℕ) * (-1 : R) ^ (k : ℕ) = 1 := by |
| 234 | rw [← pow_add, (Even.add_self (k : ℕ)).neg_one_pow] |
| 235 | rw [hpair, zsmul_eq_mul, hsign] |
| 236 | rw [← mul_assoc, mul_neg, ← mul_assoc, hk, one_mul, neg_mul, |
| 237 | neg_add_cancel] |
| 238 | |
| 239 | private theorem cechSupportDifferential_alternatingExtend_apply_of_not_injective |
| 240 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) |
| 241 | (a : Fin (n + 2) → ι) (ha : ¬Function.Injective a) : |
| 242 | (CechSupportContraction.cechSupportDifferential R N n |
| 243 | (orderedCechSupportAlternatingExtend R N n s)).1 a = 0 := by |
| 244 | let F : Fin (n + 2) → R := fun k => |
| 245 | (-1 : R) ^ (k : ℕ) * |
| 246 | (orderedCechSupportAlternatingExtend R N n s).1 |
| 247 | (a ∘ k.succAbove) |
| 248 | change ∑ k, F k = 0 |
| 249 | by_cases hall : ∀ k : Fin (n + 2), |
| 250 | ¬Function.Injective (a ∘ k.succAbove) |
| 251 | · apply Finset.sum_eq_zero |
| 252 | intro k _ |
| 253 | dsimp only [F] |
| 254 | rw [orderedCechSupportAlternatingExtend_apply_of_not_injective |
| 255 | R N n s (a ∘ k.succAbove) (hall k), mul_zero] |
| 256 | · have hex : ∃ k : Fin (n + 2), |
| 257 | Function.Injective (a ∘ k.succAbove) := by |
| 258 | by_contra h |
| 259 | apply hall |
| 260 | intro k hk |
| 261 | exact h ⟨k, hk⟩ |
| 262 | obtain ⟨k, hk⟩ := hex |
| 263 | obtain ⟨l, hlk, hal⟩ := |
| 264 | OrderedBaseCechAlternating.Scheme.Modules.exists_partner_of_delete_injective |
| 265 | a ha k hk |
| 266 | have hkl : k ≠ l := hlk.symm |
| 267 | have hother (m : Fin (n + 2)) (hmk : m ≠ k) (hml : m ≠ l) : |
| 268 | F m = 0 := by |
| 269 | have hm : ¬Function.Injective (a ∘ m.succAbove) := |
| 270 | OrderedBaseCechAlternating.Scheme.Modules.delete_not_injective_of_ne |
| 271 | a k l m hkl hmk.symm hml.symm hal |
| 272 | dsimp only [F] |
| 273 | rw [orderedCechSupportAlternatingExtend_apply_of_not_injective |
| 274 | R N n s (a ∘ m.succAbove) hm, mul_zero] |
| 275 | have hrem : ((Finset.univ.erase l).erase k).sum F = 0 := by |
| 276 | apply Finset.sum_eq_zero |
| 277 | intro m hm |
| 278 | have hmk : m ≠ k := (Finset.mem_erase.mp hm).1 |
| 279 | have hml : m ≠ l := |
| 280 | (Finset.mem_erase.mp (Finset.mem_erase.mp hm).2).1 |
| 281 | exact hother m hmk hml |
| 282 | have hk_mem : k ∈ Finset.univ.erase l := |
| 283 | Finset.mem_erase.mpr ⟨hkl, Finset.mem_univ k⟩ |
| 284 | calc |
| 285 | ∑ m, F m = (Finset.univ.erase l).sum F + F l := |
| 286 | (Finset.sum_erase_add Finset.univ F (Finset.mem_univ l)).symm |
| 287 | _ = (((Finset.univ.erase l).erase k).sum F + F k) + F l := by |
| 288 | rw [Finset.sum_erase_add (Finset.univ.erase l) F hk_mem] |
| 289 | _ = F k + F l := by rw [hrem, zero_add] |
| 290 | _ = 0 := by |
| 291 | exact orderedCechSupportAlternatingExtend_face_pair_cancel |
| 292 | R N n s a k l hal hkl |
| 293 | |
| 294 | /-- Alternating extension commutes with the alternating deletion differentials. -/ |
| 295 | theorem orderedCechSupportAlternatingExtend_differential |
| 296 | (N : Set ι) (n : ℕ) (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N n) : |
| 297 | CechSupportContraction.cechSupportDifferential R N n |
| 298 | (orderedCechSupportAlternatingExtend R N n s) = |
| 299 | orderedCechSupportAlternatingExtend R N (n + 1) |
| 300 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s) := by |
| 301 | apply Subtype.ext |
| 302 | funext a |
| 303 | by_cases ha : Function.Injective a |
| 304 | · let σ := Tuple.sort a |
| 305 | let b := a ∘ σ |
| 306 | let ε : ℤ := Equiv.Perm.sign σ |
| 307 | have hb : StrictMono b := |
| 308 | (Tuple.monotone_sort a).strictMono_of_injective |
| 309 | (ha.comp σ.injective) |
| 310 | have hleft := cechSupportDifferential_alternatingExtend_permute |
| 311 | R N n s a σ |
| 312 | change |
| 313 | (CechSupportContraction.cechSupportDifferential R N n |
| 314 | (orderedCechSupportAlternatingExtend R N n s)).1 b = |
| 315 | ε • |
| 316 | (CechSupportContraction.cechSupportDifferential R N n |
| 317 | (orderedCechSupportAlternatingExtend R N n s)).1 a at hleft |
| 318 | have hright := orderedCechSupportAlternatingExtend_permute |
| 319 | R N (n + 1) (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s) a σ |
| 320 | change |
| 321 | (orderedCechSupportAlternatingExtend R N (n + 1) |
| 322 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 b = |
| 323 | ε • |
| 324 | (orderedCechSupportAlternatingExtend R N (n + 1) |
| 325 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 a at hright |
| 326 | have hd := orderedCechSupportRestrict_differential R N n |
| 327 | (orderedCechSupportAlternatingExtend R N n s) |
| 328 | rw [orderedCechSupportAlternatingExtend_restrict] at hd |
| 329 | have hstrict : |
| 330 | (CechSupportContraction.cechSupportDifferential R N n |
| 331 | (orderedCechSupportAlternatingExtend R N n s)).1 b = |
| 332 | (orderedCechSupportAlternatingExtend R N (n + 1) |
| 333 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 b := by |
| 334 | rw [orderedCechSupportAlternatingExtend_apply_of_strictMono |
| 335 | R N (n + 1) (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s) b hb] |
| 336 | exact congrArg (fun t => t.1 ⟨b, hb⟩) hd |
| 337 | have hε : ε * ε = 1 := by |
| 338 | exact Int.units_coe_mul_self (Equiv.Perm.sign σ) |
| 339 | calc |
| 340 | (CechSupportContraction.cechSupportDifferential R N n |
| 341 | (orderedCechSupportAlternatingExtend R N n s)).1 a = |
| 342 | ε • (ε • |
| 343 | (CechSupportContraction.cechSupportDifferential R N n |
| 344 | (orderedCechSupportAlternatingExtend R N n s)).1 a) := by |
| 345 | rw [smul_smul, hε, one_smul] |
| 346 | _ = ε • |
| 347 | (CechSupportContraction.cechSupportDifferential R N n |
| 348 | (orderedCechSupportAlternatingExtend R N n s)).1 b := |
| 349 | congrArg (ε • ·) hleft.symm |
| 350 | _ = ε • |
| 351 | (orderedCechSupportAlternatingExtend R N (n + 1) |
| 352 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 b := |
| 353 | congrArg (ε • ·) hstrict |
| 354 | _ = ε • (ε • |
| 355 | (orderedCechSupportAlternatingExtend R N (n + 1) |
| 356 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 a) := |
| 357 | congrArg (ε • ·) hright |
| 358 | _ = (orderedCechSupportAlternatingExtend R N (n + 1) |
| 359 | (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s)).1 a := by |
| 360 | rw [smul_smul, hε, one_smul] |
| 361 | · rw [cechSupportDifferential_alternatingExtend_apply_of_not_injective |
| 362 | R N n s a ha] |
| 363 | exact (orderedCechSupportAlternatingExtend_apply_of_not_injective |
| 364 | R N (n + 1) (OrderedCechSupportContraction.orderedCechSupportDifferential R N n s) a ha).symm |
| 365 | |
| 366 | /-- Every positive-degree ordered support cocycle is a boundary. -/ |
| 367 | theorem exists_preimage_orderedCechSupportDifferential |
| 368 | (N : Set ι) (i₀ : ι) (hi₀ : i₀ ∉ N) (n : ℕ) |
| 369 | (s : OrderedCechSupportContraction.OrderedCechSupportCochain R N (n + 1)) |
| 370 | (hs : OrderedCechSupportContraction.orderedCechSupportDifferential R N (n + 1) s = 0) : |
| 371 | ∃ t : OrderedCechSupportContraction.OrderedCechSupportCochain R N n, |
| 372 | OrderedCechSupportContraction.orderedCechSupportDifferential R N n t = s := by |
| 373 | have hcycle : |
| 374 | CechSupportContraction.cechSupportDifferential R N (n + 1) |
| 375 | (orderedCechSupportAlternatingExtend R N (n + 1) s) = 0 := by |
| 376 | rw [orderedCechSupportAlternatingExtend_differential, hs, map_zero] |
| 377 | obtain ⟨t, ht⟩ := CechSupportContraction.exists_preimage_cechSupportDifferential |
| 378 | R N i₀ hi₀ n (orderedCechSupportAlternatingExtend R N (n + 1) s) hcycle |
| 379 | refine ⟨orderedCechSupportRestrict R N n t, ?_⟩ |
| 380 | rw [← orderedCechSupportRestrict_differential, ht, |
| 381 | orderedCechSupportAlternatingExtend_restrict] |
| 382 | |
| 383 | end |
| 384 | |
| 385 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechSupportAlternating |