Download data/lean/OAI/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 10.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean
-
curl -L -o ClosedImmersion.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexPoint/ClosedImmersion.lean
10.5 kB
| /- | |
| Copyright 2026 The Formal Conjectures Authors. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| https://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| This file has been modified. | |
| -/ | |
| import OAI.AlgebraicGeometry.ClosedImmersion.ResidueField | |
| import OAI.AlgebraicGeometry.ComplexPoint.AffineSpace | |
| import OAI.CategoryTheory.ConcreteCategory.Notation | |
| import Mathlib.AlgebraicGeometry.AlgClosed.Basic | |
| import Mathlib.Analysis.Complex.Polynomial.Basic | |
| /-! # Closed Immersion -/ | |
| namespace OAI.AlgebraicGeometry.ComplexPoint | |
| open _root_.AlgebraicGeometry | |
| /-! | |
| # Complex points of a closed subscheme | |
| This file describes the complex points of a closed subscheme of a complex scheme. The local | |
| lifting of sections proved in | |
| `HodgeConjecture.Lemmas.AlgebraicGeometry.ClosedImmersion.ResidueField` identifies the analytic | |
| subbasis of the closed subscheme with the subbasis induced from the ambient scheme. Its analytic | |
| image is the set of complex points supported on the closed subscheme, which is closed, so a closed | |
| immersion induces a closed topological embedding on complex points. | |
| -/ | |
| open _root_.CategoryTheory Opposite _root_.TopologicalSpace _root_.Topology | |
| variable {X Y : Over (Spec ↧ℂ)} | |
| /-- A monomorphism of schemes induces an injection on complex points. -/ | |
| lemma Basic.ComplexSchemePoint.map_injective_of_mono (i : X ⟶ Y) [Mono i] : | |
| Function.Injective (ComplexPoint.Basic.Point.map i) := fun _ _ h ↦ (cancel_mono i).mp h | |
| variable {A B : Over (Spec ↧ℂ)} (i : A ⟶ B) | |
| /-- The analytic image of a closed immersion consists exactly of the complex points supported | |
| on its scheme-theoretic image. -/ | |
| lemma Basic.ComplexSchemePoint.range_map_of_closedImmersion [IsClosedImmersion i.left] : | |
| Set.range (ComplexPoint.Basic.Point.map i) = | |
| {y : ComplexPoint.Basic.ComplexSchemePoint B | y.underlying ∈ Set.range i.left} := by | |
| ext y | |
| constructor | |
| · rintro ⟨x, rfl⟩ | |
| exact ⟨x.underlying, (ComplexPoint.Basic.Point.underlying_map i x).symm⟩ | |
| · rintro ⟨x, hx⟩ | |
| change i.left x = y.residueData.1 at hx | |
| let φ : A.left.residueField x ⟶ ↧ℂ := | |
| (ClosedImmersion.ResidueField.IsClosedImmersion.residueFieldIso x).inv ≫ | |
| (B.left.residueFieldCongr hx).hom ≫ y.residueData.2 | |
| let zHom : Spec ↧ℂ ⟶ A.left := | |
| (Scheme.SpecToEquivOfField ℂ A.left).symm ⟨x, φ⟩ | |
| have hzmap : zHom ≫ i.left = y.left := by | |
| dsimp only [zHom] | |
| rw [Scheme.SpecToEquivOfField_symm_apply, Category.assoc, | |
| ← Scheme.Hom.SpecMap_residueFieldMap_fromSpecResidueField] | |
| rw [← Category.assoc, ← Spec.map_comp] | |
| dsimp [φ] | |
| rw [← ClosedImmersion.ResidueField.IsClosedImmersion.residueFieldIso_hom, | |
| Iso.hom_inv_id_assoc, Spec.map_comp, Category.assoc, | |
| Scheme.residueFieldCongr_fromSpecResidueField] | |
| exact (Scheme.SpecToEquivOfField ℂ B.left).symm_apply_apply y.left | |
| have hz : zHom ≫ A.hom = 𝟙 _ := by | |
| rw [← Over.w i, ← Category.assoc, hzmap] | |
| exact Over.w y | |
| exact ⟨Over.homMk zHom hz, Over.OverMorphism.ext hzmap⟩ | |
| /-- The analytic image of a closed immersion is closed. -/ | |
| lemma Basic.ComplexSchemePoint.isClosed_range_map_of_closedImmersion [IsClosedImmersion i.left] : | |
| @IsClosed (ComplexPoint.Basic.ComplexSchemePoint B) ComplexPoint.Basic.Point.analyticTopology | |
| (Set.range (ComplexPoint.Basic.Point.map i)) := by | |
| rw [ComplexPoint.Basic.ComplexSchemePoint.range_map_of_closedImmersion i] | |
| apply isOpen_compl_iff.mp | |
| let U : B.left.Opens := | |
| ⟨(Set.range i.left)ᶜ, i.left.isClosedEmbedding.isClosed_range.isOpen_compl⟩ | |
| have h : IsOpen (ComplexPoint.Basic.Point.overOpen U : Set (ComplexPoint.Basic.ComplexSchemePoint B)) := | |
| ComplexPoint.Basic.Point.isOpen_overOpen (X := B) U | |
| convert h using 1 | |
| ext y | |
| simp [ComplexPoint.Basic.Point.overOpen, U] | |
| /-- A subbasic analytic open of a closed subscheme is open in the topology induced from the | |
| ambient analytic space. -/ | |
| lemma Basic.ComplexSchemePoint.isOpen_induced_chartSubbasic [IsClosedImmersion i.left] | |
| (U : B.left.Opens) (s : Γ(A.left, i.left ⁻¹ᵁ U)) (O : Set ℂ) (hO : IsOpen O) : | |
| @IsOpen (ComplexPoint.Basic.ComplexSchemePoint A) | |
| (TopologicalSpace.induced (ComplexPoint.Basic.Point.map i) ComplexPoint.Basic.Point.analyticTopology) | |
| (ComplexPoint.Basic.Point.overOpen (i.left ⁻¹ᵁ U) ∩ ComplexPoint.Basic.Point.evaluate (i.left ⁻¹ᵁ U) s ⁻¹' O) := by | |
| let : TopologicalSpace (ComplexPoint.Basic.ComplexSchemePoint A) := | |
| TopologicalSpace.induced (ComplexPoint.Basic.Point.map i) ComplexPoint.Basic.Point.analyticTopology | |
| rw [isOpen_iff_forall_mem_open] | |
| rintro z ⟨hzU, hzO⟩ | |
| obtain ⟨V, hVU, ⟨r, hr⟩, hzV⟩ := | |
| ClosedImmersion.ResidueField.IsClosedImmersion.exists_local_ambient_lift U s z.underlying hzU | |
| let T : Set (ComplexPoint.Basic.ComplexSchemePoint B) := | |
| ComplexPoint.Basic.Point.overOpen V ∩ ComplexPoint.Basic.Point.evaluate V r ⁻¹' O | |
| refine ⟨ComplexPoint.Basic.Point.map i ⁻¹' T, ?_, ?_, ?_⟩ | |
| · rintro w ⟨hwV, hwO⟩ | |
| have hwV' : w.underlying ∈ i.left ⁻¹ᵁ V := | |
| (ComplexPoint.Basic.Point.mem_overOpen_map_iff i w V).mp hwV | |
| have hpre : i.left ⁻¹ᵁ V ≤ i.left ⁻¹ᵁ U := | |
| leOfHom ((Opens.map i.left.base).map hVU) | |
| refine ⟨hpre hwV', ?_⟩ | |
| have hmap := ComplexPoint.Basic.Point.evaluate_map i V r w | |
| change ComplexPoint.Basic.Point.evaluate (X := B) V r _ = | |
| ComplexPoint.Basic.Point.evaluate (X := A) (i.left ⁻¹ᵁ V) (i.left.app V r) w at hmap | |
| rw [hr] at hmap | |
| have hres := ComplexPoint.Basic.Point.evaluate_res (X := A) | |
| (U := i.left ⁻¹ᵁ U) (V := i.left ⁻¹ᵁ V) hpre s w hwV' | |
| have hsection : | |
| (((TopCat.Presheaf.pushforward CommRingCat i.left.base).obj A.left.presheaf).map hVU.op) s = | |
| A.left.presheaf.map (homOfLE hpre).op s := rfl | |
| rw [hsection] at hmap | |
| change ComplexPoint.Basic.Point.evaluate (i.left ⁻¹ᵁ U) s w ∈ O | |
| rw [hres] | |
| exact hmap ▸ hwO | |
| · exact (ComplexPoint.Basic.Point.isOpen_overOpen_inter_preimage (X := B) V r O hO).preimage | |
| continuous_induced_dom | |
| · refine ⟨?_, ?_⟩ | |
| · exact (ComplexPoint.Basic.Point.mem_overOpen_map_iff i z V).mpr hzV | |
| · have hmap := ComplexPoint.Basic.Point.evaluate_map i V r z | |
| change ComplexPoint.Basic.Point.evaluate (X := B) V r _ = | |
| ComplexPoint.Basic.Point.evaluate (X := A) (i.left ⁻¹ᵁ V) (i.left.app V r) z at hmap | |
| rw [hr] at hmap | |
| have hpre : i.left ⁻¹ᵁ V ≤ i.left ⁻¹ᵁ U := | |
| leOfHom ((Opens.map i.left.base).map hVU) | |
| have hres := ComplexPoint.Basic.Point.evaluate_res (X := A) | |
| (U := i.left ⁻¹ᵁ U) (V := i.left ⁻¹ᵁ V) hpre s z hzV | |
| have hsection : | |
| (((TopCat.Presheaf.pushforward CommRingCat i.left.base).obj A.left.presheaf).map hVU.op) s = | |
| A.left.presheaf.map (homOfLE hpre).op s := rfl | |
| rw [hsection] at hmap | |
| change ComplexPoint.Basic.Point.evaluate V r (ComplexPoint.Basic.Point.map i z) ∈ O | |
| rw [hmap] | |
| exact hres ▸ hzO | |
| /-- Every generator of the analytic topology on a closed subscheme is open for the topology | |
| induced from the ambient analytic space. -/ | |
| lemma Basic.ComplexSchemePoint.analyticSubbasis_isOpen_induced [IsClosedImmersion i.left] | |
| {W : Set (ComplexPoint.Basic.ComplexSchemePoint A)} (hW : W ∈ ComplexPoint.Basic.Point.analyticSubbasis) : | |
| @IsOpen (ComplexPoint.Basic.ComplexSchemePoint A) | |
| (TopologicalSpace.induced (ComplexPoint.Basic.Point.map i) ComplexPoint.Basic.Point.analyticTopology) W := by | |
| obtain ⟨U, s, O, hO, rfl⟩ := hW | |
| obtain ⟨q, hq, hpre⟩ := | |
| i.left.isClosedEmbedding.isInducing.isOpen_iff.mp U.isOpen | |
| let Q : B.left.Opens := ⟨q, hq⟩ | |
| have hQU : i.left ⁻¹ᵁ Q = U := Opens.ext hpre | |
| subst U | |
| exact ComplexPoint.Basic.ComplexSchemePoint.isOpen_induced_chartSubbasic i Q s O hO | |
| /-- A closed immersion induces the subspace topology on complex points. -/ | |
| lemma Basic.ComplexSchemePoint.isInducing_map_of_closedImmersion [IsClosedImmersion i.left] : | |
| @IsInducing (ComplexPoint.Basic.ComplexSchemePoint A) (ComplexPoint.Basic.ComplexSchemePoint B) | |
| ComplexPoint.Basic.Point.analyticTopology ComplexPoint.Basic.Point.analyticTopology (ComplexPoint.Basic.Point.map i) := by | |
| rw [isInducing_iff] | |
| apply le_antisymm | |
| · exact continuous_iff_le_induced.mp (ComplexPoint.Basic.Point.continuous_map i) | |
| · rw [show (ComplexPoint.Basic.Point.analyticTopology : TopologicalSpace (ComplexPoint.Basic.ComplexSchemePoint A)) = | |
| .generateFrom ComplexPoint.Basic.Point.analyticSubbasis from ComplexPoint.Basic.Point.analyticTopology_eq_generateFrom] | |
| exact le_generateFrom_iff_subset_isOpen.mpr fun _ hW ↦ | |
| ComplexPoint.Basic.ComplexSchemePoint.analyticSubbasis_isOpen_induced i hW | |
| /-- A closed immersion induces a topological embedding on complex points. -/ | |
| lemma Basic.ComplexSchemePoint.isEmbedding_map_of_closedImmersion [IsClosedImmersion i.left] : | |
| @IsEmbedding (ComplexPoint.Basic.ComplexSchemePoint A) (ComplexPoint.Basic.ComplexSchemePoint B) | |
| ComplexPoint.Basic.Point.analyticTopology ComplexPoint.Basic.Point.analyticTopology (ComplexPoint.Basic.Point.map i) := by | |
| let : Mono i := Over.mono_of_mono_left i | |
| exact ⟨ComplexPoint.Basic.ComplexSchemePoint.isInducing_map_of_closedImmersion i, ComplexPoint.Basic.ComplexSchemePoint.map_injective_of_mono i⟩ | |
| /-- A closed immersion induces a closed topological embedding on complex points. -/ | |
| lemma Basic.ComplexSchemePoint.isClosedEmbedding_map_of_closedImmersion [IsClosedImmersion i.left] : | |
| @IsClosedEmbedding (ComplexPoint.Basic.ComplexSchemePoint A) (ComplexPoint.Basic.ComplexSchemePoint B) | |
| ComplexPoint.Basic.Point.analyticTopology ComplexPoint.Basic.Point.analyticTopology (ComplexPoint.Basic.Point.map i) := by | |
| exact ⟨ComplexPoint.Basic.ComplexSchemePoint.isEmbedding_map_of_closedImmersion i, ComplexPoint.Basic.ComplexSchemePoint.isClosed_range_map_of_closedImmersion i⟩ | |
| end OAI.AlgebraicGeometry.ComplexPoint | |