Macaulay2 » Documentation
Packages » GradedLieAlgebras :: LieAlgebra == LieAlgebra
next | previous | forward | backward | up | index | toc

# LieAlgebra == LieAlgebra -- whether two Lie algebras are defined in the same way

- Operator: ==
- Usage:
    `L==M`
- Inputs:
  - L, an instance of the type LieAlgebra,
  - M, an instance of the type LieAlgebra,
- Outputs:
  - b, a Boolean value,

## Description

Two objects L and M of type LieAlgebra satisfies L==M if they have the same generators, weights, signs, field, defining ideal, and differential.

    i1 : F = lieAlgebra{a,b}

    o1 = F

    o1 : LieAlgebra

    i2 : I = lieIdeal{a a b}

    o2 = I

    o2 : FGLieIdeal

    i3 : L=F/{a a b}

    o3 = L

    o3 : LieAlgebra

    i4 : M=F/I

    o4 = M

    o4 : LieAlgebra

    i5 : L==M

    o5 = true

    i6 : L===M

    o6 = false

## See also

- LieAlgebra -- the class of all Lie algebras

## Ways to use this method:

- LieAlgebra == LieAlgebra -- whether two Lie algebras are defined in the same way

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GradedLieAlgebras/doc.m2:491:0.