Stafford38/Paper/Section4/TangentialFiniteness.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 
3 public import Stafford38.Paper.Section4.Support
4 public import Stafford38.Paper.Section4.Setup
5 public import AlgebraicAnalysis.Module.MinimalPrimeFiniteLengthLocalization
6 public import Stafford38.Paper.Section3.OrderSymbol
7 
8 @[expose] public section
9 
10 /-!
11 # Lemma 4.8: tangential finiteness
12 
13 The three paragraphs of the printed proof: `U, V` are finite over `T`;
14 `Supp_T V ⊆ Supp_T U` (Lemma 4.7 and Vasconcelos' theorem); at a minimal prime
15 `𝔮` of `Supp_T U`, `U_𝔮` and `V_𝔮` have finite length.  The last two are proved
16 for any commutative Noetherian algebra `T → C` and finite `C`-module.
17 -/
18 
19 namespace Stafford38.Paper.Section4
20 
21 open Stafford38.Characteristic
22 open Stafford38.Characteristic.CanonicalOldTangentialFiniteness
23 open Stafford38.WeylIteratedEquivalence
24 open Stafford38.WeylPBWMonicBridge
25 open Stafford38.Paper.Section3 (IsMonicNormalForm isPBWMonicAt_of_isMonicNormalForm)
26 
27 noncomputable section
28 
29 /-- **Vasconcelos paragraph.**  For a finite module `M` over a commutative
30 Noetherian ring `C` and `f ∈ End_C M`, `Supp_C(ker f) ⊆ Supp_C(coker f)`: if
31 `(coker f)_𝔔 = coker(f_𝔔) = 0`, then `f_𝔔` is a surjective endomorphism of a finite
32 module, hence injective, and `(ker f)_𝔔 = ker(f_𝔔) = 0`. -/
33 theorem step_4_8_vasconcelos {C E : Type*} [CommRing C] [IsNoetherianRing C]
34     [AddCommGroup E] [Module C E] [Module.Finite C E] (f : Module.End C E) :
35     Module.support C (LinearMap.ker f) ⊆ Module.support C (E ⧸ LinearMap.range f) := by
36   intro Q hQ
37   by_contra hc
38   let S := Q.asIdeal.primeCompl
39   have hzero : Subsingleton (LocalizedModule S (E ⧸ LinearMap.range f)) :=
40     Module.notMem_support_iff.mp hc
41   -- exactness of localization: `(coker f)_𝔔 = coker(f_𝔔)`
42   have hexc := (definition_4_4 S).2.2 f (LinearMap.range f).mkQ
43     (LinearMap.exact_map_mkQ_range f)
44   have hsurj : Function.Surjective (LocalizedModule.map S f) := by
45     intro z
46     exact (hexc z).mp (Subsingleton.elim _ _)
47   -- Vasconcelos: a surjective endomorphism of a finite module is injective
48   have hinj : Function.Injective (LocalizedModule.map S f) :=
49     IsNoetherian.injective_of_surjective_endomorphism _ hsurj
50   -- exactness again: `(ker f)_𝔔 = ker(f_𝔔) = 0`
51   have hexk := (definition_4_4 S).2.2 (LinearMap.ker f).subtype f
52     (LinearMap.exact_subtype_ker_map f)
53   have hsub : Subsingleton (LocalizedModule S (LinearMap.ker f)) := by
54     refine ⟨fun a b => LocalizedModule.map_injective S _ (Submodule.subtype_injective _) ?_⟩
55     have ha : LocalizedModule.map S f (LocalizedModule.map S (LinearMap.ker f).subtype a) =
56         LocalizedModule.map S f (LocalizedModule.map S (LinearMap.ker f).subtype b) := by
57       rw [hexk.apply_apply_eq_zero, hexk.apply_apply_eq_zero]
58     exact hinj ha
59   exact Module.notMem_support_iff.mpr hsub hQ
60 
61 /-- **Second paragraph: `Supp_T V ⊆ Supp_T U`.**  For `𝔭 ∈ Supp_T V` pick `v` with
62 `Ann_T(v) ⊆ 𝔭` (Lemma 4.7); `Ann_{k[x,ξ]}(v)` misses `S = T∖𝔭`, so lies in a prime
63 `𝔔` with `𝔔 ∩ S = ∅`; `𝔔 ∈ Supp(ker f)` (Lemma 4.7), hence `𝔔 ∈ Supp(coker f)`
64 (Vasconcelos), so some `u ∈ U` has `Ann(u) ⊆ 𝔔` (Lemma 4.7), whence
65 `Ann_T(u) ⊆ 𝔭` and `𝔭 ∈ Supp_T U` (Lemma 4.7). -/
66 theorem step_4_8_support_inclusion {R C E : Type*} [CommRing R] [CommRing C] [Algebra R C]
67     [AddCommGroup E] [Module C E] [Module R E] [IsScalarTower R C E]
68     [IsNoetherianRing C] [Module.Finite C E] (f : Module.End C E) :
69     Module.support R (LinearMap.ker (f.restrictScalars R)) ⊆
70       Module.support R (E ⧸ LinearMap.range (f.restrictScalars R)) := by
71   intro p hp
72   obtain ⟨v, hv⟩ := (lemma_4_7 p).mp hp
73   let vC : LinearMap.ker f := ⟨v.1, v.2⟩
74   let I : Ideal C := (C ∙ vC).annihilator
75   have hdisj : Disjoint (I : Set C) (p.asIdeal.primeCompl.map (algebraMap R C)) := by
76     rw [Set.disjoint_left]
77     rintro c hc ⟨r, hr, rfl⟩
78     have hrv : r • v = 0 := by
79       apply Subtype.ext
80       change r • v.1 = 0
81       have hcv : algebraMap R C r • vC = 0 :=
82         (Submodule.mem_annihilator_span_singleton _ _).mp hc
83       simpa [vC, IsScalarTower.algebraMap_smul C r v.1] using congrArg Subtype.val hcv
84     exact hr (hv ((Submodule.mem_annihilator_span_singleton _ _).mpr hrv))
85   obtain ⟨Q, hQprime, hIQ, hQdisj⟩ := I.exists_le_prime_disjoint _ hdisj
86   let Q' : PrimeSpectrum C := ⟨Q, hQprime⟩
87   have hQker : Q' ∈ Module.support C (LinearMap.ker f) := (lemma_4_7 Q').mpr ⟨vC, hIQ⟩
88   have hQcoker := step_4_8_vasconcelos f hQker
89   obtain ⟨u, hu⟩ := (lemma_4_7 Q').mp hQcoker
90   refine (lemma_4_7 p).mpr ⟨u, fun r hr => ?_⟩
91   have hmap : algebraMap R C r ∈ (C ∙ u).annihilator := by
92     rw [Submodule.mem_annihilator_span_singleton]
93     have hru : r • u = 0 := (Submodule.mem_annihilator_span_singleton _ _).mp hr
94     simpa [IsScalarTower.algebraMap_smul C r u] using hru
95   by_contra hrp
96   exact Set.disjoint_left.mp hQdisj (hu hmap) ⟨r, hrp, rfl⟩
97 
98 /-- A minimal prime of `Supp_T L` (`L` finite over the Noetherian `T`) is minimal
99 over `Ann_T L`, since `Supp L = V(Ann L)` [Stacks 00L2], so `L_𝔮` has finite
100 length [Atiyah–Macdonald 8.5, Stacks 00KH]. -/
101 theorem step_4_8_localized_isFiniteLength {R L : Type*} [CommRing R] [IsNoetherianRing R]
102     [AddCommGroup L] [Module R L] [Module.Finite R L] (q : PrimeSpectrum R)
103     (hqmem : q ∈ Module.support R L)
104     (hq : ∀ p ∈ Module.support R L, p.asIdeal ≤ q.asIdeal → q.asIdeal ≤ p.asIdeal) :
105     IsFiniteLength (Localization q.asIdeal.primeCompl)
106       (LocalizedModule q.asIdeal.primeCompl L) := by
107   have hmin : q.asIdeal ∈ (Module.annihilator R L).minimalPrimes := by
108     obtain ⟨p, hp, hpq⟩ := Ideal.exists_minimalPrimes_le
109       (Module.mem_support_iff_of_finite.mp hqmem)
110     have hp' : (⟨p, hp.1.1⟩ : PrimeSpectrum R) ∈ Module.support R L :=
111       Module.mem_support_iff_of_finite.mpr hp.1.2
112     have heq : p = q.asIdeal := le_antisymm hpq (hq _ hp' hpq)
113     simpa [heq] using hp
114   exact AlgebraicAnalysis.MinimalPrimeFiniteLengthLocalization.localizedModule_isFiniteLength
115     q.asIdeal hmin
116 
117 /-- **Third paragraph.**  At a minimal prime `𝔮` of `Supp_T U`, the supports of
118 `U_𝔮` and `V_𝔮` are contained in `{𝔮T_𝔮}` (for `V` by `Supp V ⊆ Supp U`), so
119 both have finite length over `T_𝔮` (`V_𝔮` possibly zero). -/
120 theorem step_4_8_finite_length {R U V : Type*} [CommRing R] [IsNoetherianRing R]
121     [AddCommGroup U] [Module R U] [Module.Finite R U]
122     [AddCommGroup V] [Module R V] [Module.Finite R V]
123     (hsupp : Module.support R V ⊆ Module.support R U) (q : PrimeSpectrum R)
124     (hqmem : q ∈ Module.support R U)
125     (hq : ∀ p ∈ Module.support R U, p.asIdeal ≤ q.asIdeal → q.asIdeal ≤ p.asIdeal) :
126     IsFiniteLength (Localization q.asIdeal.primeCompl)
127         (LocalizedModule q.asIdeal.primeCompl U) ∧
128       IsFiniteLength (Localization q.asIdeal.primeCompl)
129         (LocalizedModule q.asIdeal.primeCompl V) := by
130   refine ⟨step_4_8_localized_isFiniteLength q hqmem hq, ?_⟩
131   by_cases hk : q ∈ Module.support R V
132   · exact step_4_8_localized_isFiniteLength q hk fun p hp hpq => hq p (hsupp hp) hpq
133   · have : Subsingleton (LocalizedModule q.asIdeal.primeCompl V) :=
134       Module.notMem_support_iff.mp hk
135     exact IsFiniteLength.of_subsingleton
136 
137 section Canonical
138 
139 variable {k : Type*} [Field k] [Algebra ℚ k] {n N : ℕ} {d : PresentedWeyl k (n + 1)}
140 
141 attribute [local instance] Characteristic.CanonicalKoszulContradiction.gradedModule
142   Characteristic.CanonicalKoszulContradiction.coefficientAlgebra
143   Characteristic.CanonicalKoszulContradiction.coefficientTower
144 
145 omit [Algebra ℚ k] in
146 /-- **First paragraph: `U` and `V` are finite over `T`.**  `M = gr Q` is finite
147 over `k[x,ξ] = T[x₁,ξ₁]` (cyclic generator `q̄`).  Since `P` annihilates `M`
148 (Proposition 3.6) and is monic of degree `N` in `ξ₁`, `M` is finite over `T[x₁]`
149 (`canonical_orderAssociatedGradedModule_finite_normalCoeffRing_of_mem_annihilator`);
150 `V` and `U` are then finite over the Noetherian `T[x₁]` and, being killed by `x₁`,
151 over `T` (`canonical_finite_old_coordinate_kernel_cokernel_of_mem_annihilator`). -/
152 theorem step_4_8_finite (hform : IsMonicNormalForm k N d) :
153     Module.Finite (Tangential k n) (cokernelU k n N d) ∧
154       Module.Finite (Tangential k n) (kernelV k n N d) :=
155   (canonical_finite_old_coordinate_kernel_cokernel_of_mem_annihilator
156     (isPBWMonicAt_of_isMonicNormalForm k hform)
157     (Stafford38.Paper.Section3.proposition_3_6 k hform
158       (Stafford38.Paper.Section3.bernsteinDegree_eq_of_isMonicNormalForm k hform))).symm
159 
160 omit [Algebra ℚ k] in
161 /-- **Lemma 4.8.** `U` and `V` are finite over `T`, `Supp_T V ⊆ Supp_T U`, and at a
162 minimal prime `𝔮` of `Supp_T U`, `U_𝔮` and `V_𝔮` have finite length over `T_𝔮`.
163 Here `d̃` is in the form (3.1), used through `IsPBWMonicAt`. -/
164 theorem lemma_4_8 (hform : IsMonicNormalForm k N d) :
165     Module.Finite (Tangential k n) (cokernelU k n N d) ∧
166       Module.Finite (Tangential k n) (kernelV k n N d) ∧
167       Module.support (Tangential k n) (kernelV k n N d) ⊆
168         Module.support (Tangential k n) (cokernelU k n N d) ∧
169       ∀ q ∈ Module.support (Tangential k n) (cokernelU k n N d),
170         (∀ p ∈ Module.support (Tangential k n) (cokernelU k n N d),
171           p.asIdeal ≤ q.asIdeal → q.asIdeal ≤ p.asIdeal) →
172         IsFiniteLength (Localization q.asIdeal.primeCompl)
173             (LocalizedModule q.asIdeal.primeCompl (cokernelU k n N d)) ∧
174           IsFiniteLength (Localization q.asIdeal.primeCompl)
175             (LocalizedModule q.asIdeal.primeCompl (kernelV k n N d)) := by
176   obtain ⟨hU, hV⟩ := step_4_8_finite hform
177   have hsupp : Module.support (Tangential k n) (kernelV k n N d) ⊆
178       Module.support (Tangential k n) (cokernelU k n N d) := by
179     have h := step_4_8_support_inclusion (R := Tangential k n)
180       (LinearMap.lsmul (Symbol k n) (GrQ k n N d) (symbolCoordinate k n))
181     rwa [setup_coordinateMap_eq] at h
182   exact ⟨hU, hV, hsupp, fun q hqmem hq => step_4_8_finite_length hsupp q hqmem hq⟩
183 
184 end Canonical
185 
186 #print axioms step_4_8_vasconcelos
187 #print axioms step_4_8_support_inclusion
188 #print axioms step_4_8_finite_length
189 #print axioms step_4_8_finite
190 #print axioms lemma_4_8
191 
192 end
193 
194 end Stafford38.Paper.Section4
195