Download data/lean/OAI/RingTheory/Multiplicity/CharPModuleLength.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.25 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/RingTheory/Multiplicity/CharPModuleLength.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/RingTheory/Multiplicity/CharPModuleLength.lean
-
curl -L -o CharPModuleLength.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/RingTheory/Multiplicity/CharPModuleLength.lean
6.25 kB
| import Mathlib | |
| import OAI.RingTheory.Multiplicity.NormalizationModuleLimit | |
| import OAI.RingTheory.Multiplicity.QuotientExtension | |
| namespace OAI | |
| noncomputable section | |
| open CategoryTheory | |
| open scoped TensorProduct | |
| namespace Lech.CharP | |
| open Lech.RootTower Lech.PerfectDomainStages Lech.Koszul IsLocalRing Filter | |
| open scoped ENNReal Topology nonZeroDivisors | |
| universe u | |
| variable (D : Type u) [CommRing D] [IsDomain D] [IsLocalRing D] | |
| [IsNoetherianRing D] [IsAdicComplete (maximalIdeal D) D] | |
| (p : β) [Fact p.Prime] [CharP D p] [PerfectRing (ResidueField D) p] | |
| theorem exists_length_with_module_limit (hh : 0 < Lech.dimension D) : | |
| β ell : Lech.AllModuleLength (PerfectClosure D p), | |
| (β (M : ModuleCat.{u} D), IsFiniteLength D M β | |
| Tendsto (fun n : β => ((p : ββ₯0β)^(n*Lech.dimension D))β»ΒΉ * | |
| (Module.length D (Lech.FrobeniusModule D p n M)).toENNReal) | |
| atTop (π (ell.value ((ModuleCat.extendScalars (PerfectClosure.of D p)).obj M)))) β§ | |
| (β (H : Ideal D), H.radical = maximalIdeal D β | |
| Tendsto (fun n : β => ((p : ββ₯0β)^(n*Lech.dimension D))β»ΒΉ * | |
| (Module.length D (D β§Έ H.map (iterateFrobenius D p n))).toENNReal) | |
| atTop (π (ell.value (ModuleCat.of (PerfectClosure D p) | |
| ((PerfectClosure D p) β§Έ H.map (PerfectClosure.of D p)))))) β§ | |
| (β (z : Fin (Lech.dimension D) β D), | |
| (Ideal.span (Set.range z)).radical = maximalIdeal D β | |
| β a : β, 0 < a β | |
| ell.value (ModuleCat.of (PerfectClosure D p) ((PerfectClosure D p) β§Έ | |
| (parameterIdeal D z a).map (PerfectClosure.of D p))) = | |
| (a : ββ₯0β)^(Lech.dimension D) * | |
| ENNReal.ofReal (Lech.Primary.multiplicity (Ideal.span (Set.range z)))) β§ | |
| (β (ys : List D), ys.length = Lech.dimension D β | |
| (entryIdeal ys).radical = maximalIdeal D β β i : β€, i < 0 β | |
| ell.value ((unit (ys.map (PerfectClosure.of D p))).homology i) = 0) β§ | |
| (β (z : Fin (Lech.dimension D) β D), | |
| (Ideal.span (Set.range z)).radical = maximalIdeal D β | |
| 0 < Lech.Primary.multiplicity (Ideal.span (Set.range z))) := by | |
| obtain β¨h,Ο,hΟ,hfin,hloc,hres,hdβ© := | |
| Lech.Normalization.exists_finite_powerSeries_normalization D p | |
| have hdim : Lech.dimension D = h := by | |
| have hd' := Lech.dimension_cast D | |
| rw [hd] at hd' | |
| exact_mod_cast hd' | |
| let k := ResidueField D | |
| let : CharP k p := CharP.of_ringHom_of_ne_zero (residue D) p | |
| (Nat.Prime.ne_zero Fact.out) | |
| let A := MvPowerSeries (Fin h) k | |
| let C := PerfectClosure D p | |
| let P := PerfectClosure A p | |
| let : IsDomain A := NoZeroDivisors.to_isDomain _ | |
| let : Algebra A D := Ο.toAlgebra | |
| let : Module.Finite A D := hfin | |
| let : IsLocalHom (algebraMap A D) := hloc | |
| have hf : Function.Injective (algebraMap A D) := hΟ | |
| have hres' : Function.Surjective (algebraMap (ResidueField A) (ResidueField D)) := by | |
| intro b | |
| obtain β¨a,haβ© := hres b | |
| refine β¨residue A a,?_β© | |
| rw [ResidueField.algebraMap_residue] | |
| exact ha | |
| let : FaithfulSMul A D := (faithfulSMul_iff_algebraMap_injective A D).mpr hf | |
| let K := FractionRing A | |
| let L := FractionRing D | |
| let : Algebra K L := FractionRing.liftAlgebra A L | |
| let : IsScalarTower A K L := FractionRing.isScalarTower_liftAlgebra A L | |
| let : FiniteDimensional K L := Module.Finite.of_isLocalization A D Aβ° | |
| obtain β¨r,hr,hlimmodβ© := | |
| Lech.SeparableOrder.exists_normalization_frobenius_module_limit h k D p K L hf hres' | |
| have hlim (H : Ideal D) (hH : H.radical = maximalIdeal D) : | |
| Tendsto (fun n : β => ((p : ββ₯0β)^(n*h))β»ΒΉ * | |
| (Module.length D (D β§Έ H.map (iterateFrobenius D p n))).toENNReal) | |
| atTop (π ((r : ββ₯0β) * normalizedLength (Fin h) k p | |
| ((PerfectClosure D p) β§Έ H.map (PerfectClosure.of D p)))) := by | |
| have ht := hlimmod (ModuleCat.of D (D β§Έ H)) (Lech.finiteLength_primary_quotient H hH) | |
| have heq := (regularTower (Fin h) k p).length_eq_of_equiv | |
| ((ModuleCat.restrictScalars (algebraMap P C)).mapIso | |
| (Lech.quotientExtensionEquiv (PerfectClosure.of D p) H).toModuleIso).toLinearEquiv | |
| change normalizedLength (Fin h) k p ((PerfectClosure D p) β[D] (D β§Έ H)) = | |
| normalizedLength (Fin h) k p ((PerfectClosure D p) β§Έ H.map (PerfectClosure.of D p)) at heq | |
| rw [heq] at ht | |
| apply ht.congr | |
| intro n | |
| congr 1 | |
| exact congrArg ENat.toENNReal (Lech.quotientExtensionEquiv (iterateFrobenius D p n) H).length_eq | |
| let ell := (regularTower (Fin h) k p).allModuleLength (algebraMap P C) r | |
| (by exact_mod_cast (Nat.ne_of_gt hr)) | |
| let Ο := Lech.CoefficientField.localSection D p | |
| have hΟ : Function.Surjective ((residue D).comp Ο) := | |
| fun a => β¨a,Lech.CoefficientField.localSection_rightInverse D p aβ© | |
| refine β¨ell,?_,?_,?_,?_,?_β© | |
| Β· intro M hM | |
| rw [hdim] | |
| exact hlimmod M hM | |
| Β· intro H hH | |
| rw [hdim] | |
| exact hlim H hH | |
| Β· intro z hz a ha | |
| have hprim : (parameterIdeal D z a).radical = maximalIdeal D := | |
| (Lech.Normalization.radical_span_powers z a (Nat.ne_of_gt ha)).trans hz | |
| have ht := hlim (parameterIdeal D z a) hprim | |
| have hp := Lech.Normalization.parameter_frobenius_multiplicity_enn | |
| (Lech.dimension D) hh rfl Ο hΟ z hz a ha p | |
| have hp' : Tendsto (fun n : β => ((p : ββ₯0β)^(n*h))β»ΒΉ * | |
| (Module.length D (D β§Έ (parameterIdeal D z a).map (iterateFrobenius D p n))).toENNReal) | |
| atTop (π ((a : ββ₯0β)^(Lech.dimension D) * | |
| ENNReal.ofReal (Lech.Primary.multiplicity (Ideal.span (Set.range z))))) := by | |
| convert hp using 1 | |
| ext n | |
| apply congrArg (fun b : ββ₯0β => b * | |
| (Module.length D (D β§Έ (parameterIdeal D z a).map (iterateFrobenius D p n))).toENNReal) | |
| rw [hdim] | |
| exact tendsto_nhds_unique ht hp' | |
| Β· intro ys hlen hys i hi | |
| have hz := Lech.SeparableOrder.normalizedLength_parameter_koszul | |
| h k D p K L ys (hlen.trans hdim) hys i hi | |
| change (r : ββ₯0β) * _ = 0 | |
| change (regularTower (Fin h) k p).length _ = 0 at hz | |
| rw [hz,mul_zero] | |
| Β· intro z hz | |
| exact Lech.Normalization.parameter_multiplicity_pos | |
| (Lech.dimension D) hh rfl Ο hΟ z hz | |
| end Lech.CharP | |
| end | |
| end OAI | |