---
title: "Constructing Weight Multisets"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representations-constructing.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representations-constructing.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": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representations-introduction.md"}
next: {"title": "Constructing Representations", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/RepresentationsOfLieGroupsAndAlgebras/representations-constructing-2.md"}
intrinsics:
  - {"name": "TrivialLieRepresentationDecomposition", "signature": "TrivialLieRepresentationDecomposition(R): RootDtm -> LieRepDec"}
  - {"name": "LieRepresentationDecomposition", "signature": "LieRepresentationDecomposition(R): RootDtm -> LieRepDec"}
  - {"name": "LieRepresentationDecomposition", "signature": "LieRepresentationDecomposition(R, v): RootDtm, ModTupRngElt -> LieRepDec"}
  - {"name": "LieRepresentationDecomposition", "signature": "LieRepresentationDecomposition(R, v): RootDtm, SeqEnum -> LieRepDec"}
  - {"name": "LieRepresentationDecomposition", "signature": "LieRepresentationDecomposition(R, Wt, Mp): RootDtm, SeqEnum, SeqEnum -> LieRepDec"}
  - {"name": "AdjointRepresentationDecomposition", "signature": "AdjointRepresentationDecomposition(R): RootDtm -> LieRepDec"}
examples:
  - "ex-e0259e"
---

<a id="representations-constructing"></a>
<a id="sectrdrepsconstrwm"></a>
# Constructing Weight Multisets

In this section, we describe how to construct weight multisets.

<a id="function-triviallierepresentationdecomposition-rootdtm"></a>
## `TrivialLieRepresentationDecomposition(R): RootDtm -> LieRepDec`

<a id="function-lierepresentationdecomposition-rootdtm"></a>
## `LieRepresentationDecomposition(R): RootDtm -> LieRepDec`

The decomposition multiset of the trivial representation. The root datum $R$ must be weakly simply connected.

<a id="function-lierepresentationdecomposition-rootdtm-modtuprngelt"></a>
## `LieRepresentationDecomposition(R, v): RootDtm, ModTupRngElt -> LieRepDec`

<a id="function-lierepresentationdecomposition-rootdtm-seqenum"></a>
## `LieRepresentationDecomposition(R, v): RootDtm, SeqEnum -> LieRepDec`

The decomposition multiset of the highest weight representation with weight $v$, i.e., the singleton multiset. The root datum $R$ must be weakly simply connected. The weight $v$ must be a sequence of length $d$ or an element of ${\mathbb{Z}}^d$, where $d$ is the dimension of the root datum $R$.

<a id="function-lierepresentationdecomposition-rootdtm-seqenum-seqenum"></a>
## `LieRepresentationDecomposition(R, Wt, Mp): RootDtm, SeqEnum, SeqEnum -> LieRepDec`

The decomposition multiset with weights given by the sequence $Wt$ and multiplicities given by of the sequence $Mp$. The root datum $R$ must be weakly simply connected. The weights must be a sequences of length $d$ or elements of ${\mathbb{Z}}^d$, where $d$ is the dimension of the root datum $R$.

<a id="function-adjointrepresentationdecomposition-rootdtm"></a>
## `AdjointRepresentationDecomposition(R): RootDtm -> LieRepDec`

The decomposition multiset of the adjoint representation. This has the highest root of $R$ as its highest weight with multiplicity one. The root datum $R$ must be weakly simply connected.

<a id="example-ex-e0259e"></a>
## `Example: Adjoint Representation Decomposition (ex-e0259e)`

The adjoint representation:

```magma
> R := RootDatum("D4" : Isogeny := "SC");
> D := AdjointRepresentationDecomposition(R);
> D:Maximal;
Highest weight decomposition of representation of:
     R: Simply connected root datum of dimension 4 of type D4
     Dimension of weight space:4
     Weights:
          [
               (0 1 0 0)
          ]
     Multiplicities:
          [ 1 ]
> HighestRoot(R : Basis := "Weight");
(0 1 0 0)
```
