---
title: "Subgroups of Small Rank"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representation-small-database.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representation-small-database.md"
part: "Lie Theory"
chapter: "Representations of Lie Groups and 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": "Representations of Lie Groups and Algebras", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/index-representations-of-lie-groups-and-algebras.md"}
prev: {"title": "Other Functions for Representation Decompositions", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representation-other.md"}
next: {"title": "Subalgebras of su(d)", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/sub-subsu.md"}
intrinsics:
  - {"name": "LiEMaximalSubgroups", "signature": "LiEMaximalSubgroups() -> SeqEnum"}
  - {"name": "MaximalSubgroups", "signature": "MaximalSubgroups(G): MonStgElt -> SeqEnum[MonStgElt]"}
  - {"name": "RestrictionMatrix", "signature": "RestrictionMatrix(G, H): MonStgElt, MonStgElt -> AlgMatElt"}
examples:
  - "ex-23802f"
---

<a id="representation-small-database"></a>
<a id="sectrdrepssmalldatabase"></a>
# Subgroups of Small Rank

LiE contains a small database with the types of the maximal proper subgroups of complex reductive simply connected Lie groups $g$, where $g$ is simple and of rank at most $8$. We copied this list into Magma, and it can be accessed using the following functions.

<a id="function-liemaximalsubgroups"></a>
## `LiEMaximalSubgroups() -> SeqEnum`

All maximal subgroups as described above, as a sequence of pairs. Each pair consists of a string denoting the simple group at hand, and a sequence of strings denoting its maximal subgroups.

<a id="function-maximalsubgroups-monstgelt"></a>
## `MaximalSubgroups(G): MonStgElt -> SeqEnum[MonStgElt]`

The maximal subgroups of the complex reductive simply connected simple Lie group whose Cartan type is the string $G$, represented as a sequence of strings.

<a id="function-restrictionmatrix-monstgelt-monstgelt"></a>
## `RestrictionMatrix(G, H): MonStgElt, MonStgElt -> AlgMatElt`

```magma
Index: RngIntElt                    Default: 
```

The restriction matrix for the maximal proper subgroup of type $H$ of $G$. If more than one maximal subgroup of $G$ is of type $H$, the parameter `Index` must be set to indicate which one is required.

<a id="example-ex-23802f"></a>
## `Example: Maximal Subgroups from the Database (ex-23802f)`

Using the subgroup database:

```magma
> MaximalSubgroups("E7");
[ A2, A1, A1, A1F4, G2C3, A1G2, A1A1, D6A1, A7, A5A2 ]
> M := RestrictionMatrix("E7", "A1" : Index := 2); M;
[26]
[37]
[50]
[72]
[57]
[40]
[21]
> R := RootDatum("E7" : Isogeny := "SC");
> S := RootDatum("A1" : Isogeny := "SC");
> D := AdjointRepresentationDecomposition(R);
> RepresentationDimension(D);
133
> E := Branch(S, D, M); #E;
8
> RepresentationDimension(E);
133
```
