---
title: "The Natural Module"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/natural-module.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"}
  - {"title": "Lie Algebras", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/index-lie-algebras.md"}
prev: {"title": "Operations on Elements", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md"}
next: {"title": "Operations for Matrix Lie Algebras", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/matrix.md"}
intrinsics:
  - {"name": "Module", "signature": "Module(L): AlgLie -> ModTupRng"}
  - {"name": "RModule", "signature": "RModule(L): AlgMatLie -> ModTupRng"}
  - {"name": "BaseModule", "signature": "BaseModule(L): AlgMatLie -> ModTupRng"}
  - {"name": "Degree", "signature": "Degree(L): AlgLie -> RngIntElt"}
  - {"name": "Degree", "signature": "Degree(L): AlgMatLie -> RngIntElt"}
  - {"name": "Degree", "signature": "Degree(a): AlgLieElt -> RngIntElt"}
  - {"name": "ElementToSequence", "signature": "ElementToSequence(a): AlgLieElt -> SeqEnum"}
  - {"name": "Eltseq", "signature": "Eltseq(a): AlgLieElt -> SeqEnum"}
  - {"name": "Coordinates", "signature": "Coordinates(M, a): AlgLie, AlgLieElt -> SeqEnum"}
  - {"name": "Coordinates", "signature": "Coordinates(M, a): AlgMatLie, AlgMatLieElt -> SeqEnum"}
  - {"name": "InnerProduct", "signature": "InnerProduct(a, b): AlgLieElt, AlgLieElt -> RngElt"}
  - {"name": "Support", "signature": "Support(a): AlgLieElt -> SetEnum"}
---

<a id="natural-module"></a>
<a id="sectalgliemodule"></a>
# The Natural Module

<a id="function-module-alglie"></a>
## `Module(L): AlgLie -> ModTupRng`

The module $R^n$ underlying the Lie algebra $L$.

<a id="function-rmodule-algmatlie"></a>
## `RModule(L): AlgMatLie -> ModTupRng`

The module $R^n$ acted on by the matrix Lie algebra $L$.

<a id="function-basemodule-algmatlie"></a>
## `BaseModule(L): AlgMatLie -> ModTupRng`

The space $R^n$ acted on by the matrix Lie algebra $L$.

<a id="function-degree-alglie"></a>
## `Degree(L): AlgLie -> RngIntElt`

<a id="function-degree-algmatlie"></a>
## `Degree(L): AlgMatLie -> RngIntElt`

The degree of the Lie algebra $L$. If $L$ is a structure constant algebra, this is just the dimension of $L$. If $L$ is a matrix Lie algebra, this is the degree of the matrices in $L$.

<a id="function-degree-alglieelt"></a>
## `Degree(a): AlgLieElt -> RngIntElt`

Given an element $a$ belonging to the Lie algebra $L$, the dimension of $L$ is returned.

<a id="function-elementtosequence-alglieelt"></a>
## `ElementToSequence(a): AlgLieElt -> SeqEnum`

<a id="function-eltseq-alglieelt"></a>
## `Eltseq(a): AlgLieElt -> SeqEnum`

The sequence of coefficients of the Lie element $a$.

<a id="function-coordinates-alglie-alglieelt"></a>
## `Coordinates(M, a): AlgLie, AlgLieElt -> SeqEnum`

<a id="function-coordinates-algmatlie-algmatlieelt"></a>
## `Coordinates(M, a): AlgMatLie, AlgMatLieElt -> SeqEnum`

Let $a$ be an element of a Lie algebra $L$ and let $M$ be a subalgebra of $L$ containing $a$. This function returns the coefficients of $a$ with respect to the basis of $L$.

<a id="function-innerproduct-alglieelt-alglieelt"></a>
## `InnerProduct(a, b): AlgLieElt, AlgLieElt -> RngElt`

The (Euclidean) inner product of the coefficient vectors of $a$ and $b$, where $a$ and $b$ are elements of some Lie algebra.

<a id="function-support-alglieelt"></a>
## `Support(a): AlgLieElt -> SetEnum`

The support of the Lie algebra element $a$; i.e. the set of indices of the non-zero components of $a$.
