This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Weyl.EulerRemainder 3 4 @[expose] public section 5 6 /-! 7 # The paper's Euler grading and the concrete Euler subring 8 9 The pair-stage PBW monomial `b * x^a * p^c` has Euler weight `a-c` for 10 `E = x*p`. The nonnegative part is generated by the nonnegative PBW 11 monomials, and is exactly the subring generated by the transverse algebra, 12 `x`, and `E` used by the quotient argument. 13 -/ 14 15 namespace Stafford38.PaperEulerGrading 16 17 open Stafford 18 open AlgebraicAnalysis 19 open Stafford38.OreCoordinateStage 20 open Stafford38.OrePairStage 21 open Stafford38.WeylEulerSubring 22 open Stafford38.WeylEulerRemainder 23 open Stafford38.WeylEulerResidue 24 open Stafford38.EulerSurjectivity 25 26 noncomputable section 27 28 variable (B : Type*) [Ring B] [Algebra ℚ B] 29 30 local instance : Algebra ℚ (CoordinateStage (B := B)) := 31 coordinateStageAlgebra 32 33 local instance : Algebra ℚ (PairStage (B := B)) := 34 pairStageAlgebra 35 36 abbrev eulerElement : PairStage (B := B) := 37 pairCoordinate * pairMomentum 38 39 /-- The commutator operator `ad_E`, with the paper's `E = x*p`. -/ 40 def eulerAdjoint (z : PairStage (B := B)) : PairStage (B := B) := 41 eulerElement B * z - z * eulerElement B 42 43 omit [Algebra ℚ B] in 44 lemma eulerElement_mul_coefficient (b : B) : 45 eulerElement B * pairCoefficient b = pairCoefficient b * eulerElement B := by 46 dsimp [eulerElement] 47 calc 48 (pairCoordinate * pairMomentum) * pairCoefficient b = 49 pairCoordinate * (pairMomentum * pairCoefficient b) := by rw [mul_assoc] 50 _ = pairCoordinate * (pairCoefficient b * pairMomentum) := by 51 rw [pairMomentum_mul_coefficient] 52 _ = (pairCoordinate * pairCoefficient b) * pairMomentum := by 53 rw [← mul_assoc] 54 _ = (pairCoefficient b * pairCoordinate) * pairMomentum := by 55 rw [pairCoordinate_mul_coefficient] 56 _ = pairCoefficient b * (pairCoordinate * pairMomentum) := by 57 rw [mul_assoc] 58 59 omit [Algebra ℚ B] in 60 lemma eulerAdjoint_coordinate : 61 eulerAdjoint B (pairCoordinate (B := B)) = pairCoordinate := by 62 dsimp [eulerAdjoint, eulerElement] 63 rw [mul_assoc, pairMomentum_mul_coordinate] 64 noncomm_ring 65 66 omit [Algebra ℚ B] in 67 lemma eulerAdjoint_momentum : 68 eulerAdjoint B (pairMomentum (B := B)) = -pairMomentum := by 69 dsimp [eulerAdjoint, eulerElement] 70 rw [← mul_assoc, pairMomentum_mul_coordinate] 71 noncomm_ring 72 73 omit [Algebra ℚ B] in 74 lemma eulerAdjoint_mul (u v : PairStage (B := B)) : 75 eulerAdjoint B (u * v) = eulerAdjoint B u * v + u * eulerAdjoint B v := by 76 dsimp [eulerAdjoint] 77 noncomm_ring 78 79 omit [Algebra ℚ B] in 80 lemma eulerAdjoint_coordinate_pow (a : ℕ) : 81 eulerAdjoint B (pairCoordinate (B := B) ^ a) = 82 (a : ℕ) • pairCoordinate ^ a := by 83 induction a with 84 | zero => simp [eulerAdjoint] 85 | succ a ih => 86 rw [pow_succ, eulerAdjoint_mul, ih, eulerAdjoint_coordinate] 87 simp only [nsmul_eq_mul, Nat.cast_succ] 88 noncomm_ring 89 90 set_option maxHeartbeats 800000 in 91 omit [Algebra ℚ B] in 92 lemma eulerAdjoint_momentum_pow (c : ℕ) : 93 eulerAdjoint B (pairMomentum (B := B) ^ c) = 94 -((c : ℕ) • pairMomentum ^ c) := by 95 induction c with 96 | zero => simp [eulerAdjoint] 97 | succ c ih => 98 rw [pow_succ, eulerAdjoint_mul, ih, eulerAdjoint_momentum] 99 simp only [nsmul_eq_mul, Nat.cast_succ] 100 noncomm_ring 101 102 omit [Algebra ℚ B] in 103 lemma eulerAdjoint_coefficient (b : B) : 104 eulerAdjoint B (pairCoefficient b) = 0 := by 105 unfold eulerAdjoint 106 rw [eulerElement_mul_coefficient] 107 simp 108 109 set_option maxHeartbeats 800000 in 110 omit [Algebra ℚ B] in 111 theorem orderedPBWMonomial_eulerWeight (b : B) (a c : ℕ) : 112 eulerAdjoint B 113 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ c) = 114 ((a : ℤ) - c) • 115 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ c) := by 116 rw [eulerAdjoint_mul, eulerAdjoint_mul, eulerAdjoint_coefficient, 117 eulerAdjoint_coordinate_pow, eulerAdjoint_momentum_pow] 118 simp only [zero_mul, zero_add] 119 rw [natCast_sub_natCast_zsmul] 120 simp only [mul_smul_comm, smul_mul_assoc, mul_neg] 121 abel 122 123 /-! The PBW monomials with nonnegative Euler weight give a concrete generating 124 set for the existing transverse–Euler subring. Keep the PBW description as a 125 theorem, so there is only one subring owner. -/ 126 127 def nonnegativeEulerPBWMonomials : Set (PairStage (B := B)) := 128 {z | ∃ b a c, c ≤ a ∧ 129 z = pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ c} 130 131 /-- Canonical nonnegative Euler part: the existing transverse–Euler subring. -/ 132 abbrev pbwNonnegativeEulerPart : Subring (PairStage (B := B)) := 133 pairEulerSubring B 134 135 lemma orderedPBWMonomial_mem_nonnegativeEulerPart 136 (b : B) (a c : ℕ) (hca : c ≤ a) : 137 pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ c ∈ 138 pbwNonnegativeEulerPart B := by 139 exact pairOrderedMonomial_mem_eulerSubring B b a c hca 140 141 theorem pairEulerSubring_eq_closure_nonnegativeEulerPBWMonomials : 142 pairEulerSubring B = Subring.closure (nonnegativeEulerPBWMonomials B) := by 143 apply le_antisymm 144 · change eulerSubring (pairOldSubring B) pairCoordinate pairMomentum ≤ _ 145 apply Subring.closure_le.2 146 intro z hz 147 change z ∈ ((pairOldSubring B : Set (PairStage (B := B))) ∪ 148 {pairCoordinate, pairCoordinate * pairMomentum}) at hz 149 simp only [Set.mem_union, Set.mem_insert_iff, Set.mem_singleton_iff] at hz 150 rcases hz with hzC | hx | hE 151 · obtain ⟨b, rfl⟩ := hzC 152 apply Subring.subset_closure 153 exact ⟨b, 0, 0, by omega, rfl⟩ 154 · subst z 155 simpa [pairCoordinate, pairCoefficient] using 156 (Subring.subset_closure 157 (s := nonnegativeEulerPBWMonomials B) ⟨(1 : B), 1, 0, by omega, rfl⟩) 158 · subst z 159 simpa [pairCoordinate, pairCoefficient] using 160 (Subring.subset_closure 161 (s := nonnegativeEulerPBWMonomials B) ⟨(1 : B), 1, 1, by omega, rfl⟩) 162 · apply Subring.closure_le.2 163 rintro z ⟨b, a, c, hca, rfl⟩ 164 exact pairOrderedMonomial_mem_eulerSubring B b a c hca 165 166 omit [Algebra ℚ B] in 167 theorem pbwNonnegativeEulerPart_eq_transverseEulerSubring : 168 pbwNonnegativeEulerPart B = pairEulerSubring B := rfl 169 170 /-- Positive PBW Euler weight gives the right-coordinate factor used in the 171 paper's residue argument. -/ 172 theorem orderedPBWMonomial_positive_eulerFactor 173 (b : B) (a c : ℕ) (hca : c < a) : 174 ∃ U : pbwNonnegativeEulerPart B, 175 pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ c = 176 (U : PairStage (B := B)) * pairCoordinate := by 177 obtain ⟨U, hU⟩ := pairOrderedMonomial_eq_eulerSubring_mul_coordinate 178 B b a c hca 179 exact ⟨U, hU⟩ 180 181 /-! ## The paper Euler part in the quotient-surjectivity argument -/ 182 183 omit [Algebra ℚ B] in 184 /-- The generic quotient argument can be stated directly with the paper's 185 nonnegative PBW Euler part. -/ 186 theorem rightMul_surjective_of_paperEuler_normal 187 (I : RightIdeal (PairStage (B := B))) 188 (hnormal : ∀ r : pbwNonnegativeEulerPart B, 189 ∃ s : pbwNonnegativeEulerPart B, 190 pairCoordinate * (r : PairStage (B := B)) = (s : PairStage (B := B)) * pairCoordinate) 191 (hE : pairCoordinate * pairMomentum ∈ pbwNonnegativeEulerPart B) 192 (hresidue : ∃ U : pbwNonnegativeEulerPart B, 193 1 + (U : PairStage (B := B)) * pairCoordinate ∈ I) 194 (hgenerate : Subring.closure 195 (((pbwNonnegativeEulerPart B : Subring (PairStage (B := B))) : 196 Set (PairStage (B := B))) ∪ {pairMomentum}) = ⊤) : 197 Function.Surjective (rightMul I pairCoordinate) := by 198 exact rightMul_surjective_of_euler_normal I (pbwNonnegativeEulerPart B) 199 pairCoordinate pairMomentum hnormal hE hresidue hgenerate 200 201 section Presented 202 203 open Stafford38.OreIteratedPairStage 204 open Stafford38.WeylIteratedEquivalence 205 open Stafford38.WeylPBWMonicBridge 206 207 universe u 208 209 variable (k : Type u) [Field k] [Algebra ℚ k] 210 211 local instance iteratedRatAlgebra : 212 (n : ℕ) → Algebra ℚ (IteratedPairStage k n) 213 | 0 => by 214 change Algebra ℚ k 215 infer_instance 216 | n + 1 => by 217 letI : Algebra ℚ (IteratedPairStage k n) := iteratedRatAlgebra n 218 change Algebra ℚ (PairStage (B := IteratedPairStage k n)) 219 exact pairStageAlgebra 220 221 local instance (n : ℕ) : Algebra k (IteratedPairStage k n) := 222 iteratedPairStageAlgebra k n 223 224 local instance (n : ℕ) : 225 Algebra ℚ (CoordinateStage (B := IteratedPairStage k n)) := 226 coordinateStageAlgebra 227 228 local instance (n : ℕ) : 229 Algebra ℚ (PairStage (B := IteratedPairStage k n)) := 230 pairStageAlgebra 231 232 set_option maxHeartbeats 1000000 in 233 /-- The original Euler quotient-surjectivity route, now using the explicit 234 nonnegative PBW Euler part. The normalized remainder residue is the existing 235 literal residue theorem; the Euler-subring/PBW dictionary above transports it 236 into the paper's grading language before the generic quotient argument. -/ 237 theorem presentedCanonicalQuotient_rightMul_coordinate_surjective 238 (n N : ℕ) {d : PresentedWeyl k (n + 1)} 239 (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) : 240 Function.Surjective 241 (rightMul 242 (canonicalRightIdeal (pairCoordinate (B := IteratedPairStage k n)) 243 (presentedToIterated k (n + 1) d) N) 244 (pairCoordinate (B := IteratedPairStage k n))) := by 245 let B' := IteratedPairStage k n 246 have hR : pbwNonnegativeEulerPart B' = pairEulerSubring B' := 247 pbwNonnegativeEulerPart_eq_transverseEulerSubring B' 248 apply rightMul_surjective_of_paperEuler_normal (B := B') 249 (I := canonicalRightIdeal (pairCoordinate (B := B')) 250 (presentedToIterated k (n + 1) d) N) 251 · intro r 252 let r' : pairEulerSubring B' := ⟨r.1, by rw [← hR]; exact r.2⟩ 253 obtain ⟨s, hs⟩ := coordinate_normal_eulerSubring 254 (pairOldSubring B') pairCoordinate pairMomentum 255 (stageMomentum_mul_coordinate k n) 256 (pairOldSubring_commutes_coordinate B') r' 257 refine ⟨⟨s.1, ?_⟩, hs⟩ 258 rw [hR] 259 exact s.2 260 · rw [hR] 261 exact euler_mem_eulerSubring (pairOldSubring B') pairCoordinate pairMomentum 262 · obtain ⟨U, hU⟩ := presentedPositiveEulerResidue k n N hd 263 refine ⟨⟨U.1, ?_⟩, hU⟩ 264 change U.1 ∈ pbwNonnegativeEulerPart B' 265 rw [hR] 266 exact U.2 267 · rw [hR] 268 exact closure_eulerSubring_union_momentum_eq_top 269 (pairOldSubring B') pairCoordinate pairMomentum 270 (closure_pairOldSubring_union_coordinate_momentum_eq_top B') 271 272 end Presented 273 end 274 end Stafford38.PaperEulerGrading 275