A Weyl algebra is the non-commutative algebra of algebraic differential operators on a polynomial ring. To each variable x corresponds the operator dx that differentiates with respect to that variable. The evident commutation relation takes the form dx*x == x*dx + 1.
We can give any names we like to the variables in a Weyl algebra, provided we specify the correspondence between the variables and the derivatives, with the WeylAlgebra option, as follows.
i1 : R = ZZ/101[x,dx,t,WeylAlgebra => {x=>dx}] |
i2 : dx*x |
i3 : dx*x^5 |