Separable Extension

lean4-prooffield-theoryvisualization
gcd(f,f)=1    f separable\gcd(f, f') = 1 \implies f \text{ separable}

Statement

A polynomial fF[x]f \in F[x] is separable if it has no repeated roots in any extension of FF, equivalently if gcd(f,f)=1\gcd(f, f') = 1 where ff' is the formal derivative. An algebraic element α\alpha over FF is separable if its minimal polynomial minF(α)\min_F(\alpha) is separable. An extension K/FK/F is separable if every αK\alpha \in K is separable over FF.

In Mathlib:

  • Polynomial.Separable f — the polynomial predicate
  • IsSeparable F x — the element predicate (minpoly F x is separable)
  • Algebra.IsSeparable F K — the extension predicate

Key fact: Every algebraic extension in characteristic 0 is separable. Specifically, if FF has characteristic 0 and K/FK/F is algebraic and integral, then Algebra.IsSeparable F K holds automatically.

Visualization

Separable examplex22Q[x]x^2 - 2 \in \mathbb{Q}[x]:

f=x22,f=2xf = x^2 - 2, \quad f' = 2x
gcd(x22,  2x)=1(no common root)\gcd(x^2 - 2,\; 2x) = 1 \quad (\text{no common root})

Roots ±2\pm\sqrt{2} are distinct. The extension Q(2)/Q\mathbb{Q}(\sqrt{2})/\mathbb{Q} is separable.

Inseparable examplexptFp(t)[x]x^p - t \in \mathbb{F}_p(t)[x] (char pp field):

f=xpt,f=pxp1=0(since char=p)f = x^p - t, \quad f' = p x^{p-1} = 0 \quad (\text{since char} = p)

So gcd(f,f)=f1\gcd(f, f') = f \ne 1. The unique root α=t1/p\alpha = t^{1/p} has multiplicity pp:

xpt=(xα)pFp(t)[x]x^p - t = (x - \alpha)^p \in \overline{\mathbb{F}_p(t)}[x]

This single root is repeated pp times — the extension is purely inseparable.

PolynomialFieldff'gcd(f,f)\gcd(f,f')Separable?
x22x^2 - 2Q\mathbb{Q}2x2x11Yes
x2+1x^2 + 1Q\mathbb{Q}2x2x11Yes
xptx^p - tFp(t)\mathbb{F}_p(t)00ffNo
xpxx^p - xFp\mathbb{F}_p1-111Yes

Proof Sketch

  1. Char 0 implies separable. In characteristic 0 the derivative of a non-constant polynomial is non-zero and has strictly smaller degree. An irreducible ff and ff' cannot share a factor (since ff is irreducible and degf<degf\deg f' < \deg f), so gcd(f,f)=1\gcd(f, f') = 1.
  2. Char pp inseparability. If f=0f'= 0 in char pp, then f=g(xp)f = g(x^p) for some gg. Expanding g(xp)=g(x)pg(x^p) = g(x)^p (by the Frobenius endomorphism) shows every root has multiplicity divisible by pp.
  3. Extension perspective. K/FK/F is separable iff the number of FF-embeddings KFK \to \overline{F} equals [K:F][K:F], i.e., distinct embeddings correspond to distinct roots.

Connections

Separability is one of the two conditions (the other being normality) for a Normal ExtensionNormal ExtensionK/F normal    fF[x],  f irred., has a root in K    f splits in KK/F \text{ normal} \iff \forall f \in F[x],\; f \text{ irred., has a root in } K \implies f \text{ splits in } KA field extension where every irreducible polynomial with one root in the extension splits completelyRead more → to be Galois. The Primitive Element Theorem (Primitive Element TheoremPrimitive Element TheoremK=F(θ) for some θK(K/F finite separable)K = F(\theta) \text{ for some } \theta \in K \quad (K/F \text{ finite separable})Every finite separable field extension is generated by a single elementRead more →) holds precisely for finite separable extensions.

Lean4 Proof

/-- In characteristic 0 every irreducible polynomial is separable.
    We derive: any integral algebraic extension of a char-0 field is separable. -/
theorem integral_charZero_isSeparable
    (F K : Type*) [Field F] [CharZero F] [Field K] [Algebra F K]
    [Algebra.IsIntegral F K] : Algebra.IsSeparable F K :=
  Algebra.IsSeparable.of_integral