---
title: "Automorphisms and Galois Theory"
canonical: "https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/galois.html"
source: "https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/galois.md"
part: "Local Fields"
chapter: "General $p$-Adic Extensions"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Local Fields", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/index-local-fields.md"}
  - {"title": "General $p$-Adic Extensions", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/index-general-padic-extensions.md"}
prev: {"title": "Homomorphisms", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/maps.md"}
next: {"title": "Elements Operations", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/elements.md"}
intrinsics:
  - {"name": "FrobeniusAutomorphism", "signature": "FrobeniusAutomorphism(L): RngLocA -> Map"}
  - {"name": "AutomorphismGroup", "signature": "AutomorphismGroup(L): RngLocA -> Grp, Map"}
  - {"name": "DecompositionGroup", "signature": "DecompositionGroup(L): RngLocA -> GrpPerm"}
  - {"name": "InertiaGroup", "signature": "InertiaGroup(L): RngLocA -> GrpPerm"}
  - {"name": "RamificationGroup", "signature": "RamificationGroup(L, i): RngLocA, RngIntElt -> GrpPerm"}
  - {"name": "FixedField", "signature": "FixedField(L, G): RngLocA, GrpPerm -> RngLocA"}
examples:
  - "ex-180d7f"
---

# Automorphisms and Galois Theory

<a id="function-frobeniusautomorphism-rngloca"></a>
## `FrobeniusAutomorphism(L): RngLocA -> Map`

Return the automorphism of the unramified extension $L$ which is the lift of the frobenius automorphism on the residue class field of $L$.

<a id="function-automorphismgroup-rngloca"></a>
## `AutomorphismGroup(L): RngLocA -> Grp, Map`

Return the automorphism group of the local field $L$ and a map from the group to the parent of automorphisms of $L$.

<a id="function-decompositiongroup-rngloca"></a>
## `DecompositionGroup(L): RngLocA -> GrpPerm`

<a id="function-inertiagroup-rngloca"></a>
## `InertiaGroup(L): RngLocA -> GrpPerm`

<a id="function-ramificationgroup-rngloca-rngintelt"></a>
## `RamificationGroup(L, i): RngLocA, RngIntElt -> GrpPerm`

Return the subgroup of the automorphism group of the local field $L$ whose elements are the automorphisms (represented as group elements) $\sigma$ such that $v(\sigma(z) - z) \ge i + 1$. The decomposition group is the $-1$th ramification group and the inertia group is the $0$th ramification group.

<a id="function-fixedfield-rngloca-grpperm"></a>
## `FixedField(L, G): RngLocA, GrpPerm -> RngLocA`

Return the subfield of the local field $L$ which is fixed by the automorphisms (represented as group elements) in the subgroup $G$ of the automorphism group of $L$.

<a id="example-ex-180d7f"></a>
## `Example: Automorphisms and Inertia Groups (ex-180d7f)`

The automorphism and inertia groups of a local field are computed and their fixed fields examined.

```magma
> P<x> := PolynomialRing(Integers());
> L := LocalField(pAdicField(7, 50), x^6 - 49*x^2 + 686);
> A, am := AutomorphismGroup(L);
> am(Random(A));
Mapping from: RngLocA: L to RngLocA: L
> $1(L.1);
-(279674609046925265141076018485*7^-2 + O(7^34))*$.1^5 + O(7^35)*$.1^4 +
    (1035905251748988129458881464123*7^-1 + O(7^35))*$.1^3 + O(7^36)*$.1^2 -
    (1009443907710864908501983735501 + O(7^36))*$.1 + O(7^37)
> FixedField(L, A);
Extension of 7-adic field mod 7^50 by (1 + O(7^33))*x + O(7^33)
> InertiaGroup(L);
Permutation group acting on a set of cardinality 6
    Id($)
    (1, 2)(3, 5)(4, 6)
> FixedField(L, InertiaGroup(L));
Extension of 7-adic field mod 7^50 by (1 + O(7^37))*x^3 - (2*7^2 + O(7^37))*x^2
    + (7^4 + O(7^37))*x - 4*7^6 + O(7^37)
```
