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.DivisorClass.Chern.ConnectingRepresentative |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.Winding |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.Cech |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.CechComparison |
| 5 | |
| 6 | /-! # Subspace Cech D -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.SubspaceCechD |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # ChernClass: a relative cocycle for the winding of a local equation |
| 16 | |
| 17 | Extend winding values by zero from the actual subspace simplices. The |
| 18 | differential of this explicit ambient cochain has zero restriction, so it |
| 19 | lifts uniquely to the relative complex. The connecting-map formula identifies |
| 20 | its class with the already constructed supported winding class. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory |
| 24 | open scoped Simplicial |
| 25 | |
| 26 | set_option backward.isDefEq.respectTransparency false |
| 27 | set_option backward.isDefEq.respectTransparency.types false |
| 28 | set_option backward.defeqAttrib.useBackward true |
| 29 | |
| 30 | variable (X : TopCat.{0}) (A : Set X) |
| 31 | |
| 32 | /-- The actual inclusion of singular simplices of a subspace. -/ |
| 33 | def subspaceSimplexMap (n : ℕ) : |
| 34 | (TopCat.toSSet.obj (TopCat.of A)) _⦋n⦌ → (TopCat.toSSet.obj X) _⦋n⦌ := |
| 35 | (TopCat.toSSet.map (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A)).app _ |
| 36 | |
| 37 | theorem subspaceSimplexMap_injective (n : ℕ) : |
| 38 | Function.Injective (subspaceSimplexMap X A n) := by |
| 39 | exact (CategoryTheory.mono_iff_injective |
| 40 | ((TopCat.toSSet.map (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A)).app _)).mp inferInstance |
| 41 | |
| 42 | /-- Extend a subspace cochain by zero on simplices outside the inclusion's image. -/ |
| 43 | def zeroExtendCochain (n : ℕ) |
| 44 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A)).X n) : |
| 45 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X n := |
| 46 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) (ModuleCat.of ℚ ℚ) n).inv |
| 47 | (Function.extend (subspaceSimplexMap X A n) |
| 48 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (TopCat.of A)) (ModuleCat.of ℚ ℚ) n).hom c) |
| 49 | (fun _ => 0)) |
| 50 | |
| 51 | theorem zeroExtendCochain_value (n : ℕ) |
| 52 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A)).X n) |
| 53 | (s : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 54 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) (ModuleCat.of ℚ ℚ) n).hom |
| 55 | (zeroExtendCochain X A n c) s = |
| 56 | Function.extend (subspaceSimplexMap X A n) |
| 57 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (TopCat.of A)) (ModuleCat.of ℚ ℚ) n).hom c) |
| 58 | (fun _ => 0) s := by |
| 59 | unfold zeroExtendCochain |
| 60 | rw [Iso.inv_hom_id_apply] |
| 61 | |
| 62 | /-- The explicit extension really restricts to the given cochain. -/ |
| 63 | theorem zeroExtendCochain_restrict (n : ℕ) |
| 64 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A)).X n) : |
| 65 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n |
| 66 | (zeroExtendCochain X A n c) = c := by |
| 67 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (TopCat.of A)) |
| 68 | (ModuleCat.of ℚ ℚ) n).toLinearEquiv.injective |
| 69 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (TopCat.of A)) |
| 70 | (ModuleCat.of ℚ ℚ) n).hom _ = _ |
| 71 | ext s |
| 72 | have h := AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback (ModuleCat.of ℚ ℚ) |
| 73 | (TopCat.toSSet.map (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A)) (zeroExtendCochain X A n c) s |
| 74 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (TopCat.of A)) (ModuleCat.of ℚ ℚ) n).hom |
| 75 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n (zeroExtendCochain X A n c)) s = |
| 76 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) (ModuleCat.of ℚ ℚ) n).hom |
| 77 | (zeroExtendCochain X A n c) (subspaceSimplexMap X A n s) at h |
| 78 | rw [h, zeroExtendCochain_value] |
| 79 | exact (subspaceSimplexMap_injective X A n).extend_apply _ _ s |
| 80 | |
| 81 | /-- Relative inclusion is injective in each degree. -/ |
| 82 | theorem relativeCochainInclusion_injective (n : ℕ) : |
| 83 | Function.Injective ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f n) := by |
| 84 | let := (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainSequence_degreewiseShortExact (ModuleCat.of ℚ ℚ) X A n).mono_f |
| 85 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 86 | |
| 87 | /-- A cochain with zero restriction has a unique lift to the actual relative complex. -/ |
| 88 | theorem existsUnique_relativeLift (n : ℕ) |
| 89 | (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X n) |
| 90 | (hc : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n c = 0) : |
| 91 | ∃! a : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).X n, |
| 92 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f n a = c := by |
| 93 | have hmem : c ∈ LinearMap.range ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f n).hom := by |
| 94 | rw [AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_range] |
| 95 | exact hc |
| 96 | obtain ⟨a, ha⟩ := hmem |
| 97 | exact ⟨a, ha, fun b hb => relativeCochainInclusion_injective X A n (hb.trans ha.symm)⟩ |
| 98 | |
| 99 | /-- A chosen notation for the unique relative lift; it has no choice ambiguity. -/ |
| 100 | def relativeLift (n : ℕ) (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X n) |
| 101 | (hc : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n c = 0) : |
| 102 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).X n := |
| 103 | (existsUnique_relativeLift X A n c hc).exists.choose |
| 104 | |
| 105 | theorem relativeLift_inclusion (n : ℕ) (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X n) |
| 106 | (hc : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n c = 0) : |
| 107 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f n (relativeLift X A n c hc) = c := |
| 108 | (existsUnique_relativeLift X A n c hc).exists.choose_spec |
| 109 | |
| 110 | /-- Lifting a closed cochain to the relative kernel preserves closedness. -/ |
| 111 | theorem relativeLift_closed (n : ℕ) (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X n) |
| 112 | (hc : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n c = 0) |
| 113 | (hd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) c = 0) : |
| 114 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).d n (n + 1) |
| 115 | (relativeLift X A n c hc) = 0 := by |
| 116 | apply relativeCochainInclusion_injective X A (n + 1) |
| 117 | have h := ConcreteCategory.congr_hom |
| 118 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).comm n (n + 1)) |
| 119 | (relativeLift X A n c hc) |
| 120 | change (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) |
| 121 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f n (relativeLift X A n c hc)) = |
| 122 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f (n + 1) |
| 123 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).d n (n + 1) |
| 124 | (relativeLift X A n c hc)) at h |
| 125 | rw [relativeLift_inclusion, hd] at h |
| 126 | exact h.symm.trans (map_zero _).symm |
| 127 | |
| 128 | /-- The differential of an extended cocycle restricts to zero. -/ |
| 129 | theorem zeroExtendCocycle_d_restrict (n : ℕ) |
| 130 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of ℚ ℚ) (TopCat.of A) n) : |
| 131 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f (n + 1) |
| 132 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) |
| 133 | (zeroExtendCochain X A n c.val)) = 0 := by |
| 134 | have h := ConcreteCategory.congr_hom |
| 135 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).comm n (n + 1)) |
| 136 | (zeroExtendCochain X A n c.val) |
| 137 | change (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of A)).d n (n + 1) |
| 138 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f n |
| 139 | (zeroExtendCochain X A n c.val)) = |
| 140 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f (n + 1) |
| 141 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) |
| 142 | (zeroExtendCochain X A n c.val)) at h |
| 143 | rw [zeroExtendCochain_restrict] at h |
| 144 | exact h.symm.trans ((AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff _ n c.val).mp c.property) |
| 145 | |
| 146 | /-- The actual relative connecting cocycle obtained by zero extension. -/ |
| 147 | def zeroExtensionConnectingCocycle (n : ℕ) |
| 148 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of ℚ ℚ) (TopCat.of A) n) : |
| 149 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) (n + 1) := |
| 150 | ⟨relativeLift X A (n + 1) |
| 151 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) (zeroExtendCochain X A n c.val)) |
| 152 | (zeroExtendCocycle_d_restrict X A n c), by |
| 153 | rw [AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff] |
| 154 | apply relativeLift_closed |
| 155 | exact ConcreteCategory.congr_hom |
| 156 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d_comp_d n (n + 1) (n + 1 + 1)) |
| 157 | (zeroExtendCochain X A n c.val)⟩ |
| 158 | |
| 159 | theorem zeroExtensionConnectingCocycle_inclusion (n : ℕ) |
| 160 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of ℚ ℚ) (TopCat.of A) n) : |
| 161 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f (n + 1) |
| 162 | (zeroExtensionConnectingCocycle X A n c).val = |
| 163 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d n (n + 1) (zeroExtendCochain X A n c.val) := |
| 164 | relativeLift_inclusion X A (n + 1) _ (zeroExtendCocycle_d_restrict X A n c) |
| 165 | |
| 166 | /-- The explicit cocycle computes the constructed long-exact-sequence map. -/ |
| 167 | theorem zeroExtensionConnectingCocycle_class (n : ℕ) |
| 168 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of ℚ ℚ) (TopCat.of A) n) : |
| 169 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) (n + 1) |
| 170 | (zeroExtensionConnectingCocycle X A n c) = |
| 171 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A n |
| 172 | (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of ℚ ℚ) (TopCat.of A) n c) := |
| 173 | (ConnectingRepresentative.relativeConnecting_class_of_lift X A n c (zeroExtendCochain X A n c.val) |
| 174 | (zeroExtensionConnectingCocycle X A n c) (zeroExtendCochain_restrict X A n c.val) |
| 175 | (zeroExtensionConnectingCocycle_inclusion X A n c)).symm |
| 176 | |
| 177 | /-- A genuine relative degree-two cocycle for the winding of a local equation. -/ |
| 178 | def relativeWindingCocycle (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 179 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) 2 := |
| 180 | zeroExtensionConnectingCocycle X A 1 (WindingSingular.singularWindingCocycle (TopCat.of A) g hg) |
| 181 | |
| 182 | /-- Its class is the supported winding class already used for rational sections. -/ |
| 183 | theorem relativeWindingCocycle_class (g : C(A, ℂ)) (hg : ∀ x, g x ≠ 0) : |
| 184 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) 2 |
| 185 | (relativeWindingCocycle X A g hg) = Supported.Winding.supportedWindingClass X A g hg := |
| 186 | zeroExtensionConnectingCocycle_class X A 1 (WindingSingular.singularWindingCocycle (TopCat.of A) g hg) |
| 187 | |
| 188 | end |
| 189 | |
| 190 | section |
| 191 | |
| 192 | /-! |
| 193 | # ChernClass: restriction of Cech cochains to the removed subspace |
| 194 | |
| 195 | All coefficient objects are the actual singular cochains on `U ∩ A`. |
| 196 | Restriction is natural, commutes with both differentials, and has exactly |
| 197 | the relative cochains as its kernel on every finite intersection. |
| 198 | -/ |
| 199 | |
| 200 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 201 | |
| 202 | set_option backward.isDefEq.respectTransparency false |
| 203 | set_option backward.isDefEq.respectTransparency.types false |
| 204 | set_option backward.defeqAttrib.useBackward true |
| 205 | |
| 206 | namespace RationalCech |
| 207 | |
| 208 | variable (X : TopCat.{0}) (A : Set X) |
| 209 | |
| 210 | /-- Intersect an analytic open with the actual subspace, with the subspace topology. -/ |
| 211 | def intersectionSubspaceFunctor : Opens X ⥤ TopCat.{0} where |
| 212 | obj U := TopCat.of (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A U) |
| 213 | map f := TopCat.ofHom |
| 214 | ⟨fun p => ⟨⟨p.val.val, f.le p.val.property⟩, p.property⟩, |
| 215 | ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _⟩ |
| 216 | map_id _ := rfl |
| 217 | map_comp _ _ := rfl |
| 218 | |
| 219 | /-- Singular cochains on the intersections with the subspace. -/ |
| 220 | def subspaceSingularCochainPresheaf : |
| 221 | X.Presheaf (CochainComplex (ModuleCat.{0} ℚ) ℕ) := |
| 222 | (intersectionSubspaceFunctor X A).op ⋙ AlgebraicTopology.Cohomology.Singular.Functor.singularCochainsFunctor (ModuleCat.of ℚ ℚ) |
| 223 | |
| 224 | def subspaceSingularDegreePresheaf (n : ℕ) : X.Presheaf (ModuleCat.{0} ℚ) := |
| 225 | subspaceSingularCochainPresheaf X A ⋙ |
| 226 | HomologicalComplex.eval (ModuleCat.{0} ℚ) (ComplexShape.up ℕ) n |
| 227 | |
| 228 | /-- The ordinary differentials on those actual subspaces. -/ |
| 229 | def subspaceSingularPresheafComplex : |
| 230 | CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{0} ℚ) ℕ where |
| 231 | X := subspaceSingularDegreePresheaf X A |
| 232 | d i j := { |
| 233 | app := fun U => ((subspaceSingularCochainPresheaf X A).obj U).d i j |
| 234 | naturality := fun _ _ f => ((subspaceSingularCochainPresheaf X A).map f).comm i j } |
| 235 | shape i j h := by |
| 236 | apply NatTrans.ext |
| 237 | funext U |
| 238 | exact ((subspaceSingularCochainPresheaf X A).obj U).shape i j h |
| 239 | d_comp_d' i j k _ _ := by |
| 240 | apply NatTrans.ext |
| 241 | funext U |
| 242 | exact ((subspaceSingularCochainPresheaf X A).obj U).d_comp_d i j k |
| 243 | |
| 244 | /-- Restriction to `A` is natural on actual open subsets. -/ |
| 245 | def subspaceSingularPresheafRestriction : |
| 246 | AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainPresheaf (ModuleCat.of ℚ ℚ) X ⟶ subspaceSingularCochainPresheaf X A where |
| 247 | app U := AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U.unop) |
| 248 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A U.unop) |
| 249 | naturality U V f := by |
| 250 | change AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) ((Opens.toTopCat X).map f.unop) ≫ |
| 251 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.unop) |
| 252 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A V.unop)) = |
| 253 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of U.unop) |
| 254 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A U.unop)) ≫ |
| 255 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) ((intersectionSubspaceFunctor X A).map f.unop) |
| 256 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp] |
| 257 | rfl |
| 258 | |
| 259 | /-- The cochain restriction as a morphism of the actual presheaf complexes. -/ |
| 260 | def subspacePresheafRestriction : |
| 261 | AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X ⟶ subspaceSingularPresheafComplex X A where |
| 262 | f n := Functor.whiskerRight (subspaceSingularPresheafRestriction X A) |
| 263 | (HomologicalComplex.eval (ModuleCat.{0} ℚ) (ComplexShape.up ℕ) n) |
| 264 | comm' i j _ := by |
| 265 | apply NatTrans.ext |
| 266 | funext U |
| 267 | exact ((subspaceSingularPresheafRestriction X A).app U).comm i j |
| 268 | |
| 269 | variable {I : Type} (U : I → Opens X) |
| 270 | |
| 271 | theorem subspaceCechVertical_apply (p q : ℕ) |
| 272 | (c : Rational.Cech.RationalCech.CechCochain (subspaceSingularDegreePresheaf X A q) U p) (a : Fin (p + 1) → I) : |
| 273 | Rational.Cech.RationalCech.cechCoefficientMap U ((subspaceSingularPresheafComplex X A).d q (q + 1)) p c a = |
| 274 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) |
| 275 | (TopCat.of (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)))).d q (q + 1) (c a) := rfl |
| 276 | |
| 277 | /-- Restriction of singular Cech cochains to the removed subspaces. -/ |
| 278 | abbrev subspaceCechRestriction (p q : ℕ) := |
| 279 | Rational.Cech.RationalCech.cechCoefficientMap U ((subspacePresheafRestriction X A).f q) p |
| 280 | |
| 281 | /-- A cochain on the subspace has an explicit extension on each open intersection. -/ |
| 282 | def subspaceCechExtension (p q : ℕ) (c : Rational.Cech.RationalCech.CechCochain (subspaceSingularDegreePresheaf X A q) U p) : |
| 283 | Rational.Cech.RationalCech.CechCochain (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X q) U p := |
| 284 | fun a => zeroExtendCochain (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 285 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) q (c a) |
| 286 | |
| 287 | theorem subspaceCechExtension_restrict (p q : ℕ) |
| 288 | (c : Rational.Cech.RationalCech.CechCochain (subspaceSingularDegreePresheaf X A q) U p) : |
| 289 | subspaceCechRestriction X A U p q (subspaceCechExtension X A U p q c) = c := by |
| 290 | funext a |
| 291 | exact zeroExtendCochain_restrict (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 292 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) q (c a) |
| 293 | |
| 294 | /-- Inclusion of actual relative Cech cochains into absolute Cech cochains. -/ |
| 295 | abbrev relativeCechInclusion (p q : ℕ) := |
| 296 | Rational.Cech.RationalCech.cechCoefficientMap U ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafInclusion (ModuleCat.of ℚ ℚ) X A).f q) p |
| 297 | |
| 298 | theorem relativeCechInclusion_injective (p q : ℕ) : |
| 299 | Function.Injective (relativeCechInclusion X A U p q) := by |
| 300 | intro c d h |
| 301 | funext a |
| 302 | exact relativeCochainInclusion_injective (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 303 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) q (congrFun h a) |
| 304 | |
| 305 | /-- A family with zero subspace restriction lifts to the original relative cochain kernels. -/ |
| 306 | def relativeCechLift (p q : ℕ) |
| 307 | (c : Rational.Cech.RationalCech.CechCochain (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X q) U p) |
| 308 | (hc : subspaceCechRestriction X A U p q c = 0) : |
| 309 | Rational.Cech.RationalCech.CechCochain (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X A q) U p := |
| 310 | fun a => relativeLift (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 311 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) q (c a) (congrFun hc a) |
| 312 | |
| 313 | theorem relativeCechLift_inclusion (p q : ℕ) |
| 314 | (c : Rational.Cech.RationalCech.CechCochain (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X q) U p) |
| 315 | (hc : subspaceCechRestriction X A U p q c = 0) : |
| 316 | relativeCechInclusion X A U p q (relativeCechLift X A U p q c hc) = c := by |
| 317 | funext a |
| 318 | exact relativeLift_inclusion (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 319 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) q (c a) (congrFun hc a) |
| 320 | |
| 321 | end RationalCech |
| 322 | |
| 323 | end |
| 324 | |
| 325 | section |
| 326 | |
| 327 | /-! |
| 328 | # ChernClass: the genuine induced cover on a subspace |
| 329 | |
| 330 | Finite intersections in the induced cover have their actual subspace |
| 331 | topologies. Swapping the two subtype conditions identifies them with the |
| 332 | coefficient domains of the subspace Cech complex, naturally in every tuple. |
| 333 | -/ |
| 334 | |
| 335 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 336 | |
| 337 | set_option backward.isDefEq.respectTransparency false |
| 338 | set_option backward.isDefEq.respectTransparency.types false |
| 339 | set_option backward.defeqAttrib.useBackward true |
| 340 | |
| 341 | namespace RationalCech |
| 342 | |
| 343 | variable {I : Type} (X : TopCat.{0}) (A : Set X) (U : I → Opens X) |
| 344 | |
| 345 | /-- Pull back the actual open family along the subspace inclusion. -/ |
| 346 | def inducedSubspaceCover (i : I) : Opens (TopCat.of A) := |
| 347 | Opens.comap (⟨Subtype.val, continuous_subtype_val⟩ : C(A, X)) (U i) |
| 348 | |
| 349 | theorem inducedSubspaceCover_covers (hU : ∀ x : X, ∃ i, x ∈ U i) : |
| 350 | ∀ x : TopCat.of A, ∃ i, x ∈ inducedSubspaceCover X A U i := |
| 351 | fun x => hU x.val |
| 352 | |
| 353 | theorem mem_inducedSubspaceIntersection {n : ℕ} (a : Fin (n + 1) → I) (x : A) : |
| 354 | x ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection (inducedSubspaceCover X A U) a ↔ x.val ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a := by |
| 355 | rw [AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection, AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection] |
| 356 | rfl |
| 357 | |
| 358 | /-- The two nested subspaces are the same geometric points with the same topology. -/ |
| 359 | def subspaceIntersectionHomeomorph {n : ℕ} (a : Fin (n + 1) → I) : |
| 360 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection (inducedSubspaceCover X A U) a ≃ₜ AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) where |
| 361 | toFun p := ⟨⟨p.val.val, (mem_inducedSubspaceIntersection X A U a p.val).mp p.property⟩, p.val.property⟩ |
| 362 | invFun p := ⟨⟨p.val.val, p.property⟩, |
| 363 | (mem_inducedSubspaceIntersection X A U a ⟨p.val.val, p.property⟩).mpr p.val.property⟩ |
| 364 | left_inv _ := rfl |
| 365 | right_inv _ := rfl |
| 366 | continuous_toFun := |
| 367 | ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 368 | continuous_invFun := |
| 369 | ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 370 | |
| 371 | /-- The actual continuous map from an induced-cover intersection to its coefficient domain. -/ |
| 372 | def subspaceIntersectionIso {n : ℕ} (a : Fin (n + 1) → I) : |
| 373 | TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection (inducedSubspaceCover X A U) a) ≅ |
| 374 | TopCat.of (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) := |
| 375 | TopCat.isoOfHomeo (subspaceIntersectionHomeomorph X A U a) |
| 376 | |
| 377 | /-- The swap commutes with every actual finite-intersection restriction. -/ |
| 378 | theorem subspaceIntersectionIso_naturality {n m : ℕ} |
| 379 | (a : Fin (m + 1) → I) (r : Fin (n + 1) → Fin (m + 1)) : |
| 380 | (subspaceIntersectionIso X A U a).hom ≫ |
| 381 | (intersectionSubspaceFunctor X A).map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a r)) = |
| 382 | (Opens.toTopCat (TopCat.of A)).map |
| 383 | (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp (inducedSubspaceCover X A U) a r)) ≫ |
| 384 | (subspaceIntersectionIso X A U (a ∘ r)).hom := rfl |
| 385 | |
| 386 | /-- Pullback along the actual homeomorphism identifies the actual cochain complexes. -/ |
| 387 | def subspaceIntersectionCochainIso {n : ℕ} (a : Fin (n + 1) → I) : |
| 388 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) (TopCat.of (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))) ≅ |
| 389 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) |
| 390 | (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection (inducedSubspaceCover X A U) a)) := |
| 391 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCochainsFunctor (ModuleCat.of ℚ ℚ)).mapIso (subspaceIntersectionIso X A U a).op |
| 392 | |
| 393 | /-- The cochain identification commutes with the actual pullback restrictions. -/ |
| 394 | theorem subspaceIntersectionCochainIso_naturality {n m : ℕ} |
| 395 | (a : Fin (m + 1) → I) (r : Fin (n + 1) → Fin (m + 1)) : |
| 396 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) |
| 397 | ((intersectionSubspaceFunctor X A).map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a r))) ≫ |
| 398 | (subspaceIntersectionCochainIso X A U a).hom = |
| 399 | (subspaceIntersectionCochainIso X A U (a ∘ r)).hom ≫ |
| 400 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) ((Opens.toTopCat (TopCat.of A)).map |
| 401 | (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp (inducedSubspaceCover X A U) a r))) := by |
| 402 | change AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) _ ≫ |
| 403 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) (subspaceIntersectionIso X A U a).hom = |
| 404 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) (subspaceIntersectionIso X A U (a ∘ r)).hom ≫ |
| 405 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) _ |
| 406 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, subspaceIntersectionIso_naturality] |
| 407 | |
| 408 | end RationalCech |
| 409 | |
| 410 | end |
| 411 | |
| 412 | /-! |
| 413 | # ChernClass: subspace Cech cochains and the native induced-cover complex |
| 414 | |
| 415 | The actual homeomorphisms of finite intersections induce an isomorphism of |
| 416 | the Cech double complexes. No replacement of the singular cochain theory or |
| 417 | of its restriction maps occurs in this transport. |
| 418 | -/ |
| 419 | |
| 420 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 421 | |
| 422 | set_option backward.isDefEq.respectTransparency false |
| 423 | set_option backward.isDefEq.respectTransparency.types false |
| 424 | set_option backward.defeqAttrib.useBackward true |
| 425 | |
| 426 | namespace RationalCech |
| 427 | |
| 428 | variable {I : Type} (X : TopCat.{0}) (A : Set X) (U : I → Opens X) |
| 429 | |
| 430 | local notation "K" => OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.Cech.RationalCech.cechDoubleComplex U (OAI.AlgebraicGeometry.DivisorClass.Chern.SubspaceCechD.RationalCech.subspaceSingularPresheafComplex X A) |
| 431 | local notation "N" => OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.CechComparison.RationalCech.singularCechDoubleComplex (TopCat.of A) (OAI.AlgebraicGeometry.DivisorClass.Chern.SubspaceCechD.RationalCech.inducedSubspaceCover X A U) (ModuleCat.of ℚ ℚ) |
| 432 | |
| 433 | /-- The genuine pullback of every coefficient cochain along its intersection homeomorphism. -/ |
| 434 | def subspaceCechColumnMap (p : ℕ) : (K).X p ⟶ (N).X p where |
| 435 | f q := ModuleCat.ofHom { |
| 436 | toFun := fun c a => (subspaceIntersectionCochainIso X A U a).hom.f q (c a) |
| 437 | map_add' := by intro c d; funext a; exact map_add _ _ _ |
| 438 | map_smul' := by intro r c; funext a; exact map_smul _ _ _ } |
| 439 | comm' q r _ := by |
| 440 | apply ModuleCat.hom_ext |
| 441 | apply LinearMap.ext |
| 442 | intro c |
| 443 | funext a |
| 444 | exact ConcreteCategory.congr_hom ((subspaceIntersectionCochainIso X A U a).hom.comm q r) (c a) |
| 445 | |
| 446 | /-- Pullback along the inverse homeomorphisms. -/ |
| 447 | def subspaceCechColumnInverse (p : ℕ) : (N).X p ⟶ (K).X p where |
| 448 | f q := ModuleCat.ofHom { |
| 449 | toFun := fun c a => (subspaceIntersectionCochainIso X A U a).inv.f q (c a) |
| 450 | map_add' := by intro c d; funext a; exact map_add _ _ _ |
| 451 | map_smul' := by intro r c; funext a; exact map_smul _ _ _ } |
| 452 | comm' q r _ := by |
| 453 | apply ModuleCat.hom_ext |
| 454 | apply LinearMap.ext |
| 455 | intro c |
| 456 | funext a |
| 457 | exact ConcreteCategory.congr_hom ((subspaceIntersectionCochainIso X A U a).inv.comm q r) (c a) |
| 458 | |
| 459 | /-- The actual section-family cochain complexes are isomorphic. -/ |
| 460 | def subspaceCechColumnIso (p : ℕ) : (K).X p ≅ (N).X p where |
| 461 | hom := subspaceCechColumnMap X A U p |
| 462 | inv := subspaceCechColumnInverse X A U p |
| 463 | hom_inv_id := by |
| 464 | apply HomologicalComplex.Hom.ext |
| 465 | funext q |
| 466 | apply ModuleCat.hom_ext |
| 467 | apply LinearMap.ext |
| 468 | intro c |
| 469 | funext a |
| 470 | exact ConcreteCategory.congr_hom |
| 471 | (congrArg (fun f => f.f q) (subspaceIntersectionCochainIso X A U a).hom_inv_id) (c a) |
| 472 | inv_hom_id := by |
| 473 | apply HomologicalComplex.Hom.ext |
| 474 | funext q |
| 475 | apply ModuleCat.hom_ext |
| 476 | apply LinearMap.ext |
| 477 | intro c |
| 478 | funext a |
| 479 | exact ConcreteCategory.congr_hom |
| 480 | (congrArg (fun f => f.f q) (subspaceIntersectionCochainIso X A U a).inv_hom_id) (c a) |
| 481 | |
| 482 | /-- Compatibility with every Cech tuple map follows from the actual inclusion square. -/ |
| 483 | theorem subspaceCechColumnMap_precomp {n m : ℕ} |
| 484 | (r : Fin (n + 1) → Fin (m + 1)) (q : ℕ) |
| 485 | (c : Rational.Cech.RationalCech.CechCochain (subspaceSingularDegreePresheaf X A q) U n) : |
| 486 | (subspaceCechColumnMap X A U m).f q (Rational.Cech.RationalCech.cechPrecomp (subspaceSingularDegreePresheaf X A q) U r c) = |
| 487 | Rational.Cech.RationalCech.cechPrecomp (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) (TopCat.of A) q) |
| 488 | (inducedSubspaceCover X A U) r ((subspaceCechColumnMap X A U n).f q c) := by |
| 489 | funext a |
| 490 | exact ConcreteCategory.congr_hom |
| 491 | (congrArg (fun f => f.f q) (subspaceIntersectionCochainIso_naturality X A U a r)) (c (a ∘ r)) |
| 492 | |
| 493 | /-- The horizontal Cech differentials commute with the actual intersection transport. -/ |
| 494 | theorem subspaceCechColumnMap_horizontal (p q : ℕ) : |
| 495 | ((K).d p (p + 1)).f q ≫ (subspaceCechColumnMap X A U (p + 1)).f q = |
| 496 | (subspaceCechColumnMap X A U p).f q ≫ ((N).d p (p + 1)).f q := by |
| 497 | rw [Rational.Cech.RationalCech.cechDoubleComplex_d_f, Rational.CechComparison.RationalCech.singularCechDoubleComplex_d_f] |
| 498 | apply ModuleCat.hom_ext |
| 499 | apply LinearMap.ext |
| 500 | intro c |
| 501 | funext a |
| 502 | change (subspaceIntersectionCochainIso X A U a).hom.f q |
| 503 | (Rational.Cech.RationalCech.cechDelta (subspaceSingularDegreePresheaf X A q) U p c a) = |
| 504 | Rational.Cech.RationalCech.cechDelta (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) (TopCat.of A) q) |
| 505 | (inducedSubspaceCover X A U) p ((subspaceCechColumnMap X A U p).f q c) a |
| 506 | rw [Rational.Cech.RationalCech.cechDelta_apply, Rational.Cech.RationalCech.cechDelta_apply, map_sum] |
| 507 | apply Finset.sum_congr rfl |
| 508 | intro j _ |
| 509 | rw [map_zsmul] |
| 510 | apply congrArg (fun z => ((-1 : ℤ) ^ j.val) • z) |
| 511 | exact congrFun (subspaceCechColumnMap_precomp X A U j.succAbove q c) a |
| 512 | |
| 513 | /-- The constructed coefficient homeomorphisms identify the full native double complexes. -/ |
| 514 | def subspaceCechDoubleIso : K ≅ N := |
| 515 | HomologicalComplex.Hom.isoOfComponents (subspaceCechColumnIso X A U) (by |
| 516 | intro p r hpr |
| 517 | obtain rfl : p + 1 = r := hpr |
| 518 | apply HomologicalComplex.Hom.ext |
| 519 | funext q |
| 520 | exact (subspaceCechColumnMap_horizontal X A U p q).symm) |
| 521 | |
| 522 | /-- The isomorphism on the actual signed total complexes. -/ |
| 523 | def subspaceCechTotalIso : |
| 524 | Rational.Cech.RationalCech.cechTotalComplex U (subspaceSingularPresheafComplex X A) ≅ |
| 525 | Rational.CechComparison.RationalCech.singularCechTotal (TopCat.of A) (inducedSubspaceCover X A U) (ModuleCat.of ℚ ℚ) := |
| 526 | (HomologicalComplex₂.totalFunctor (ModuleCat.{0} ℚ) |
| 527 | (ComplexShape.up ℕ) (ComplexShape.up ℕ) (ComplexShape.up ℕ)).mapIso (subspaceCechDoubleIso X A U) |
| 528 | |
| 529 | end RationalCech |
| 530 | |
| 531 | end |
| 532 | |
| 533 | end OAI.AlgebraicGeometry.DivisorClass.Chern.SubspaceCechD |