This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.MathlibCompat.MvPolynomialCoeff 3 public import Stafford38.Characteristic.FilteredQuotientSupport 4 public import Mathlib.RingTheory.Ideal.Colon 5 6 @[expose] public section 7 8 /-! 9 # The symbol-ring module on the actual associated graded quotient 10 11 The filtered quotient construction already gives the actual degree pieces of 12 `A / I`, their external direct sum, and an exact global symbol map whose kernel 13 is `orderInitialIdeal`. This file uses that exact bridge to put the genuine 14 `SymbolRing`-module structure on a dedicated copy of the actual associated 15 graded object. 16 17 The construction is not merely additive: the resulting module is linearly 18 equivalent over `SymbolRing` to its cyclic quotient by `orderInitialIdeal`, and 19 its annihilator is proved equal (not merely comparable) to that ideal. No 20 Rees algebra, radical involutivity, or Gabber theorem is asserted here. 21 -/ 22 23 namespace Stafford38.CharacteristicAssociatedGradedModule 24 25 open Stafford38.Characteristic 26 open Stafford38.CharacteristicFilteredQuotient 27 open Stafford38.CharacteristicFilteredQuotientGraded 28 open Stafford38.CharacteristicFilteredQuotientSupport 29 open Stafford38.CharacteristicInitialIdeal 30 open Stafford38.EulerSurjectivity 31 open Stafford38.WeylFiltration 32 open Stafford38.WeylIteratedEquivalence 33 open Stafford38.WeylLeadingSymbol 34 open Stafford38.WeylAssociatedGraded 35 open Stafford38.WeylPBW 36 37 noncomputable section 38 39 universe u 40 41 variable (k : Type u) [Field k] 42 variable {n : ℕ} 43 44 local instance orderGradedAlgebraInstance : 45 GradedAlgebra 46 (Stafford38.CharacteristicInitialIdealHomogeneous.orderDecomposition 47 (n := n) k) := 48 MvPolynomial.weightedGradedAlgebra k (@orderWeight n) 49 50 /-- A dedicated type for the actual external direct sum of the order-filtered 51 quotient pieces. The new type keeps the symbol-ring action introduced below 52 from creating an instance on the underlying `DirectSum` globally. -/ 53 def OrderAssociatedGradedModule 54 (I : RightIdeal (PresentedWeyl k n)) := 55 QuotientOrderAssociatedGraded k I 56 57 instance (I : RightIdeal (PresentedWeyl k n)) : AddCommGroup 58 (OrderAssociatedGradedModule k I) := 59 inferInstanceAs (AddCommGroup (QuotientOrderAssociatedGraded k I)) 60 61 instance (I : RightIdeal (PresentedWeyl k n)) : Module k 62 (OrderAssociatedGradedModule k I) := 63 inferInstanceAs (Module k (QuotientOrderAssociatedGraded k I)) 64 65 /-- The exact additive identification of the actual associated graded object 66 with the cyclic symbol quotient. -/ 67 def orderAssociatedGradedAddEquivCharacteristic 68 (I : RightIdeal (PresentedWeyl k n)) : 69 OrderAssociatedGradedModule k I ≃+ 70 OrderCharacteristicModule k I := 71 quotientOrderAssociatedGradedAddEquivCharacteristic k I 72 73 /-- The change from the quotient by the restricted `k`-submodule to the 74 ideal quotient is also `k`-linear. -/ 75 def restrictScalarsQuotientLinearEquiv 76 (I : RightIdeal (PresentedWeyl k n)) : 77 (SymbolRing k n ⧸ (orderInitialIdeal k I).restrictScalars k) ≃ₗ[k] 78 OrderCharacteristicModule k I := 79 { restrictScalarsQuotientAddEquiv k I with 80 map_smul' := by 81 intro c q 82 refine Submodule.Quotient.induction_on _ q ?_ 83 intro P 84 rfl } 85 86 @[simp] theorem restrictScalarsQuotientLinearEquiv_mk 87 (I : RightIdeal (PresentedWeyl k n)) (P : SymbolRing k n) : 88 restrictScalarsQuotientLinearEquiv k I 89 (Submodule.Quotient.mk P) = 90 Ideal.Quotient.mk (orderInitialIdeal k I) P := 91 rfl 92 93 /-- Before adding the full symbol action, the global identification is the 94 existing `k`-linear equivalence. -/ 95 def orderAssociatedGradedLinearEquivCharacteristicOverBase 96 (I : RightIdeal (PresentedWeyl k n)) : 97 OrderAssociatedGradedModule k I ≃ₗ[k] 98 OrderCharacteristicModule k I := 99 quotientOrderAssociatedGradedEquivCharacteristic k I ≪≫ₗ 100 restrictScalarsQuotientLinearEquiv k I 101 102 /-- The symbol-ring action transported through the exact global symbol map. -/ 103 noncomputable instance (I : RightIdeal (PresentedWeyl k n)) : 104 Module (SymbolRing k n) (OrderAssociatedGradedModule k I) := 105 (orderAssociatedGradedAddEquivCharacteristic k I).module (SymbolRing k n) 106 107 /-- The transported symbol action restricts to the original coefficient-field 108 action on the actual associated graded pieces. -/ 109 noncomputable instance (I : RightIdeal (PresentedWeyl k n)) : 110 IsScalarTower k (SymbolRing k n) (OrderAssociatedGradedModule k I) := 111 LinearEquiv.isScalarTower (A := SymbolRing k n) 112 (orderAssociatedGradedLinearEquivCharacteristicOverBase k I) 113 114 /-- The actual associated graded quotient is a genuine module over the symbol 115 ring, linearly equivalent over that ring to the cyclic quotient by the order 116 initial ideal. -/ 117 def orderAssociatedGradedLinearEquivCharacteristic 118 (I : RightIdeal (PresentedWeyl k n)) : 119 OrderAssociatedGradedModule k I ≃ₗ[SymbolRing k n] 120 OrderCharacteristicModule k I := 121 { orderAssociatedGradedAddEquivCharacteristic k I with 122 map_smul' := by 123 intro P q 124 change orderAssociatedGradedAddEquivCharacteristic k I 125 ((orderAssociatedGradedAddEquivCharacteristic k I).symm 126 (P • orderAssociatedGradedAddEquivCharacteristic k I q)) = 127 P • orderAssociatedGradedAddEquivCharacteristic k I q 128 exact (orderAssociatedGradedAddEquivCharacteristic k I).apply_symm_apply _ } 129 130 /-- Insert one actual order-graded quotient piece into the global direct sum. -/ 131 def orderAssociatedGradedOf 132 (I : RightIdeal (PresentedWeyl k n)) (N : ℕ) 133 (q : QuotientOrderGradedPiece k I N) : 134 OrderAssociatedGradedModule k I := 135 DirectSum.of (fun N => QuotientOrderGradedPiece k I N) N q 136 137 private theorem orderCharacteristicModuleEquivRelationGraded_mk 138 (I : RightIdeal (PresentedWeyl k n)) (P : SymbolRing k n) : 139 orderCharacteristicModuleEquivRelationGraded k I 140 (Submodule.Quotient.mk P) = 141 symbolToOrderRelationGraded k I P := by 142 rfl 143 144 /-- The global characteristic equivalence sends the class of a filtered 145 representative in degree `N` to the class of its degree-`N` principal symbol. 146 This is the commuting-square statement that connects the transported module 147 to the actual filtered quotient pieces. -/ 148 theorem orderAssociatedGradedLinearEquivCharacteristic_of_mk 149 (I : RightIdeal (PresentedWeyl k n)) (N : ℕ) 150 (z : orderPiece k n N) : 151 orderAssociatedGradedLinearEquivCharacteristic k I 152 (orderAssociatedGradedOf k I N 153 (orderPieceToQuotientGraded k I N z)) = 154 Ideal.Quotient.mk (orderInitialIdeal k I) 155 (presentedPrincipalComponent k orderWeight N z) := by 156 change restrictScalarsQuotientLinearEquiv k I 157 (quotientOrderAssociatedGradedEquivCharacteristic k I 158 (orderAssociatedGradedOf k I N 159 (orderPieceToQuotientGraded k I N z))) = _ 160 have hsource : 161 quotientOrderAssociatedGradedEquivCharacteristic k I 162 (orderAssociatedGradedOf k I N 163 (orderPieceToQuotientGraded k I N z)) = 164 Submodule.Quotient.mk 165 (presentedPrincipalComponent k orderWeight N z) := by 166 have htrans := LinearEquiv.trans_apply 167 (e₁₂ := quotientOrderAssociatedGradedEquivSymbols k I) 168 (e₂₃ := (orderCharacteristicModuleEquivRelationGraded k I).symm) 169 (orderAssociatedGradedOf k I N (orderPieceToQuotientGraded k I N z)) 170 rw [quotientOrderAssociatedGradedEquivCharacteristic, htrans] 171 apply (orderCharacteristicModuleEquivRelationGraded k I).injective 172 rw [LinearEquiv.apply_symm_apply] 173 apply DFinsupp.ext 174 intro M 175 rw [orderCharacteristicModuleEquivRelationGraded_mk] 176 rw [symbolToOrderRelationGraded_apply] 177 change 178 ((DFinsupp.mapRange.linearEquiv fun L => 179 quotientOrderGradedPieceEquivSymbols k I L) 180 (DirectSum.of (fun L => QuotientOrderGradedPiece k I L) N 181 (orderPieceToQuotientGraded k I N z))) M = 182 Submodule.Quotient.mk 183 ((DirectSum.decompose 184 (MvPolynomial.weightedHomogeneousSubmodule k (@orderWeight n)) 185 (principalComponentOnPiece k (@orderWeight n) N z : 186 SymbolRing k n)) M) 187 rw [DFinsupp.mapRange.linearEquiv_apply, DirectSum.decompose_coe] 188 change quotientOrderGradedPieceEquivSymbols k I M 189 ((DirectSum.of (fun L => QuotientOrderGradedPiece k I L) N 190 (orderPieceToQuotientGraded k I N z)) M) = 191 Submodule.Quotient.mk 192 ((DirectSum.of (fun L => 193 MvPolynomial.weightedHomogeneousSubmodule k (@orderWeight n) L) N 194 (principalComponentOnPiece k (@orderWeight n) N z)) M) 195 by_cases hMN : N = M 196 · subst M 197 rw [DirectSum.of_eq_same, DirectSum.of_eq_same, 198 quotientOrderGradedPieceEquivSymbols_mk] 199 · rw [DirectSum.of_eq_of_ne _ _ _ (Ne.symm hMN), 200 DirectSum.of_eq_of_ne _ _ _ (Ne.symm hMN)] 201 rw [(quotientOrderGradedPieceEquivSymbols k I M).map_zero] 202 exact (Submodule.Quotient.mk_zero _).symm 203 calc 204 _ = restrictScalarsQuotientLinearEquiv k I 205 (Submodule.Quotient.mk 206 (presentedPrincipalComponent k orderWeight N z)) := 207 congrArg (restrictScalarsQuotientLinearEquiv k I) hsource 208 _ = _ := restrictScalarsQuotientLinearEquiv_mk k I _ 209 210 private theorem symbol_smul_characteristicModule_mk 211 (I : RightIdeal (PresentedWeyl k n)) (P Q : SymbolRing k n) : 212 P • Ideal.Quotient.mk (orderInitialIdeal k I) Q = 213 Ideal.Quotient.mk (orderInitialIdeal k I) (P * Q) := by 214 change P • (Submodule.Quotient.mk Q : 215 SymbolRing k n ⧸ 216 (orderInitialIdeal k I : Submodule (SymbolRing k n) (SymbolRing k n))) = 217 Submodule.Quotient.mk (P * Q) 218 rw [← Submodule.Quotient.mk_smul 219 (orderInitialIdeal k I : Submodule (SymbolRing k n) (SymbolRing k n)) 220 P Q] 221 rfl 222 223 /-- Multiplication by a homogeneous symbol on the transported global module 224 is exactly the canonical degree-shifting action on the actual quotient graded 225 piece. The right side is the action constructed from right multiplication in 226 the filtered Weyl quotient, not a second transported definition. -/ 227 theorem smul_orderAssociatedGradedOf_eq_of_homogeneousAction 228 (I : RightIdeal (PresentedWeyl k n)) {N M : ℕ} 229 (P : MvPolynomial.weightedHomogeneousSubmodule k (@orderWeight n) M) 230 (q : QuotientOrderGradedPiece k I N) : 231 (P : SymbolRing k n) • orderAssociatedGradedOf k I N q = 232 orderAssociatedGradedOf k I (N + M) 233 (quotientOrderHomogeneousAction k I P q) := by 234 obtain ⟨z, rfl⟩ := orderPieceToQuotientGraded_surjective k I N q 235 obtain ⟨y, hy⟩ := 236 principalComponentOnPiece_surjective k (@orderWeight n) P 237 subst P 238 apply (orderAssociatedGradedLinearEquivCharacteristic k I).injective 239 rw [map_smul, orderAssociatedGradedLinearEquivCharacteristic_of_mk, 240 quotientOrderHomogeneousAction_mk_mul, 241 orderAssociatedGradedLinearEquivCharacteristic_of_mk, 242 symbol_smul_characteristicModule_mk] 243 apply congrArg (Ideal.Quotient.mk (orderInitialIdeal k I)) 244 rw [presentedPrincipalComponent_mul_order k z.property y.property] 245 exact mul_comm _ _ 246 247 /-- Representative form of homogeneous compatibility: the symbol of `y` 248 acting on the degree-`N` class of `z` is the degree-`N+M` class represented by 249 the written-order Weyl product `z * y`. -/ 250 theorem smul_orderAssociatedGradedOf_mk_eq_of_mul 251 (I : RightIdeal (PresentedWeyl k n)) {N M : ℕ} 252 (z : orderPiece k n N) (y : orderPiece k n M) : 253 (principalComponentOnPiece k (@orderWeight n) M y : SymbolRing k n) • 254 orderAssociatedGradedOf k I N 255 (orderPieceToQuotientGraded k I N z) = 256 orderAssociatedGradedOf k I (N + M) 257 (orderPieceToQuotientGraded k I (N + M) 258 ⟨(z : PresentedWeyl k n) * y, 259 mul_mem_orderPiece k z.property y.property⟩) := by 260 rw [smul_orderAssociatedGradedOf_eq_of_homogeneousAction, 261 quotientOrderHomogeneousAction_mk_mul] 262 263 /-- The unit operator belongs to the degree-zero order piece. -/ 264 def orderPieceOne : orderPiece k n 0 := 265 ⟨1, by 266 rw [orderPiece, mem_presentedWeightPiece] 267 intro m hm 268 rw [presentedNormalFormLinearEquiv_one] at hm 269 have hm0 : m = 0 := by 270 symm 271 simpa [MvPolynomial.coeff_one] using hm 272 subst m 273 simp [monomialWeight]⟩ 274 275 @[simp] theorem presentedPrincipalComponent_orderPieceOne : 276 presentedPrincipalComponent k (@orderWeight n) 0 277 (orderPieceOne (n := n) k) = 1 := by 278 change presentedPrincipalComponent k (@orderWeight n) 0 279 (1 : PresentedWeyl k n) = 1 280 rw [presentedPrincipalComponent, LinearMap.comp_apply, 281 LinearEquiv.coe_toLinearMap, presentedNormalFormLinearEquiv_one] 282 conv_lhs => rw [show (1 : SymbolRing k n) = 283 MvPolynomial.monomial 0 1 by simp] 284 rw [weightedHomogeneousComponent_monomial] 285 simp [monomialWeight] 286 287 /-- The literal degree-zero class of the unit operator in the actual filtered 288 quotient. -/ 289 def orderAssociatedGradedOneClass 290 (I : RightIdeal (PresentedWeyl k n)) : 291 OrderAssociatedGradedModule k I := 292 orderAssociatedGradedOf k I 0 293 (orderPieceToQuotientGraded k I 0 (orderPieceOne (n := n) k)) 294 295 /-- The distinguished cyclic vector corresponding to the class of `1` in the 296 symbol quotient. -/ 297 def orderAssociatedGradedGenerator 298 (I : RightIdeal (PresentedWeyl k n)) : 299 OrderAssociatedGradedModule k I := 300 (orderAssociatedGradedLinearEquivCharacteristic k I).symm 1 301 302 @[simp] theorem orderAssociatedGradedLinearEquivCharacteristic_generator 303 (I : RightIdeal (PresentedWeyl k n)) : 304 orderAssociatedGradedLinearEquivCharacteristic k I 305 (orderAssociatedGradedGenerator k I) = 1 := 306 (orderAssociatedGradedLinearEquivCharacteristic k I).apply_symm_apply 1 307 308 /-- The transported cyclic generator is not an abstract chosen preimage: it 309 is exactly the degree-zero class of the unit filtered representative. -/ 310 theorem orderAssociatedGradedGenerator_eq_oneClass 311 (I : RightIdeal (PresentedWeyl k n)) : 312 orderAssociatedGradedGenerator k I = 313 orderAssociatedGradedOneClass k I := by 314 apply (orderAssociatedGradedLinearEquivCharacteristic k I).injective 315 rw [orderAssociatedGradedLinearEquivCharacteristic_generator, 316 orderAssociatedGradedOneClass, 317 orderAssociatedGradedLinearEquivCharacteristic_of_mk, 318 presentedPrincipalComponent_orderPieceOne] 319 exact (Ideal.Quotient.mk (orderInitialIdeal k I)).map_one 320 321 private theorem symbol_smul_one_characteristicModule 322 (I : RightIdeal (PresentedWeyl k n)) (P : SymbolRing k n) : 323 P • (1 : OrderCharacteristicModule k I) = 324 Ideal.Quotient.mk (orderInitialIdeal k I) P := by 325 rw [← (Ideal.Quotient.mk (orderInitialIdeal k I)).map_one] 326 change P • (Submodule.Quotient.mk (1 : SymbolRing k n) : 327 SymbolRing k n ⧸ 328 (orderInitialIdeal k I : Submodule (SymbolRing k n) (SymbolRing k n))) = 329 Submodule.Quotient.mk P 330 rw [← Submodule.Quotient.mk_smul 331 (orderInitialIdeal k I : Submodule (SymbolRing k n) (SymbolRing k n)) 332 P (1 : SymbolRing k n)] 333 simp 334 335 /-- Every element of the actual associated graded quotient is a symbol 336 multiple of the distinguished generator. -/ 337 theorem exists_smul_orderAssociatedGradedGenerator 338 (I : RightIdeal (PresentedWeyl k n)) 339 (q : OrderAssociatedGradedModule k I) : 340 ∃ P : SymbolRing k n, P • orderAssociatedGradedGenerator k I = q := by 341 obtain ⟨P, hP⟩ := Ideal.Quotient.mk_surjective 342 (orderAssociatedGradedLinearEquivCharacteristic k I q) 343 refine ⟨P, ?_⟩ 344 apply (orderAssociatedGradedLinearEquivCharacteristic k I).injective 345 rw [map_smul, orderAssociatedGradedLinearEquivCharacteristic_generator] 346 rw [symbol_smul_one_characteristicModule] 347 exact hP 348 349 /-- A symbol kills the cyclic generator exactly when it belongs to the order 350 initial ideal. This is the elementwise form of the exact annihilator theorem. -/ 351 theorem smul_orderAssociatedGradedGenerator_eq_zero_iff 352 (I : RightIdeal (PresentedWeyl k n)) (P : SymbolRing k n) : 353 P • orderAssociatedGradedGenerator k I = 0 ↔ 354 P ∈ orderInitialIdeal k I := by 355 rw [← Ideal.Quotient.eq_zero_iff_mem] 356 constructor 357 · intro h 358 have h' : P • (1 : OrderCharacteristicModule k I) = 0 := by 359 simpa only [map_smul, 360 orderAssociatedGradedLinearEquivCharacteristic_generator, map_zero] 361 using congrArg (orderAssociatedGradedLinearEquivCharacteristic k I) h 362 rw [symbol_smul_one_characteristicModule] at h' 363 exact h' 364 · intro h 365 apply (orderAssociatedGradedLinearEquivCharacteristic k I).injective 366 rw [map_smul, orderAssociatedGradedLinearEquivCharacteristic_generator, 367 map_zero] 368 rw [symbol_smul_one_characteristicModule] 369 exact h 370 371 /-- The annihilator of the actual associated graded quotient is exactly the 372 order initial ideal. -/ 373 theorem annihilator_orderAssociatedGradedModule 374 (I : RightIdeal (PresentedWeyl k n)) : 375 Module.annihilator (SymbolRing k n) (OrderAssociatedGradedModule k I) = 376 orderInitialIdeal k I := by 377 rw [(orderAssociatedGradedLinearEquivCharacteristic k I).annihilator_eq] 378 exact Ideal.annihilator_quotient 379 380 #print axioms orderAssociatedGradedLinearEquivCharacteristic 381 #print axioms orderAssociatedGradedLinearEquivCharacteristicOverBase 382 #print axioms orderAssociatedGradedLinearEquivCharacteristic_of_mk 383 #print axioms smul_orderAssociatedGradedOf_eq_of_homogeneousAction 384 #print axioms smul_orderAssociatedGradedOf_mk_eq_of_mul 385 #print axioms orderAssociatedGradedGenerator_eq_oneClass 386 #print axioms exists_smul_orderAssociatedGradedGenerator 387 #print axioms smul_orderAssociatedGradedGenerator_eq_zero_iff 388 #print axioms annihilator_orderAssociatedGradedModule 389 390 end 391 392 end Stafford38.CharacteristicAssociatedGradedModule 393