---
title: "Introduction"
canonical: "https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/introduction.html"
source: "https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/introduction.md"
part: "Local Fields"
chapter: "$p$-Adic Rings and Their 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": "$p$-Adic Rings and Their Extensions", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/index-padic-rings-and-their-extensions.md"}
prev: {"title": "$p$-Adic Rings and Their Extensions", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/index-padic-rings-and-their-extensions.md"}
next: {"title": "Background", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/background.md"}
---

# Introduction

Magma supports finite extensions of the ring ${\mathbb{Z}}_p$ of $p$-adic integers or the field ${\mathbb{Q}}_p$ of $p$-adic numbers. Within this chapter, we mean these objects if we refer to local rings or fields. Section [Background](https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/background.md#loc-background) provides more background information on the theory behind the $p$-adics.

Magma has three different models for working with these locals: fixed precision rings (`RngPadRes` and `RngPadResExt`, with element types `RngPadResElt` and `RngPadResExtElt`), free precision rings (`RngPad` and `FldPad`, with element types `RngPadElt` and `FldPadElt`) and exact $p$-adic rings (`RngXPad` and `FldXPad` with element types `RngXPadElt` and `FldXPadElt`). The merits of each model are discussed in Section [$p$-adic Rings](https://docs.magma-maths.org/v2.30-1/LocalFields/PAdicRingsAndTheirExtensions/overview.md#loc-local-rings).

Magma also contains a type of local field where extensions can be made by any irreducible polynomial. For more information on these local fields, see Chapter [General $p$-Adic Extensions](https://docs.magma-maths.org/v2.30-1/LocalFields/GeneralPAdicExtensions/index-general-padic-extensions.md#locala).
