This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Mathlib.Algebra.MvPolynomial.PDeriv 3 public import Stafford38.ChallengeDefinitions 4 5 @[expose] public section 6 7 /-! 8 # Polynomial phase space for characteristic support 9 10 The order symbol ring of the `n`th Weyl algebra has base variables of fibre 11 weight zero and cotangent variables of fibre weight one. This file introduces 12 that ring and its canonical polynomial Poisson bracket without assuming any 13 characteristic-variety theorem. 14 -/ 15 16 namespace Stafford38.Characteristic 17 18 /-- Indices for base and cotangent variables. -/ 19 abbrev PhaseVar (n : ℕ) := Stafford38Challenge.PhaseVar n 20 21 /-- Coordinate ring of affine cotangent space. -/ 22 abbrev SymbolRing (k : Type*) [CommRing k] (n : ℕ) := 23 MvPolynomial (PhaseVar n) k 24 25 /-- Fibre degree: base variables have weight zero and covariables weight one. -/ 26 def fibreWeight {n : ℕ} : PhaseVar n → ℕ 27 | Sum.inl _ => 0 28 | Sum.inr _ => 1 29 30 /-- The standard Poisson bracket on affine cotangent space. -/ 31 noncomputable def poissonBracket 32 {k : Type*} [CommRing k] {n : ℕ} 33 (f g : SymbolRing k n) : SymbolRing k n := 34 ∑ i : Fin n, 35 (MvPolynomial.pderiv (Sum.inl i : PhaseVar n) f * 36 MvPolynomial.pderiv (Sum.inr i : PhaseVar n) g - 37 MvPolynomial.pderiv (Sum.inr i : PhaseVar n) f * 38 MvPolynomial.pderiv (Sum.inl i : PhaseVar n) g) 39 40 /-- An ideal is Poisson when it is stable under bracketing with every symbol. -/ 41 def IsPoisson 42 {k : Type*} [CommRing k] {n : ℕ} 43 (J : Ideal (SymbolRing k n)) : Prop := 44 ∀ f ∈ J, ∀ g, poissonBracket f g ∈ J 45 46 @[simp] theorem poissonBracket_self 47 {k : Type*} [CommRing k] {n : ℕ} (f : SymbolRing k n) : 48 poissonBracket f f = 0 := by 49 simp [poissonBracket, mul_comm] 50 51 end Stafford38.Characteristic 52