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.Foundations.Scheme.SmoothProjectiveDecomposition |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.OpenFunctionField |
| 5 | |
| 6 | /-! # Projective Component Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # Irreducible supports in the actual integral components |
| 16 | |
| 17 | Every irreducible closed support of a smooth projective presentation lies in |
| 18 | one of its genuine open and closed integral components. Image and preimage |
| 19 | under those component inclusions give the support decomposition below. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace Set |
| 23 | |
| 24 | variable (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 25 | |
| 26 | /-- A nonempty support cannot lie in two distinct actual components. -/ |
| 27 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.component_eq_of_support_subset (Z : IrreducibleCloseds P.carrier) |
| 28 | (C D : irreducibleComponents P.carrier) |
| 29 | (hC : (Z : Set P.carrier) ⊆ C.val) (hD : (Z : Set P.carrier) ⊆ D.val) : C = D := by |
| 30 | obtain ⟨x, hx⟩ := Z.isIrreducible.nonempty |
| 31 | let := P.stalk_isDomain x |
| 32 | apply Subtype.ext |
| 33 | exact Foundations.Scheme.LocalDomainComponents.irreducibleComponents_eq_of_mem_of_stalkDomain x C.property D.property (hC hx) (hD hx) |
| 34 | |
| 35 | /-- Every irreducible closed support lies in a unique integral component. -/ |
| 36 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.support_existsUnique_component (Z : IrreducibleCloseds P.carrier) : |
| 37 | ∃! C : irreducibleComponents P.carrier, (Z : Set P.carrier) ⊆ C.val := by |
| 38 | obtain ⟨C, hC, hZ⟩ := |
| 39 | exists_mem_irreducibleComponents_subset_of_isIrreducible (Z : Set P.carrier) Z.isIrreducible |
| 40 | refine ⟨⟨C, hC⟩, hZ, ?_⟩ |
| 41 | intro D hD |
| 42 | exact P.component_eq_of_support_subset Z D ⟨C, hC⟩ hD hZ |
| 43 | |
| 44 | /-- The unique actual component containing the support. -/ |
| 45 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportComponent (Z : IrreducibleCloseds P.carrier) : irreducibleComponents P.carrier := |
| 46 | Classical.choose (P.support_existsUnique_component Z).exists |
| 47 | |
| 48 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.support_subset_component (Z : IrreducibleCloseds P.carrier) : |
| 49 | (Z : Set P.carrier) ⊆ (P.supportComponent Z).val := |
| 50 | Classical.choose_spec (P.support_existsUnique_component Z).exists |
| 51 | |
| 52 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportComponent_eq_of_subset (Z : IrreducibleCloseds P.carrier) |
| 53 | (C : irreducibleComponents P.carrier) (hC : (Z : Set P.carrier) ⊆ C.val) : |
| 54 | P.supportComponent Z = C := |
| 55 | P.component_eq_of_support_subset Z (P.supportComponent Z) C (P.support_subset_component Z) hC |
| 56 | |
| 57 | /-- Image of an irreducible closed support under the actual component inclusion. |
| 58 | The image is closed because the component inclusion is a closed immersion. -/ |
| 59 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage (C : irreducibleComponents P.carrier) |
| 60 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : IrreducibleCloseds P.carrier := |
| 61 | ⟨P.componentInclusion C '' (Z : Set (P.componentVariety C).carrier), |
| 62 | Z.isIrreducible.image _ (P.componentInclusion C).continuous.continuousOn, |
| 63 | (P.componentInclusion C).isClosedEmbedding.isClosedMap _ Z.isClosed⟩ |
| 64 | |
| 65 | @[simp] |
| 66 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_coe (C : irreducibleComponents P.carrier) |
| 67 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 68 | (P.componentSupportImage C Z : Set P.carrier) = |
| 69 | P.componentInclusion C '' (Z : Set (P.componentVariety C).carrier) := rfl |
| 70 | |
| 71 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_subset (C : irreducibleComponents P.carrier) |
| 72 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 73 | (P.componentSupportImage C Z : Set P.carrier) ⊆ C.val := by |
| 74 | rw [← P.componentInclusion_range C] |
| 75 | exact Set.image_subset_range _ _ |
| 76 | |
| 77 | /-- Restriction of a support contained in a component is its actual preimage. -/ |
| 78 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportPreimage (C : irreducibleComponents P.carrier) |
| 79 | (Z : IrreducibleCloseds P.carrier) (hZ : (Z : Set P.carrier) ⊆ C.val) : |
| 80 | IrreducibleCloseds (P.componentVariety C).carrier := by |
| 81 | refine ⟨P.componentInclusion C ⁻¹' (Z : Set P.carrier), ?_, |
| 82 | Z.isClosed.preimage (P.componentInclusion C).continuous⟩ |
| 83 | apply Z.isIrreducible.preimage (P.componentInclusion C).isOpenEmbedding |
| 84 | obtain ⟨x, hx⟩ := Z.isIrreducible.nonempty |
| 85 | refine ⟨x, hx, ?_⟩ |
| 86 | rw [P.componentInclusion_range C] |
| 87 | exact hZ hx |
| 88 | |
| 89 | @[simp] |
| 90 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportPreimage_coe (C : irreducibleComponents P.carrier) |
| 91 | (Z : IrreducibleCloseds P.carrier) (hZ : (Z : Set P.carrier) ⊆ C.val) : |
| 92 | (P.componentSupportPreimage C Z hZ : Set (P.componentVariety C).carrier) = |
| 93 | P.componentInclusion C ⁻¹' (Z : Set P.carrier) := rfl |
| 94 | |
| 95 | @[simp] |
| 96 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_preimage (C : irreducibleComponents P.carrier) |
| 97 | (Z : IrreducibleCloseds P.carrier) (hZ : (Z : Set P.carrier) ⊆ C.val) : |
| 98 | P.componentSupportImage C (P.componentSupportPreimage C Z hZ) = Z := by |
| 99 | apply IrreducibleCloseds.ext |
| 100 | apply Set.image_preimage_eq_of_subset |
| 101 | rwa [P.componentInclusion_range C] |
| 102 | |
| 103 | @[simp] |
| 104 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportPreimage_image (C : irreducibleComponents P.carrier) |
| 105 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 106 | P.componentSupportPreimage C (P.componentSupportImage C Z) |
| 107 | (P.componentSupportImage_subset C Z) = Z := by |
| 108 | apply IrreducibleCloseds.ext |
| 109 | exact Set.preimage_image_eq _ (P.componentInclusion C).isOpenEmbedding.injective |
| 110 | |
| 111 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_injective (C : irreducibleComponents P.carrier) : |
| 112 | Function.Injective (P.componentSupportImage C) := by |
| 113 | intro Z W h |
| 114 | apply IrreducibleCloseds.ext |
| 115 | apply (Set.image_eq_image (P.componentInclusion C).isOpenEmbedding.injective).mp |
| 116 | exact congrArg (fun T : IrreducibleCloseds P.carrier => (T : Set P.carrier)) h |
| 117 | |
| 118 | @[simp] |
| 119 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportComponent_image (C : irreducibleComponents P.carrier) |
| 120 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 121 | P.supportComponent (P.componentSupportImage C Z) = C := |
| 122 | P.supportComponent_eq_of_subset _ C (P.componentSupportImage_subset C Z) |
| 123 | |
| 124 | /-- Taking the image of a support remembers its unique component as well. -/ |
| 125 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_sigma_injective : |
| 126 | Function.Injective (fun Z : Σ C : irreducibleComponents P.carrier, |
| 127 | IrreducibleCloseds (P.componentVariety C).carrier => P.componentSupportImage Z.1 Z.2) := by |
| 128 | rintro ⟨C, Z⟩ ⟨D, W⟩ h |
| 129 | change P.componentSupportImage C Z = P.componentSupportImage D W at h |
| 130 | have hCD : C = D := by |
| 131 | apply P.component_eq_of_support_subset (P.componentSupportImage C Z) C D |
| 132 | (P.componentSupportImage_subset C Z) |
| 133 | rw [h] |
| 134 | exact P.componentSupportImage_subset D W |
| 135 | subst D |
| 136 | have hZW : Z = W := P.componentSupportImage_injective C h |
| 137 | subst W |
| 138 | rfl |
| 139 | |
| 140 | /-- Every support is the image of its actual preimage in its containing component. -/ |
| 141 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_sigma_surjective : |
| 142 | Function.Surjective (fun Z : Σ C : irreducibleComponents P.carrier, |
| 143 | IrreducibleCloseds (P.componentVariety C).carrier => P.componentSupportImage Z.1 Z.2) := by |
| 144 | intro Z |
| 145 | refine ⟨⟨P.supportComponent Z, |
| 146 | P.componentSupportPreimage (P.supportComponent Z) Z (P.support_subset_component Z)⟩, ?_⟩ |
| 147 | exact P.componentSupportImage_preimage (P.supportComponent Z) Z (P.support_subset_component Z) |
| 148 | |
| 149 | /-- The actual decomposition of all irreducible closed supports into the |
| 150 | supports of the integral components, including disconnected and empty schemes. -/ |
| 151 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportEquiv : |
| 152 | IrreducibleCloseds P.carrier ≃ |
| 153 | Σ C : irreducibleComponents P.carrier, IrreducibleCloseds (P.componentVariety C).carrier := |
| 154 | (Equiv.ofBijective |
| 155 | (fun Z : Σ C : irreducibleComponents P.carrier, |
| 156 | IrreducibleCloseds (P.componentVariety C).carrier => P.componentSupportImage Z.1 Z.2) |
| 157 | ⟨P.componentSupportImage_sigma_injective, P.componentSupportImage_sigma_surjective⟩).symm |
| 158 | |
| 159 | @[simp] |
| 160 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportEquiv_symm_apply (C : irreducibleComponents P.carrier) |
| 161 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 162 | P.componentSupportEquiv.symm ⟨C, Z⟩ = P.componentSupportImage C Z := rfl |
| 163 | |
| 164 | @[simp] |
| 165 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportEquiv_image (C : irreducibleComponents P.carrier) |
| 166 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 167 | P.componentSupportEquiv (P.componentSupportImage C Z) = ⟨C, Z⟩ := |
| 168 | P.componentSupportEquiv.apply_symm_apply ⟨C, Z⟩ |
| 169 | |
| 170 | /-- The forward equivalence is the actual preimage in any component known |
| 171 | to contain the support; uniqueness makes this independent of the proof. -/ |
| 172 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportEquiv_apply_of_subset (C : irreducibleComponents P.carrier) |
| 173 | (Z : IrreducibleCloseds P.carrier) (hZ : (Z : Set P.carrier) ⊆ C.val) : |
| 174 | P.componentSupportEquiv Z = ⟨C, P.componentSupportPreimage C Z hZ⟩ := by |
| 175 | calc |
| 176 | P.componentSupportEquiv Z = P.componentSupportEquiv |
| 177 | (P.componentSupportImage C (P.componentSupportPreimage C Z hZ)) := |
| 178 | congrArg P.componentSupportEquiv (P.componentSupportImage_preimage C Z hZ).symm |
| 179 | _ = _ := P.componentSupportEquiv_image C _ |
| 180 | |
| 181 | /-- The component support has the same generic point, carried by the actual |
| 182 | open-and-closed immersion into the original scheme. -/ |
| 183 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_genericPoint (C : irreducibleComponents P.carrier) |
| 184 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 185 | irreducibleSetEquivPoints (P.componentSupportImage C Z) = |
| 186 | P.componentInclusion C (irreducibleSetEquivPoints Z) := by |
| 187 | have hc : IsClosed (P.componentInclusion C '' (Z : Set (P.componentVariety C).carrier)) := |
| 188 | (P.componentSupportImage C Z).isClosed |
| 189 | have h : IsGenericPoint (P.componentInclusion C (irreducibleSetEquivPoints Z)) |
| 190 | (P.componentSupportImage C Z : Set P.carrier) := by |
| 191 | change IsGenericPoint (P.componentInclusion C Z.isIrreducible.genericPoint) |
| 192 | (P.componentInclusion C '' (Z : Set (P.componentVariety C).carrier)) |
| 193 | simpa only [hc.closure_eq] using |
| 194 | (Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).image |
| 195 | (P.componentInclusion C).continuous |
| 196 | exact (h.eq ((P.componentSupportImage C Z).isIrreducible.isGenericPoint_genericPoint |
| 197 | (P.componentSupportImage C Z).isClosed)).symm |
| 198 | |
| 199 | /-- Restricting an irreducible support to its component preserves its actual |
| 200 | codimension, measured in the specialization order. -/ |
| 201 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_coheight (C : irreducibleComponents P.carrier) |
| 202 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 203 | Order.coheight (P.componentSupportImage C Z) = Order.coheight Z := by |
| 204 | calc |
| 205 | Order.coheight (P.componentSupportImage C Z) = |
| 206 | Order.coheight (irreducibleSetEquivPoints (P.componentSupportImage C Z)) := |
| 207 | (Order.coheight_orderIso irreducibleSetEquivPoints _).symm |
| 208 | _ = Order.coheight (P.componentInclusion C (irreducibleSetEquivPoints Z)) := by |
| 209 | rw [P.componentSupportImage_genericPoint] |
| 210 | _ = Order.coheight (irreducibleSetEquivPoints Z) := |
| 211 | AlgebraicGeometry.coheight_eq_of_isOpenImmersion (P.componentInclusion C) |
| 212 | _ = Order.coheight Z := Order.coheight_orderIso irreducibleSetEquivPoints Z |
| 213 | |
| 214 | /-- The actual closed immersion of the reduced component support into the |
| 215 | original smooth projective presentation. -/ |
| 216 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap (C : irreducibleComponents P.carrier) |
| 217 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 218 | CycleClass.Geometric.GenericPoint.reducedSupportScheme Z ⟶ P.carrier := |
| 219 | CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ P.componentInclusion C |
| 220 | |
| 221 | instance Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap_isClosedImmersion (C : irreducibleComponents P.carrier) |
| 222 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 223 | IsClosedImmersion (P.componentSupportSchemeMap C Z) := by |
| 224 | unfold Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap |
| 225 | infer_instance |
| 226 | |
| 227 | @[simp] |
| 228 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap_range (C : irreducibleComponents P.carrier) |
| 229 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 230 | Set.range (P.componentSupportSchemeMap C Z) = (P.componentSupportImage C Z : Set P.carrier) := by |
| 231 | change Set.range ((P.componentInclusion C) ∘ (CycleClass.Geometric.GenericPoint.reducedSupportι Z)) = _ |
| 232 | rw [Set.range_comp, CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 233 | rfl |
| 234 | |
| 235 | /-- The reduced image closure is precisely the support transported from the component. -/ |
| 236 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap_imageClosure (C : irreducibleComponents P.carrier) |
| 237 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 238 | CycleClass.Geometric.StratumClosure.integralImageClosure (P.componentSupportSchemeMap C Z) = P.componentSupportImage C Z := by |
| 239 | apply IrreducibleCloseds.ext |
| 240 | change closure (Set.range (P.componentSupportSchemeMap C Z)) = _ |
| 241 | rw [P.componentSupportSchemeMap_range, (P.componentSupportImage C Z).isClosed.closure_eq] |
| 242 | |
| 243 | /-- Equality of the actual ideal sheaves, rather than just equality of their |
| 244 | topological supports, identifies the two reduced support schemes. -/ |
| 245 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeMap_kernel (C : irreducibleComponents P.carrier) |
| 246 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 247 | (P.componentSupportSchemeMap C Z).ker = CycleClass.Geometric.GenericPoint.reducedSupportIdeal (P.componentSupportImage C Z) := by |
| 248 | rw [CycleClass.Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal, P.componentSupportSchemeMap_imageClosure] |
| 249 | |
| 250 | /-- The reduced support scheme in an integral component is canonically |
| 251 | isomorphic to the reduced support scheme of its image in the original scheme. -/ |
| 252 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeIso (C : irreducibleComponents P.carrier) |
| 253 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 254 | CycleClass.Geometric.GenericPoint.reducedSupportScheme Z ≅ CycleClass.Geometric.GenericPoint.reducedSupportScheme (P.componentSupportImage C Z) := by |
| 255 | have hk : (CycleClass.Geometric.GenericPoint.reducedSupportι (P.componentSupportImage C Z)).ker = |
| 256 | (P.componentSupportSchemeMap C Z).ker := by |
| 257 | change (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (P.componentSupportImage C Z)).subschemeι.ker = _ |
| 258 | rw [Scheme.IdealSheafData.ker_subschemeι, P.componentSupportSchemeMap_kernel] |
| 259 | let f := IsClosedImmersion.lift (CycleClass.Geometric.GenericPoint.reducedSupportι (P.componentSupportImage C Z)) |
| 260 | (P.componentSupportSchemeMap C Z) hk.le |
| 261 | letI : IsIso f := IsClosedImmersion.isIso_lift |
| 262 | (CycleClass.Geometric.GenericPoint.reducedSupportι (P.componentSupportImage C Z)) (P.componentSupportSchemeMap C Z) hk |
| 263 | exact asIso f |
| 264 | |
| 265 | /-- The support isomorphism commutes with the actual closed immersions into |
| 266 | the original ambient scheme. -/ |
| 267 | @[reassoc] |
| 268 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeIso_hom_inclusion (C : irreducibleComponents P.carrier) |
| 269 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 270 | (P.componentSupportSchemeIso C Z).hom ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (P.componentSupportImage C Z) = |
| 271 | CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ P.componentInclusion C := by |
| 272 | change IsClosedImmersion.lift _ _ _ ≫ _ = _ |
| 273 | exact IsClosedImmersion.lift_fac _ _ _ |
| 274 | |
| 275 | /-- In particular, the reduced support comparison preserves the specified |
| 276 | complex structure maps. -/ |
| 277 | @[reassoc] |
| 278 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportSchemeIso_over (C : irreducibleComponents P.carrier) |
| 279 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 280 | (P.componentSupportSchemeIso C Z).hom ≫ |
| 281 | CycleClass.Geometric.SupportFiniteType.supportStructureMap (P.componentSupportImage C Z) P.structureMap = |
| 282 | CycleClass.Geometric.SupportFiniteType.supportStructureMap Z (P.componentVariety C).structureMap := by |
| 283 | unfold CycleClass.Geometric.SupportFiniteType.supportStructureMap |
| 284 | rw [P.componentSupportSchemeIso_hom_inclusion_assoc, P.componentInclusion_over] |
| 285 | |
| 286 | end |
| 287 | |
| 288 | /-! |
| 289 | # Dimension-graded supports in the integral components |
| 290 | |
| 291 | The reduced support scheme and its structure morphism are preserved by the |
| 292 | actual component inclusion. Consequently its native transcendence dimension |
| 293 | is preserved as well. This identifies the codimension-graded supports of a |
| 294 | possibly disconnected smooth projective scheme with those of its integral |
| 295 | components, including components of different dimensions. |
| 296 | -/ |
| 297 | |
| 298 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 299 | |
| 300 | variable (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 301 | |
| 302 | /-- Passing from a component support to its ambient image preserves the |
| 303 | actual function-field transcendence dimension over the specified base. -/ |
| 304 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentSupportImage_transcendenceDimension |
| 305 | (C : irreducibleComponents P.carrier) |
| 306 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 307 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (P.componentSupportImage C Z) P.structureMap = |
| 308 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z (P.componentVariety C).structureMap := by |
| 309 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion |
| 310 | (P.componentSupportSchemeIso C Z).hom |
| 311 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (P.componentSupportImage C Z) P.structureMap) |
| 312 | rw [P.componentSupportSchemeIso_over C Z] at h |
| 313 | exact h.symm |
| 314 | |
| 315 | /-- Codimension is measured in the unique actual irreducible component |
| 316 | containing the support, so this also covers varieties of mixed dimension. -/ |
| 317 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportCodimension (Z : IrreducibleCloseds P.carrier) : ℕ := |
| 318 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (P.componentVariety (P.supportComponent Z)).structureMap - |
| 319 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z P.structureMap |
| 320 | |
| 321 | /-- This codimension restricts to the previously constructed integral |
| 322 | variety codimension without any change of grading. -/ |
| 323 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportCodimension_componentSupportImage |
| 324 | (C : irreducibleComponents P.carrier) |
| 325 | (Z : IrreducibleCloseds (P.componentVariety C).carrier) : |
| 326 | P.supportCodimension (P.componentSupportImage C Z) = |
| 327 | CycleClass.Geometric.DimensionCycles.dimensionCodimension (P.componentVariety C) Z := by |
| 328 | have hC := congrArg |
| 329 | (fun D : irreducibleComponents P.carrier => |
| 330 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (P.componentVariety D).structureMap) |
| 331 | (P.supportComponent_image C Z) |
| 332 | exact congrArg₂ Nat.sub hC (P.componentSupportImage_transcendenceDimension C Z) |
| 333 | |
| 334 | /-- The actual support equivalence preserves codimension in both directions. -/ |
| 335 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportCodimension_componentSupportEquiv (Z : IrreducibleCloseds P.carrier) : |
| 336 | P.supportCodimension Z = |
| 337 | CycleClass.Geometric.DimensionCycles.dimensionCodimension (P.componentVariety (P.componentSupportEquiv Z).1) |
| 338 | (P.componentSupportEquiv Z).2 := by |
| 339 | obtain ⟨⟨C, W⟩, rfl⟩ := P.componentSupportEquiv.symm.surjective Z |
| 340 | exact (P.supportCodimension_componentSupportImage C W).trans |
| 341 | (congrArg |
| 342 | (fun T : Σ D : irreducibleComponents P.carrier, |
| 343 | IrreducibleCloseds (P.componentVariety D).carrier => |
| 344 | CycleClass.Geometric.DimensionCycles.dimensionCodimension (P.componentVariety T.1) T.2) |
| 345 | (P.componentSupportEquiv_image C W)).symm |
| 346 | |
| 347 | /-- Genuine irreducible closed supports of a specified codimension in a |
| 348 | smooth projective presentation, with the native component dimension. -/ |
| 349 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.DimensionCycleSupport (p : ℕ) := |
| 350 | {Z : IrreducibleCloseds P.carrier // P.supportCodimension Z = p} |
| 351 | |
| 352 | /-- Restricting the actual support equivalence to one codimension. -/ |
| 353 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionSupportEquiv (p : ℕ) : |
| 354 | P.DimensionCycleSupport p ≃ |
| 355 | Σ C : irreducibleComponents P.carrier, |
| 356 | CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p := by |
| 357 | let e : |
| 358 | {T : Σ C : irreducibleComponents P.carrier, |
| 359 | IrreducibleCloseds (P.componentVariety C).carrier // |
| 360 | CycleClass.Geometric.DimensionCycles.dimensionCodimension (P.componentVariety T.1) T.2 = p} ≃ |
| 361 | Σ C : irreducibleComponents P.carrier, |
| 362 | CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p := |
| 363 | { toFun := fun T => ⟨T.1.1, ⟨T.1.2, T.2⟩⟩ |
| 364 | invFun := fun T => ⟨⟨T.1, T.2.1⟩, T.2.2⟩ |
| 365 | left_inv := by rintro ⟨⟨C, Z⟩, hZ⟩; rfl |
| 366 | right_inv := by rintro ⟨C, Z, hZ⟩; rfl } |
| 367 | exact (P.componentSupportEquiv.subtypeEquiv |
| 368 | (fun Z => by rw [P.supportCodimension_componentSupportEquiv Z])).trans e |
| 369 | |
| 370 | /-- The inverse support map is literally the image under the component |
| 371 | inclusion; no new support or multiplicity is introduced. -/ |
| 372 | @[simp] |
| 373 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionSupportEquiv_symm_val (p : ℕ) |
| 374 | (C : irreducibleComponents P.carrier) |
| 375 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) : |
| 376 | ((P.componentDimensionSupportEquiv p).symm ⟨C, Z⟩).1 = |
| 377 | P.componentSupportImage C Z.1 := rfl |
| 378 | |
| 379 | end |
| 380 | |
| 381 | end OAI.AlgebraicGeometry |