---
title: "Local Galois Representations"
canonical: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/galois.html"
source: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/galois.md"
part: "Modular Arithmetic Geometry"
chapter: "Admissible Representations of ${\\operatorname{GL}}_2({\\mathbb{Q}}_p)$"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Modular Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/index-modular-arithmetic-geometry.md"}
  - {"title": "Admissible Representations of ${\\operatorname{GL}}_2({\\mathbb{Q}}_p)$", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/index-representations-of-local-fields.md"}
prev: {"title": "Structure of Admissible Representations", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/structure.md"}
next: {"title": "Examples", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/examples.md"}
intrinsics:
  - {"name": "GaloisRepresentation", "signature": "GaloisRepresentation(pi): RepLoc -> GalRep"}
  - {"name": "WeilRepresentation", "signature": "WeilRepresentation(pi): RepLoc -> GalRep"}
  - {"name": "AdmissiblePair", "signature": "AdmissiblePair(pi): RepLoc -> RngPad, Map"}
---

# Local Galois Representations

<a id="function-galoisrepresentation-reploc"></a>
## `GaloisRepresentation(pi): RepLoc -> GalRep`

<a id="function-weilrepresentation-reploc"></a>
## `WeilRepresentation(pi): RepLoc -> GalRep`

```magma
Precision: RngIntElt                    Default: 10
```

Given a minimal representation $\pi$ of ${\operatorname{GL}}_2({\mathbb{Q}}_p),$ this returns the representation $\rho_\pi$ of the Weil-Deligne group associated to $\pi$ under the local Langlands correspondence, as a local Galois representation. (See Section [The Local Langlands Correspondence](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/introduction.md#sec-local-langlands) and Chapter `galrep`.)

For supercuspidal $\pi$ with admissible pair $(E,\chi)$ the Frobenius data of $\rho_\pi$ are recovered as follows. When $E/{\mathbb{Q}}_p$ is unramified the Loeffler-Weinstein rectifier is applied. When $E/{\mathbb{Q}}_p$ is ramified the value of $\chi$ at a uniformizer of $E$ is obtained from the Atkin-Lehner eigenvalue together with the tame and wild $\varepsilon$-factors, giving the full $\rho_\pi$ when $\chi$ has cyclic prime-order image and $\pi$ arises from a modular form. In the remaining ramified cases an error is raised.

<a id="function-admissiblepair-reploc"></a>
## `AdmissiblePair(pi): RepLoc -> RngPad, Map`

Given an ordinary minimal supercuspidal representation $\pi$ of $\GL_2(\Q_p),$ this returns the associated admissible pair $(E,\chi).$ (See Section [The Local Langlands Correspondence](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/RepresentationsOfLocalFields/introduction.md#sec-local-langlands).) Two objects are returned: the ring of integers $E$ of a quadratic field extension of $\Q_p$, and a map $\chi$ which is a character of the unit group of $E.$ Note that $E$ is the ring of integers and not the field itself; use `FieldOfFractions(E)` for the latter.
