next | previous | forward | backward | up | top | index | toc | Macaulay2 website
GradedLieAlgebras :: member(LieElement,LieSubSpace)

member(LieElement,LieSubSpace) -- whether a Lie element belongs to a Lie subspace

Synopsis

Description

i1 : L=lieAlgebra{a,b,c}/{a a b-c c b,b b a-b b c}

o1 = L

o1 : LieAlgebra
i2 : I=lieIdeal{a}

o2 = I

o2 : FGLieIdeal
i3 : S=lieSubAlgebra{b,c}

o3 = S

o3 : FGLieSubAlgebra
i4 : member(b b c,I)

o4 = true
i5 : member(a b b c,S)

o5 = true

See also