---
title: "Properties of Lie Algebras and Ideals"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/property.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 Subalgebras and Ideals", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/sub.md"}
next: {"title": "Operations on Elements", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/elements.md"}
intrinsics:
  - {"name": "KillingForm", "signature": "KillingForm(L): AlgLie -> ModMatFldElt"}
  - {"name": "KillingForm", "signature": "KillingForm(L): AlgMatLie -> ModMatFldElt"}
  - {"name": "KillingMatrix", "signature": "KillingMatrix(L): AlgLie -> ModMatFldElt"}
  - {"name": "KillingMatrix", "signature": "KillingMatrix(L): AlgMatLie -> ModMatFldElt"}
  - {"name": "IsAbelian", "signature": "IsAbelian(L): AlgLie -> BoolElt"}
  - {"name": "IsAbelian", "signature": "IsAbelian(L): AlgMatLie -> BoolElt"}
  - {"name": "IsSoluble", "signature": "IsSoluble(L): AlgLie -> BoolElt"}
  - {"name": "IsSoluble", "signature": "IsSoluble(L): AlgMatLie -> BoolElt"}
  - {"name": "IsSolvable", "signature": "IsSolvable(L): AlgLie -> BoolElt"}
  - {"name": "IsSolvable", "signature": "IsSolvable(L): AlgMatLie -> BoolElt"}
  - {"name": "IsNilpotent", "signature": "IsNilpotent(L): AlgLie -> BoolElt"}
  - {"name": "IsNilpotent", "signature": "IsNilpotent(L): AlgMatLie -> BoolElt"}
  - {"name": "IsCentral", "signature": "IsCentral(L, M): AlgLie, AlgLie -> BoolElt"}
  - {"name": "IsCentral", "signature": "IsCentral(L, M): AlgMatLie, AlgMatLie -> BoolElt"}
  - {"name": "IsSimple", "signature": "IsSimple(L): AlgLie -> BoolElt"}
  - {"name": "IsSimple", "signature": "IsSimple(L): AlgMatLie -> BoolElt"}
  - {"name": "IsSemisimple", "signature": "IsSemisimple(L): AlgLie -> BoolElt"}
  - {"name": "IsSemisimple", "signature": "IsSemisimple(L): AlgMatLie -> BoolElt"}
  - {"name": "IsReductive", "signature": "IsReductive(L): AlgLie -> BoolElt"}
  - {"name": "IsReductive", "signature": "IsReductive(L): AlgMatLie -> BoolElt"}
  - {"name": "HasLeviSubalgebra", "signature": "HasLeviSubalgebra(L): AlgLie -> BoolElt"}
  - {"name": "HasLeviSubalgebra", "signature": "HasLeviSubalgebra(L): AlgMatLie -> BoolElt"}
  - {"name": "IsClassicalType", "signature": "IsClassicalType(L): AlgLie -> BoolElt"}
examples:
  - "ex-53bd1a"
  - "ex-6ba33a"
---

<a id="property"></a>
<a id="sectalglieprop"></a>
# Properties of Lie Algebras and Ideals

<a id="function-killingform-alglie"></a>
## `KillingForm(L): AlgLie -> ModMatFldElt`

<a id="function-killingform-algmatlie"></a>
## `KillingForm(L): AlgMatLie -> ModMatFldElt`

<a id="function-killingmatrix-alglie"></a>
## `KillingMatrix(L): AlgLie -> ModMatFldElt`

<a id="function-killingmatrix-algmatlie"></a>
## `KillingMatrix(L): AlgMatLie -> ModMatFldElt`

Given a Lie algebra $L$ such that $\{x_1,\ldots ,x_n\}$ is a basis of $L$, return the Killing matrix of $L$, which is defined to be the matrix $({\rm Tr} ({\rm ad}x_i\cdot {\rm ad} x_j))$.

<a id="example-ex-53bd1a"></a>
## `Example: Killing Matrix of a Lie Algebra (ex-53bd1a)`

```magma
> L:=LieAlgebra("B2",RationalField());
> KillingMatrix(L);
[ 0  0  0  0  0  0  0  0  0  6]
[ 0  0  0  0  0  0  0  0 12  0]
[ 0  0  0  0  0  0  0 12  0  0]
[ 0  0  0  0  0  0  6  0  0  0]
[ 0  0  0  0  6  6  0  0  0  0]
[ 0  0  0  0  6 12  0  0  0  0]
[ 0  0  0  6  0  0  0  0  0  0]
[ 0  0 12  0  0  0  0  0  0  0]
[ 0 12  0  0  0  0  0  0  0  0]
[ 6  0  0  0  0  0  0  0  0  0]
```

<a id="function-isabelian-alglie"></a>
## `IsAbelian(L): AlgLie -> BoolElt`

<a id="function-isabelian-algmatlie"></a>
## `IsAbelian(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is abelian.

<a id="function-issoluble-alglie"></a>
## `IsSoluble(L): AlgLie -> BoolElt`

<a id="function-issoluble-algmatlie"></a>
## `IsSoluble(L): AlgMatLie -> BoolElt`

<a id="function-issolvable-alglie"></a>
## `IsSolvable(L): AlgLie -> BoolElt`

<a id="function-issolvable-algmatlie"></a>
## `IsSolvable(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is soluble.

<a id="function-isnilpotent-alglie"></a>
## `IsNilpotent(L): AlgLie -> BoolElt`

<a id="function-isnilpotent-algmatlie"></a>
## `IsNilpotent(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is nilpotent.

<a id="function-iscentral-alglie-alglie"></a>
## `IsCentral(L, M): AlgLie, AlgLie -> BoolElt`

<a id="function-iscentral-algmatlie-algmatlie"></a>
## `IsCentral(L, M): AlgMatLie, AlgMatLie -> BoolElt`

Given a subalgebra $M$ of the Lie algebra $L$, return `true` if $M$ is central in $L$.

<a id="function-issimple-alglie"></a>
## `IsSimple(L): AlgLie -> BoolElt`

<a id="function-issimple-algmatlie"></a>
## `IsSimple(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is simple.

<a id="function-issemisimple-alglie"></a>
## `IsSemisimple(L): AlgLie -> BoolElt`

<a id="function-issemisimple-algmatlie"></a>
## `IsSemisimple(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is semisimple.

<a id="function-isreductive-alglie"></a>
## `IsReductive(L): AlgLie -> BoolElt`

<a id="function-isreductive-algmatlie"></a>
## `IsReductive(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, return `true` if $L$ is reductive.

<a id="function-haslevisubalgebra-alglie"></a>
## `HasLeviSubalgebra(L): AlgLie -> BoolElt`

<a id="function-haslevisubalgebra-algmatlie"></a>
## `HasLeviSubalgebra(L): AlgMatLie -> BoolElt`

Given a Lie algebra $L$, this function determines whether $L$ has a Levi subalgebra. If the result is `true`, then the function also returns a semisimple subalgebra (complement to the solvable radical) of $L$. If $L$ is defined over a field of characteristic 0, then it always has a Levi subalgebra. However, if $L$ is a Lie algebra of characteristic $p>0$ then $L$ need not have a Levi subalgebra but the function will always find one if it exists.

A description of the algorithm used is contained in [[dG00](https://docs.magma-maths.org/v2.30-1/references.md#cite-wdg-lie-alg)], §4.13.

<a id="function-isclassicaltype-alglie"></a>
## `IsClassicalType(L): AlgLie -> BoolElt`

Determines if the reductive Lie algebra $L$ is of classical-type. Note that all reductive Lie algebras over fields of characteristic 0 are considered to be classical-type.

<a id="example-ex-6ba33a"></a>
## `Example: Predicates on a Simple Lie Algebra (ex-6ba33a)`

We test various predicates in the context of the simple Lie algebra of type $D_3$ over the rational field.

```magma
> L:=LieAlgebra("D3",RationalField());
> L;
Lie Algebra of dimension 15 with base ring Rational Field
> K:=sub< L | [L.1,L.2,L.3] >;
> M:=Centralizer(L, K);
> M;
Lie Algebra of dimension 4 with base ring Rational Field
> R:=SolvableRadical(M);
> R;
Lie Algebra of dimension 4 with base ring Rational Field
> HasLeviSubalgebra(M);
true Lie Algebra of dimension 0 with base ring Rational Field
> K:=Centralizer(L, sub< L | [L.1,L.2,L.3] >);
> K;
Lie Algebra of dimension 4 with base ring Rational Field
> IsSolvable(K);
true
> IsNilpotent(K);
true
> R:= SolvableRadical(K);
> IsSolvable(R);
true
> IsNilpotent(R);
true
> N:= Nilradical(K);
> IsNilpotent(N);
true
```
