---
title: "Basic Invariants"
canonical: "https://docs.magma-maths.org/v2.30-1/GlobalFields/ArtinRepresentations/invariants.html"
source: "https://docs.magma-maths.org/v2.30-1/GlobalFields/ArtinRepresentations/invariants.md"
part: "Global Fields"
chapter: "Artin Representations"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Global Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/index-global-fields.md"}
  - {"title": "Artin Representations", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/ArtinRepresentations/index-artin-representations.md"}
prev: {"title": "Constructing Artin Representations", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/ArtinRepresentations/functions.md"}
next: {"title": "Arithmetic", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/ArtinRepresentations/arithmetic.md"}
intrinsics:
  - {"name": "Field", "signature": "Field(A): ArtRep -> FldNum"}
  - {"name": "BaseField", "signature": "BaseField(A): ArtRep -> Fld"}
  - {"name": "Degree", "signature": "Degree(A): ArtRep -> RngIntElt"}
  - {"name": "Dimension", "signature": "Dimension(A): ArtRep -> RngIntElt"}
  - {"name": "Group", "signature": "Group(A): ArtRep -> GrpPerm"}
  - {"name": "Character", "signature": "Character(A): ArtRep -> AlgChtrElt"}
  - {"name": "Conductor", "signature": "Conductor(A): ArtRep -> RngIntElt"}
  - {"name": "Decomposition", "signature": "Decomposition(A): ArtRep -> SeqEnum[Tup]"}
  - {"name": "RationalDecomposition", "signature": "RationalDecomposition(A): ArtRep -> SeqEnum[Tup]"}
  - {"name": "DefiningPolynomial", "signature": "DefiningPolynomial(A): ArtRep -> RngUPolElt"}
  - {"name": "Minimize", "signature": "Minimize(A): ArtRep -> ArtRep"}
  - {"name": "OptimizedRepresentation", "signature": "OptimizedRepresentation(A): ArtRep -> ArtRep"}
  - {"name": "Kernel", "signature": "Kernel(A): ArtRep -> FldNum"}
  - {"name": "IsIrreducible", "signature": "IsIrreducible(A): ArtRep -> BoolElt"}
  - {"name": "IsRamified", "signature": "IsRamified(A, p): ArtRep, RngIntElt -> BoolElt"}
  - {"name": "IsWildlyRamified", "signature": "IsWildlyRamified(A, p): ArtRep, RngIntElt -> BoolElt"}
  - {"name": "EulerFactor", "signature": "EulerFactor(A, p): ArtRep, RngIntElt -> RngUPolElt"}
  - {"name": "EpsilonFactor", "signature": "EpsilonFactor(A): ArtRep -> FldComElt"}
  - {"name": "RootNumber", "signature": "RootNumber(A): ArtRep -> FldComElt"}
  - {"name": "EpsilonFactor", "signature": "EpsilonFactor(A, p): ArtRep, RngIntElt -> FldComElt"}
  - {"name": "RootNumber", "signature": "RootNumber(A, p): ArtRep, RngIntElt -> FldComElt"}
  - {"name": "EpsilonFactor", "signature": "EpsilonFactor(A, infty): ArtRep, Infty -> FldComElt"}
  - {"name": "RootNumber", "signature": "RootNumber(A, infty): ArtRep, Infty -> FldComElt"}
  - {"name": "DirichletCharacter", "signature": "DirichletCharacter(A): ArtRep -> GrpDrchElt"}
  - {"name": "HeckeCharacter", "signature": "HeckeCharacter(A): ArtRep -> GrpHeckeElt"}
  - {"name": "ArtinRepresentation", "signature": "ArtinRepresentation(ch): GrpDrchElt -> ArtRep"}
examples:
  - "ex-12f333"
  - "ex-9129cc"
  - "ex-2bf31b"
  - "ex-db71ab"
---

# Basic Invariants

<a id="function-field-artrep"></a>
## `Field(A): ArtRep -> FldNum`

Number field $K$ such that $A$ factors through the Galois group of the normal closure of $K$.

<a id="function-basefield-artrep"></a>
## `BaseField(A): ArtRep -> Fld`

The field $F$ over which $A$ is a representation of ${\operatorname{Gal}}(\bar F/F)$. This is ${\mathbb{Q}}$ unless $A$ was constructed as a relative Artin representation, in which case it is the base field of the defining relative extension.

<a id="function-degree-artrep"></a>
## `Degree(A): ArtRep -> RngIntElt`

<a id="function-dimension-artrep"></a>
## `Dimension(A): ArtRep -> RngIntElt`

Degree (=dimension) of an Artin representation $A$.

<a id="function-group-artrep"></a>
## `Group(A): ArtRep -> GrpPerm`

The Galois group of the field through which $A$ factors.

<a id="function-character-artrep"></a>
## `Character(A): ArtRep -> AlgChtrElt`

Character of an Artin representation $A$, represented as a complex-valued character of `Group(A)`.

<a id="function-conductor-artrep"></a>
## `Conductor(A): ArtRep -> RngIntElt`

Conductor of an Artin representation $A$ (which must be a true representation, i.e. its character is not allowed to be a generalized character). Computes all the necessary local information if Artin representations were defined with `Ramification:=false`, so the first call to this function might take some time.

<a id="function-decomposition-artrep"></a>
## `Decomposition(A): ArtRep -> SeqEnum[Tup]`

Decompose an Artin representation $A$ into irreducible constituents. Returns a sequence of tuples `[...<A_i,n_i>...]` with $A_i$ irreducible and $n_i$ its exponent in $A$ (nonzero but possibly negative). If $A$ is a relative Artin representation, the decomposition is taken in the Galois group over its base field, and the $A_i$ are relative Artin representations over that same base field.

<a id="function-rationaldecomposition-artrep"></a>
## `RationalDecomposition(A): ArtRep -> SeqEnum[Tup]`

Decompose an Artin representation $A$ into constituents with rational-valued characters, each corresponding to a Galois conjugacy class of irreducibles. Returns a sequence of tuples `[...<A_i,n_i>...]` with $A_i$ having rational-valued character and $n_i$ its exponent in $A$ (nonzero but possibly negative). As with `Decomposition`, a relative Artin representation decomposes into relative Artin representations over the same base field.

<a id="example-ex-12f333"></a>
## `Example: Decomposing Artin Representations (ex-12f333)`

We give an example to show the difference between these decompositions.

```magma
> K := NumberField(PolynomialWithGaloisGroup(12,15));
> DefiningPolynomial(K);
x^12 - 24*x^10 + 216*x^8 - 896*x^6 + 1680*x^4 - 1152*x^2 + 48
> GroupName(GaloisGroup(K));
C3:D4
> c := PermutationCharacter(K);
> Decomposition(c);
[ <Artin representation C3:D4: (1,1,1,1,1,1,1,1,1) of K, 1>,
  <Artin representation C3:D4: (1,1,1,-1,1,-1,1,1,1) of K, 1>,
  <Artin representation C3:D4: (2,2,2,0,-1,0,-1,-1,-1) of K, 2>,
  <Artin representation C3:D4: (2,-2,0,0,2,0,0,0,-2) of K, 1>,
  <Artin representation C3:D4: (2,-2,0,0,-1,0,-1-2*J,1+2*J,1) of K, 1>,
  <Artin representation C3:D4: (2,-2,0,0,-1,0,1+2*J,-1-2*J,1) of K, 1> ]
> RationalDecomposition(c);
[ <Artin representation C3:D4: (1,1,1,1,1,1,1,1,1) of K, 1>,
  <Artin representation C3:D4: (1,1,1,-1,1,-1,1,1,1) of K, 1>,
  <Artin representation C3:D4: (2,2,2,0,-1,0,-1,-1,-1) of K, 2>,
  <Artin representation C3:D4: (2,-2,0,0,2,0,0,0,-2) of K, 1>,
  <Artin representation C3:D4: (4,-4,0,0,-2,0,0,0,2) of K, 1>];
```

<a id="function-definingpolynomial-artrep"></a>
## `DefiningPolynomial(A): ArtRep -> RngUPolElt`

Returns the polynomial whose roots `Group(A)` permutes.

<a id="function-minimize-artrep"></a>
## `Minimize(A): ArtRep -> ArtRep`

```magma
Optimize: BoolElt                    Default: true
```

Returns $A$ attached to the smallest number field $K$ such that $A$ factors through its Galois closure. If `Optimize := true`, attempts to minimize the defining polynomial of $K$ using `OptimizedRepresentation`. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-optimizedrepresentation-artrep"></a>
## `OptimizedRepresentation(A): ArtRep -> ArtRep`

Returns the same Artin representation, but over an isomorphic version of the field that has had its representation optimized. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-kernel-artrep"></a>
## `Kernel(A): ArtRep -> FldNum`

Smallest Galois extension $K$ of the rationals through which $A$ factors. Note that this field may be enormous and incomputable. For a relative Artin representation this is instead the smallest extension of the base field, Galois over it, through which $A$ factors. In both cases the result is returned as a number field over $\Q$.

<a id="example-ex-9129cc"></a>
## `Example: Minimising an Artin Representation (ex-9129cc)`

We take an $S_4$-extension of ${\mathbb{Q}}$ and compute its Artin representations.

```magma
> R<x> := PolynomialRing(Rationals());
> K := NumberField(x^4+9*x-2);
> A := ArtinRepresentations(K);
> [Dimension(a): a in A];
[ 1, 1, 2, 3, 3 ]
```

Then we minimize the 2-dimensional one, which factors through an $S_3$-quotient.

```magma
> B := Minimize(A[3]); B;
Artin representation S3: (2,0,-1) of ext<Q|x^3+8*x+81>
> Kernel(B);
Number Field with defining polynomial x^6 + 48*x^4 + 576*x^2 + 179195
   over the Rational Field
```

<a id="function-isirreducible-artrep"></a>
## `IsIrreducible(A): ArtRep -> BoolElt`

Return `true` iff a given Artin representation is irreducible as a complex representation.

<a id="function-isramified-artrep-rngintelt"></a>
## `IsRamified(A, p): ArtRep, RngIntElt -> BoolElt`

Return `true` iff a given Artin representation is ramified at $p$. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-iswildlyramified-artrep-rngintelt"></a>
## `IsWildlyRamified(A, p): ArtRep, RngIntElt -> BoolElt`

Return `true` iff a given Artin representation is wildly ramified at $p$. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-eulerfactor-artrep-rngintelt"></a>
## `EulerFactor(A, p): ArtRep, RngIntElt -> RngUPolElt`

```magma
R: Fld                    Default: ComplexField()
```

The local polynomial (Euler factor) of an Artin representation $A$ at the prime $p$. It is a polynomial with coefficients in the field $R$, which is complex numbers by default, and it is the inverse characteristic polynomial of (arithmetic) Frobenius at $p$ on the inertia invariant subspace of $A$.

<a id="function-epsilonfactor-artrep"></a>
## `EpsilonFactor(A): ArtRep -> FldComElt`

Global epsilon-factor $\epsilon(A)$ of an Artin representation. Currently only implemented in a few basic cases, and raises an error otherwise. See Example [Example: Local and Global Epsilon Factors for Dirichlet Characters](https://docs.magma-maths.org/v2.30-1/LocalFields/LocalGaloisRepresentations/fields-2.md#galrep-ex1).

<a id="function-rootnumber-artrep"></a>
## `RootNumber(A): ArtRep -> FldComElt`

Global root number $\epsilon(A)/|\epsilon(A)|$ of an Artin representation. Currently only implemented in a few basic cases, and raises an error otherwise. See Example [Example: Local and Global Epsilon Factors for Dirichlet Characters](https://docs.magma-maths.org/v2.30-1/LocalFields/LocalGaloisRepresentations/fields-2.md#galrep-ex1).

<a id="function-epsilonfactor-artrep-rngintelt"></a>
## `EpsilonFactor(A, p): ArtRep, RngIntElt -> FldComElt`

Local epsilon-factor $\epsilon(A)$ of an Artin representation at $p$. Currently only implemented in a few basic cases, and raises an error otherwise. See Example [Example: Local and Global Epsilon Factors for Dirichlet Characters](https://docs.magma-maths.org/v2.30-1/LocalFields/LocalGaloisRepresentations/fields-2.md#galrep-ex1).

<a id="function-rootnumber-artrep-rngintelt"></a>
## `RootNumber(A, p): ArtRep, RngIntElt -> FldComElt`

Local root number $\epsilon_p(A)/|\epsilon_p(A)|$ of an Artin representation at $p$. Currently only implemented in a few basic cases, and raises an error otherwise. See Example [Example: Local and Global Epsilon Factors for Dirichlet Characters](https://docs.magma-maths.org/v2.30-1/LocalFields/LocalGaloisRepresentations/fields-2.md#galrep-ex1).

<a id="function-epsilonfactor-artrep-infty"></a>
## `EpsilonFactor(A, infty): ArtRep, Infty -> FldComElt`

<a id="function-rootnumber-artrep-infty"></a>
## `RootNumber(A, infty): ArtRep, Infty -> FldComElt`

Local root number $w_\infty(A)$ of an Artin representation at infinity. See Example [Example: Local and Global Epsilon Factors for Dirichlet Characters](https://docs.magma-maths.org/v2.30-1/LocalFields/LocalGaloisRepresentations/fields-2.md#galrep-ex1).

<a id="example-ex-2bf31b"></a>
## `Example: Invariants of Artin Representations (ex-2bf31b)`

Here are the invariants of Artin representations that factor through the splitting field of $x^4-3$, a $D_4$-extension of ${\mathbb{Q}}$.

```magma
> R<x> := PolynomialRing(Rationals());
> K := NumberField(x^4-3);
> A := ArtinRepresentations(K);
> Degree(Kernel(A[5]),Rationals());
8
> [Dimension(a): a in A];
[ 1, 1, 1, 1, 2 ]
> Character(A[5]);
( 2, -2, 0, 0, 0 )
> [Conductor(a): a in A];
[ 1, 12, 3, 4, 576 ]
> [IsRamified(a,3): a in A];
[ false, true, true, false, true ]
> [IsWildlyRamified(a,3): a in A];
[ false, false, false, false, false ]
> EulerFactor(A[5],5);
x^2 + 1
> EpsilonFactor(A[5],3);
-3
```

<a id="function-dirichletcharacter-artrep"></a>
## `DirichletCharacter(A): ArtRep -> GrpDrchElt`

Convert a one-dimensional Artin representation to a Dirichlet character. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-heckecharacter-artrep"></a>
## `HeckeCharacter(A): ArtRep -> GrpHeckeElt`

Convert a one-dimensional Artin representation $A$ to a Hecke character. This is more natural than the previous, as in general Hecke characters will have $L$-functions matching that of the Artin representation, while Dirichlet characters only necessarily have $L$-functions when defined over the rationals. Raises an error when $A$ is a relative Artin representation, as this is not implemented over a base field other than $\Q$.

<a id="function-artinrepresentation-grpdrchelt"></a>
## `ArtinRepresentation(ch): GrpDrchElt -> ArtRep`

```magma
field: FldNum                    Default: 
```

Convert a Dirichlet character `ch` to a one-dimensional Artin representation $A$. To avoid recomputation, the minimal field through which $A$ factors may be supplied by the `field` parameter. This now uses class field theory (thanks to C. Fieker).

<a id="example-ex-db71ab"></a>
## `Example: One-Dimensional Artin Representations (ex-db71ab)`

An example that goes back and forth between the Dirichlet character and the Artin representation.

```magma
> load galpols;
> f := PolynomialWithGaloisGroup(8,46); // order 576
> K := NumberField(f); // octic field
> A := ArtinRepresentations(K);
> [Degree(a) : a in A];
[ 1, 1, 1, 1, 4, 4, 6, 6, 9, 9, 9, 9, 12 ]
> [Order(Character(Determinant(a))) : a in A];
[ 1, 2, 4, 4, 2, 2, 2, 1, 1, 2, 4, 4, 2 ]
> chi := DirichletCharacter(A[3]); // order 4
> Conductor(chi), Conductor(chi^2);
215 5
> Minimize(ArtinRepresentation(chi)); // disc = N(chi)^2*N(chi^2)
Artin representation C4: (1,-1,-I,I) of ext<Q|x^4+x^3-54*x^2-54*x+551>
> Factorization(Discriminant(Integers(Field($1))));
[ <5, 3>, <43, 2> ]
```
