# Completion of a ring

In abstract algebra, a completion is any of several related functors on rings and modules that result in complete topological rings and modules. Completion is similar to localization, and together they are among the most basic tools in analysing commutative rings. Complete commutative rings have a simpler structure than general ones, and Hensel's lemma applies to them. In algebraic geometry, a completion of a ring of functions R on a space X concentrates on a formal neighborhood of a point of X: heuristically, this is a neighborhood so small that all Taylor series centered at the point are convergent. An algebraic completion is constructed in a manner analogous to completion of a metric space with Cauchy sequences, and agrees with it in case R has a metric given by a non-Archimedean absolute value.

## General construction

Suppose that E is an abelian group with a descending filtration

${\displaystyle E=F^{0}E\supset F^{1}E\supset F^{2}E\supset \cdots \,}$

of subgroups. One then defines the completion (with respect to the filtration) as the inverse limit:

${\displaystyle {\widehat {E}}=\varprojlim (E/F^{n}E).\,}$

This is again an abelian group. Usually E is an additive abelian group. If E has additional algebraic structure compatible with the filtration, for instance E is a filtered ring, a filtered module, or a filtered vector space, then its completion is again an object with the same structure that is complete in the topology determined by the filtration. This construction may be applied both to commutative and noncommutative rings. As may be expected, when the intersection of the ${\displaystyle F^{i}E}$ equals zero, this produces a complete topological ring.

## Krull topology

In commutative algebra, the filtration on a commutative ring R by the powers of a proper ideal I determines the Krull topology (after Wolfgang Krull) or I-adic topology on R. The case of a maximal ideal ${\displaystyle I={\mathfrak {m}}}$ is especially important, for example the distinguished maximal ideal of a valuation ring. The basis of open neighbourhoods of 0 in R is given by the powers In, which are nested and form a descending filtration on R:

${\displaystyle F^{0}R=R\supset I\supset I^{2}\supset \cdots ,\quad F^{n}R=I^{n}.}$

(Open neighborhoods of any r R are given by cosets r + In.) The completion is the inverse limit of the factor rings,

${\displaystyle {\widehat {R}}_{I}=\varprojlim (R/I^{n})}$

pronounced "R I hat". The kernel of the canonical map π from the ring to its completion is the intersection of the powers of I. Thus π is injective if and only if this intersection reduces to the zero element of the ring; by the Krull intersection theorem, this is the case for any commutative Noetherian ring which is either an integral domain or a local ring.

There is a related topology on R-modules, also called Krull or I-adic topology. A basis of open neighborhoods of a module M is given by the sets of the form

${\displaystyle x+I^{n}M\quad {\text{for }}x\in M.}$

The completion of an R-module M is the inverse limit of the quotients

${\displaystyle {\widehat {M}}_{I}=\varprojlim (M/I^{n}M).}$

This procedure converts any module over R into a complete topological module over ${\displaystyle {\widehat {R}}_{I}}$.

## Examples

• The ring of p-adic integers ${\displaystyle \mathbb {Z} _{p}}$ is obtained by completing the ring ${\displaystyle \mathbb {Z} }$ of integers at the ideal (p).
• Let R = K[x1,...,xn] be the polynomial ring in n variables over a field K and ${\displaystyle {\mathfrak {m}}=(x_{1},\ldots ,x_{n})}$ be the maximal ideal generated by the variables. Then the completion ${\displaystyle {\widehat {R}}_{\mathfrak {m}}}$ is the ring K[[''x''<sub>1</sub>,...,''x''<sub>''n''</sub>]] of formal power series in n variables over K.
• Given a noetherian ring ${\displaystyle R}$ and an ideal ${\displaystyle I=(f_{1},\ldots ,f_{n}),}$ the ${\displaystyle I}$-adic completion of ${\displaystyle R}$ is an image of a formal power series ring, specifically, the image of the surjection[1]
${\displaystyle {\begin{cases}R[[x_{1},\ldots ,x_{n}]]\to {\widehat {R}}_{I}\\x_{i}\mapsto f_{i}\end{cases}}}$
The kernel is the ideal ${\displaystyle (x_{1}-f_{1},\ldots ,x_{n}-f_{n}).}$

Completions can also be used to analyze the local structure of singularities of a scheme. For example, the affine schemes associated to ${\displaystyle \mathbb {C} [x,y]/(xy)}$ and the nodal cubic plane curve ${\displaystyle \mathbb {C} [x,y]/(y^{2}-x^{2}(1+x))}$ have similar looking singularities at the origin when viewing their graphs (both look like a plus sign). Notice that in the second case, any Zariski neighborhood of the origin is still an irreducible curve. If we use completions, then we are looking at a "small enough" neighborhood where the node has two components. Taking the localizations of these rings along the ideal ${\displaystyle (x,y)}$ and completing gives ${\displaystyle \mathbb {C} [[x,y]]/(xy)}$ and ${\displaystyle \mathbb {C} [[x,y]]/((y+u)(y-u))}$ respectively, where ${\displaystyle u}$ is the formal square root of ${\displaystyle x^{2}(1+x)}$ in ${\displaystyle \mathbb {C} [[x,y]].}$ More explicitly, the power series:

${\displaystyle u=x{\sqrt {1+x}}=\sum _{n=0}^{\infty }{\frac {(-1)^{n}(2n)!}{(1-2n)(n!)^{2}(4^{n})}}x^{n+1}.}$

Since both rings are given by the intersection of two ideals generated by a homogeneous degree 1 polynomial, we can see algebraically that the singularities "look" the same. This is because such a scheme is the union of two non-equal linear subspaces of the affine plane.

## Properties

1. The completion is a functorial operation: a continuous map f: R  S of topological rings gives rise to a map of their completions,

${\displaystyle {\widehat {f}}:{\widehat {R}}\to {\widehat {S}}.}$

Moreover, if M and N are two modules over the same topological ring R and f: M  N is a continuous module map then f uniquely extends to the map of the completions:

${\displaystyle {\widehat {f}}:{\widehat {M}}\to {\widehat {N}},}$

where ${\displaystyle {\widehat {M}},{\widehat {N}}}$ are modules over ${\displaystyle {\widehat {R}}.}$

2. The completion of a Noetherian ring R is a flat module over R.

3. The completion of a finitely generated module M over a Noetherian ring R can be obtained by extension of scalars:

${\displaystyle {\widehat {M}}=M\otimes _{R}{\widehat {R}}.}$

Together with the previous property, this implies that the functor of completion on finitely generated R-modules is exact: it preserves short exact sequences. In particular, taking quotients of rings commutes with completion, meaning that for any quotient R-algebra ${\displaystyle R/I}$, there is an isomorphism

${\displaystyle {\widehat {R/I}}\cong {\widehat {R}}/{\widehat {I}}.}$

4. Cohen structure theorem (equicharacteristic case). Let R be a complete local Noetherian commutative ring with maximal ideal ${\displaystyle {\mathfrak {m}}}$ and residue field K. If R contains a field, then

${\displaystyle R\simeq K[[x_{1},\ldots ,x_{n}]]/I}$

for some n and some ideal I (Eisenbud, Theorem 7.7).