This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.MathlibCompat.MvPolynomialCoeff 3 public import Stafford38.UniversalAssembly 4 public import Stafford38.ChallengeDefinitions 5 6 @[expose] public section 7 8 namespace Stafford38.FixedSource 9 10 open Stafford38 11 open Stafford38.WeylFiltration 12 open Stafford38.Characteristic 13 open Stafford38.WeylPBW 14 open Stafford38.WeylIteratedEquivalence 15 open Stafford38.WeylSymplectic 16 open Stafford38.WeylLeadingSymbol 17 open Stafford 18 19 noncomputable section 20 universe u 21 22 /-! The (actual) Bernstein degree, read directly from checked PBW normal form. -/ 23 def bernsteinDegree (k : Type u) [Field k] {n : ℕ} 24 (d : PresentedWeyl k n) : ℕ := 25 MvPolynomial.weightedTotalDegree (@bernsteinWeight n) 26 (presentedNormalFormLinearEquiv k n d) 27 28 abbrev IsLinearWeylCoordinate (k : Type u) [Field k] (n : ℕ) 29 (ell : PresentedWeyl k (n + 1)) : Prop := 30 Stafford38FixedSourceChallenge.IsLinearWeylCoordinate k n ell 31 32 /-- The exact fixed-source strengthening: the source exponent is the actual 33 Bernstein degree of the input operator, and the source coordinate is obtained 34 from an invertible linear symplectic change of Weyl generators. -/ 35 abbrev UniversalFixedSourceStatement : Prop := 36 Stafford38FixedSourceChallenge.UniversalFixedSourceStatementWithDegree 37 (fun (k : Type u) [Field k] {n : ℕ} (d : PresentedWeyl k n) => 38 bernsteinDegree k d) 39 40 theorem bernsteinDegree_eq_of_piece_of_principal_ne_zero 41 (k : Type u) [Field k] {n N : ℕ} {d : PresentedWeyl k n} 42 (hp : d ∈ bernsteinPiece k n N) 43 (hP : presentedPrincipalComponent k (@bernsteinWeight n) N d ≠ 0) : 44 bernsteinDegree k d = N := by 45 let f := presentedNormalFormLinearEquiv k n d 46 have hle : bernsteinDegree k d ≤ N := by 47 apply Finset.sup_le 48 intro m hm 49 exact (hp m (MvPolynomial.mem_support_iff.mp hm)) 50 rcases MvPolynomial.support_nonempty.mpr hP with ⟨m, hm⟩ 51 have hm : MvPolynomial.coeff m 52 (presentedPrincipalComponent k (@bernsteinWeight n) N d) ≠ 0 := 53 MvPolynomial.mem_support_iff.mp hm 54 change AddMonoidAlgebra.coeff 55 (presentedPrincipalComponent k (@bernsteinWeight n) N d) m ≠ 0 at hm 56 have hcoeff := hm 57 change AddMonoidAlgebra.coeff 58 (presentedPrincipalComponent k (@bernsteinWeight n) N d) m ≠ 0 at hcoeff 59 rw [coeff_presentedPrincipalComponent] at hcoeff 60 have hweight : monomialWeight (@bernsteinWeight n) m = N := by 61 by_contra hne 62 have hz : AddMonoidAlgebra.coeff 63 (presentedPrincipalComponent k (@bernsteinWeight n) N d) m = 0 := by 64 rw [coeff_presentedPrincipalComponent] 65 simp [hne] 66 exact hm hz 67 have hfd : MvPolynomial.coeff m f ≠ 0 := by 68 rw [if_pos hweight] at hcoeff 69 simpa [f] using hcoeff 70 have hge : N ≤ bernsteinDegree k d := by 71 calc 72 N = monomialWeight (@bernsteinWeight n) m := hweight.symm 73 _ ≤ bernsteinDegree k d := 74 MvPolynomial.le_weightedTotalDegree _ (MvPolynomial.mem_support_iff.mpr hfd) 75 exact Nat.le_antisymm hle hge 76 77 end 78 end Stafford38.FixedSource 79