An exterior algebra is a polynomial ring where multiplication is mildly non-commutative, in that, for every x and y in the ring, y*x = (-1)^(deg(x) deg(y)) x*y, and that for every x of odd degree, x*x = 0.In Macaulay 2, deg(x) is the degree of x, or the first degree of x, in case a multi-graded ring is being used. The default degree for each variable is 1, so in this case, y*x = -x*y, if x and y are variables in the ring.
Create an exterior algebra with explicit generators by creating a polynomial ring with the option SkewCommutative.
i1 : R = QQ[x,y,z, SkewCommutative => true] |
i2 : y*x |
i3 : (x+y+z)^2 |
i4 : basis R |
i5 : basis(2,R) |
i6 : S = QQ[a,b,r,s,t, SkewCommutative=>true, Degrees=>{2,2,1,1,1}]; |
i7 : r*a == a*r |
i8 : a*a |
i9 : f = a*r+b*s; f^2 |
i11 : basis(2,S) |
All modules over exterior algebras are right modules. This means that matrices multiply from the opposite side:
i12 : x*y |
i13 : matrix{{x}} * matrix{{y}} |
You may compute Groebner bases, syzygies, and form quotient rings of these skew commutative rings.