Download data/lean/OAI/AlgebraicGeometry/Cycle/LocalPurityOf.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.52 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Cycle/LocalPurityOf.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Cycle/LocalPurityOf.lean
-
curl -L -o LocalPurityOf.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Cycle/LocalPurityOf.lean
6.52 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.Cycle.LocalPurity | |
| import OAI.AlgebraicGeometry.Cycle.ComponentClosedPointDimension | |
| import OAI.AlgebraicGeometry.ComplexPoint.ProjectiveHausdorff | |
| import OAI.AlgebraicTopology.LocalHomology.ChartFundamentalClassGenerator | |
| import OAI.AlgebraicTopology.LocalHomology.FundamentalClassGenerator | |
| import OAI.AlgebraicTopology.LocalHomology.PuncturedEuclidean | |
| /-! # Local Purity Of -/ | |
| namespace OAI.AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular | |
| noncomputable section | |
| /-! | |
| # Local dual classes on cycle components | |
| -/ | |
| /-! ### Constructions used only in proofs -/ | |
| section | |
| open _root_.CategoryTheory _root_.Topology | |
| open _root_.AlgebraicTopology | |
| open OAI.AlgebraicTopology.Singular | |
| variable {R M : Type*} [Field R] [AddCommGroup M] [Module R M] | |
| @[simp] | |
| lemma normalizedDual_apply_self (z : M) (hz : z ≠ 0) : | |
| (LocalPurity.AlgebraicTopology.Singular.normalizedDual (R := R) z hz) z = (1 : R) := | |
| Classical.choose_spec (Module.Projective.exists_dual_eq_one R hz) | |
| @[simp] | |
| lemma relativeCohomologyEquivDualHomology_normalizedRelativeCoclass {R : Type*} [Field R] | |
| {X : TopPair} {n : ℕ} (z : AlgebraicTopology.Singular.Cohomology.RelativeHomology R X n) (hz : z ≠ 0) : | |
| AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n (LocalPurity.AlgebraicTopology.Singular.normalizedRelativeCoclass z hz) = | |
| LocalPurity.AlgebraicTopology.Singular.normalizedDual z hz := | |
| (AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n).apply_symm_apply _ | |
| @[simp] | |
| lemma normalizedRelativeCoclass_pairing_self {R : Type*} [Field R] {X : TopPair} {n : ℕ} | |
| (z : AlgebraicTopology.Singular.Cohomology.RelativeHomology R X n) (hz : z ≠ 0) : | |
| AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n (LocalPurity.AlgebraicTopology.Singular.normalizedRelativeCoclass z hz) z = (1 : R) := by | |
| rw [relativeCohomologyEquivDualHomology_normalizedRelativeCoclass, normalizedDual_apply_self] | |
| /-- The oriented standard complex local class is nonzero in every complex dimension. -/ | |
| lemma standardComplexLocalClass_ne_zero (n : ℕ) : | |
| AlgebraicTopology.LocalHomology.ComplexClass.Singular.standardComplexLocalClass ℚ n ≠ 0 := by | |
| rw [AlgebraicTopology.LocalHomology.FundamentalClassGenerator.Singular.standardComplexLocalClass_ne_zero_iff] | |
| by_cases hn : n = 0 | |
| · subst n | |
| exact AlgebraicTopology.LocalHomology.FundamentalClassGenerator.Singular.standardLocalClass_zero_ne_zero | |
| · exact AlgebraicTopology.LocalHomology.PuncturedEuclidean.Singular.standardLocalClass_ne_zero_of_pos (n * 2) (Nat.mul_pos (Nat.pos_of_ne_zero hn) (by | |
| norm_num)) | |
| /-- Two one-dimensional vector spaces with specified normalized generators are canonically | |
| linearly equivalent by sending the first generator to the second. -/ | |
| def linearEquivOfNormalizedGenerators | |
| {N : Type*} [AddCommGroup N] [Module R N] | |
| (x : M) (hx : x ≠ 0) (hxspan : Submodule.span R {x} = ⊤) | |
| (y : N) (hy : y ≠ 0) (hyspan : Submodule.span R {y} = ⊤) : | |
| M ≃ₗ[R] N := | |
| let f : M →ₗ[R] N := | |
| (LinearMap.toSpanSingleton R N y).comp (LocalPurity.AlgebraicTopology.Singular.normalizedDual x hx) | |
| let g : N →ₗ[R] M := | |
| (LinearMap.toSpanSingleton R M x).comp (LocalPurity.AlgebraicTopology.Singular.normalizedDual y hy) | |
| LinearEquiv.ofLinearMap f g | |
| (by | |
| apply LinearMap.ext | |
| intro n | |
| obtain ⟨a, rfl⟩ := (Submodule.span_singleton_eq_top_iff R y).mp hyspan n | |
| simp [f, g, normalizedDual_apply_self]) | |
| (by | |
| apply LinearMap.ext | |
| intro m | |
| obtain ⟨a, rfl⟩ := (Submodule.span_singleton_eq_top_iff R x).mp hxspan m | |
| simp [f, g, normalizedDual_apply_self]) | |
| end | |
| open _root_.CategoryTheory _root_.Topology | |
| open _root_.AlgebraicTopology | |
| open OAI.AlgebraicTopology.Singular | |
| variable {R M : Type*} [Field R] [AddCommGroup M] [Module R M] | |
| /-- A normalized dual is unique when its distinguished vector generates the module. -/ | |
| lemma normalizedDual_unique {z : M} (hz : z ≠ 0) | |
| (hzspan : Submodule.span R {z} = ⊤) | |
| (φ : Module.Dual R M) (hφ : φ z = 1) : | |
| φ = LocalPurity.AlgebraicTopology.Singular.normalizedDual z hz := by | |
| ext y | |
| obtain ⟨a, rfl⟩ := (Submodule.span_singleton_eq_top_iff R z).mp hzspan y | |
| simp [hφ] | |
| section Coclass | |
| variable {R : Type*} [Field R] {X : TopPair} {n : ℕ} | |
| /-- The normalization condition characterizes the normalized coclass. -/ | |
| lemma normalizedRelativeCoclass_unique {z : AlgebraicTopology.Singular.Cohomology.RelativeHomology R X n} (hz : z ≠ 0) | |
| (hzspan : Submodule.span R {z} = ⊤) (β : AlgebraicTopology.Singular.Cohomology.RelativeCohomology R X n) | |
| (hβ : AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n β z = 1) : | |
| β = LocalPurity.AlgebraicTopology.Singular.normalizedRelativeCoclass z hz := | |
| (AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n).injective <| by | |
| rw [relativeCohomologyEquivDualHomology_normalizedRelativeCoclass] | |
| exact normalizedDual_unique hz hzspan _ hβ | |
| end Coclass | |
| @[simp] | |
| lemma linearEquivOfNormalizedGenerators_apply | |
| {N : Type*} [AddCommGroup N] [Module R N] | |
| (x : M) (hx : x ≠ 0) (hxspan : Submodule.span R {x} = ⊤) | |
| (y : N) (hy : y ≠ 0) (hyspan : Submodule.span R {y} = ⊤) | |
| (z : M) : | |
| linearEquivOfNormalizedGenerators x hx hxspan y hy hyspan z = | |
| (LocalPurity.AlgebraicTopology.Singular.normalizedDual (R := R) x hx z : R) • y := | |
| rfl | |
| @[simp] | |
| lemma linearEquivOfNormalizedGenerators_apply_generator | |
| {N : Type*} [AddCommGroup N] [Module R N] | |
| (x : M) (hx : x ≠ 0) (hxspan : Submodule.span R {x} = ⊤) | |
| (y : N) (hy : y ≠ 0) (hyspan : Submodule.span R {y} = ⊤) : | |
| linearEquivOfNormalizedGenerators x hx hxspan y hy hyspan x = y := by simp | |
| end | |
| end OAI.AlgebraicGeometry.Cycle.LocalPurityOf.AlgebraicTopology.Singular | |