This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import AlgebraicAnalysis.Ore.Associativity 3 public import Stafford38.Weyl.EulerSubring 4 public import Stafford38.Weyl.EulerResidue 5 public import Stafford38.Weyl.OuterOreMonic 6 7 @[expose] public section 8 9 /-! 10 # Positive outer-Ore remainders 11 12 An element whose outer momentum support is strictly below `N` acquires a 13 right coordinate factor after multiplication by `x^N` on either side. The 14 cofactors remain in the concrete Euler subring. 15 -/ 16 17 namespace Stafford38.WeylEulerRemainder 18 19 open Polynomial 20 open Stafford 21 open AlgebraicAnalysis 22 open AlgebraicAnalysis.OreDivision 23 open AlgebraicAnalysis.OreAssociativity 24 open Stafford38.OreCoordinateStage 25 open Stafford38.OrePairStage 26 open Stafford38.WeylEulerSubring 27 open Stafford38.WeylEulerResidue 28 open Stafford38.EulerSurjectivity 29 30 noncomputable section 31 32 set_option maxHeartbeats 1000000 33 set_option synthInstance.maxHeartbeats 100000 34 35 variable (B : Type*) [Ring B] [Algebra ℚ B] 36 37 local instance : Algebra ℚ (CoordinateStage (B := B)) := 38 coordinateStageAlgebra 39 40 local instance : Algebra ℚ (PairStage (B := B)) := 41 pairStageAlgebra 42 43 /-- Both products by `x^N` have a right `x` factor with cofactor in the Euler 44 subring. -/ 45 def HasPositiveCoordinateFactor (N : ℕ) (z : PairStage (B := B)) : Prop := 46 ∃ U V : pairEulerSubring B, 47 z * pairCoordinate ^ N = (U : PairStage (B := B)) * pairCoordinate ∧ 48 pairCoordinate ^ N * z = (V : PairStage (B := B)) * pairCoordinate 49 50 omit [Algebra ℚ B] in 51 lemma hasPositiveCoordinateFactor_zero (N : ℕ) : 52 HasPositiveCoordinateFactor B N 0 := by 53 exact ⟨0, 0, by simp, by simp⟩ 54 55 omit [Algebra ℚ B] in 56 lemma hasPositiveCoordinateFactor_add {N : ℕ} {z w : PairStage (B := B)} 57 (hz : HasPositiveCoordinateFactor B N z) 58 (hw : HasPositiveCoordinateFactor B N w) : 59 HasPositiveCoordinateFactor B N (z + w) := by 60 obtain ⟨Uz, Vz, hz₁, hz₂⟩ := hz 61 obtain ⟨Uw, Vw, hw₁, hw₂⟩ := hw 62 refine ⟨Uz + Uw, Vz + Vw, ?_, ?_⟩ 63 · simpa only [add_mul, Subring.coe_add] using congrArg₂ (· + ·) hz₁ hw₁ 64 · simpa only [mul_add, add_mul, Subring.coe_add] using congrArg₂ (· + ·) hz₂ hw₂ 65 66 omit [Algebra ℚ B] in 67 lemma pairCoordinate_pow_mul_coefficient (b : B) : ∀ N : ℕ, 68 pairCoordinate ^ N * pairCoefficient b = 69 pairCoefficient b * pairCoordinate ^ N 70 | 0 => by simp 71 | N + 1 => by 72 calc 73 pairCoordinate ^ (N + 1) * pairCoefficient b = 74 (pairCoordinate ^ N * pairCoordinate) * pairCoefficient b := by 75 rw [pow_succ] 76 _ = pairCoordinate ^ N * (pairCoordinate * pairCoefficient b) := by 77 rw [mul_assoc] 78 _ = pairCoordinate ^ N * (pairCoefficient b * pairCoordinate) := by 79 rw [pairCoordinate_mul_coefficient] 80 _ = (pairCoordinate ^ N * pairCoefficient b) * pairCoordinate := by 81 rw [mul_assoc] 82 _ = pairCoefficient b * pairCoordinate ^ (N + 1) := by 83 rw [pairCoordinate_pow_mul_coefficient b N, pow_succ, mul_assoc] 84 85 set_option maxHeartbeats 800000 in 86 /-- A single ordered monomial with outer momentum exponent below `N` has the 87 two required positive factorizations. -/ 88 theorem pairOrderedMonomial_hasPositiveCoordinateFactor 89 (b : B) (a j N : ℕ) (hjN : j < N) : 90 HasPositiveCoordinateFactor B N 91 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ j) := by 92 obtain ⟨f, hf⟩ := exists_eulerPolynomial_d_pow_mul_x_pow 93 (A := PairStage (B := B)) pairCoordinate pairMomentum 94 pairMomentum_mul_coordinate j 95 have hpoly : eulerPolynomialEval pairCoordinate pairMomentum f ∈ 96 pairEulerSubring B := 97 eulerPolynomialEval_mem_eulerSubring (pairOldSubring B) 98 pairCoordinate pairMomentum (rational_mem_pairOldSubring B) f 99 have hb : pairCoefficient b ∈ pairEulerSubring B := 100 coefficient_mem_eulerSubring (pairOldSubring B) 101 pairCoordinate pairMomentum ⟨pairCoefficient b, ⟨b, rfl⟩⟩ 102 have hxa : pairCoordinate ^ a ∈ pairEulerSubring B := 103 (pairEulerSubring B).pow_mem 104 (coordinate_mem_eulerSubring (pairOldSubring B) 105 pairCoordinate pairMomentum) a 106 have hxleft : pairCoordinate ^ (N - j - 1) ∈ pairEulerSubring B := 107 (pairEulerSubring B).pow_mem 108 (coordinate_mem_eulerSubring (pairOldSubring B) 109 pairCoordinate pairMomentum) (N - j - 1) 110 let U : pairEulerSubring B := 111 ⟨pairCoefficient b * pairCoordinate ^ a * 112 eulerPolynomialEval pairCoordinate pairMomentum f * 113 pairCoordinate ^ (N - j - 1), 114 (pairEulerSubring B).mul_mem 115 ((pairEulerSubring B).mul_mem 116 ((pairEulerSubring B).mul_mem hb hxa) hpoly) hxleft⟩ 117 obtain ⟨V, hV⟩ := 118 pairOrderedMonomial_eq_eulerSubring_mul_coordinate B b (N + a) j 119 (by omega) 120 refine ⟨U, V, ?_, ?_⟩ 121 · have hpowN : (pairCoordinate (B := B)) ^ N = 122 pairCoordinate ^ j * pairCoordinate ^ (N - j) := by 123 rw [← pow_add, Nat.add_sub_of_le (Nat.le_of_lt hjN)] 124 have hpowDiff : (pairCoordinate (B := B)) ^ (N - j) = 125 pairCoordinate ^ (N - j - 1) * pairCoordinate := by 126 calc 127 pairCoordinate ^ (N - j) = 128 pairCoordinate ^ ((N - j - 1) + 1) := by congr 1; omega 129 _ = pairCoordinate ^ (N - j - 1) * pairCoordinate := by 130 rw [pow_add, pow_one] 131 change 132 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ j) * 133 pairCoordinate ^ N = 134 (pairCoefficient b * pairCoordinate ^ a * 135 eulerPolynomialEval pairCoordinate pairMomentum f * 136 pairCoordinate ^ (N - j - 1)) * pairCoordinate 137 calc 138 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ j) * 139 pairCoordinate ^ N = 140 pairCoefficient b * pairCoordinate ^ a * 141 (pairMomentum ^ j * pairCoordinate ^ j) * 142 pairCoordinate ^ (N - j) := by 143 rw [hpowN] 144 simp only [mul_assoc] 145 _ = pairCoefficient b * pairCoordinate ^ a * 146 eulerPolynomialEval pairCoordinate pairMomentum f * 147 pairCoordinate ^ (N - j) := by 148 rw [hf] 149 _ = (pairCoefficient b * pairCoordinate ^ a * 150 eulerPolynomialEval pairCoordinate pairMomentum f * 151 pairCoordinate ^ (N - j - 1)) * pairCoordinate := by 152 rw [hpowDiff] 153 simp only [mul_assoc] 154 · calc 155 pairCoordinate ^ N * 156 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ j) = 157 pairCoefficient b * pairCoordinate ^ (N + a) * pairMomentum ^ j := by 158 calc 159 pairCoordinate ^ N * 160 (pairCoefficient b * pairCoordinate ^ a * pairMomentum ^ j) = 161 (pairCoordinate ^ N * pairCoefficient b) * 162 pairCoordinate ^ a * pairMomentum ^ j := by 163 simp only [mul_assoc] 164 _ = (pairCoefficient b * pairCoordinate ^ N) * 165 pairCoordinate ^ a * pairMomentum ^ j := by 166 rw [pairCoordinate_pow_mul_coefficient B b N] 167 _ = pairCoefficient b * pairCoordinate ^ (N + a) * 168 pairMomentum ^ j := by 169 rw [pow_add] 170 simp only [mul_assoc] 171 _ = (V : PairStage (B := B)) * pairCoordinate := hV 172 173 private lemma coordinateCoefficientTerm_hasPositive 174 (c : CoordinateStage (B := B)) (j N : ℕ) (hjN : j < N) : 175 HasPositiveCoordinateFactor B N 176 (normalCoefficient coordinateDerivation c * pairMomentum ^ j) := by 177 let q := (normalFormAddEquiv (zeroDerivation (B := B))).symm c 178 have hc : c = normalForm (zeroDerivation (B := B)) q := by 179 exact (normalFormAddEquiv (zeroDerivation (B := B))).apply_symm_apply c |>.symm 180 rw [hc] 181 induction q using Polynomial.induction_on' with 182 | add q r hq hr => 183 rw [normalForm_add, 184 (normalCoefficient (coordinateDerivation (B := B))).map_add, add_mul] 185 exact hasPositiveCoordinateFactor_add (B := B) hq hr 186 | monomial a b => 187 rw [normalForm_monomial, 188 (normalCoefficient (coordinateDerivation (B := B))).map_mul, 189 (normalCoefficient (coordinateDerivation (B := B))).map_pow] 190 exact pairOrderedMonomial_hasPositiveCoordinateFactor B b a j N hjN 191 192 /-- Every element whose outer momentum support lies below `N` has both 193 positive right-coordinate factorizations. -/ 194 theorem hasPositiveCoordinateFactor_of_outer_support 195 (z : PairStage (B := B)) (N : ℕ) 196 (hsupport : ∀ j ∈ 197 ((normalFormAddEquiv coordinateDerivation).symm z).support, j < N) : 198 HasPositiveCoordinateFactor B N z := by 199 let q := (normalFormAddEquiv coordinateDerivation).symm z 200 have hz : z = normalForm coordinateDerivation q := by 201 exact (normalFormAddEquiv coordinateDerivation).apply_symm_apply z |>.symm 202 rw [hz, ← Polynomial.sum_monomial_eq q] 203 change HasPositiveCoordinateFactor B N 204 (normalFormAddHom (coordinateDerivation (B := B)) 205 (∑ j ∈ q.support, Polynomial.monomial j (q.coeff j))) 206 rw [map_sum] 207 refine Finset.sum_induction (M := PairStage (B := B)) 208 (fun j => normalFormAddHom (coordinateDerivation (B := B)) 209 (Polynomial.monomial j (q.coeff j))) 210 (HasPositiveCoordinateFactor B N) ?_ ?_ ?_ 211 · intro a b ha hb 212 exact hasPositiveCoordinateFactor_add (B := B) ha hb 213 · exact hasPositiveCoordinateFactor_zero B N 214 · intro j hj 215 change HasPositiveCoordinateFactor B N 216 (normalForm (coordinateDerivation (B := B)) 217 (Polynomial.monomial j (q.coeff j))) 218 rw [normalForm_monomial] 219 exact coordinateCoefficientTerm_hasPositive B (q.coeff j) j N 220 (hsupport j hj) 221 222 omit [Algebra ℚ B] in 223 lemma support_sub_X_pow_lt 224 (H : Polynomial (CoordinateStage (B := B))) (N : ℕ) 225 (hN : H.coeff N = 1) 226 (hgt : ∀ j, N < j → H.coeff j = 0) : 227 ∀ j ∈ (H - Polynomial.X ^ N).support, j < N := by 228 intro j hj 229 by_contra hnot 230 have hle : N ≤ j := Nat.le_of_not_gt hnot 231 have hcoeff : (H - Polynomial.X ^ N).coeff j = 0 := by 232 rcases hle.eq_or_lt with rfl | hlt 233 · simp [hN] 234 · rw [Polynomial.coeff_sub, hgt j hlt] 235 simp [Polynomial.coeff_X_pow, hlt.ne'] 236 exact (Polynomial.mem_support_iff.mp hj) hcoeff 237 238 /-- Subtracting the monic outer power leaves an element to which the positive 239 factor theorem applies. -/ 240 theorem normalForm_sub_X_pow_hasPositiveCoordinateFactor 241 (H : Polynomial (CoordinateStage (B := B))) (N : ℕ) 242 (hN : H.coeff N = 1) 243 (hgt : ∀ j, N < j → H.coeff j = 0) : 244 HasPositiveCoordinateFactor B N 245 (normalForm (coordinateDerivation (B := B)) 246 (H - Polynomial.X ^ N)) := by 247 apply hasPositiveCoordinateFactor_of_outer_support B 248 intro j hj 249 change j ∈ ((normalFormAddEquiv (coordinateDerivation (B := B))).symm 250 ((normalFormAddEquiv (coordinateDerivation (B := B))) 251 (H - Polynomial.X ^ N))).support at hj 252 rw [(normalFormAddEquiv (coordinateDerivation (B := B))).symm_apply_apply] at hj 253 exact support_sub_X_pow_lt B H N hN hgt j hj 254 255 /-- The positive-factor interface turns the explicit Euler residue into the 256 exact shaped residue consumed by quotient surjectivity. -/ 257 theorem positiveEulerResidue_eq_eulerSubring_mul_coordinate 258 (d sigma : PairStage (B := B)) (N : ℕ) 259 (hd : d = pairMomentum ^ N + sigma) 260 (hpositive : HasPositiveCoordinateFactor B N sigma) : 261 ∃ U : pairEulerSubring B, 262 1 + (U : PairStage (B := B)) * pairCoordinate ∈ 263 canonicalRightIdeal pairCoordinate d N := by 264 obtain ⟨u, v, hmem⟩ := positiveEulerResidue_polynomial_mem 265 pairCoordinate pairMomentum d sigma N pairMomentum_mul_coordinate hd 266 obtain ⟨U, V, hright, hleft⟩ := hpositive 267 obtain ⟨su, hsu⟩ := coordinate_mul_eulerPolynomial 268 (pairOldSubring B) pairCoordinate pairMomentum 269 pairMomentum_mul_coordinate (pairOldSubring_commutes_coordinate B) 270 (rational_mem_pairOldSubring B) u 271 obtain ⟨sv, hsv⟩ := coordinate_mul_eulerPolynomial 272 (pairOldSubring B) pairCoordinate pairMomentum 273 pairMomentum_mul_coordinate (pairOldSubring_commutes_coordinate B) 274 (rational_mem_pairOldSubring B) v 275 refine ⟨U * su + V * sv, ?_⟩ 276 convert hmem using 1 277 simp only [Subring.coe_add, Subring.coe_mul, add_mul] 278 rw [hright, hleft] 279 simp only [mul_assoc] 280 rw [hsu, hsv] 281 282 omit [Algebra ℚ B] in 283 private lemma coordinateCoefficient_mem_pairGeneratorSubring 284 (c : CoordinateStage (B := B)) : 285 normalCoefficient coordinateDerivation c ∈ 286 Subring.closure (((pairOldSubring B : Subring (PairStage (B := B))) : 287 Set (PairStage (B := B))) ∪ {pairCoordinate, pairMomentum}) := by 288 let q := (normalFormAddEquiv (zeroDerivation (B := B))).symm c 289 have hc : c = normalForm (zeroDerivation (B := B)) q := by 290 exact (normalFormAddEquiv (zeroDerivation (B := B))).apply_symm_apply c |>.symm 291 rw [hc] 292 induction q using Polynomial.induction_on' with 293 | add q r hq hr => 294 rw [normalForm_add, 295 (normalCoefficient (coordinateDerivation (B := B))).map_add] 296 exact Subring.add_mem _ hq hr 297 | monomial a b => 298 rw [normalForm_monomial, 299 (normalCoefficient (coordinateDerivation (B := B))).map_mul, 300 (normalCoefficient (coordinateDerivation (B := B))).map_pow] 301 apply Subring.mul_mem 302 · apply Subring.subset_closure 303 exact Or.inl ⟨b, rfl⟩ 304 · apply Subring.pow_mem 305 apply Subring.subset_closure 306 exact Or.inr (Or.inl rfl) 307 308 /-- The old coefficient ring together with the new coordinate and momentum 309 generates the complete pair stage. -/ 310 theorem closure_pairOldSubring_union_coordinate_momentum_eq_top : 311 Subring.closure (((pairOldSubring B : Subring (PairStage (B := B))) : 312 Set (PairStage (B := B))) ∪ {pairCoordinate, pairMomentum}) = ⊤ := by 313 apply top_unique 314 intro z hz 315 let q := (normalFormAddEquiv (coordinateDerivation (B := B))).symm z 316 have hzq : z = normalForm coordinateDerivation q := by 317 exact (normalFormAddEquiv coordinateDerivation).apply_symm_apply z |>.symm 318 rw [hzq] 319 induction q using Polynomial.induction_on' with 320 | add q r hq hr => 321 rw [normalForm_add] 322 exact Subring.add_mem _ hq hr 323 | monomial j c => 324 rw [normalForm_monomial] 325 apply Subring.mul_mem 326 · exact coordinateCoefficient_mem_pairGeneratorSubring B c 327 · apply Subring.pow_mem 328 apply Subring.subset_closure 329 exact Or.inr (Or.inr rfl) 330 331 #print axioms pairOrderedMonomial_hasPositiveCoordinateFactor 332 #print axioms hasPositiveCoordinateFactor_of_outer_support 333 #print axioms normalForm_sub_X_pow_hasPositiveCoordinateFactor 334 #print axioms positiveEulerResidue_eq_eulerSubring_mul_coordinate 335 #print axioms closure_pairOldSubring_union_coordinate_momentum_eq_top 336 337 section Presented 338 339 open Stafford38.OreIteratedPairStage 340 open Stafford38.WeylIteratedEquivalence 341 open Stafford38.WeylOuterOreMonic 342 open Stafford38.WeylPBWMonicBridge 343 344 universe u 345 346 variable (k : Type u) [Field k] [Algebra ℚ k] 347 348 local instance iteratedRatAlgebra : 349 (n : ℕ) → Algebra ℚ (IteratedPairStage k n) 350 | 0 => by 351 change Algebra ℚ k 352 infer_instance 353 | n + 1 => by 354 letI : Algebra ℚ (IteratedPairStage k n) := iteratedRatAlgebra n 355 change Algebra ℚ (PairStage (B := IteratedPairStage k n)) 356 exact pairStageAlgebra 357 358 local instance (n : ℕ) : Algebra k (IteratedPairStage k n) := 359 iteratedPairStageAlgebra k n 360 361 local instance (n : ℕ) : 362 Algebra ℚ (CoordinateStage (B := IteratedPairStage k n)) := 363 coordinateStageAlgebra 364 365 local instance (n : ℕ) : 366 Algebra ℚ (PairStage (B := IteratedPairStage k n)) := 367 pairStageAlgebra 368 369 /-- The outer momentum exponents of the remainder `d - p^N` of a normalized 370 presented Weyl operator are below `N`. -/ 371 theorem presentedRemainder_outer_support_lt 372 (n N : ℕ) {d : PresentedWeyl k (n + 1)} 373 (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) : 374 ∀ j ∈ ((normalFormAddEquiv (coordinateDerivation (B := IteratedPairStage k n))).symm 375 (presentedToIterated k (n + 1) d - stageMomentum k n ^ N)).support, j < N := by 376 let H := presentedOuterPolynomial k n d 377 have hnormal : 378 normalForm (coordinateDerivation (B := IteratedPairStage k n)) 379 (H - Polynomial.X ^ N) = 380 presentedToIterated k (n + 1) d - stageMomentum k n ^ N := by 381 change normalFormAddHom coordinateDerivation (H - Polynomial.X ^ N) = _ 382 have hH : normalForm (coordinateDerivation (B := IteratedPairStage k n)) H = 383 presentedToIterated k (n + 1) d := by 384 exact (normalFormAddEquiv coordinateDerivation).apply_symm_apply _ 385 have hH' : normalFormAddHom coordinateDerivation H = 386 presentedToIterated k (n + 1) d := hH 387 rw [map_sub, hH'] 388 congr 1 389 rw [Polynomial.X_pow_eq_monomial] 390 change normalForm coordinateDerivation (Polynomial.monomial N 1) = _ 391 rw [normalForm_monomial] 392 rw [map_one, one_mul] 393 change pairMomentum (B := IteratedPairStage k n) ^ N = 394 stageMomentum k n ^ N 395 rfl 396 rw [← hnormal] 397 intro j hj 398 change j ∈ ((normalFormAddEquiv (coordinateDerivation (B := IteratedPairStage k n))).symm 399 ((normalFormAddEquiv (coordinateDerivation (B := IteratedPairStage k n))) 400 (H - Polynomial.X ^ N))).support at hj 401 rw [(normalFormAddEquiv (coordinateDerivation (B := IteratedPairStage k n))).symm_apply_apply] 402 at hj 403 exact support_sub_X_pow_lt (IteratedPairStage k n) H N 404 (outer_coeff_eq_one_at_bound k n N hd) 405 (fun j hj => outer_coeff_eq_zero_of_exponent_gt k n N hd hj) j hj 406 407 /-- The concrete remainder of a normalized presented Weyl operator satisfies 408 both positive-coordinate factorizations. -/ 409 theorem presentedRemainder_hasPositiveCoordinateFactor 410 (n N : ℕ) {d : PresentedWeyl k (n + 1)} 411 (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) : 412 HasPositiveCoordinateFactor (IteratedPairStage k n) N 413 (presentedToIterated k (n + 1) d - stageMomentum k n ^ N) := 414 hasPositiveCoordinateFactor_of_outer_support (IteratedPairStage k n) _ N 415 (presentedRemainder_outer_support_lt k n N hd) 416 417 /-- The normalized presented operator has the exact positive Euler residue in 418 its literal canonical right ideal. -/ 419 theorem presentedPositiveEulerResidue 420 (n N : ℕ) {d : PresentedWeyl k (n + 1)} 421 (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) : 422 ∃ U : pairEulerSubring (IteratedPairStage k n), 423 1 + (U : PairStage (B := IteratedPairStage k n)) * pairCoordinate ∈ 424 canonicalRightIdeal (pairCoordinate (B := IteratedPairStage k n)) 425 (presentedToIterated k (n + 1) d) N := by 426 let sigma := presentedToIterated k (n + 1) d - stageMomentum k n ^ N 427 have hdecomp : presentedToIterated k (n + 1) d = 428 stageMomentum k n ^ N + sigma := by 429 simp [sigma] 430 have hpositive : HasPositiveCoordinateFactor (IteratedPairStage k n) N sigma := 431 presentedRemainder_hasPositiveCoordinateFactor k n N hd 432 exact positiveEulerResidue_eq_eulerSubring_mul_coordinate 433 (IteratedPairStage k n) (presentedToIterated k (n + 1) d) sigma N 434 hdecomp hpositive 435 436 /-- Right multiplication by the selected coordinate is onto the concrete 437 canonical quotient. -/ 438 theorem presentedCanonicalQuotient_rightMul_coordinate_surjective 439 (n N : ℕ) {d : PresentedWeyl k (n + 1)} 440 (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) : 441 Function.Surjective 442 (rightMul 443 (canonicalRightIdeal (pairCoordinate (B := IteratedPairStage k n)) 444 (presentedToIterated k (n + 1) d) N) 445 (pairCoordinate (B := IteratedPairStage k n))) := by 446 apply rightMul_surjective_of_euler_normal 447 (R := pairEulerSubring (IteratedPairStage k n)) 448 (p := pairMomentum (B := IteratedPairStage k n)) 449 · exact coordinate_normal_eulerSubring 450 (pairOldSubring (IteratedPairStage k n)) 451 pairCoordinate pairMomentum 452 (stageMomentum_mul_coordinate k n) 453 (pairOldSubring_commutes_coordinate (IteratedPairStage k n)) 454 · exact euler_mem_eulerSubring 455 (pairOldSubring (IteratedPairStage k n)) 456 pairCoordinate pairMomentum 457 · exact presentedPositiveEulerResidue k n N hd 458 · apply closure_eulerSubring_union_momentum_eq_top 459 exact closure_pairOldSubring_union_coordinate_momentum_eq_top 460 (IteratedPairStage k n) 461 462 #print axioms presentedRemainder_outer_support_lt 463 #print axioms presentedRemainder_hasPositiveCoordinateFactor 464 #print axioms presentedPositiveEulerResidue 465 #print axioms presentedCanonicalQuotient_rightMul_coordinate_surjective 466 467 end Presented 468 469 end 470 end Stafford38.WeylEulerRemainder 471