math / data /lean /OAI /AlgebraicGeometry /HilbertScheme /Presentations /Localized /SubmoduleGluing.lean
Download data/lean/OAI/AlgebraicGeometry/HilbertScheme/Presentations/Localized/SubmoduleGluing.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.26 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/HilbertScheme/Presentations/Localized/SubmoduleGluing.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/HilbertScheme/Presentations/Localized/SubmoduleGluing.lean
-
curl -L -o SubmoduleGluing.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/HilbertScheme/Presentations/Localized/SubmoduleGluing.lean
3.26 kB
| import Mathlib.Algebra.Module.LocalizedModule.Submodule | |
| import Mathlib.RingTheory.Localization.Module | |
| import Mathlib.RingTheory.Localization.Away.Basic | |
| import Mathlib.Algebra.BigOperators.Group.Finset.Basic | |
| /-! # Submodule Gluing -/ | |
| namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.SubmoduleGluing | |
| noncomputable section | |
| /-! | |
| Gluing submodules on a finite family of principal localizations by clearing | |
| overlap denominators. This constructs the global submodule and proves that | |
| its restrictions are exactly the supplied local submodules. | |
| -/ | |
| open LocalizedModule | |
| universe u v w | |
| variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] | |
| variable {ΞΊ : Type w} [Fintype ΞΊ] (r : ΞΊ β R) | |
| variable {A : ΞΊ β Type u} [β i, CommRing (A i)] [β i, Algebra R (A i)] | |
| variable [β i, IsLocalization.Away (r i) (A i)] | |
| variable {L : ΞΊ β Type v} [β i, AddCommGroup (L i)] [β i, Module R (L i)] | |
| variable [β i, Module (A i) (L i)] [β i, IsScalarTower R (A i) (L i)] | |
| variable (f : β i, M ββ[R] L i) [β i, IsLocalizedModule.Away (r i) (f i)] | |
| variable (N : β i, Submodule (A i) (L i)) | |
| def localizedSubmoduleIntersection : Submodule R M := | |
| β¨ i, ((N i).restrictScalars R).comap (f i) | |
| def LocalizedSubmoduleClearing : Prop := | |
| β i j m, f i m β N i β β k : β, f j ((r i) ^ k β’ m) β N j | |
| omit [β i, IsLocalization.Away (r i) (A i)] [β i, IsLocalizedModule.Away (r i) (f i)] in | |
| theorem localizedSubmodule_clear_all (hN : LocalizedSubmoduleClearing r f N) | |
| (i : ΞΊ) (m : M) (hm : f i m β N i) : | |
| β k : β, (r i) ^ k β’ m β localizedSubmoduleIntersection f N := by | |
| classical | |
| choose k hk using fun j => hN i j m hm | |
| let d := β j, k j | |
| refine β¨d, ?_β© | |
| apply (Submodule.mem_iInf _).mpr | |
| intro j | |
| change f j ((r i) ^ d β’ m) β N j | |
| have hj : k j β€ d := Finset.single_le_sum (fun _ _ => Nat.zero_le _) (Finset.mem_univ j) | |
| have he : f j ((r i) ^ d β’ m) = (r i) ^ (d - k j) β’ f j ((r i) ^ k j β’ m) := by | |
| rw [β map_smul, smul_smul, β pow_add, Nat.sub_add_cancel hj] | |
| rw [he] | |
| exact ((N j).restrictScalars R).smul_mem _ (hk j) | |
| /-- Pairwise denominator clearing suffices to glue a finite family of local | |
| submodules. No finite generation or noetherian hypothesis is needed. -/ | |
| theorem localizedSubmoduleIntersection_localized (hN : LocalizedSubmoduleClearing r f N) (i : ΞΊ) : | |
| (localizedSubmoduleIntersection f N).localized' (A i) (Submonoid.powers (r i)) (f i) = N i := by | |
| apply le_antisymm | |
| Β· rw [Submodule.localized'_eq_span] | |
| apply Submodule.span_le.mpr | |
| rintro _ β¨m, hm, rflβ© | |
| exact (Submodule.mem_iInf _).mp hm i | |
| Β· intro y hy | |
| obtain β¨β¨m, sβ©, rflβ© := IsLocalizedModule.mk'_surjective (Submonoid.powers (r i)) (f i) y | |
| have hm : f i m β N i := by | |
| rw [β IsLocalizedModule.mk'_cancel' _ _ s, Submonoid.smul_def] | |
| exact ((N i).restrictScalars R).smul_mem _ hy | |
| obtain β¨k, hkβ© := localizedSubmodule_clear_all r f N hN i m hm | |
| let t : Submonoid.powers (r i) := β¨(r i) ^ k, β¨k, rflβ©β© | |
| refine β¨(r i) ^ k β’ m, hk, t * s, ?_β© | |
| exact IsLocalizedModule.mk'_cancel_left _ m t s | |
| end | |
| end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.SubmoduleGluing | |