---
title: "Lie Algebras"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/index-lie-algebras.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/index-lie-algebras.md"
part: "Lie Theory"
chapter: "Lie Algebras"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Lie Theory", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/index-lie-theory.md"}
prev: {"title": "Bibliography", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/ReflectionGroups/bibliography.md"}
next: {"title": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/introduction.md"}
---

<a id="lie-alg"></a>
<a id="chapalglie"></a>
# Lie Algebras

- [Introduction](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/introduction.md)
  - [Guide for the Reader](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/introduction.md#guide-for-the-reader)
- [Constructors for Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md)
  - [`LieAlgebra<R, n | Q : parameters >: Rng, RngIntElt, SeqEnum → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#constructor-liealgebrarnq)
  - [`LieAlgebra<M | Q : parameters >: ModTupRng, SeqEnum → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#constructor-constructor-liealgebra-modtuprng-seqenum-alglie)
  - [`LieAlgebra<R, n | T : parameters >: Rng, RngIntElt, SeqEnum → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#constructor-constructor-liealgebra-rng-rngintelt-seqenum-alglie)
  - [`LieAlgebra< t | T : parameters >: SeqEnum, SeqEnum → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#constructor-constructor-liealgebra-seqenum-seqenum-alglie)
  - [`LieAlgebra(A): AlgAss → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-liealgebra-algass)
  - [`LieAlgebra(A): AlgMat → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-liealgebra-algmat)
  - [`AbelianLieAlgebra(R, n): Rng, RngIntElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-abelianliealgebra-rng-rngintelt)
  - [Example: Constructing Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#example-ex-b11bef)
  - [`ChangeBasis(L, B): AlgLie, {[AlgLieElt]} → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-changebasis-alglie-alglieelt)
  - [`ChangeBasis(L, B): AlgLie, {[ModTupFldElt]} → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-changebasis-alglie-modtupfldelt)
  - [`ChangeBasis(L, B): AlgLie, Mtrx → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-changebasis-alglie-mtrx)
  - [`MatrixLieAlgebra(R, n): Rng, RngIntElt → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-matrixliealgebra-rng-rngintelt)
  - [`MatrixLieAlgebra(A): AlgMat → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-matrixliealgebra-algmat)
  - [`Algebra(M): AlgMatLie → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-algebra-algmatlie)
  - [`LieAlgebra(M): AlgMatLie → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#function-liealgebra-algmatlie)
  - [Example: Upper Triangular Matrix Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/construct.md#example-ex-297c34)
- [Finitely Presented Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md)
  - [Construction of the Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#construction-of-the-free-lie-algebra)
    - [`FreeLieAlgebra(F, n): Rng, RngIntElt → AlgFPLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-freeliealgebra-rng-rngintelt)
    - [Example: Creating a Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-49252a)
  - [Properties of the Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#properties-of-the-free-lie-algebra)
    - [`Rank(L): AlgFPLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-algfplierank)
    - [`CoefficientRing(L): AlgFPLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-coefficientring-algfplie)
    - [`BaseRing(L): AlgFPLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-basering-algfplie)
  - [Operations on Elements of the Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#operations-on-elements-of-the-free-lie-algebra)
    - [`x + y: AlgFPLieElt, AlgFPLieElt → AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#operation-op-plus-algfplieelt-algfplieelt)
    - [`x - y: AlgFPLieElt, AlgFPLieElt → AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#operation-op-minus-algfplieelt-algfplieelt)
    - [`x * y: AlgFPLieElt, AlgFPLieElt → AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#operation-op-times-algfplieelt-algfplieelt)
    - [`L ! 0: AlgFPLie, RngIntElt → AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#operation-op-algfplie-rngintelt)
    - [`Zero(L): AlgFPLie → AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-zero-algfplie)
    - [Example: Arithmetic in a Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-0ec7d4)
    - [`IsLeaf(m): AlgFPLieElt → BoolElt, AlgFPLieElt, AlgFPLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-isleaf-algfplieelt)
    - [Example: Leaves of Free Lie Algebra Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-8f1849)
  - [Construction of a Finitely-Presented Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#construction-of-a-finitely-presented-lie-algebra)
    - [`LieAlgebra(R): [ AlgFPLieElt ] → AlgLie, SeqEnum, SeqEnum, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-fpl-liealgebra)
    - [`LieAlgebra(R): { AlgFPLieElt } → AlgLie, SeqEnum, SeqEnum, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-liealgebra-algfplieelt)
    - [Example: Positive Root Subalgebra of E7](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-92e129)
    - [Example: Finitely Presented Lie Ring](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-0d1f8a)
    - [`quo<L | R>: AlgFPLie, [ AlgFPLieElt ] → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#constructor-constructor-quo-algfplie-algfplieelt-alglie-map)
    - [`quo<L | R>: AlgFPLie, { AlgFPLieElt } → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#constructor-constructor-quo-algfplie-algfplieelt-alglie-map-2)
    - [Example: Quotients of Finitely Presented Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-b4f6d4)
    - [`NilpotentQuotient(R, d): [ AlgFPLieElt ], RngIntElt → AlgLie, SeqEnum, SeqEnum, UserProgram`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-nilpotentquotient-algfplieelt-rngintelt)
    - [`NilpotentQuotient(R, d): { AlgFPLieElt, RngIntElt } → AlgLie, SeqEnum, SeqEnum, UserProgram`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#function-nilpotentquotient-algfplieelt-rngintelt-2)
    - [Example: Nilpotent Quotient](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-ed7e0d)
  - [Homomorphisms of the Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#homomorphisms-of-the-free-lie-algebra)
    - [`hom<L -> M | Q>: AlgFPLie, AlgFPLie, [ AlgFPLieElt ] → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#constructor-constructor-hom-algfplie-algfplie-algfplieelt-map)
    - [`hom<L -> M | Q>: AlgFPLie, TupMod, [ TupModElt ] → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#constructor-constructor-hom-algfplie-tupmod-tupmodelt-map)
    - [Example: Homomorphisms from a Free Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/fp-construct.md#example-ex-8cb631)
- [Lie Algebras Generated by Extremal Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md)
  - [Constructing Lie Algebras Generated by Extremal Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#constructing-lie-algebras-generated-by-extremal-elements)
    - [`ExtremalLieAlgebra(K, n): Rng, RngIntElt → AlgLieExtr`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-extremalliealgebrakn)
    - [`ExtremalLieAlgebra(K, G): Rng, GrphUnd → AlgLieExtr`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-extremalliealgebra-rng-grphund)
  - [Properties of Lie Algebras Generated by Extremal Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#properties-of-lie-algebras-generated-by-extremal-elements)
    - [`NumberOfGenerators(L): AlgLieExtr → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-numberofgenerators-alglieextr)
    - [`Ngens(L): AlgLieExtr → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-ngens-alglieextr)
    - [`CoefficientRing(L): AlgLieExtr → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-coefficientring-alglieextr)
    - [`BaseRing(L): AlgLieExtr → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-basering-alglieextr)
    - [`CommutatorGraph(L): AlgLieExtr → GrphUnd`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-commutatorgraph-alglieextr)
    - [Example: Lie Algebra from Extremal Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-3fa178)
    - [`Basis(L): AlgLieExtr → SeqEnum[AlgFPLieElt], SeqEnum[UserProgram]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-basis-alglieextr)
    - [`ZBasis(L): AlgLieExtr → SeqEnum[AlgFPLieElt], SeqEnum[RngIntElt], SeqEnum[AlgFPLieElt]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-zbasis-alglieextr)
    - [`Dimension(L): AlgLieExtr → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-dimension-alglieextr)
    - [Example: Basis of an Extremal Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-0b6eca)
    - [`MultiplicationTable(~L): AlgLieExtr`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#procedure-multiplicationtablelproc)
    - [`MultiplicationTable(L): AlgLieExtr → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-multiplicationtablel)
    - [Example: Multiplication Table of an Extremal Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-7dacec)
  - [Instances of Lie Algebras Generated by Extremal Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#instances-of-lie-algebras-generated-by-extremal-elements)
    - [`Instance(L): AlgLieExtr → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-instance-alglieextr)
    - [`Instance(L, Q): AlgLieExtr, SeqEnum → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-instance-alglieextr-seqenum)
    - [Example: Instance of an Extremal Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-658a16)
  - [Studying the Parameter Space](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#studying-the-parameter-space)
    - [`FreefValues(L): AlgLieExtr → SeqEnum, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-freefvalues)
    - [`fValue(L, x, b): AlgLieExtr, RngIntElt, RngIntElt → RngElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-fvalue-alglieextr-rngintelt-rngintelt)
    - [`fValueProof(L, x, b): AlgLieExtr, RngIntElt, RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#procedure-fvalueproof-alglieextr-rngintelt-rngintelt)
    - [Example: Free Parameters of an Extremal Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-dc2192)
    - [`DimensionsEstimate(L, g): AlgLieExtr, UserProgram → SeqEnum, SetMulti`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-dimensionsestimate)
    - [`InstancesForDimensions(L, g, D): AlgLieExtr, UserProgram, SetEnum[RngIntElt] → Assoc`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#function-instancesfordimensions-alglieextr-userprogram-setenum-rngintelt)
    - [Example: Dimensions of the Parameter Variety](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/alglieextr.md#example-ex-44228f)
- [Families of Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md)
  - [Almost Reductive Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#almost-reductive-lie-algebras)
    - [`LieAlgebra(T, k): MonStgElt, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra)
    - [`LieAlgebra(R, k): RootDtm, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-rootdtm-rng)
    - [`LieAlgebra(R, k): RootSys, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-rootsys-rng)
    - [`LieAlgebra(D, k): GrphDir, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-grphdir-rng)
    - [`LieAlgebra(C, k): AlgMatElt, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-algmatelt-rng)
    - [`MatrixLieAlgebra(T, k): MonStgElt, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-matrixliealgebra)
    - [`MatrixLieAlgebra(R, k): RootDtm, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-matrixliealgebra-rootdtm-rng)
    - [`MatrixLieAlgebra(R, k): RootSys, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-matrixliealgebra-rootsys-rng)
    - [`MatrixLieAlgebra(D, k): GrphDir, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-matrixliealgebra-grphdir-rng)
    - [`MatrixLieAlgebra(C, k): AlgMatElt, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-matrixliealgebra-algmatelt-rng)
    - [Example: Constructing Semisimple Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-05c3a3)
    - [Example: Isogeny Option for Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-ef718c)
    - [`LieAlgebra(N, k, p): MonStgElt, Rng, GrpPermElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-monstgelt-rng-grppermelt)
    - [`LieAlgebra(R, k, p): RootDtm, Rng, GrpPermElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-liealgebra-rootdtm-rng-grppermelt)
    - [`TwistedLieAlgebra(R, k): RootDtm, Rng → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-twistedliealgebra-rootdtm-rng)
    - [Example: Twisted Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-0173e2)
  - [Cartan-Type Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#cartan-type-lie-algebras)
    - [`WittLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-wittliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [Example: Witt Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-ea6512)
    - [`SpecialLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, AlgLie, Map, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-specialliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [`ConformalSpecialLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, AlgLie, AlgLie, Map, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-conformalspecialliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [Example: Special Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-c2ee06)
    - [`HamiltonianLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-hamiltonianliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [`ConformalHamiltonianLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, AlgLie, AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-conformalhamiltonianliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [Example: Hamiltonian Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-2e2daf)
    - [`ContactLieAlgebra(F, m, n): Fld, RngIntElt, SeqEnum[RngIntElt] → AlgLie, AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-contactliealgebra-fld-rngintelt-seqenum-rngintelt)
    - [Example: Contact Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-983c1d)
  - [Melikian Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#melikian-lie-algebras)
    - [`MelikianLieAlgebra(F, n1, n2): Fld, RngIntElt, RngIntElt → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#function-melikianliealgebra-fld-rngintelt-rngintelt)
    - [Example: Melikian Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/family-construct.md#example-ex-c70322)
- [Construction of Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md)
  - [`Zero(L): AlgLie → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-zero-alglie)
  - [`Zero(L): AlgMatLie → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-zero-algmatlie)
  - [`L ! 0: AlgLie, RngIntElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#operation-op-alglie-rngintelt)
  - [`L ! 0: AlgMatLie, RngIntElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#operation-op-algmatlie-rngintelt)
  - [`Random(L): AlgLie → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-random-alglie)
  - [`Random(L): AlgMatLie → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-random-algmatlie)
  - [Construction of Elements of Structure Constant Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#construction-of-elements-of-structure-constant-algebras)
    - [`elt<L | r₁, r₂, ..., rₙ>: AlgLie, RngElt, RngElt, ..., RngElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#constructor-constructor-elt-alglie-rngelt-rngelt-rngelt-alglieelt)
    - [`L ! Q: AlgLie, SeqEnum[RngElt] → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#operation-op-alglie-seqenum-rngelt)
    - [`BasisProduct(L, i, j): AlgLie, RngIntElt, RngIntElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-basisproduct-alglie-rngintelt-rngintelt)
    - [`BasisProducts(L): AlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-basisproducts-alglie)
  - [Construction of Matrix Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#construction-of-matrix-elements)
    - [`elt<R | L>: AlgMatLie, [ RngElt ] → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#constructor-constructor-elt-algmatlie-rngelt-algmatlieelt)
    - [`elt<R | L>: AlgMatLie, RngElt, ..., RngElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#constructor-constructor-elt-algmatlie-rngelt-rngelt-algmatlieelt)
    - [`R ! L: AlgMatLie, [RngElt] → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#operation-op-algmatlie-rngelt)
    - [`DiagonalMatrix(L, Q): AlgMatLie, [RngElt] → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-diagonalmatrix-algmatlie-rngelt)
    - [`ScalarMatrix(L, r): AlgMatLie, RngElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/element-construct.md#function-scalarmatrix-algmatlie-rngelt)
- [Construction of Subalgebras, Ideals, and Quotients](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md)
  - [`sub<L | A>: AlgLie, List → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-sub-alglie-list-alglie-map)
  - [`sub<L | A>: AlgMatLie, List → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-sub-algmatlie-list-algmatlie-map)
  - [`ideal<L | A>: AlgLie, List → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-ideal-alglie-list-alglie-map)
  - [`ideal<L | A>: AlgMatLie, List → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-ideal-algmatlie-list-algmatlie-map)
  - [`quo<L | A>: AlgLie, List → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-quo-alglie-list-alglie-map)
  - [`quo<L | A>: AlgMatLie, List → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#constructor-constructor-quo-algmatlie-list-algmatlie-map)
  - [`L / S: AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#operation-op-div-alglie-alglie)
  - [`L / S: AlgMatLie, AlgMatLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#operation-op-div-algmatlie-algmatlie)
  - [Example: Quotient of a Matrix Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#example-ex-bb05e7)
  - [`QuotientWithPullback(L, I): AlgLie, AlgLie → AlgLie, Map, UserProgram, UserProgram`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#function-quotientwithpullback-alglie-alglie)
  - [Example: Quotient and Pullback of an Ideal](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-construct.md#example-ex-83d77d)
- [Operations on Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md)
  - [`L eq K: AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-eq-alglie-alglie)
  - [`L eq K: AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-eq-algmatlie-algmatlie)
  - [`L ne K: AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-ne-alglie-alglie)
  - [`L ne K: AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-ne-algmatlie-algmatlie)
  - [`L subset K: AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-subset-alglie-alglie)
  - [`L subset K: AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-subset-algmatlie-algmatlie)
  - [`L notsubset K: AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-operation-notsubset-alglie-alglie-boolelt)
  - [`L meet M: AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-meet-alglie-alglie)
  - [`L meet M: AlgMatLie, AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-meet-algmatlie-algmatlie)
  - [`L * M: AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-times-alglie-alglie)
  - [`L * M: AlgMatLie, AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-times-algmatlie-algmatlie)
  - [`L ^ n: AlgLie, RngIntElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-op-pow-alglie-rngintelt)
  - [`Morphism(L, M): AlgLie, AlgLie → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-morphism-alglie-alglie)
  - [`IsIsomorphic(L, M): AlgLie, AlgLie → BoolElt, .`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isisomorphiclie)
  - [`IsKnownIsomorphic(L, M): AlgLie, AlgLie → BoolElt, BoolElt, .`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isknownisomorphic-alglie-alglie)
  - [`IsIsomorphism(m): Map[AlgLie, AlgLie] → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isisomorphism-map-alglie-alglie)
  - [Example: Isomorphism of B2 and C2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-4fbecb)
  - [Example: Isomorphic Ideals of G2 and A2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-3b3b3e)
  - [Basic Invariants](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#basic-invariants)
    - [`CoefficientRing(L): AlgLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-coefficientring-alglie)
    - [`CoefficientRing(L): AlgMatLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-coefficientring-algmatlie)
    - [`BaseRing(L): AlgLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basering-alglie)
    - [`BaseRing(L): AlgMatLie → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basering-algmatlie)
    - [`Dimension(L): AlgLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-dimension-alglie)
    - [`Dimension(L): AlgMatLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-dimension-algmatlie)
    - [`# L: AlgLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-operation-alglie-rngintelt)
    - [`# L: AlgMatLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-operation-algmatlie-rngintelt)
    - [`Moduli(L): AlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-moduli-alglie)
    - [Example: Moduli of a Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-29430b)
  - [Changing Base Rings](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#changing-base-rings)
    - [`ChangeRing(L, S): AlgLie, Rng → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-changering-alglie-rng)
    - [`ChangeRing(L, S): AlgMatLie, Rng → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-changering-algmatlie-rng)
    - [`ChangeRing(L, S, f): AlgLie, Rng, Map → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-changering-alglie-rng-map)
    - [`ChangeRing(L, S, f): AlgMatLie, Rng, Map → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-changering-algmatlie-rng-map)
  - [Bases](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#bases)
    - [`BasisElement(A, i): AlgLie, RngIntElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basiselement-alglie-rngintelt)
    - [`BasisElement(A, i): AlgMatLie, RngIntElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basiselement-algmatlie-rngintelt)
    - [`A . i: AlgLie, RngIntElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-operation-alglie-rngintelt-alglieelt)
    - [`A . i: AlgMatLie, RngIntElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operation-operation-algmatlie-rngintelt-algmatlieelt)
    - [`Basis(A): AlgLie → [ AlgLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basis-alglie)
    - [`Basis(A): AlgMatLie → [ AlgMatLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-basis-algmatlie)
    - [`IsIndependent(Q): [ AlgLieElt ] → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isindependent-alglieelt)
    - [`IsIndependent(Q): [ AlgMatLieElt ] → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isindependent-algmatlieelt)
    - [`IsIndependent(Q): { AlgLieElt } → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isindependent-alglieelt-2)
    - [`IsIndependent(Q): { AlgMatLieElt } → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-isindependent-algmatlieelt-2)
    - [`ExtendBasis(S, L): AlgLie, AlgLie → [ AlgElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-extendbasis-alglie-alglie)
    - [`ExtendBasis(S, L): AlgMatLie, AlgMatLie → [ AlgElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-extendbasis-algmatlie-algmatlie)
    - [`ExtendBasis(Q, L): [ AlgLieElt ], AlgLie → [ AlgElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-extendbasis-alglieelt-alglie)
    - [`ExtendBasis(Q, L): [ AlgMatLie ], AlgMatLie → [ AlgElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-extendbasis-algmatlie-algmatlie-2)
  - [Operations for Semisimple and Reductive Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#operations-for-semisimple-and-reductive-lie-algebras)
    - [`SemisimpleType(L): AlgLie → MonStgElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-semisimpletype-alglie)
    - [`SemisimpleType(L): AlgMatLie → MonStgElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-semisimpletype-algmatlie)
    - [`CartanName(L): AlgLie → MonStgElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-cartanname-alglie)
    - [`CartanName(L): AlgMatLie → MonStgElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-cartanname-algmatlie)
    - [Example: Semisimple Type of a Levi Subalgebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-6372db)
    - [`ReductiveType(L): AlgLie → RootDtm, MonStgElt, SeqEnum, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-reductivetype-alglie)
    - [`ReductiveType(L, H): AlgLie, AlgLie → RootDtm, MonStgElt, SeqEnum, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-reductivetype-alglie-alglie)
    - [Example: Reductive Type in Characteristic 2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-c3afbb)
    - [`RootSystem(L): AlgLie → [ ModTupRngElt ], [ AlgLieElt ], [ ModTupRngElt ], AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-rootsystem-alglie)
    - [`RootSystem(L): AlgMatLie → [ ModTupRngElt ], [ AlgMatLieElt ], [ ModTupRngElt ], AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-rootsystem-algmatlie)
    - [Example: Root System of G2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-cfabbc)
    - [`RootDatum(L): AlgLie → RootDtm`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-rootdatum-alglie)
    - [`RootDatum(L): AlgMatLie → RootDtm`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-rootdatum-algmatlie)
    - [Example: Root Datum and Cartan Matrix](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-afa536)
    - [`ChevalleyBasis(L): AlgLie → [ AlgLieElt ], [ AlgLieElt ], [ AlgLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-chevalleybasis)
    - [`ChevalleyBasis(L, H): AlgLie, AlgLie → [ AlgLieElt ], [ AlgLieElt ], [ AlgLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-chevalleybasis-alglie-alglie)
    - [`ChevalleyBasis(L): AlgMatLie → [ AlgMatLieElt ], [ AlgMatLieElt ], [ AlgMatLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-chevalleybasis-algmatlie)
    - [Example: Chevalley Basis](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-fc1498)
    - [`ChevalleyBasis(L, H, R): AlgLie, AlgLie, RootDtm → [ AlgLieElt ], [ AlgLieElt ], [ AlgLieElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-chevalleybasis-alglie-alglie-rootdtm)
    - [`IsChevalleyBasis(L, R, x, y, h): AlgLie, RootDtm, [ AlgLieElt ], [ AlgLieElt ], [ AlgLieElt ] → BoolElt, [ Tup ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-ischevalleybasis-alglie-rootdtm-alglieelt-alglieelt-alglieelt)
    - [Example: Chevalley Basis in Small Characteristic](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-f1d947)
    - [`TwistedBasis(L, H, R): AlgLie, AlgLie, RootDtm → AlgLie, AlgLie, Rec, AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-twistedbasis)
    - [Example: Twisted Basis of 2A2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#example-ex-cf55bc)
    - [`WeylGroup(L): AlgLie → GrpPermCox`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-weylgroup-alglie)
    - [`WeylGroup(GrpPermCox, L): Cat, AlgLie → GrpPermCox`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-weylgroup-cat-alglie)
    - [`WeylGroup(GrpFPCox, L): Cat, AlgLie → GrpPermCox`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-weylgroup-cat-alglie-2)
    - [`WeylGroup(GrpMat, L): Cat, AlgLie → GrpPermCox`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/operation.md#function-weylgroup-cat-alglie-3)
- [Operations on Subalgebras and Ideals](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md)
  - [`DirectSum(L, M): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-directsum-alglie-alglie)
  - [`DirectSum(L, M): AlgMatLie, AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-directsum-algmatlie-algmatlie)
  - [`IndecomposableSummands(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-indecomposablesummands-alglie)
  - [`IndecomposableSummands(L): AlgMatLie → [ AlgMatLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-indecomposablesummands-algmatlie)
  - [`DirectSumDecomposition(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-directsumdecomposition-alglie)
  - [`DirectSumDecomposition(L): AlgMatLie → [ AlgMatLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-directsumdecomposition-algmatlie)
  - [Example: Direct Sum Decomposition](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-45b01f)
  - [Standard Ideals and Subalgebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#standard-ideals-and-subalgebras)
    - [`Centre(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centre-alglie)
    - [`Centre(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centre-algmatlie)
    - [`Center(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-center-alglie)
    - [`Center(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-center-algmatlie)
    - [`Centraliser(L, K): AlgLie, AlgLie → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centraliser-alglie-alglie)
    - [`Centraliser(L, K): AlgMatLie, AlgMatLie → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centraliser-algmatlie-algmatlie)
    - [`Centralizer(L, K): AlgLie, AlgLie → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centralizer-alglie-alglie)
    - [`Centralizer(L, K): AlgMatLie, AlgMatLie → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centralizer-algmatlie-algmatlie)
    - [`Centraliser(L, x): AlgLie, AlgLieElt → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centraliser-alglie-alglieelt)
    - [`Centraliser(L, x): AlgMatLie, AlgMatLieElt → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centraliser-algmatlie-algmatlieelt)
    - [`Centralizer(L, x): AlgLie, AlgLieElt → AlgLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centralizer-alglie-alglieelt)
    - [`Centralizer(L, x): AlgMatLie, AlgMatLieElt → AlgMatLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-centralizer-algmatlie-algmatlieelt)
    - [`Normaliser(L, K): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-normaliser-alglie-alglie)
    - [`Normaliser(L, K): AlgMatLie, AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-normaliser-algmatlie-algmatlie)
    - [`Normalizer(L, K): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-normalizer-alglie-alglie)
    - [`Normalizer(L, K): AlgMatLie, AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-normalizer-algmatlie-algmatlie)
    - [`SolubleRadical(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-solubleradical-alglie)
    - [`SolubleRadical(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-solubleradical-algmatlie)
    - [`SolvableRadical(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-solvableradical-alglie)
    - [`SolvableRadical(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-solvableradical-algmatlie)
    - [`Nilradical(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-nilradical-alglie)
    - [`Nilradical(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-nilradical-algmatlie)
    - [Example: Centre, Normaliser, and Other Operations](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-d2d791)
  - [Cartan and Toral Subalgebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#cartan-and-toral-subalgebras)
    - [`CartanSubalgebra(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-cartansubalgebra-alglie)
    - [`CartanSubalgebra(L): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-cartansubalgebra-algmatlie)
    - [`IsCartanSubalgebra(L, H): AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-iscartansubalgebra-alglie-alglie)
    - [`IsCartanSubalgebra(L, H): AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-iscartansubalgebra-algmatlie-algmatlie)
    - [Example: Cartan Subalgebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-675c63)
    - [`SplittingCartanSubalgebra(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-splittingcartansubalgebra-alglie)
    - [`SplitMaximalToralSubalgebra(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-splitmaximaltoralsubalgebra)
    - [`IsSplittingCartanSubalgebra(L, H): AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-issplittingcartansubalgebra-alglie-alglie)
    - [`IsSplittingCartanSubalgebra(L, H): AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-issplittingcartansubalgebra-algmatlie-algmatlie)
    - [`SplitToralSubalgebra(L): AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-splittoralsubalgebra)
    - [`IsSplitToralSubalgebra(L, H): AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-issplittoralsubalgebra-alglie-alglie)
    - [Example: Split Toral Subalgebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-3f1c22)
  - [Standard Series](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#standard-series)
    - [`CompositionSeries(L): AlgLie → [ Alg ], [ AlgLie ], AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-compositionseries-alglie)
    - [`CompositionFactors(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-compositionfactors-alglie)
    - [`MinimalIdeals(L : parameters): AlgLie → [ AlgLie ], BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-minimalideals-alglie)
    - [`MaximalIdeals(L : parameters): AlgLie → [ AlgLie ], BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-maximalideals-alglie)
    - [`DerivedSeries(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-derivedseries-alglie)
    - [`DerivedSeries(L): AlgMatLie → [ AlgMatLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-derivedseries-algmatlie)
    - [`LowerCentralSeries(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-lowercentralseries-alglie)
    - [`LowerCentralSeries(L): AlgMatLie → [ AlgMatLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-lowercentralseries-algmatlie)
    - [`UpperCentralSeries(L): AlgLie → [ AlgLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-uppercentralseries-alglie)
    - [`UpperCentralSeries(L): AlgMatLie → [ AlgMatLie ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-uppercentralseries-algmatlie)
    - [Example: Series of a Subalgebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-9cb576)
  - [The Lie Algebra of Derivations](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#the-lie-algebra-of-derivations)
    - [`LieAlgebraOfDerivations(L): AlgLie → AlgLie, Rec`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#function-liealgebraofderivations-alglie)
    - [Example: Lie Algebra of Derivations](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md#example-ex-d37e8c)
- [Properties of Lie Algebras and Ideals](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md)
  - [`KillingForm(L): AlgLie → ModMatFldElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-killingform-alglie)
  - [`KillingForm(L): AlgMatLie → ModMatFldElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-killingform-algmatlie)
  - [`KillingMatrix(L): AlgLie → ModMatFldElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-killingmatrix-alglie)
  - [`KillingMatrix(L): AlgMatLie → ModMatFldElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-killingmatrix-algmatlie)
  - [Example: Killing Matrix of a Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#example-ex-53bd1a)
  - [`IsAbelian(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isabelian-alglie)
  - [`IsAbelian(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isabelian-algmatlie)
  - [`IsSoluble(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issoluble-alglie)
  - [`IsSoluble(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issoluble-algmatlie)
  - [`IsSolvable(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issolvable-alglie)
  - [`IsSolvable(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issolvable-algmatlie)
  - [`IsNilpotent(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isnilpotent-alglie)
  - [`IsNilpotent(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isnilpotent-algmatlie)
  - [`IsCentral(L, M): AlgLie, AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-iscentral-alglie-alglie)
  - [`IsCentral(L, M): AlgMatLie, AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-iscentral-algmatlie-algmatlie)
  - [`IsSimple(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issimple-alglie)
  - [`IsSimple(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issimple-algmatlie)
  - [`IsSemisimple(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issemisimple-alglie)
  - [`IsSemisimple(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-issemisimple-algmatlie)
  - [`IsReductive(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isreductive-alglie)
  - [`IsReductive(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isreductive-algmatlie)
  - [`HasLeviSubalgebra(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-haslevisubalgebra-alglie)
  - [`HasLeviSubalgebra(L): AlgMatLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-haslevisubalgebra-algmatlie)
  - [`IsClassicalType(L): AlgLie → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#function-isclassicaltype-alglie)
  - [Example: Predicates on a Simple Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.md#example-ex-6ba33a)
- [Operations on Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md)
  - [`x + y: AlgLieElt, AlgLieElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-plus-alglieelt-alglieelt)
  - [`x + y: AlgMatLieElt, AlgMatLieElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-plus-algmatlieelt-algmatlieelt)
  - [`x - y: AlgLieElt, AlgLieElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-minus-alglieelt-alglieelt)
  - [`x - y: AlgMatLieElt, AlgMatLieElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-minus-algmatlieelt-algmatlieelt)
  - [`x * y: AlgLieElt, AlgLieElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-times-alglieelt-alglieelt)
  - [`x * y: AlgMatLieElt, AlgMatLieElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#operation-op-times-algmatlieelt-algmatlieelt)
  - [`IsCentral(L, M): AlgLie, AlgLieElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#function-iscentral-alglie-alglieelt)
  - [`IsCentral(L, M): AlgMatLie, AlgMatLieElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#function-iscentral-algmatlie-algmatlieelt)
  - [`NonNilpotentElement(L): AlgLie → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#function-nonnilpotentelement-alglie)
  - [Example: Non-Nilpotent Element](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#example-ex-a38e8a)
  - [`AdjointMatrix(L, x): AlgLie, AlgLieElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#function-adjointmatrix-alglie-alglieelt)
  - [`RightAdjointMatrix(L, x): AlgLie, AlgLieElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#function-rightadjointmatrix-alglie-alglieelt)
  - [Example: Adjoint Matrix of an Element](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#example-ex-c4c36f)
  - [Indexing](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#indexing)
    - [`a[i]: AlgLieElt, RngIntElt → RngElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#indexed-indexed-a-alglieelt-rngintelt-rngelt)
    - [`a[i]: AlgMatLieElt, RngIntElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#literal-literal-a-i-algmatlieelt-rngintelt-modtuprngelt)
    - [`a[i] := r: AlgLieElt, RngIntElt, RngElt → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#literal-literal-a-i-r-alglieelt-rngintelt-rngelt-alglieelt)
    - [`a[i] := r: AlgMatLieElt, RngIntElt, ModTupRngElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#literal-literal-a-i-r-algmatlieelt-rngintelt-modtuprngelt-algmatlieelt)
    - [`a[i, j]: AlgMatLieElt, RngIntElt, RngIntElt → RngElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#indexed-indexed-a-algmatlieelt-rngintelt-rngintelt-rngelt)
    - [`a[i, j] := r: AlgMatLieElt, RngIntElt, RngIntElt, RngElt → AlgMatLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md#literal-literal-a-i-j-r-algmatlieelt-rngintelt-rngintelt-rngelt-algmatlieelt)
- [The Natural Module](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md)
  - [`Module(L): AlgLie → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-module-alglie)
  - [`RModule(L): AlgMatLie → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-rmodule-algmatlie)
  - [`BaseModule(L): AlgMatLie → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-basemodule-algmatlie)
  - [`Degree(L): AlgLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-degree-alglie)
  - [`Degree(L): AlgMatLie → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-degree-algmatlie)
  - [`Degree(a): AlgLieElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-degree-alglieelt)
  - [`ElementToSequence(a): AlgLieElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-elementtosequence-alglieelt)
  - [`Eltseq(a): AlgLieElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-eltseq-alglieelt)
  - [`Coordinates(M, a): AlgLie, AlgLieElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-coordinates-alglie-alglieelt)
  - [`Coordinates(M, a): AlgMatLie, AlgMatLieElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-coordinates-algmatlie-algmatlieelt)
  - [`InnerProduct(a, b): AlgLieElt, AlgLieElt → RngElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-innerproduct-alglieelt-alglieelt)
  - [`Support(a): AlgLieElt → SetEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.md#function-support-alglieelt)
- [Operations for Matrix Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md)
  - [`BaseModule(M): AlgMatLie → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-basemodule-algmatlie-2)
  - [`Generic(M): AlgMatLie → AlgMatLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-generic-algmatlie)
  - [`Kernel(X): AlgMatLieElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-kernel-algmatlieelt)
  - [`Nullspace(X): AlgMatLieElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-nullspace-algmatlieelt)
  - [`NullspaceOfTranspose(X): AlgMatLieElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-nullspaceoftranspose-algmatlieelt)
  - [`RowNullSpace(X): AlgMatLieElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md#function-rownullspace-algmatlieelt)
- [Homomorphisms](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/homomorphisms.md)
  - [`hom<L -> M | Q>: AlgLie, AlgLie, [ AlgLieElt ] → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/homomorphisms.md#constructor-constructor-hom-alglie-alglie-alglieelt-map)
  - [`hom<L -> M | Q>: AlgLie, TupMod, [ TupModElt ] → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/homomorphisms.md#constructor-constructor-hom-alglie-tupmod-tupmodelt-map)
- [Automorphisms of Classical-type Reductive Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md)
  - [`IdentityAutomorphism(L): AlgLie → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-identityautomorphism-alglie)
  - [`InnerAutomorphism(L, x): AlgLie, GrpLieElt → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-innerautomorphism-alglie-grplieelt)
  - [`InnerAutomorphismGroup(L): AlgLie → GrpLie, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-innerautomorphismgroup-alglie)
  - [`DiagonalAutomorphism(L, v): AlgLie, ModTupRngElt → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-diagonalautomorphism-alglie-modtuprngelt)
  - [`GraphAutomorphism(L, p): AlgLie, GrpPermElt → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-graphautomorphism-alglie-grppermelt)
  - [`DiagramAutomorphism(L, p): AlgLie, GrpPermElt → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#function-diagramautomorphism-alglie-grppermelt)
  - [Example: Graph Automorphism of Order Three](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.md#example-ex-d6f1f7)
- [Restrictable Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md)
  - [`IsRestrictable(L): AlgLie → BoolElt, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-isrestrictable-alglie)
  - [`IsRestricted(L): AlgLie → BoolElt, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-isrestricted-alglie)
  - [`IspLieAlgebra(L): AlgLie → BoolElt, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-ispliealgebra-alglie)
  - [`RestrictionMap(L): AlgLie → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-restrictionmap-alglie)
  - [`pMap(L): AlgLie → Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-pmap-alglie)
  - [Example: Restrictable Lie Algebras and p-Maps](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#example-ex-7334d1)
  - [`RestrictedSubalgebra(Q): SetEnum[AlgLieElt] → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-restrictedsubalgebra-setenum-alglieelt)
  - [`pSubalgebra(Q): SetEnum[AlgLieElt] → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-psubalgebra-setenum-alglieelt)
  - [`pClosure(L, M): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-pclosure-alglie-alglie)
  - [`IsRestrictedSubalgebra(L, M): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-isrestrictedsubalgebra-alglie-alglie)
  - [`IspSubalgebra(L, M): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-ispsubalgebra-alglie-alglie)
  - [`pQuotient(L, M): AlgLie, AlgLie → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-pquotient-alglie-alglie)
  - [`JenningsLieAlgebra(G): Grp → AlgLie, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#function-jenningsliealgebra-grp)
  - [Example: Jennings Lie Algebra of a p-Group](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md#example-ex-2771f0)
- [Universal Enveloping Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md)
  - [Background](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#background)
    - [Universal Enveloping Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#uea-background-1)
    - [The Integral Form of a Universal Enveloping Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#the-integral-form-of-a-universal-enveloping-algebra)
  - [Construction of Universal Enveloping Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#construction-of-universal-enveloping-algebras)
    - [`UniversalEnvelopingAlgebra(L): AlgLie → AlgUE`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-universalenvelopingalgebra-alglie)
    - [`IntegralUEA(L): AlgLie → AlgIUE`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-integraluea-alglie)
    - [`IntegralUEAlgebra(L): AlgLie → AlgIUE`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-integraluealgebra-alglie)
    - [`IntegralUniversalEnvelopingAlgebra(L): AlgLie → AlgIUE`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-integraluniversalenvelopingalgebra-alglie)
    - [Example: Constructing a Universal Enveloping Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#example-ex-c78d02)
    - [`AssignNames(~U, Q): AlgPBW, [ MonStgElt ]`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#procedure-assignnames-algpbw-monstgelt-ref)
    - [`ChangeRing(U, S): AlgUE, Rng → AlgUE`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-changering-algue-rng)
  - [Related Structures](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#related-structures)
    - [`CoefficientRing(U): AlgPBW → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-coefficientring-algpbw)
    - [`BaseRing(U): AlgPBW → Rng`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-basering-algpbw)
    - [`Algebra(U): AlgUE → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-algebra-algue)
  - [Elements of Universal Enveloping Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#elements-of-universal-enveloping-algebras)
    - [Creation of Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#creation-of-elements)
      - [`U ! 0: AlgPBW, RngIntElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-algpbw-rngintelt)
      - [`Zero(U): AlgPBW → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-zero-algpbw)
      - [`U ! 1: AlgPBW, RngIntElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-algpbw-rngintelt-2)
      - [`One(U): AlgPBW → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-one-algpbw)
      - [`U . i: AlgPBW, RngIntElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-operation-algpbw-rngintelt-algpbwelt)
      - [`U ! r: AlgPBW, Any → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-algpbw-any)
      - [`HBinomial(U, i, n): AlgIUE, RngIntElt, RngIntElt → AlgIUEElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-hbinomial-algiue-rngintelt-rngintelt)
      - [`HBinomial(h, n): AlgIUEElt, RngIntElt → AlgIUEElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-hbinomial-algiueelt-rngintelt)
      - [Example: Binomial Elements of an Integral Enveloping Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#example-ex-4c79c2)
    - [Operations on Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operations-on-elements)
      - [`x + y: AlgPBWElt, AlgPBWElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-plus-algpbwelt-algpbwelt)
      - [`x - y: AlgPBWElt, AlgPBWElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-minus-algpbwelt-algpbwelt)
      - [`x * y: AlgPBWElt, AlgPBWElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-times-algpbwelt-algpbwelt)
      - [`c * x: RngElt, AlgPBWElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-times-rngelt-algpbwelt)
      - [`x * c: AlgPBWElt, RngElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-times-algpbwelt-rngelt)
      - [`x ^ n: AlgPBWElt, RngIntElt → AlgPBWElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#operation-op-pow-algpbwelt-rngintelt)
      - [`Monomials(u): AlgPBWElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-monomials-algpbwelt)
      - [`Coefficients(u): AlgPBWElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-coefficients-algpbwelt)
      - [`Degree(u, i): AlgPBWElt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#function-degree-algpbwelt-rngintelt)
      - [Example: Operations on Enveloping Algebra Elements](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/universal_enveloping_algebras.md#example-ex-81e4e4)
- [Solvable and Nilpotent Lie Algebras Classification](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md)
  - [The List of Solvable Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#the-list-of-solvable-lie-algebras)
  - [Comments on the Classification over Finite Fields](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#comments-on-the-classification-over-finite-fields)
  - [The List of Nilpotent Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#the-list-of-nilpotent-lie-algebras)
  - [Intrinsics for Working with the Classifications](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#intrinsics-for-working-with-the-classifications)
    - [`SolvableLieAlgebra( F, n, k : parameters): Fld, RngIntElt, RngIntElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-solvableliealgebra-fld-rngintelt-rngintelt)
    - [Example: Solvable Lie Algebra from the Classification](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#example-ex-72dcd0)
    - [`NilpotentLieAlgebra( F, r, k : parameters): Fld, RngIntElt, RngIntElt → AlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-nilpotentliealgebra-fld-rngintelt-rngintelt)
    - [Example: Nilpotent Lie Algebra from the Classification](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#example-ex-3827f2)
    - [`AllSolvableLieAlgebras(F, d): Fld, RngIntElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-allsolvableliealgebras-fld-rngintelt)
    - [`AllNilpotentLieAlgebras(F, d): Fld, RngIntElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-allnilpotentliealgebras-fld-rngintelt)
    - [`IdDataSLAC(L): AlgLie → MonStgElt, SeqEnum, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-iddataslac-alglie)
    - [`IdDataNLAC(L): AlgLie → MonStgElt, SeqEnum, Map`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-iddatanlac-alglie)
    - [`MatrixOfIsomorphism(f): Map → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#function-matrixofisomorphism-map)
    - [Example: Identifying a Solvable Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#example-ex-b0dc46)
    - [Example: Identifying a Nilpotent Lie Algebra](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/solvable-nilpotent.md#example-ex-7b45ed)
- [Semisimple Subalgebras of Simple Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-sssdb.md)
  - [`SubalgebrasInclusionGraph( t ): MonStgElt → GrphDir`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-sssdb.md#function-subalgebrasinclusiongraph-monstgelt)
  - [Example: Maximal Semisimple Subalgebras of C3](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-sssdb.md#example-ex-7eb7e1)
  - [`RestrictionMatrix( G, k ): GrphDir, RngIntElt → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-sssdb.md#function-restrictionmatrix-grphdir-rngintelt)
  - [Example: Branching from D4 to G2](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub-sssdb.md#example-ex-03a6eb)
- [Nilpotent Orbits in Simple Lie Algebras](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md)
  - [`IsGenuineWeightedDynkinDiagram( L, wd ): AlgLie, SeqEnum → BoolElt, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-isgenuineweighteddynkindiagram-alglie-seqenum)
  - [Example: Classifying Nilpotent Orbits](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#example-ex-762477)
  - [`NilpotentOrbit( L, wd ): AlgLie, SeqEnum → NilpOrbAlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-nilpotentorbit-alglie-seqenum)
  - [`NilpotentOrbit( L, e ): AlgLie, AlgLieElt → NilpOrbAlgLie`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-nilpotentorbit-alglie-alglieelt)
  - [Example: Nilpotent Orbits by Representative](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#example-ex-ab5b8b)
  - [`NilpotentOrbits( L ): AlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-nilpotentorbits-alglie)
  - [Example: Nilpotent Orbits of D4](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#example-ex-1ce736)
  - [`Partition( o ): NilpOrbAlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-partition-nilporbalglie)
  - [Example: Partitions of Nilpotent Orbits](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#example-ex-52861d)
  - [`SL2Triple( o ): NilpOrbAlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-sl2triple-nilporbalglie)
  - [`SL2Triple( L, e ): AlgLie, AlgLieElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-sl2triple-alglie-alglieelt)
  - [`Representative( o ): NilpOrbAlgLie → AlgLieElt`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-representative-nilporbalglie)
  - [`WeightedDynkinDiagram( o ): NilpOrbAlgLie → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#function-weighteddynkindiagram-nilporbalglie)
  - [Example: Weighted Dynkin Diagram of an Orbit](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/nilpotent-orbits.md#example-ex-eb9e7c)
- [Bibliography](https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/bibliography.md)
