next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
GradedLieAlgebras :: MapLie - MapLie

MapLie - MapLie -- Subtraction of Lie homomorphisms

Synopsis

Description

The symbol - is used as infix notation for the subtraction of Lie homomorphisms.

i1 : M = lieAlgebra{a,b}

o1 = M

o1 : LieAlgebra
i2 : L = lieAlgebra{a,b}

o2 = L

o2 : LieAlgebra
i3 : f = mapLie(L,M,{a,b})

o3 = f

o3 : MapLie
i4 : g = mapLie(L,M,{b,a})

o4 = g

o4 : MapLie
i5 : peekLie(f-g)

o5 = MapLie{a => a - b    }
            b =>  - a + b
            sourceLie => M
            targetLie => L