In this lecture we look at the most important example of a completion, the \(p\)-adic numbers, and we prove Hensel’s lemma, which finds roots of polynomials in the completion of a discrete valuation ring.
Let \(p\) be a prime number, and consider the discrete valuation ring \(\mathbb {Z}_{(p)}\) with the valuation \(\nu _p : \mathbb {Q} \to \mathbb {Z} \cup \{\infty \}\) given by \(\nu _p(\frac {a}{b}) = n\) if \(\frac {a}{b} = p^n \frac {a'}{b'}\) with \(p \nmid a'\) and \(p \nmid b'\). By definition, the field of \(p\)-adic numbers is \(\mathbb {Q}_p = \hat {\mathbb {Q}}_{\nu _p}\), the completion of \(\mathbb {Q}\) with respect to \(\nu _p\), and we define the \(p\)-adic integers as \[ \mathbb {Z}_p \coloneqq \{ a \in \mathbb {Q}_p : \hat {\nu }_p(a) \geq 0 \}, \] which is the completion of \(\mathbb {Z}_{(p)}\), a local ring with maximal ideal \((p)\). For the norm on \(\mathbb {Q}_p\) it is usual to take \(r = p\), so that \(|x|_p = p^{-\hat {\nu }_p(x)}\). By Lemma 6.57, we have \(\mathbb {Z}_p /(p^s) \simeq \mathbb {Z}_{(p)}/p^s\mathbb {Z}_{(p)} \simeq \mathbb {Z}/p^s\) for all \(s \geq 1\), and in particular \(\mathbb {Z}_p /(p) \simeq \mathbb {F}_p\). By Proposition 6.58 with \(A = \{0,1,\ldots ,p-1\}\), every \(p\)-adic integer can be written uniquely as \[ \sum _{m=0}^\infty a_m p^m \quad \text {with } a_m \in \{0, 1, \ldots , p-1\}, \] and every such series converges. So a \(p\)-adic integer is a number written in base \(p\) with possibly infinitely many digits; the integers \(n \geq 0\) are those with only finitely many non-zero digits.
\(\blacktriangleright \) There are three different rings here, which should not be confused: the localisation \(\mathbb {Z}_{(p)} \subset \mathbb {Q}\), its completion \(\mathbb {Z}_p \supset \mathbb {Z}_{(p)}\), and their common residue field \(\mathbb {Z}/p = \mathbb {F}_p\).
\(\sphericalangle \) Show that \(\mathbb {Z}[[X]]/(X-p)\) is isomorphic to \(\mathbb {Z}_p\).
Let us now consider the equation \(X^5 = X\) in \(\mathbb {Z}_5\). In \(\mathbb {F}_5 = \mathbb {Z}_5/(5)\) the solutions are \(\{0,1,2,3,4\}\). We wish to “lift” these solutions to \(\mathbb {Z}_{5}\). Clearly, \(0\) and \(1\) in \(\mathbb {Z}_5\) lift the solutions \(0\) and \(1\) in \(\mathbb {F}_5\), and \[ -1 = 4 + 4\cdot 5 + 4 \cdot 5^2 + \ldots \in \mathbb {Z}_5\] lifts \(4 \in \mathbb {F}_5\). Let’s lift, for example, \(2 \in \mathbb {F}_5\). We are looking to solve the equation \[ (2+ a_1 5 + a_2 5^2 + \ldots )^4 = 1 \in \mathbb {Z}_5 \text {\ \ with \ \ } a_i \in \{0,1,2,3,4\}. \] We can try this level by level by looking at the equation in \(\mathbb {Z}_5 / (5^s) \simeq \mathbb {Z}/ 5^s\) for \(s=1,2,\ldots \). For example, \((2+a_15)^4 = 1 \in \mathbb {Z}/25\) gives the equation \(16+10a_1 =1 \in \mathbb {Z}/25\). Thus, we have \(a_1= 1\). Next, we look at \((2+1\cdot 5+a_25^2)^4 =1 \in \mathbb {Z}/125\), and this simplifies to \(26+50a_2 =1 \in \mathbb {Z}/125\). Thus, we have \(a_2=2\). Next, we look at the equation \((2+1\cdot 5+2\cdot 5^2 + a_3 5^3)^4 = 1 \in \mathbb {Z}/625\) which reduces to \(376+250a_3=1 \in \mathbb {Z}/625\), hence \(a_3=1\). Thus, we arrived at \[ (2 + 1 \cdot 5 + 2 \cdot 5^2 + 1 \cdot 5^3 + \ldots )^4 =1 \in \mathbb {Z}_5 \] as the root lifting 2. Similarly, one can compute \[ (3 + 3 \cdot 5 + 2 \cdot 5^2 + 3 \cdot 5^3 + \ldots )^4 =1 \in \mathbb {Z}_5\] as the root lifting 3. We can also notice that these two numbers are additive inverses.
We next prove a version of Hensel’s lemma, which is a generic term for results which infer the existence of a solution in \(\hat {R}_{\nu }\) from an approximate solution using Newton’s method. We return to the general setting of Lecture 27: \(K_\nu \) is a field with a discrete valuation \(\nu \), \(\hat {R}_\nu \) is the completion of its valuation ring, \(k_\nu \) is the residue field, and \(|\cdot |\) is the norm on \(\hat {K}_\nu \). For a polynomial \(f = \sum _{i=0}^d a_iX^i\) we write \(f'(X)= \sum _{i=1}^d ia_i X^{i-1}\) for its (formal) derivative.
Lemma 6.59. (Hensel’s lemma) Let \(f \in \hat {R}_{\nu }[X]\), and let \(x_0 \in \hat {R}_\nu \) be such that \begin {align} \label {weaker} |f(x_0)| < |f'(x_0)|^2 . \end {align}
Then there exists a unique root \(x\) of \(f\) in \(\hat {K}_{\nu }\) satisfying \(|x-x_0| < |f'(x_0)|\), and \(x \in \hat {R}_\nu \).
Furthermore, \(|x-x_0| = |f(x_0)|/|f'(x_0)|\) and \(|f'(x)| = |f'(x_0)|\).
The case which is used most often is the following.
Corollary 6.60. Let \(f \in \hat {R}_\nu [X]\), and let \(\overline {f} \in k_\nu [X]\) be the polynomial obtained by reducing the coefficients of \(f\) modulo \(\hat {\mathfrak {m}}_\nu \). Suppose that \(\overline {x}_0 \in k_\nu \) is a simple root of \(\overline {f}\), that is, \begin {align} \label {stronger} \overline {f}(\overline {x}_0)=0 \text { \ \ and \ \ } \overline {f}' (\overline {x}_0) \neq 0. \end {align}
Then there exists a unique root \(x \in \hat {R}_\nu \) of \(f\) whose class in \(k_\nu \) is \(\overline {x}_0\).
Proof. Let \(x_0 \in \hat {R}_{\nu }\) be any lift of \(\overline {x}_0 \in k_\nu \). We have \(f(x_0) \in \hat {\mathfrak {m}}_\nu \) but \(f'(x_0) \notin \hat {\mathfrak {m}}_\nu \), so \(|f(x_0)| <1\) and \(|f'(x_0)|=1\). In particular, (\(\ref {weaker}\)) holds. By Hensel’s lemma, there is a unique root \(x\) of \(f\) with \(|x - x_0| < 1\), that is, with class \(\overline {x}_0\) in \(k_\nu \). □
Proof of Lemma 6.59. Let us define polynomials \(f_1,f_2, \ldots \) via the identity \[ f(X+Y) = f(X) + f_1(X) Y + f_2(X) Y^2 + \ldots . \] Expanding the powers \((X+Y)^i\) by the binomial theorem, we see that \(f_j \in \hat {R}_\nu [X]\) and \(f_1(X)= f'(X)\). Hence \(|f_j(x)| \leq 1\) for all \(x \in \hat {R}_\nu \), and therefore, for all \(x, y \in \hat {R}_\nu \), \begin {align} \label {taylor} |f(x+y) - f(x) - f'(x)y| \leq |y|^2 \quad \text {and} \quad |f(x+y) - f(x)| \leq |y| . \end {align}
The second inequality shows that \(x_n \to x\) implies \(f(x_n) \to f(x)\). Both inequalities also hold for \(f'\) in place of \(f\).
Now let \(x_0\) be as in the statement, and put \(c \coloneqq |f(x_0)|/|f'(x_0)|^2 < 1\). Let \[ y_0 \coloneqq - \frac {f(x_0)}{f'(x_0)} \quad \text {and} \quad x_1 \coloneqq x_0 + y_0 . \] Then \(|y_0| = c\,|f'(x_0)| < |f'(x_0)| \leq 1\), so \(x_1 \in \hat {R}_\nu \). Since \(f(x_0) + f'(x_0)y_0 = 0\), the first inequality of (\(\ref {taylor}\)) gives \[ |f(x_1)| \leq |y_0|^2 = \frac {|f(x_0)|^2}{|f'(x_0)|^2} = c^2\, |f'(x_0)|^2 . \] Similarly, \[ |f'(x_1) - f'(x_0)| \leq |y_0| < |f'(x_0)|, \] and so \(|f'(x_1)| = |f'(x_0)|\) by Lemma 6.53. Thus \(|f(x_1)|/|f'(x_1)|^2 \leq c^2 < 1\): the element \(x_1\) satisfies (\(\ref {weaker}\)) again, with \(c^2\) in place of \(c\), so we can repeat this process.
In this way, we obtain a sequence \((x_n)_{n\geq 0}\) in \(\hat {R}_\nu \) using Newton’s formula \( x_{n+1} = x_n - \frac {f(x_n)}{f'(x_{n})}\) with the properties
(i) \(|f'(x_n)| = |f'(x_0)|\),
(ii) \(|f(x_n)| \leq c^{2^n} |f'(x_0)|^2\), and so \(f(x_n) \to 0\) as \(n \to \infty \),
(iii) \(|x_{n+1} - x_n|= \frac {|f(x_n)|}{|f'(x_n)|} \leq c^{2^n} |f'(x_0)|\), and so \(x_{n+1} - x_n \to 0\) as \(n\to \infty \).
It follows from (iii) that \((x_n)_{n \geq 0}\) is a Cauchy sequence, as we saw in Lecture 27 for the partial sums of a series. Then the element \(x \coloneqq \mathrm {lim}_{n \to \infty } x_n\) exists and lies in \(\hat {R}_\nu \), because \(\hat {R}_\nu \) is closed, and \(f(x)= \lim _{n \to \infty } f(x_n) = 0\) by (ii). Moreover, \(f'(x_n) \to f'(x)\) and \(|f'(x_n)| = |f'(x_0)| \neq 0\) for all \(n\), so \(|f'(x)| = |f'(x_0)|\) by Lemma 6.53.
To see that \(|x-x_0| = |f(x_0)|/ |f'(x_0)|\), we may suppose that \(f(x_0) \neq 0\); otherwise \(x_n = x_0\) for all \(n\). By (iii), \[|x_{n+1}-x_n| \leq c^2\, |f'(x_0)| < c\, |f'(x_0)| = \frac {|f(x_0)|}{|f'(x_0)|} = |x_1 - x_0| \] for all \(n \geq 1\). Hence \(|x_n - x_1| \leq c^2\,|f'(x_0)|\) for all \(n \geq 1\) by the non-archimedean property, and then also \(|x - x_1| \leq c^2\,|f'(x_0)| < |x_1 - x_0|\). It follows that \(|x - x_0| = |x_1 - x_0|\) by Lemma 6.53. In particular, \(|x - x_0| < |f'(x_0)|\).
Finally, to see the uniqueness, suppose \(\tilde {x} \neq x\) is another root of \(f\) in \(\hat {K}_\nu \) with \(|\tilde {x}-x_0|< |f'(x_0)|\), and let \(\tilde {y} = \tilde {x} - x\). Then \[ |\tilde {y}| \leq \mathrm {max}\{|\tilde {x}-x_0|, |x_0 - x|\} < |f'(x_0)| = |f'(x)| \leq 1 . \] Since \(f(x + \tilde {y}) = f(x) = 0\), the first inequality of (\(\ref {taylor}\)) gives \(|f'(x)|\, |\tilde {y}| \leq |\tilde {y}|^2\), hence \(|f'(x)| \leq |\tilde {y}|\), which is a contradiction. □
\(\blacktriangleright \) The method used in Hensel’s lemma is the adaptation of Newton’s method of approximations to the roots of a real polynomial, where successive approximations are defined by the formula \(x_n = x_{n-1} - \frac {f(x_{n-1})}{f'(x_{n-1})}\). However, in the non-archimedean setting it’s guaranteed that the sequence converges, whereas in the real case, it usually converges but not always. For example, if you take \(f(x) = x^3-x\) and choose \(x_0 = \frac {1}{\sqrt {5}}\), then we get \(x_i = \frac {(-1)^i}{\sqrt {5}}\) for all \(i \geq 0\). The convergence is also very fast: by (ii) and (iii), the number of correct digits of \(x_n\) roughly doubles at each step.
\(\blacktriangleright \) Here is an example where the corollary does not apply but the lemma does. Let \(f(X) = X^2 - 17 \in \mathbb {Z}_2[X]\) and \(x_0 = 1\). Modulo \(2\) we get \(\overline {f} = (X-1)^2\), so \(1\) is not a simple root of \(\overline {f}\). However, \(|f(1)|_2 = |{-16}|_2 = 2^{-4}\) and \(|f'(1)|_2^2 = |2|_2^2 = 2^{-2}\), so (\(\ref {weaker}\)) holds, and \(17\) is a square in \(\mathbb {Z}_2\). On the other hand, \(3\) is not a square in \(\mathbb {Z}_2\), because it is not a square in \(\mathbb {Z}_2/(8) \simeq \mathbb {Z}/8\).
Corollary 6.61. Consider \(f(X) = X^{p-1}-1 \in \mathbb {Z}[X] \subset \mathbb {Z}_p[X]\). Then, for every \(\xi \in \mathbb {F}^\times _p\) there exists a unique \([\xi ] \in \mathbb {Z}_p\) such that \(f([\xi ])=0\) and \([\xi ] = \xi \in \mathbb {Z}_p / (p) = \mathbb {F}_p\).
Proof. Every \(\xi \in \mathbb {F}_p^\times \) satisfies \(\xi ^{p-1} = 1\), so \(\overline {f}(X) = X^{p-1}-1 = \prod _{0 \neq x \in \mathbb {F}_p} (X -x)\) and \(\xi \) is a root of \(\overline {f}\). It is a simple root, because \(\overline {f}'(\xi ) = (p-1)\xi ^{p-2} \neq 0 \in \mathbb {F}_p\). Hence, by Corollary 6.60, \(f\) has a unique root in \(\mathbb {Z}_p\) lifting \(\xi \). □
The element \([\xi ]\) is called the Teichmüller representative of \(\xi \). Putting \([0]=0\), the elements \([\xi ]\) with \(\xi \in \mathbb {F}_p\) are precisely the roots of \(X^p - X\) in \(\mathbb {Z}_p\). They are multiplicative: \[ [\xi \eta ] = [\xi ]\,[\eta ] \quad \text {for all } \xi , \eta \in \mathbb {F}_p, \] because \([\xi ][\eta ]\) is a root of \(X^p - X\) which lifts \(\xi \eta \). They are not additive: in general \([\xi ] + [\eta ] \neq [\xi + \eta ]\).
We have seen above that in \(\mathbb {Z}_5\), we have \([1] = 1 + 0 \cdot 5 + 0 \cdot 5^2+ 0 \cdot 5^3 + \ldots \), \([2]= 2+ 1 \cdot 5 +2 \cdot 5^2 + 1 \cdot 5^3 + \ldots \), \([3] = 3 + 3 \cdot 5 + 2 \cdot 5^2 + 3 \cdot 5^3 + \ldots \) and \([4] = 4+ 4 \cdot 5 + 4 \cdot 5^2 + 4 \cdot 5^3 + \ldots = -1\). Note that \([2]^2 = [4] = -1\): the number \(-1\) has a square root in \(\mathbb {Z}_5\).
The set \(A= \{ [\xi ] : \xi \in \mathbb {F}_p \} \subset \mathbb {Z}_p\) is a complete set of representatives of \(\mathbb {F}_p = \mathbb {Z}_p / (p)\), hence by Proposition 6.58 any element of \(\mathbb {Z}_p\) can be written uniquely as \[ \sum _{m=0}^\infty [a_m] p^m \quad \text {with } a_m \in \mathbb {F}_p . \] This is called the Teichmüller representation. It is preferable over the representation with the digits \(\{ 0,1,2,\ldots , p-1\}\) because the digits are multiplicative, so that for example \([\xi ] \cdot \sum _{m} [a_m]p^m = \sum _m [\xi a_m] p^m\), and because of the following result.
Theorem 6.62. (Witt) There exist polynomials \(P_n , Q_n \in \mathbb {Z}[X_0,X_1,\ldots , X_n,Y_0,Y_1,\ldots , Y_n]\) for \(n \geq 0\), depending only on \(p\) and given by explicit recursive formulas, such that given \(a_m, b_m \in \mathbb {F}_p\) for \(m \geq 0\), if we define \(c_n = P_n(a_0,\ldots , a_n, b_0,\ldots , b_n)\) and \(d_n = Q_n(a_0,\ldots , a_n, b_0, \ldots , b_n)\), then \[ \sum _{m=0}^\infty [a_m] p^m + \sum _{m=0}^\infty [b_m] p^m = \sum _{m=0}^\infty [c_m] p^m, \] \[ \left ( \sum _{m=0}^\infty [a_m] p^m \right ) \cdot \left ( \sum _{m=0}^\infty [b_m] p^m \right ) = \sum _{m=0}^\infty [d_m] p^m. \]
That \(c_n\) and \(d_n\) depend only on \(a_0, \ldots , a_n, b_0, \ldots , b_n\) follows from Lemma 6.57, and every function \(\mathbb {F}_p^{2n+2} \to \mathbb {F}_p\) is given by some polynomial. The content of the theorem is that there is a canonical choice of polynomials with integer coefficients, which moreover works for all perfect residue fields of characteristic \(p\); see the remark below. We won’t prove this theorem14 but we list the first few polynomials: \begin {align*} P_0(X_0,Y_0) &= X_0+Y_0, \\ P_1(X_0,X_1,Y_0,Y_1) &= X_1+ Y_1 - \sum _{i=1}^{p-1} \frac {1}{p} \binom {p}{i} X_0^{i}Y_0^{p-i}, \\ Q_0(X_0,Y_0) &=X_0Y_0, \\ Q_1(X_0,X_1,Y_0,Y_1) &= X_0^pY_1+X_1Y_0^p +p X_1Y_1. \end {align*}
For example, in \(\mathbb {Z}_5\) we have \([1] + [1] = 2 = [2] + [4] \cdot 5 + \ldots \), in agreement with \(P_1(1,0,1,0) = -(1 + 2 + 2 + 1) = 4\) in \(\mathbb {F}_5\).
\(\blacktriangleright \) Our discussion of Witt vectors was a bit simplified since in our example of \(\mathbb {Z}_p\) the residue field is \(k=\mathbb {F}_p\). If the residue field is a more general perfect field of characteristic \(p\), then one represents the elements of the ring as \(\sum _{m=0}^\infty [a_m]^{p^{-m}} p^m\) and the addition and multiplication formulae above continue to hold.
14You can find a proof in Serre - Local fields