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.DeRham.Comparison.CubicalSupport |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 5 | |
| 6 | /-! # Cubical Local Cochains -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CubicalLocalCochains |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # Exactness of normalized smooth cubical cochains on convex subsets |
| 16 | |
| 17 | These cochains are the actual additive duals of the supported normalized |
| 18 | cubical chains. The primitive of a positive-degree cocycle is explicit: |
| 19 | precompose it with the straight-line prism operator. No comparison map or |
| 20 | local exactness hypothesis is supplied as extra data. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory |
| 24 | |
| 25 | variable {m n : ℕ} |
| 26 | |
| 27 | /-- Additive-coefficient cochains on the normalized smooth cubes in `U`. -/ |
| 28 | abbrev SupportedCubicalCochain (U : Set (Fin m → ℝ)) (A : Type*) [AddCommGroup A] |
| 29 | (n : ℕ) := |
| 30 | CubicalSupport.normalizedSupportedCubicalChains U n →ₗ[ℤ] A |
| 31 | |
| 32 | /-- The coboundary is precomposition with the actual restricted chain boundary. -/ |
| 33 | def supportedCubicalCoboundary (U : Set (Fin m → ℝ)) (A : Type*) [AddCommGroup A] |
| 34 | (n : ℕ) : |
| 35 | SupportedCubicalCochain U A n →ₗ[ℤ] SupportedCubicalCochain U A (n + 1) where |
| 36 | toFun φ := φ.comp (CubicalSupport.supportedNormalizedBoundary U n) |
| 37 | map_add' _ _ := rfl |
| 38 | map_smul' _ _ := rfl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem supportedCubicalCoboundary_apply (U : Set (Fin m → ℝ)) (A : Type*) |
| 42 | [AddCommGroup A] (φ : SupportedCubicalCochain U A n) |
| 43 | (c : CubicalSupport.normalizedSupportedCubicalChains U (n + 1)) : |
| 44 | supportedCubicalCoboundary U A n φ c = φ (CubicalSupport.supportedNormalizedBoundary U n c) := rfl |
| 45 | |
| 46 | theorem supportedCubicalCoboundary_squared (U : Set (Fin m → ℝ)) (A : Type*) |
| 47 | [AddCommGroup A] (φ : SupportedCubicalCochain U A n) : |
| 48 | supportedCubicalCoboundary U A (n + 1) (supportedCubicalCoboundary U A n φ) = 0 := by |
| 49 | ext c |
| 50 | change φ (CubicalSupport.supportedNormalizedBoundary U n |
| 51 | (CubicalSupport.supportedNormalizedBoundary U (n + 1) c)) = 0 |
| 52 | rw [CubicalSupport.supportedNormalizedBoundary_sq_zero, map_zero] |
| 53 | |
| 54 | /-- The explicit cochain homotopy dual to the genuine straight-line prism. -/ |
| 55 | def supportedCochainPrism {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 56 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] (n : ℕ) : |
| 57 | SupportedCubicalCochain U A (n + 1) →ₗ[ℤ] SupportedCubicalCochain U A n where |
| 58 | toFun φ := φ.comp (CubicalSupport.supportedNormalizedPrism hU hx₀ n) |
| 59 | map_add' _ _ := rfl |
| 60 | map_smul' _ _ := rfl |
| 61 | |
| 62 | /-- The dual prism identity contracts the actual cochains in positive degrees. -/ |
| 63 | theorem supportedCochainPrism_identity {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 64 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] |
| 65 | (φ : SupportedCubicalCochain U A (n + 1)) : |
| 66 | supportedCubicalCoboundary U A n (supportedCochainPrism hU hx₀ A n φ) + |
| 67 | supportedCochainPrism hU hx₀ A (n + 1) |
| 68 | (supportedCubicalCoboundary U A (n + 1) φ) = φ := by |
| 69 | ext c |
| 70 | change φ (CubicalSupport.supportedNormalizedPrism hU hx₀ n (CubicalSupport.supportedNormalizedBoundary U n c)) + |
| 71 | φ (CubicalSupport.supportedNormalizedBoundary U (n + 1) (CubicalSupport.supportedNormalizedPrism hU hx₀ (n + 1) c)) = |
| 72 | φ c |
| 73 | rw [← map_add] |
| 74 | exact congrArg φ ((add_comm _ _).trans (CubicalSupport.supportedNormalizedPrism_contraction hU hx₀ c)) |
| 75 | |
| 76 | /-- Every positive-degree cocycle has the explicitly given prism primitive. -/ |
| 77 | theorem supportedCubicalCocycle_prism_primitive {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 78 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] |
| 79 | (φ : SupportedCubicalCochain U A (n + 1)) |
| 80 | (hφ : supportedCubicalCoboundary U A (n + 1) φ = 0) : |
| 81 | supportedCubicalCoboundary U A n (supportedCochainPrism hU hx₀ A n φ) = φ := by |
| 82 | simpa only [hφ, map_zero, add_zero] using supportedCochainPrism_identity hU hx₀ A φ |
| 83 | |
| 84 | /-- Exactness of the actual coboundary maps in every positive degree. -/ |
| 85 | theorem supportedCubicalCoboundary_exact {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 86 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] (n : ℕ) : |
| 87 | Function.Exact (supportedCubicalCoboundary U A n) |
| 88 | (supportedCubicalCoboundary U A (n + 1)) := by |
| 89 | apply LinearMap.exact_of_comp_of_mem_range |
| 90 | · apply LinearMap.ext |
| 91 | intro φ |
| 92 | exact supportedCubicalCoboundary_squared U A φ |
| 93 | · intro φ hφ |
| 94 | exact ⟨supportedCochainPrism hU hx₀ A n φ, |
| 95 | supportedCubicalCocycle_prism_primitive hU hx₀ A φ hφ⟩ |
| 96 | |
| 97 | /-- The supported normalized cubical cochain complex with arbitrary additive coefficients. -/ |
| 98 | def supportedCubicalCochainComplex (U : Set (Fin m → ℝ)) (A : Type*) [AddCommGroup A] : |
| 99 | CochainComplex (ModuleCat ℤ) ℕ := |
| 100 | CochainComplex.of (fun n => ModuleCat.of ℤ (SupportedCubicalCochain U A n)) |
| 101 | (fun n => ModuleCat.ofHom (supportedCubicalCoboundary U A n)) |
| 102 | (fun _ => by |
| 103 | apply ModuleCat.hom_ext |
| 104 | apply LinearMap.ext |
| 105 | intro φ |
| 106 | exact supportedCubicalCoboundary_squared U A φ) |
| 107 | |
| 108 | @[simp] |
| 109 | theorem supportedCubicalCochainComplex_d (U : Set (Fin m → ℝ)) (A : Type*) |
| 110 | [AddCommGroup A] (n : ℕ) : |
| 111 | (supportedCubicalCochainComplex U A).d n (n + 1) = |
| 112 | ModuleCat.ofHom (supportedCubicalCoboundary U A n) := |
| 113 | CochainComplex.of_d |
| 114 | (fun j => ModuleCat.of ℤ (SupportedCubicalCochain U A j)) |
| 115 | (fun j => ModuleCat.ofHom (supportedCubicalCoboundary U A j)) n |
| 116 | |
| 117 | /-- The bundled cochain complex is exact in positive degree on every nonempty convex target. -/ |
| 118 | theorem supportedCubicalCochainComplex_exactAt {U : Set (Fin m → ℝ)} |
| 119 | (hU : Convex ℝ U) {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) |
| 120 | (A : Type*) [AddCommGroup A] (n : ℕ) : |
| 121 | (supportedCubicalCochainComplex U A).ExactAt (n + 1) := by |
| 122 | apply (HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) |
| 123 | ((ComplexShape.up ℕ).prev_eq' (show (ComplexShape.up ℕ).Rel n (n + 1) from rfl)) |
| 124 | ((ComplexShape.up ℕ).next_eq' |
| 125 | (show (ComplexShape.up ℕ).Rel (n + 1) (n + 2) from rfl))).2 |
| 126 | apply (ShortComplex.moduleCat_exact_iff _).2 |
| 127 | intro φ hφ |
| 128 | change (supportedCubicalCochainComplex U A).d (n + 1) (n + 2) φ = 0 at hφ |
| 129 | rw [supportedCubicalCochainComplex_d] at hφ |
| 130 | refine ⟨supportedCochainPrism hU hx₀ A n φ, ?_⟩ |
| 131 | change (supportedCubicalCochainComplex U A).d n (n + 1) |
| 132 | (supportedCochainPrism hU hx₀ A n φ) = φ |
| 133 | rw [supportedCubicalCochainComplex_d] |
| 134 | exact supportedCubicalCocycle_prism_primitive hU hx₀ A φ hφ |
| 135 | |
| 136 | /-- Its actual categorical cohomology is zero in every positive degree. -/ |
| 137 | theorem supportedCubicalCohomology_isZero {U : Set (Fin m → ℝ)} |
| 138 | (hU : Convex ℝ U) {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) |
| 139 | (A : Type*) [AddCommGroup A] (n : ℕ) : |
| 140 | Limits.IsZero ((supportedCubicalCochainComplex U A).homology (n + 1)) := |
| 141 | (HomologicalComplex.exactAt_iff_isZero_homology _ _).mp |
| 142 | (supportedCubicalCochainComplex_exactAt hU hx₀ A n) |
| 143 | |
| 144 | end |
| 145 | |
| 146 | /-! |
| 147 | # Augmentation and degree-zero normalized cubical cocycles |
| 148 | |
| 149 | The augmentation is the actual sum of coefficients of zero-dimensional |
| 150 | cubes. The chosen point has augmentation one. The degree-zero prism identity |
| 151 | identifies its kernel with boundaries and identifies degree-zero cocycles |
| 152 | on a nonempty convex target with constant coefficient values. |
| 153 | -/ |
| 154 | |
| 155 | open OAI.AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes |
| 156 | |
| 157 | variable {n m : ℕ} |
| 158 | |
| 159 | /-- The augmentation on actual normalized degree-zero cubical chains. -/ |
| 160 | def normalizedCubicalAugmentation (m : ℕ) : CubicalDegenerateQ.NormalizedCubicalChain 0 m →ₗ[ℤ] ℤ := |
| 161 | (CubicalDegenerateQ.degenerateSubmodule 0 m).liftQ |
| 162 | (Finsupp.degree : StokesF.SingularCubeStokes.SingularChain 0 m →+ ℤ).toIntLinearMap |
| 163 | (by rw [CubicalDegenerateQ.degenerateSubmodule_zero]; exact bot_le) |
| 164 | |
| 165 | @[simp] |
| 166 | theorem normalizedCubicalAugmentation_mk (c : StokesF.SingularCubeStokes.SingularChain 0 m) : |
| 167 | normalizedCubicalAugmentation m ((CubicalDegenerateQ.degenerateSubmodule 0 m).mkQ c) = |
| 168 | Finsupp.degree c := rfl |
| 169 | |
| 170 | /-- The augmentation vanishes on every actual normalized boundary. -/ |
| 171 | theorem normalizedCubicalAugmentation_boundary (c : CubicalDegenerateQ.NormalizedCubicalChain 1 m) : |
| 172 | normalizedCubicalAugmentation m (CubicalDegenerateQ.normalizedBoundary 0 m c) = 0 := by |
| 173 | refine Submodule.Quotient.induction_on (CubicalDegenerateQ.degenerateSubmodule 1 m) c ?_ |
| 174 | intro d |
| 175 | simpa only [← Submodule.mkQ_apply, CubicalDegenerateQ.normalizedBoundary_mk, |
| 176 | normalizedCubicalAugmentation_mk] using CubicalDegeneracies.degree_singularBoundary d |
| 177 | |
| 178 | /-- The normalized zero-chain carried by a single chosen point. -/ |
| 179 | def normalizedPointChain (x : Fin m → ℝ) : CubicalDegenerateQ.NormalizedCubicalChain 0 m := |
| 180 | (CubicalDegenerateQ.degenerateSubmodule 0 m).mkQ (Finsupp.single (CubicalDegeneracies.constantSmoothCube 0 x) 1) |
| 181 | |
| 182 | @[simp] |
| 183 | theorem normalizedCubicalAugmentation_point (x : Fin m → ℝ) : |
| 184 | normalizedCubicalAugmentation m (normalizedPointChain x) = 1 := by |
| 185 | change normalizedCubicalAugmentation m |
| 186 | ((CubicalDegenerateQ.degenerateSubmodule 0 m).mkQ (Finsupp.single (CubicalDegeneracies.constantSmoothCube 0 x) 1)) = 1 |
| 187 | rw [normalizedCubicalAugmentation_mk, Finsupp.degree_single] |
| 188 | |
| 189 | /-- The constant cube operator is coefficient sum times its single constant cube. -/ |
| 190 | theorem constantCubeOperator_eq_degree_smul (x₀ : Fin m → ℝ) (c : StokesF.SingularCubeStokes.SingularChain n m) : |
| 191 | CubicalPrism.constantCubeOperator n m x₀ c = |
| 192 | Finsupp.degree c • Finsupp.single (CubicalDegeneracies.constantSmoothCube n x₀) 1 := by |
| 193 | induction c using Finsupp.induction with |
| 194 | | zero => simp |
| 195 | | single_add σ k c hσ hk ih => |
| 196 | simp only [map_add, CubicalPrism.constantCubeOperator_single, Finsupp.degree_single, add_smul, ih, |
| 197 | Finsupp.smul_single, smul_eq_mul, mul_one] |
| 198 | |
| 199 | /-- On degree-zero normalized chains, the constant operator is point times augmentation. -/ |
| 200 | theorem normalizedConstant_zero_eq_augmentation_smul (x₀ : Fin m → ℝ) |
| 201 | (c : CubicalDegenerateQ.NormalizedCubicalChain 0 m) : |
| 202 | CubicalPrism.normalizedConstant 0 m x₀ c = normalizedCubicalAugmentation m c • normalizedPointChain x₀ := by |
| 203 | refine Submodule.Quotient.induction_on (CubicalDegenerateQ.degenerateSubmodule 0 m) c ?_ |
| 204 | intro d |
| 205 | change CubicalPrism.normalizedConstant 0 m x₀ ((CubicalDegenerateQ.degenerateSubmodule 0 m).mkQ d) = _ |
| 206 | rw [CubicalPrism.normalizedConstant_mk, constantCubeOperator_eq_degree_smul, map_smul] |
| 207 | rfl |
| 208 | |
| 209 | /-- The concrete augmented prism identity in degree zero. -/ |
| 210 | theorem normalized_prism_zero_augmentation (x₀ : Fin m → ℝ) |
| 211 | (c : CubicalDegenerateQ.NormalizedCubicalChain 0 m) : |
| 212 | CubicalDegenerateQ.normalizedBoundary 0 m (CubicalPrism.normalizedPrism 0 m x₀ c) = |
| 213 | c - normalizedCubicalAugmentation m c • normalizedPointChain x₀ := by |
| 214 | rw [CubicalPrism.normalized_prism_identity_zero, normalizedConstant_zero_eq_augmentation_smul] |
| 215 | |
| 216 | /-- Every augmentation-zero normalized zero-chain is a boundary. -/ |
| 217 | theorem normalized_aug_zero_is_boundary (x₀ : Fin m → ℝ) |
| 218 | (c : CubicalDegenerateQ.NormalizedCubicalChain 0 m) (hc : normalizedCubicalAugmentation m c = 0) : |
| 219 | CubicalDegenerateQ.normalizedBoundary 0 m (CubicalPrism.normalizedPrism 0 m x₀ c) = c := by |
| 220 | simpa only [hc, zero_smul, sub_zero] using normalized_prism_zero_augmentation x₀ c |
| 221 | |
| 222 | /-- Exactness at the zero-chain group in the augmented normalized complex. -/ |
| 223 | theorem normalizedCubicalAugmentation_exact (x₀ : Fin m → ℝ) : |
| 224 | Function.Exact (CubicalDegenerateQ.normalizedBoundary 0 m) (normalizedCubicalAugmentation m) := by |
| 225 | apply LinearMap.exact_of_comp_of_mem_range |
| 226 | · apply LinearMap.ext |
| 227 | exact normalizedCubicalAugmentation_boundary |
| 228 | · intro c hc |
| 229 | exact ⟨CubicalPrism.normalizedPrism 0 m x₀ c, normalized_aug_zero_is_boundary x₀ c hc⟩ |
| 230 | |
| 231 | /-- The chosen point splits the augmentation and, in particular, makes it surjective. -/ |
| 232 | theorem normalizedCubicalAugmentation_surjective (x₀ : Fin m → ℝ) : |
| 233 | Function.Surjective (normalizedCubicalAugmentation m) := by |
| 234 | intro k |
| 235 | refine ⟨k • normalizedPointChain x₀, ?_⟩ |
| 236 | simp only [map_smul, normalizedCubicalAugmentation_point, smul_eq_mul, mul_one] |
| 237 | |
| 238 | /-- The augmentation restricted to normalized zero-chains in a target subset. -/ |
| 239 | def supportedCubicalAugmentation (U : Set (Fin m → ℝ)) : |
| 240 | CubicalSupport.normalizedSupportedCubicalChains U 0 →ₗ[ℤ] ℤ := |
| 241 | (normalizedCubicalAugmentation m).comp (CubicalSupport.normalizedSupportedCubicalChains U 0).subtype |
| 242 | |
| 243 | /-- The point zero-chain belongs to the supported module exactly as a genuine cube in `U`. -/ |
| 244 | def supportedPointChain {U : Set (Fin m → ℝ)} {x : Fin m → ℝ} (hx : x ∈ U) : |
| 245 | CubicalSupport.normalizedSupportedCubicalChains U 0 := |
| 246 | ⟨normalizedPointChain x, |
| 247 | Submodule.mem_map_of_mem (CubicalSupport.single_mem_supportedCubicalChains _ (fun _ _ => hx) 1)⟩ |
| 248 | |
| 249 | @[simp] |
| 250 | theorem supportedCubicalAugmentation_point {U : Set (Fin m → ℝ)} {x : Fin m → ℝ} |
| 251 | (hx : x ∈ U) : supportedCubicalAugmentation U (supportedPointChain hx) = 1 := |
| 252 | normalizedCubicalAugmentation_point x |
| 253 | |
| 254 | theorem supportedCubicalAugmentation_boundary (U : Set (Fin m → ℝ)) |
| 255 | (c : CubicalSupport.normalizedSupportedCubicalChains U 1) : |
| 256 | supportedCubicalAugmentation U (CubicalSupport.supportedNormalizedBoundary U 0 c) = 0 := |
| 257 | normalizedCubicalAugmentation_boundary c.val |
| 258 | |
| 259 | /-- The augmented prism identity holds inside the supported degree-zero module. -/ |
| 260 | theorem supportedNormalizedPrism_zero {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 261 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (c : CubicalSupport.normalizedSupportedCubicalChains U 0) : |
| 262 | CubicalSupport.supportedNormalizedBoundary U 0 (CubicalSupport.supportedNormalizedPrism hU hx₀ 0 c) = |
| 263 | c - supportedCubicalAugmentation U c • supportedPointChain hx₀ := by |
| 264 | apply Subtype.ext |
| 265 | exact normalized_prism_zero_augmentation x₀ c.val |
| 266 | |
| 267 | /-- A coefficient value as a constant normalized cubical zero-cochain. -/ |
| 268 | def constantSupportedCochain (U : Set (Fin m → ℝ)) (A : Type*) [AddCommGroup A] : |
| 269 | A →ₗ[ℤ] SupportedCubicalCochain U A 0 where |
| 270 | toFun a := (LinearMap.toSpanSingleton ℤ A a).comp (supportedCubicalAugmentation U) |
| 271 | map_add' a b := by |
| 272 | ext c |
| 273 | exact smul_add (supportedCubicalAugmentation U c) a b |
| 274 | map_smul' k a := by |
| 275 | ext c |
| 276 | exact smul_comm (supportedCubicalAugmentation U c) k a |
| 277 | |
| 278 | @[simp] |
| 279 | theorem constantSupportedCochain_apply (U : Set (Fin m → ℝ)) (A : Type*) [AddCommGroup A] |
| 280 | (a : A) (c : CubicalSupport.normalizedSupportedCubicalChains U 0) : |
| 281 | constantSupportedCochain U A a c = supportedCubicalAugmentation U c • a := rfl |
| 282 | |
| 283 | @[simp] |
| 284 | theorem constantSupportedCochain_point {U : Set (Fin m → ℝ)} {x : Fin m → ℝ} |
| 285 | (hx : x ∈ U) (A : Type*) [AddCommGroup A] (a : A) : |
| 286 | constantSupportedCochain U A a (supportedPointChain hx) = a := by |
| 287 | rw [constantSupportedCochain_apply, supportedCubicalAugmentation_point, one_smul] |
| 288 | |
| 289 | /-- Constant zero-cochains are closed on any target subset. -/ |
| 290 | theorem constantSupportedCochain_closed (U : Set (Fin m → ℝ)) (A : Type*) |
| 291 | [AddCommGroup A] (a : A) : |
| 292 | supportedCubicalCoboundary U A 0 (constantSupportedCochain U A a) = 0 := by |
| 293 | ext c |
| 294 | change supportedCubicalAugmentation U (CubicalSupport.supportedNormalizedBoundary U 0 c) • a = 0 |
| 295 | rw [supportedCubicalAugmentation_boundary, zero_smul] |
| 296 | |
| 297 | /-- On a nonempty convex target, every closed zero-cochain is determined by |
| 298 | its value at the chosen point. -/ |
| 299 | theorem supportedZeroCocycle_apply {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 300 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] |
| 301 | (φ : SupportedCubicalCochain U A 0) (hφ : supportedCubicalCoboundary U A 0 φ = 0) |
| 302 | (c : CubicalSupport.normalizedSupportedCubicalChains U 0) : |
| 303 | φ c = supportedCubicalAugmentation U c • φ (supportedPointChain hx₀) := by |
| 304 | have hzero : φ (CubicalSupport.supportedNormalizedBoundary U 0 (CubicalSupport.supportedNormalizedPrism hU hx₀ 0 c)) = 0 := |
| 305 | congrArg (fun f : SupportedCubicalCochain U A 1 => f (CubicalSupport.supportedNormalizedPrism hU hx₀ 0 c)) hφ |
| 306 | rw [supportedNormalizedPrism_zero, map_sub, map_smul] at hzero |
| 307 | exact sub_eq_zero.mp hzero |
| 308 | |
| 309 | /-- Constant zero-cochains inject whenever the target contains a point. -/ |
| 310 | theorem constantSupportedCochain_injective {U : Set (Fin m → ℝ)} |
| 311 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] : |
| 312 | Function.Injective (constantSupportedCochain U A) := by |
| 313 | intro a b hab |
| 314 | have h := congrArg (fun f : SupportedCubicalCochain U A 0 => f (supportedPointChain hx₀)) hab |
| 315 | simpa only [constantSupportedCochain_point] using h |
| 316 | |
| 317 | /-- The kernel of the degree-zero coboundary consists precisely of constant cochains. -/ |
| 318 | theorem supportedZeroCocycle_ker_eq_range {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 319 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] : |
| 320 | LinearMap.ker (supportedCubicalCoboundary U A 0) = |
| 321 | LinearMap.range (constantSupportedCochain U A) := by |
| 322 | ext φ |
| 323 | constructor |
| 324 | · intro hφ |
| 325 | refine ⟨φ (supportedPointChain hx₀), ?_⟩ |
| 326 | ext c |
| 327 | exact (supportedZeroCocycle_apply hU hx₀ A φ hφ c).symm |
| 328 | · rintro ⟨a, rfl⟩ |
| 329 | exact constantSupportedCochain_closed U A a |
| 330 | |
| 331 | /-- The coefficients themselves are canonically the closed zero-cochains on |
| 332 | a nonempty convex target, with inverse evaluation at the selected point. -/ |
| 333 | def supportedZeroCocycleEquiv {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 334 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] : |
| 335 | A ≃ₗ[ℤ] LinearMap.ker (supportedCubicalCoboundary U A 0) := |
| 336 | (LinearEquiv.ofInjective (constantSupportedCochain U A) |
| 337 | (constantSupportedCochain_injective hx₀ A)).trans |
| 338 | (LinearEquiv.ofEq _ _ (supportedZeroCocycle_ker_eq_range hU hx₀ A).symm) |
| 339 | |
| 340 | @[simp] |
| 341 | theorem supportedZeroCocycleEquiv_apply {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 342 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] (a : A) : |
| 343 | (supportedZeroCocycleEquiv hU hx₀ A a).val = constantSupportedCochain U A a := rfl |
| 344 | |
| 345 | /-- The inverse to the constant-cocycle equivalence really is point evaluation. -/ |
| 346 | @[simp] |
| 347 | theorem supportedZeroCocycleEquiv_symm_apply {U : Set (Fin m → ℝ)} (hU : Convex ℝ U) |
| 348 | {x₀ : Fin m → ℝ} (hx₀ : x₀ ∈ U) (A : Type*) [AddCommGroup A] |
| 349 | (φ : LinearMap.ker (supportedCubicalCoboundary U A 0)) : |
| 350 | (supportedZeroCocycleEquiv hU hx₀ A).symm φ = φ.val (supportedPointChain hx₀) := by |
| 351 | have h := congrArg |
| 352 | (fun ψ : LinearMap.ker (supportedCubicalCoboundary U A 0) => ψ.val (supportedPointChain hx₀)) |
| 353 | ((supportedZeroCocycleEquiv hU hx₀ A).apply_symm_apply φ) |
| 354 | simpa only [supportedZeroCocycleEquiv_apply, constantSupportedCochain_point] using h |
| 355 | |
| 356 | end |
| 357 | |
| 358 | end OAI.AlgebraicTopology.DeRham.Comparison.CubicalLocalCochains |