---
title: "Automorphisms of Classical-type Reductive Algebras"
canonical: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.html"
source: "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/automorphisms-classical.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": "Homomorphisms", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/homomorphisms.md"}
next: {"title": "Restrictable Lie Algebras", "source": "https://docs.magma-maths.org/v2.30-1/LieTheory/LieAlgebras/restrictable.md"}
intrinsics:
  - {"name": "IdentityAutomorphism", "signature": "IdentityAutomorphism(L): AlgLie -> Map"}
  - {"name": "InnerAutomorphism", "signature": "InnerAutomorphism(L, x): AlgLie, GrpLieElt -> Map"}
  - {"name": "InnerAutomorphismGroup", "signature": "InnerAutomorphismGroup(L): AlgLie -> GrpLie, Map"}
  - {"name": "DiagonalAutomorphism", "signature": "DiagonalAutomorphism(L, v): AlgLie, ModTupRngElt -> Map"}
  - {"name": "GraphAutomorphism", "signature": "GraphAutomorphism(L, p): AlgLie, GrpPermElt -> Map"}
  - {"name": "DiagramAutomorphism", "signature": "DiagramAutomorphism(L, p): AlgLie, GrpPermElt -> Map"}
examples:
  - "ex-d6f1f7"
---

<a id="automorphisms-classical"></a>
<a id="sectalglieautsclass"></a>
# Automorphisms of Classical-type Reductive Algebras

<a id="function-identityautomorphism-alglie"></a>
## `IdentityAutomorphism(L): AlgLie -> Map`

The trivial automorphism of the Lie algebra $L$.

<a id="function-innerautomorphism-alglie-grplieelt"></a>
## `InnerAutomorphism(L, x): AlgLie, GrpLieElt -> Map`

The inner automorphism of the Lie algebra $L$ induced by $x$, where $x$ is an element of the corresponding group of Lie type.

<a id="function-innerautomorphismgroup-alglie"></a>
## `InnerAutomorphismGroup(L): AlgLie -> GrpLie, Map`

The group of Lie type $G$ corresponding to the Lie algebra $L$. The map $G\to {\operatorname{Aut}}(L)$ is returned as second value.

<a id="function-diagonalautomorphism-alglie-modtuprngelt"></a>
## `DiagonalAutomorphism(L, v): AlgLie, ModTupRngElt -> Map`

The diagonal automorphism of the Lie algebra $L$ induced by the vector $v$.

<a id="function-graphautomorphism-alglie-grppermelt"></a>
## `GraphAutomorphism(L, p): AlgLie, GrpPermElt -> Map`

<a id="function-diagramautomorphism-alglie-grppermelt"></a>
## `DiagramAutomorphism(L, p): AlgLie, GrpPermElt -> Map`

```magma
SimpleSigns: Any                    Default: 1
```

The graph automorphism of the Lie algebra $L$ induced by the permutation $p$. This must be either a permutation of the indices of the simple roots, or a permutation of the indices of all roots.

The optional parameter `SimpleSigns` can be used to specify the signs corresponding to each simple root. This should either be a sequence of integers $\pm1$, or a single integer $\pm1$.

<a id="example-ex-d6f1f7"></a>
## `Example: Graph Automorphism of Order Three (ex-d6f1f7)`

We construct an automorphism of order three for the simple Lie algebra of type $D_4$.

```magma
> DynkinDiagram( "D4" );

D4    3
     /
1 - 2
     \\
      4

> p:= Sym(4)!(1,3,4);
> L:= LieAlgebra( "D4", Rationals() );
> f:= GraphAutomorphism( L, p );
> f(L.3);
(0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)
> f(L.4);
(0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)
> f(L.5);
(0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)
```
