Lemma 8.7: over any commutative ring $R$, an element $a \in R$ is a double root of $f \in R[X]$ (i.e. $f(a) = 0$ and $f'(a) = 0$) if and only if $(X-a)^2$ divides $f$.
Definition 8.6 (formal derivative): for a polynomial $f \in R[X]$ over a commutative semiring,
the formal derivative $f'$ is the polynomial obtained term-by-term. Thin abbreviation for
Polynomial.derivative.
Instances For
Theorem 8.8 (Hensel's lemma, divisibility form): given $f \in \mathbb{Z}_p[X]$ and $a \in \mathbb{Z}_p$ with $p \mid f(a)$ and $p \nmid f'(a)$, there exists a unique $b \in \mathbb{Z}_p$ with $f(b) = 0$ and $p \mid (b - a)$.
Theorem 8.8 (Hensel's lemma, norm form): given $f \in \mathbb{Z}_p[X]$ and $a \in \mathbb{Z}_p$ with $\|f(a)\| < 1$ and $\|f'(a)\| = 1$, there exists a unique $b \in \mathbb{Z}_p$ with $f(b) = 0$ and $\|b - a\| < 1$.