# Completion (algebra)

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 simpler structure than the general ones and Hensel's lemma applies to them. Geometrically, a completion of a commutative ring R concentrates on a formal neighborhood of a point or a Zariski closed subvariety of its spectrum Spec R.

## 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 {\hat {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. 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}.}$

The completion is the inverse limit of the factor rings,

${\displaystyle {\hat {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 the inverse limit of the quotients

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

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

## Examples

1. The ring of p-adic integers Zp is obtained by completing the ring Z of integers at the ideal (p).

2. 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 {\hat {R}}_{\mathfrak {m}}}$ is the ring K[[x1,...,xn]] of formal power series in n variables over K.

3. 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 the image of a formal power series ring, specifically, the surjection[1]

${\displaystyle R[[x_{1},\ldots ,x_{n}]]\to {\hat {R}}}$ where ${\displaystyle x_{i}\mapsto f_{i}}$.

The ideal of the kernel is ${\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 ${\displaystyle +}$). 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, this is 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 fR → S of topological rings gives rise to a map of their completions,

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

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

${\displaystyle {\hat {f}}:{\hat {M}}\to {\hat {N}},\quad }$ where ${\displaystyle {\hat {M}},{\hat {N}}}$ are modules over ${\displaystyle {\hat {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 {\hat {M}}=M\otimes _{R}{\hat {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 {\hat {R}}/{\hat {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).