Skip to content

Hensel's Lemma

A nondegenerate polynomial root or coprime monic factorization modulo a prime lifts compatibly and uniquely through higher prime-power precision.

Version
v1 · 2026-10-03 · History
Domain-specific #
13300
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
P Adic Number Theory → Mathematics
Aliases
Hensel Lemma, Hensel Lifting Lemma

Core Idea

Hensel's lemma turns suitable polynomial information modulo a prime into compatible information modulo every higher power of that prime and in the p-adic completion. A simple root \(a\pmod p\) with \(f'(a)\not\equiv0\pmod p\) lifts uniquely within its residue class; a monic factorization into coprime monic factors modulo \(p\) has a related unique normalized factor lift. The root and factor forms use distinct nondegeneracy conditions.[1][2]

How would you explain it like I'm…

Digit-by-Digit Secret Number

Imagine guessing a secret number one digit at a time. Hensel's Lemma says that if your first digit works, and a special check says the puzzle isn't wobbly there, then there is exactly one right next digit, then one right digit after that, and so on forever. Not every good first guess passes the check, though.

Clock Answer Upgrader

Imagine doing math on a clock with p hours, where you only care about remainders. Suppose you find a number that solves an equation on that small clock. Hensel's Lemma says that if your answer passes a special test (the equation isn't 'flat' there), you can fix it, one step at a time, so it also works on clocks with p×p hours, then p×p×p hours, and so on. Each fix is the only one possible, and new fixes never undo the old ones. Without passing the test, this promise is not made.

Lifting Roots Digit by Digit

Hensel's Lemma is about upgrading a solution that works modulo a prime p into solutions that work modulo p², p³, and higher powers. If a polynomial f has a root a modulo p and its derivative f'(a) is not divisible by p (a 'simple root'), then for every power p^k there is exactly one root that agrees with a modulo p. Each new step adds one more 'digit' of precision, and the steps fit together consistently. Taking the whole infinite sequence gives a single root among the p-adic integers. There is also a version for factoring: if a monic polynomial splits modulo p into monic pieces sharing no common factor, that splitting lifts uniquely to every p^k. The lemma does not say every approximate solution lifts, and a p-adic factorization need not come from a factorization over ordinary integers.

 

Hensel's Lemma is a family of lifting results in number theory. Root form: if f ∈ ℤ[x], f(a₁) ≡ 0 mod p, and f'(a₁) ≢ 0 mod p, then for every k there is a unique root modulo p^k congruent to a₁ mod p, and these roots are compatible. The mechanism resembles Newton's method: writing a_{k+1} = a_k + t·p^k, the correction t solves a linear congruence whose coefficient is f'(a_k), which is invertible mod p by hypothesis, so t exists and is unique. The compatible tower of roots defines a unique p-adic integer root in the residue class of a₁. Factorization form: if a monic polynomial reduces mod p to a product of coprime monic factors, there is a unique compatible normalized factorization modulo each p^k. The two forms share the correction-through-precision structure, but their hypotheses (simple root vs. coprime monic factors) differ and must be kept distinct. The lemma does not claim that arbitrary approximate roots lift, nor that p-adic factorizations descend to ℤ.

Scope of Application

For \(f=x^2-2\), the class \(3\pmod7\) is a simple root: \(f(3)=7\) and \(f'(3)=6\) is nonzero modulo seven. The next root is \(10\pmod{49}\), since \(10^2-2=98\). In computer algebra, \(x^2+8x+15\) factors modulo five as \(x(x+3)\); those coprime residues lift to the factors \(x+5\) and \(x+3\). More difficult integer-polynomial factorizations need a separate reconstruction and exact check after Hensel lifting.[1][3]

Clarity

Starting from a root \(a_k\pmod{p^k}\), try \(a_{k+1}=a_k+t p^k\). The next congruence reduces to \(f(a_k)/p^k+t f'(a_k)\equiv0\pmod p\). If the derivative is a unit modulo \(p\), precisely one \(t\pmod p\) works. The factor version instead corrects polynomial coefficients using coprimality. A singular root or noncoprime factor pair may sometimes lift, but this simple unique-lift guarantee no longer follows.[1]

Manages Complexity

Each correction preserves all earlier precision, avoiding a fresh search over every residue at the next modulus. A compatible infinite tower determines a p-adic object; unrelated solutions at separate moduli do not. Modular factorization is a bridge to integer factorization, not proof of it by itself.[2][3]

Abstract Reasoning

The shared pattern is base congruence → invertible correction condition → compatible prime-power tower → completed lift. A scalar derivative controls the root case, while a polynomial Bézout relation from coprime factors controls the factor case.

Knowledge Transfer

The \(7\)-adic square-root example maps the roles to a number and one corrected digit; the computer-algebra case maps them to monic polynomial factors and coefficient correction. What transfers is compatible local-to-complete lifting under nondegeneracy, not the claim that every approximate root works or that all lifted factors are automatically integer factors.[1][3]

Neighborhood in Abstraction Space

Hensel's Lemma sits in a sparse region of the domain-specific corpus (63rd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Polynomial Rings & Rational Approximants (15 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] David Loeffler, Computation in Algebra and Arithmetic, ETH Zürich course notes (2022), §§4.2.1–4.2.2, printed pp. 26–27. registry ↩a ↩b ↩c ↩d

[2] Robert Y. Lewis, “A Formal Proof of Hensel's Lemma over the p-adic Integers,” arXiv:1909.11342v1 (2019), §§2 and 5. registry ↩a ↩b

[3] Jose Divasón, Sebastiaan J. C. Joosten, René Thiemann, and Akihisa Yamada, “A Verified Implementation of the Berlekamp–Zassenhaus Factorization Algorithm,” Journal of Automated Reasoning 64:699–735 (2020; online 2019), §§8–9. registry ↩a ↩b ↩c