This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 3 public import Stafford38.Paper.Section6.Avoidance 4 public import Stafford38.Weyl.PaperQuotientDescent 5 public import Mathlib.RingTheory.TensorProduct.Quotient 6 public import Mathlib.RingTheory.TensorProduct.MvPolynomial 7 8 @[expose] public section 9 10 /-! 11 # Lemma 6.2: base change of `Q` to a field extension `K/k` 12 13 `A_n(k) → A_n(K)` is `presentedWeylScalarExtension` (written `ι`) and 14 `k[x, ξ] → K[x, ξ]` is `symbolScalarExtension` (written `σ`, the coefficient 15 map `MvPolynomial.map (algebraMap k K)`). For `d̃ ∈ A_n(k)`, 16 `𝓘_K = ι(d̃)A_n(K) + x₁^N ι(d̃)A_n(K)` is `Section3.idealI K N (ι d̃)` and 17 `Q_K = A_n(K)/𝓘_K` is `Section3.Q K N (ι d̃)`. 18 19 The proof follows the printed order: `𝓘_K = 𝓘 ⊗_k K` (`step_6_2_ideal`) gives 20 `θ : K ⊗_k Q ≅ Q_K` (`theta62`) and `Q_{K,i} = Q_i ⊗_k K` (`step_6_2_pieces`); 21 flatness gives `Q_{K,i}/Q_{K,i-1} = (Q_i/Q_{i-1}) ⊗_k K` 22 (`step_6_2_graded_pieces`), and summing over `i`, `gr Q_K = gr Q ⊗_k K` 23 (`step_6_2_sum`, `step_6_2_graded`), compatibly with `k[x,ξ] → K[x,ξ]` 24 (`step_6_2_graded_one_tmul_smul`); then the annihilator commutes with the base 25 change (`step_6_2_annihilator`), and `Q = 0 ⇔ Q_K = 0` (`step_6_2_vanishing`). 26 -/ 27 28 namespace Stafford38.Paper.Section6 29 30 open Stafford38.Characteristic 31 open Stafford38.CharacteristicAssociatedGradedModule 32 open Stafford38.CharacteristicFilteredQuotient 33 open Stafford38.CharacteristicInitialIdeal 34 open Stafford38.WeylEulerResidue 35 open Stafford38.WeylIteratedEquivalence 36 open Stafford38.Weyl.PresentedScalarExtension 37 open Stafford38.Weyl.FilteredScalarLifting 38 open Stafford38.Paper.Section2 39 open Stafford38.Paper.Section3 40 open scoped TensorProduct 41 open Stafford38.WeylFiltration 42 open Stafford38.WeylLeadingSymbol 43 44 noncomputable section 45 46 universe u v 47 48 variable {k : Type u} {K : Type v} [Field k] [Field K] [Algebra k K] 49 50 /-- `ι(d̃) ∈ A_n(K)`, the image of `d̃` under the coefficient extension. -/ 51 abbrev dtK (K : Type v) [Field K] [Algebra k K] {n : ℕ} (dt : PresentedWeyl k (n + 1)) : 52 PresentedWeyl K (n + 1) := 53 presentedWeylScalarExtension (k := k) (K := K) (n + 1) dt 54 55 /-- `σ : k[x, ξ] → K[x, ξ]`. -/ 56 abbrev σ (k : Type u) (K : Type v) [Field k] [Field K] [Algebra k K] (n : ℕ) : 57 SymbolRing k (n + 1) →+* SymbolRing K (n + 1) := 58 (symbolScalarExtension (k := k) (K := K) (n + 1)).toRingHom 59 60 /-- Proof, first sentence: by the PBW basis, `𝓘_K = 𝓘 ⊗_k K` inside 61 `A_n(K) = A_n(k) ⊗_k K`. -/ 62 theorem step_6_2_ideal {n N : ℕ} (dt : PresentedWeyl k (n + 1)) : 63 Submodule.map (pbwTensorEquiv (k := k) (K := K) (n + 1)).toLinearMap 64 ((rightIdealKSubmodule k (idealI k N dt)).baseChange K) = 65 rightIdealKSubmodule K (idealI K N (dtK K dt)) := 66 pbwTensorEquiv_map_canonicalRightIdeal n N dt 67 68 /-- Consequently `Q ⊗_k K ≅ Q_K`: tensoring `0 → 𝓘 → A_n(k) → Q → 0` with 69 `K` and identifying the image of `𝓘 ⊗_k K` with `𝓘_K` by `step_6_2_ideal`. -/ 70 def step_6_2_quotient {n N : ℕ} (dt : PresentedWeyl k (n + 1)) : 71 Q k N dt ⊗[k] K ≃ₗ[k] Q K N (dtK K dt) := by 72 let J := rightIdealKSubmodule k (idealI k N dt) 73 let eK := pbwTensorEquiv (k := k) (K := K) (n + 1) 74 let JK := rightIdealKSubmodule K (idealI K N (dtK K dt)) 75 let f := (TensorProduct.comm k (PresentedWeyl k (n + 1)) K).trans 76 (LinearEquiv.restrictScalars k eK) 77 let D := LinearMap.range (TensorProduct.map J.subtype (LinearMap.id : K →ₗ[k] K)) 78 have hden : Submodule.map f.toLinearMap D = JK.restrictScalars k := by 79 have hf : f.toLinearMap = 80 (LinearEquiv.restrictScalars k eK).toLinearMap.comp 81 (TensorProduct.comm k (PresentedWeyl k (n + 1)) K).toLinearMap := by 82 ext z 83 rfl 84 rw [hf, Submodule.map_comp, 85 Stafford38.PaperQuotientDescent.comm_map_tensorSubmodule_range] 86 calc 87 Submodule.map (LinearEquiv.restrictScalars k eK).toLinearMap 88 (Submodule.restrictScalars k (J.baseChange K)) = 89 Submodule.restrictScalars k (Submodule.map eK.toLinearMap (J.baseChange K)) := 90 (Submodule.restrictScalars_map eK.toLinearMap (J.baseChange K)).symm 91 _ = Submodule.restrictScalars k JK := by rw [step_6_2_ideal] 92 exact (TensorProduct.congr (filteredRightQuotientEquivRightQuotient k (idealI k N dt)).symm 93 (LinearEquiv.refl k K)).trans 94 (((TensorProduct.quotientTensorEquiv K J).trans 95 (Submodule.Quotient.equiv D (JK.restrictScalars k) f hden)).trans 96 ((Submodule.Quotient.restrictScalarsEquiv k JK).trans 97 (LinearEquiv.restrictScalars k 98 (filteredRightQuotientEquivRightQuotient K (idealI K N (dtK K dt)))))) 99 100 variable {n N : ℕ} 101 102 set_option maxRecDepth 20000 in 103 theorem step_6_2_quotient_mk (dt : PresentedWeyl k (n + 1)) (a : PresentedWeyl k (n + 1)) (c : K) : 104 step_6_2_quotient (K := K) (N := N) dt 105 ((Submodule.Quotient.mk a : Q k N dt) ⊗ₜ[k] c) = 106 Submodule.Quotient.mk (c • presentedWeylScalarExtension (k := k) (K := K) (n + 1) a) := by 107 have h1 : pbwTensorEquiv (k := k) (K := K) (n + 1) (c ⊗ₜ[k] a) = 108 c • presentedWeylScalarExtension (k := k) (K := K) (n + 1) a := by 109 rw [← pbwTensorEquiv_tmul_one, ← map_smul, TensorProduct.smul_tmul', smul_eq_mul, mul_one] 110 rw [← h1] 111 rfl 112 113 /-- `θ : K ⊗_k Q ≅ Q_K`, `c ⊗ [a] ↦ c [a]`, `K`-linear. -/ 114 def theta62 (dt : PresentedWeyl k (n + 1)) : K ⊗[k] Q k N dt ≃ₗ[K] Q K N (dtK K dt) := 115 { (TensorProduct.comm k K (Q k N dt)).trans (step_6_2_quotient (K := K) (N := N) dt) with 116 map_smul' := fun c t => by 117 induction t using TensorProduct.induction_on with 118 | zero => simp 119 | tmul c' q => 120 obtain ⟨a, rfl⟩ := Submodule.Quotient.mk_surjective _ q 121 simp only [AddHom.toFun_eq_coe, LinearMap.coe_toAddHom, LinearEquiv.coe_coe, 122 LinearEquiv.trans_apply, TensorProduct.smul_tmul', TensorProduct.comm_tmul, 123 smul_eq_mul, RingHom.id_apply] 124 rw [step_6_2_quotient_mk, step_6_2_quotient_mk, mul_smul] 125 rfl 126 | add x y hx hy => 127 simp only [AddHom.toFun_eq_coe, LinearMap.coe_toAddHom, LinearEquiv.coe_coe, 128 smul_add, map_add, RingHom.id_apply] at hx hy ⊢ 129 rw [hx, hy] } 130 131 set_option maxRecDepth 20000 in 132 theorem theta62_tmul (dt : PresentedWeyl k (n + 1)) (c : K) (a : PresentedWeyl k (n + 1)) : 133 theta62 (N := N) dt (c ⊗ₜ[k] (Submodule.Quotient.mk a : Q k N dt)) = 134 c • Submodule.Quotient.mk (presentedWeylScalarExtension (k := k) (K := K) (n + 1) a) := 135 (step_6_2_quotient_mk dt a c).trans rfl 136 137 /-- `Q_i = qF_i ⊆ Q`. -/ 138 abbrev Qpiece (k : Type u) [Field k] {n : ℕ} (N : ℕ) (dt : PresentedWeyl k (n + 1)) (i : ℕ) : 139 Submodule k (Q k N dt) := 140 cyclicFiltration (orderFiltration k (n + 1)) (qClass k (idealI k N dt)) i 141 142 /-- **Lemma 6.2, proof, first sentence.** By the PBW basis 143 `F_iA_n(K) = F_iA_n(k) ⊗_k K` and `𝓘_K = 𝓘 ⊗_k K`, so `Q_{K,i} = Q_i ⊗_k K`: 144 `θ` maps `K ⊗_k Q_i` onto `Q_{K,i} = qF_iA_n(K)`. -/ 145 theorem step_6_2_pieces (dt : PresentedWeyl k (n + 1)) (i : ℕ) : 146 ((Qpiece k N dt i).baseChange K).map (theta62 (N := N) dt).toLinearMap = 147 Qpiece K N (dtK K dt) i := by 148 set ι := presentedWeylScalarExtension (k := k) (K := K) (n + 1) 149 set F := orderPiece k (n + 1) i 150 have hF : orderPiece K (n + 1) i = Submodule.span K (ι '' F) := by 151 rw [← pbwTensorEquiv_map_orderPiece (k := k) (K := K), Submodule.baseChange_eq_span, 152 Submodule.map_span, Submodule.map_coe, ← Set.image_comp] 153 congr 1 154 ext z 155 simp only [Set.mem_image, Function.comp_apply, TensorProduct.mk_apply, LinearEquiv.coe_coe, 156 pbwTensorEquiv_tmul_one, SetLike.mem_coe] 157 rfl 158 have hR : Qpiece K N (dtK K dt) i = Submodule.span K 159 ((fun a => (Submodule.Quotient.mk (ι a) : Q K N (dtK K dt))) '' F) := by 160 change (orderPiece K (n + 1) i).map (orbitMap (qClass K (idealI K N (dtK K dt)))) = _ 161 rw [hF, Submodule.map_span, ← Set.image_comp] 162 congr 1 163 ext x 164 simp only [Set.mem_image, Function.comp_apply, orbitMap_qClass] 165 have hL : Qpiece k N dt i = Submodule.span k 166 ((fun a => (Submodule.Quotient.mk a : Q k N dt)) '' F) := by 167 calc Qpiece k N dt i = F.map (orbitMap (qClass k (idealI k N dt))) := rfl 168 _ = (Submodule.span k (F : Set (PresentedWeyl k (n + 1)))).map 169 (orbitMap (qClass k (idealI k N dt))) := by rw [Submodule.span_eq] 170 _ = _ := by 171 rw [Submodule.map_span] 172 congr 1 173 ext x 174 simp only [Set.mem_image, orbitMap_qClass] 175 rw [hR, hL, Submodule.baseChange_span, Submodule.map_span, ← Set.image_comp, ← Set.image_comp] 176 congr 1 177 ext x 178 simp [theta62_tmul, ι] 179 180 section Flat 181 182 variable {X : Type*} [AddCommGroup X] [Module k X] 183 184 /-- `K ⊗_k M ≅ M ⊗ K ⊆ K ⊗_k X`: `K` is flat over `k`. -/ 185 def baseChangeSubmoduleEquiv (M : Submodule k X) : 186 K ⊗[k] M ≃ₗ[K] M.baseChange K := 187 LinearEquiv.ofInjective (M.subtype.baseChange K) (by 188 rw [LinearMap.baseChange_eq_ltensor] 189 exact Module.Flat.lTensor_preserves_injective_linearMap _ M.injective_subtype) 190 191 /-- **Flatness of `K/k` on a pair `M' ⊆ M`.** If `θ : K ⊗_k X ≅ Y` carries 192 `K ⊗_k M` onto `P` and `K ⊗_k M'` onto `P'`, then 193 `K ⊗_k (M/M') ≅ P/P'`. -/ 194 def tensorPieceEquiv {Y : Type*} [AddCommGroup Y] [Module K Y] (θ : K ⊗[k] X ≃ₗ[K] Y) 195 (M M' : Submodule k X) (h : M' ≤ M) (P P' : Submodule K Y) 196 (hP : (M.baseChange K).map θ.toLinearMap = P) 197 (hP' : (M'.baseChange K).map θ.toLinearMap = P') : 198 K ⊗[k] (M ⧸ M'.comap M.subtype) ≃ₗ[K] (P ⧸ P'.comap P.subtype) := 199 let e : K ⊗[k] M ≃ₗ[K] P := (baseChangeSubmoduleEquiv M).trans 200 ((θ.submoduleMap _).trans (LinearEquiv.ofEq _ _ hP)) 201 have he : ∀ t, (e t : Y) = θ (M.subtype.baseChange K t) := fun _ => rfl 202 (TensorProduct.AlgebraTensorModule.tensorQuotientEquiv K k K (M'.comap M.subtype)).trans 203 (Submodule.Quotient.equiv _ _ e (by 204 apply le_antisymm 205 · rintro _ ⟨t, ⟨s, rfl⟩, rfl⟩ 206 rw [Submodule.mem_comap, Submodule.coe_subtype, LinearEquiv.coe_coe, he, ← hP'] 207 refine ⟨_, ?_, rfl⟩ 208 induction s using TensorProduct.induction_on with 209 | zero => simp 210 | tmul c x => exact Submodule.tmul_mem_baseChange_of_mem c x.2 211 | add a b ha hb => 212 rw [map_add, map_add] 213 exact Submodule.add_mem _ ha hb 214 · have hR : ∀ w ∈ M'.baseChange K, ∃ t ∈ LinearMap.range 215 (TensorProduct.AlgebraTensorModule.lTensor K K 216 ((M'.comap M.subtype).subtype.restrictScalars k)), 217 M.subtype.baseChange K t = w := by 218 intro w hw 219 rw [Submodule.baseChange_eq_span] at hw 220 induction hw using Submodule.span_induction with 221 | mem x hx => 222 obtain ⟨m', hm', rfl⟩ := hx 223 exact ⟨(1 : K) ⊗ₜ[k] (⟨m', h hm'⟩ : M), 224 ⟨(1 : K) ⊗ₜ[k] ⟨⟨m', h hm'⟩, hm'⟩, rfl⟩, rfl⟩ 225 | zero => exact ⟨0, Submodule.zero_mem _, map_zero _⟩ 226 | add x y _ _ hx hy => 227 obtain ⟨tx, htx, rfl⟩ := hx 228 obtain ⟨ty, hty, rfl⟩ := hy 229 exact ⟨tx + ty, Submodule.add_mem _ htx hty, map_add _ _ _⟩ 230 | smul c x _ hx => 231 obtain ⟨tx, htx, rfl⟩ := hx 232 exact ⟨c • tx, Submodule.smul_mem _ c htx, map_smul _ _ _⟩ 233 rintro z hz 234 rw [Submodule.mem_comap, Submodule.coe_subtype, ← hP'] at hz 235 obtain ⟨w, hw, hwz⟩ := hz 236 obtain ⟨t, ht, htw⟩ := hR w hw 237 refine ⟨t, ht, Subtype.ext ?_⟩ 238 rw [LinearEquiv.coe_coe, he, htw] 239 exact hwz)) 240 241 end Flat 242 243 theorem lowerPiece_Qpiece_baseChange (dt : PresentedWeyl k (n + 1)) (i : ℕ) : 244 ((lowerPiece (Qpiece k N dt) i).baseChange K).map (theta62 (N := N) dt).toLinearMap = 245 lowerPiece (Qpiece K N (dtK K dt)) i := by 246 cases i with 247 | zero => simp [lowerPiece] 248 | succ i => exact step_6_2_pieces dt i 249 250 /-- **Lemma 6.2, proof, second sentence.** As `K` is flat over `k`, 251 `Q_{K,i}/Q_{K,i-1} = (Q_i/Q_{i-1}) ⊗_k K`. -/ 252 def step_6_2_graded_pieces (dt : PresentedWeyl k (n + 1)) (i : ℕ) : 253 K ⊗[k] grPiece (Qpiece k N dt) i ≃ₗ[K] grPiece (Qpiece K N (dtK K dt)) i := 254 tensorPieceEquiv (theta62 (N := N) dt) (Qpiece k N dt i) (lowerPiece (Qpiece k N dt) i) 255 (by 256 cases i with 257 | zero => exact bot_le 258 | succ i => exact (cyclicFiltration_order_isCompatible k _).mono (Nat.le_succ i)) 259 _ _ (step_6_2_pieces dt i) (lowerPiece_Qpiece_baseChange dt i) 260 261 /-- Same sentence: summing over `i`, `gr Q_K = gr Q ⊗_k K` (Definition 2.3, `gr`). -/ 262 def step_6_2_sum (dt : PresentedWeyl k (n + 1)) : 263 K ⊗[k] gr (Qpiece k N dt) ≃ₗ[K] gr (Qpiece K N (dtK K dt)) := 264 (TensorProduct.directSumRight k K K (fun i => grPiece (Qpiece k N dt) i)).trans 265 (DFinsupp.mapRange.linearEquiv fun i => step_6_2_graded_pieces dt i) 266 267 open Stafford38.CharacteristicAssociatedGradedModule in 268 /-- `gr Q_K ≅ K ⊗_k gr Q` (as `K`-modules), assembled from the pieces through 269 `grCyclicEquiv`. -/ 270 def step_6_2_graded (dt : PresentedWeyl k (n + 1)) : 271 K ⊗[k] grQ k N dt ≃ₗ[K] grQ K N (dtK K dt) := 272 (LinearEquiv.baseChange k K _ _ (grCyclicEquiv k (idealI k N dt))).trans 273 ((step_6_2_sum dt).trans (grCyclicEquiv K (idealI K N (dtK K dt))).symm) 274 275 open Stafford38.CharacteristicAssociatedGradedModule in 276 theorem grCyclicEquiv_of {F : Type*} [Field F] {m : ℕ} 277 (I : Stafford38.EulerSurjectivity.RightIdeal (PresentedWeyl F m)) 278 (j : ℕ) (y : orderPiece F m j) : 279 grCyclicEquiv F I (orderAssociatedGradedOf F I j (orderPieceToQuotientGraded F I j y)) = 280 DirectSum.lof F ℕ (grPiece (cyclicFiltration (orderFiltration F m) (qClass F I))) j 281 (Submodule.Quotient.mk ⟨Submodule.Quotient.mk y.1, y.1, y.2, orbitMap_qClass F I y.1⟩) := by 282 simp only [grCyclicEquiv, orderAssociatedGradedOf] 283 erw [DFinsupp.mapRange.linearEquiv_apply, DFinsupp.mapRange_single] 284 rfl 285 286 open Stafford38.CharacteristicAssociatedGradedModule in 287 set_option maxRecDepth 20000 in 288 theorem step_6_2_graded_pieces_mk (dt : PresentedWeyl k (n + 1)) (j : ℕ) (c : K) 289 (y : orderPiece k (n + 1) j) : 290 step_6_2_graded_pieces (N := N) dt j (c ⊗ₜ[k] Submodule.Quotient.mk 291 ⟨Submodule.Quotient.mk y.1, y.1, y.2, orbitMap_qClass k _ y.1⟩) = 292 c • Submodule.Quotient.mk ⟨Submodule.Quotient.mk 293 (presentedWeylScalarExtension (k := k) (K := K) (n + 1) y.1), 294 presentedWeylScalarExtension (k := k) (K := K) (n + 1) y.1, 295 presentedWeylScalarExtension_mem_orderPiece (n + 1) j y.2, 296 orbitMap_qClass K _ _⟩ := by 297 rw [← Submodule.Quotient.mk_smul] 298 change Submodule.Quotient.mk _ = _ 299 congr 1 300 apply Subtype.ext 301 change theta62 (N := N) dt (c ⊗ₜ[k] Submodule.Quotient.mk y.1) = _ 302 rw [theta62_tmul] 303 rfl 304 305 open Stafford38.CharacteristicAssociatedGradedModule in 306 theorem step_6_2_graded_tmul_of (dt : PresentedWeyl k (n + 1)) (j : ℕ) (c : K) 307 (y : orderPiece k (n + 1) j) : 308 step_6_2_graded (N := N) dt (c ⊗ₜ[k] orderAssociatedGradedOf k (idealI k N dt) j 309 (orderPieceToQuotientGraded k (idealI k N dt) j y)) = 310 c • orderAssociatedGradedOf K (idealI K N (dtK K dt)) j 311 (orderPieceToQuotientGraded K (idealI K N (dtK K dt)) j 312 ⟨presentedWeylScalarExtension (k := k) (K := K) (n + 1) y, 313 presentedWeylScalarExtension_mem_orderPiece (n + 1) j y.2⟩) := by 314 simp only [step_6_2_graded, LinearEquiv.trans_apply, LinearEquiv.baseChange_tmul, step_6_2_sum] 315 rw [LinearEquiv.symm_apply_eq, map_smul, grCyclicEquiv_of, grCyclicEquiv_of, 316 TensorProduct.directSumRight_tmul_lof] 317 erw [DFinsupp.mapRange.linearEquiv_apply, DFinsupp.mapRange_single] 318 rw [step_6_2_graded_pieces_mk, ← map_smul] 319 rfl 320 321 open Stafford38.CharacteristicAssociatedGradedModule Stafford38.WeylAssociatedGraded in 322 /-- `gr Q ⊗_k K ≅ gr Q_K` is compatible with `k[x, ξ] → K[x, ξ]`: 323 `1 ⊗ f q̄ ↦ σ(f) q̄_K`. -/ 324 theorem step_6_2_graded_one_tmul_smul (dt : PresentedWeyl k (n + 1)) (h : SymbolRing k (n + 1)) : 325 step_6_2_graded (N := N) dt ((1 : K) ⊗ₜ[k] (h • qBar k (idealI k N dt))) = 326 σ k K n h • qBar K (idealI K N (dtK K dt)) := by 327 classical 328 let _ := MvPolynomial.weightedGradedAlgebra k (@orderWeight (n + 1)) 329 let 𝒜 := MvPolynomial.weightedHomogeneousSubmodule k (@orderWeight (n + 1)) 330 conv_lhs => rw [← DirectSum.sum_support_decompose 𝒜 h] 331 conv_rhs => rw [← DirectSum.sum_support_decompose 𝒜 h] 332 rw [Finset.sum_smul, TensorProduct.tmul_sum, map_sum, map_sum, Finset.sum_smul] 333 refine Finset.sum_congr rfl fun d _ => ?_ 334 obtain ⟨y, hy⟩ := principalComponentOnPiece_surjective k (@orderWeight (n + 1)) 335 (DirectSum.decompose 𝒜 h d) 336 have hy' : ((DirectSum.decompose 𝒜 h d : SymbolRing k (n + 1))) = 337 (principalComponentOnPiece k (@orderWeight (n + 1)) d y : SymbolRing k (n + 1)) := 338 (congrArg Subtype.val hy).symm 339 rw [hy'] 340 have hσ := presentedWeylScalarExtension_principalComponent (k := k) (K := K) (n + 1) 341 (@orderWeight (n + 1)) d (y : PresentedWeyl k (n + 1)) 342 change _ = (symbolScalarExtension (k := k) (K := K) (n + 1) 343 (presentedPrincipalComponent k (@orderWeight (n + 1)) d y)) • 344 qBar K (idealI K N (dtK K dt)) 345 rw [hσ] 346 change step_6_2_graded dt (1 ⊗ₜ[k] (_ • orderAssociatedGradedOf k _ 0 347 (orderPieceToQuotientGraded k _ 0 (orderPieceOne (n := n + 1) k)))) = 348 _ • orderAssociatedGradedOf K _ 0 349 (orderPieceToQuotientGraded K _ 0 (orderPieceOne (n := n + 1) K)) 350 rw [smul_orderAssociatedGradedOf_mk_eq_of_mul] 351 erw [smul_orderAssociatedGradedOf_mk_eq_of_mul K (idealI K N (dtK K dt)) (orderPieceOne K) 352 ⟨presentedWeylScalarExtension (k := k) (K := K) (n + 1) y, 353 presentedWeylScalarExtension_mem_orderPiece (n + 1) d y.2⟩] 354 rw [step_6_2_graded_tmul_of, one_smul] 355 congr 3 356 change presentedWeylScalarExtension (k := k) (K := K) (n + 1) (1 * y) = 1 * _ 357 rw [map_mul, map_one] 358 359 theorem smul_qBar_K_eq (dt : PresentedWeyl k (n + 1)) (c : K) (h : SymbolRing k (n + 1)) : 360 step_6_2_graded (N := N) dt (c ⊗ₜ[k] (h • qBar k (idealI k N dt))) = 361 (c • σ k K n h) • qBar K (idealI K N (dtK K dt)) := by 362 rw [show c ⊗ₜ[k] (h • qBar k (idealI k N dt)) = c • ((1 : K) ⊗ₜ[k] (h • qBar k _)) by 363 rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one], map_smul, step_6_2_graded_one_tmul_smul, 364 smul_assoc] 365 366 /-- **Lemma 6.2, proof, third sentence.** `gr Q` is finitely generated (cyclic, 367 generated by `q̄`) over `k[x, ξ]`, and `k[x, ξ] → K[x, ξ] = K ⊗_k k[x, ξ]` is flat, 368 so the annihilator commutes with the base change (Stacks 07T8): through 369 `gr Q_K ≅ K ⊗_k gr Q`, `Ann_{K[x,ξ]} gr Q_K = (Ann_{k[x,ξ]} gr Q) K[x,ξ]`. (For the 370 cyclic module the 07T8 argument is spelled out: write `g ∈ K[x, ξ]` as 371 `∑ b_λ σ(f_λ)` for a `k`-basis `b` of `K`.) -/ 372 theorem step_6_2_annihilator (dt : PresentedWeyl k (n + 1)) : 373 Module.annihilator (SymbolRing K (n + 1)) (grQ K N (dtK K dt)) = 374 (Module.annihilator (SymbolRing k (n + 1)) (grQ k N dt)).map (σ k K n) := by 375 classical 376 let I := idealI k N dt 377 let IK := idealI K N (dtK K dt) 378 apply le_antisymm 379 · intro g hg 380 let b := Module.Basis.ofVectorSpace k K 381 let t := (MvPolynomial.algebraTensorAlgEquiv k K).symm g 382 let c := TensorProduct.equivFinsuppOfBasisLeft b t 383 have ht : t = c.sum fun l f => b l ⊗ₜ[k] f := by 384 rw [← (TensorProduct.equivFinsuppOfBasisLeft b).symm_apply_apply t] 385 change (TensorProduct.equivFinsuppOfBasisLeft b).symm.toLinearMap c = _ 386 rw [TensorProduct.equivFinsuppOfBasisLeft_symm] 387 simp [Finsupp.lsum_apply] 388 rfl 389 have hg' : g = c.sum fun l f => b l • σ k K n f := by 390 rw [← (MvPolynomial.algebraTensorAlgEquiv k K).apply_symm_apply g] 391 change MvPolynomial.algebraTensorAlgEquiv k K t = _ 392 rw [ht, Finsupp.sum, map_sum] 393 simp [Finsupp.sum, MvPolynomial.algebraTensorAlgEquiv_tmul] 394 have hzero : step_6_2_graded (K := K) (N := N) dt (c.sum fun l f => b l ⊗ₜ[k] (f • qBar k I)) = 0 := by 395 rw [Finsupp.sum, map_sum, 396 Finset.sum_congr rfl fun l _ => smul_qBar_K_eq (N := N) dt (b l) (c l), 397 ← Finset.sum_smul] 398 have := Module.mem_annihilator.mp hg (qBar K IK) 399 rw [hg', Finsupp.sum] at this 400 exact this 401 rw [← map_zero (step_6_2_graded (K := K) (N := N) dt)] at hzero 402 have hc := (step_6_2_graded (K := K) (N := N) dt).injective hzero 403 have hmap : (c.mapRange (fun f => f • qBar k I) (zero_smul _ _)) = 0 := by 404 apply TensorProduct.sum_tmul_basis_left_eq_zero b 405 rw [Finsupp.sum_mapRange_index (fun _ => TensorProduct.tmul_zero _ _)] 406 exact hc 407 have hann : ∀ l, c l ∈ Module.annihilator (SymbolRing k (n + 1)) (grQ k N dt) := by 408 intro l 409 have hl := congrArg (· l) hmap 410 simp only [Finsupp.mapRange_apply, Finsupp.coe_zero, Pi.zero_apply] at hl 411 rw [Module.mem_annihilator] 412 intro m 413 obtain ⟨f, rfl⟩ := grCyclic_generated k I m 414 rw [smul_comm, hl, smul_zero] 415 rw [hg', Finsupp.sum] 416 refine Submodule.sum_mem _ fun l _ => ?_ 417 rw [Algebra.smul_def] 418 exact Ideal.mul_mem_left _ _ (Ideal.mem_map_of_mem _ (hann l)) 419 · rw [Ideal.map_le_iff_le_comap] 420 intro f hf 421 rw [Ideal.mem_comap, Module.mem_annihilator] 422 intro y 423 obtain ⟨t, rfl⟩ := (step_6_2_graded (K := K) (N := N) dt).surjective y 424 induction t using TensorProduct.induction_on with 425 | zero => rw [map_zero, smul_zero] 426 | tmul c m => 427 obtain ⟨h, rfl⟩ := grCyclic_generated k I m 428 rw [smul_qBar_K_eq, smul_smul, mul_comm, ← smul_smul, 429 ← step_6_2_graded_one_tmul_smul, Module.mem_annihilator.mp hf, TensorProduct.tmul_zero, 430 map_zero, smul_zero] 431 | add x y hx hy => rw [map_add, smul_add, hx, hy, add_zero] 432 433 /-- `Q = 0 ⇔ Q_K = 0`: `Q ⊗_k K = 0` implies `Q = 0` because `K` is a nonzero 434 free (so faithfully flat) `k`-module. -/ 435 theorem step_6_2_vanishing {n N : ℕ} (dt : PresentedWeyl k (n + 1)) : 436 Subsingleton (Q k N dt) ↔ Subsingleton (Q K N (dtK K dt)) := by 437 constructor 438 · intro h 439 have : Subsingleton (Q k N dt ⊗[k] K) := inferInstance 440 exact (step_6_2_quotient (K := K) dt).toEquiv.symm.subsingleton 441 · intro h 442 have : Subsingleton (Q k N dt ⊗[k] K) := (step_6_2_quotient (K := K) dt).toEquiv.subsingleton 443 exact Module.FaithfullyFlat.rTensor_reflects_triviality k K (Q k N dt) 444 445 /-- `Char(Q_K)` is the preimage of `Char(Q)` under 446 `Spec K[x,ξ] → Spec k[x,ξ]`. -/ 447 theorem step_6_2_char {n N : ℕ} (dt : PresentedWeyl k (n + 1)) : 448 Section2.Char K (idealI K N (dtK K dt)) = 449 PrimeSpectrum.comap (σ k K n) ⁻¹' Section2.Char k (idealI k N dt) := by 450 rw [Section2.Char_eq, Section2.Char_eq, V, V, PrimeSpectrum.preimage_comap_zeroLocus, 451 step_6_2_annihilator, Ideal.map, PrimeSpectrum.zeroLocus_span] 452 453 /-- **Lemma 6.2.** Let `K/k` be a field extension, `𝓘_K = d̃A_n(K) + x₁^N d̃A_n(K)` 454 and `Q_K = Q ⊗_k K = A_n(K)/𝓘_K` with the order filtration 455 `Q_{K,i} = qF_iA_n(K)`. Then `gr Q_K ≅ gr Q ⊗_k K` (as `K`-modules; Lean writes the factor `K` on 456 the left, `K ⊗_k gr Q`), 457 `Ann_{K[x,ξ]} gr Q_K = (Ann_{k[x,ξ]} gr Q) K[x,ξ]`, and `Q = 0 ⇔ Q_K = 0`. 458 In particular, `Char(Q_K)` is the preimage of `Char(Q)` under 459 `Spec K[x,ξ] → Spec k[x,ξ]`. -/ 460 theorem lemma_6_2 {n N : ℕ} (dt : PresentedWeyl k (n + 1)) : 461 Nonempty (grQ K N (dtK K dt) ≃ₗ[K] K ⊗[k] grQ k N dt) ∧ 462 Module.annihilator (SymbolRing K (n + 1)) (grQ K N (dtK K dt)) = 463 (Module.annihilator (SymbolRing k (n + 1)) (grQ k N dt)).map (σ k K n) ∧ 464 (Subsingleton (Q k N dt) ↔ Subsingleton (Q K N (dtK K dt))) ∧ 465 Section2.Char K (idealI K N (dtK K dt)) = 466 PrimeSpectrum.comap (σ k K n) ⁻¹' Section2.Char k (idealI k N dt) := 467 ⟨⟨(step_6_2_graded (K := K) dt).symm⟩, 468 step_6_2_annihilator dt, step_6_2_vanishing dt, step_6_2_char dt⟩ 469 470 #print axioms step_6_2_ideal 471 #print axioms step_6_2_quotient 472 #print axioms step_6_2_annihilator 473 #print axioms step_6_2_quotient_mk 474 #print axioms step_6_2_pieces 475 #print axioms tensorPieceEquiv 476 #print axioms step_6_2_graded_pieces 477 #print axioms step_6_2_sum 478 #print axioms step_6_2_graded 479 #print axioms step_6_2_graded_tmul_of 480 #print axioms step_6_2_graded_one_tmul_smul 481 #print axioms step_6_2_vanishing 482 #print axioms step_6_2_char 483 #print axioms lemma_6_2 484 485 end 486 487 end Stafford38.Paper.Section6 488