Documentation

Mathlib.Analysis.Complex.Polynomial

The fundamental theorem of algebra #

This file proves that every nonconstant complex polynomial has a root using Liouville's theorem.

As a consequence, the complex numbers are algebraically closed.

We also provide some specific results about the Galois groups of ℚ-polynomials with specific numbers of non-real roots.

We also show that an irreducible real polynomial has degree at most two.

theorem Complex.exists_root {f : Polynomial } (hf : 0 < Polynomial.degree f) :
∃ (z : ), Polynomial.IsRoot f z

Fundamental theorem of algebra: every non constant complex polynomial has a root

The number of complex roots equals the number of real roots plus the number of roots not fixed by complex conjugation (i.e. with some imaginary component).

An irreducible polynomial of prime degree with two non-real roots has full Galois group.

An irreducible polynomial of prime degree with 1-3 non-real roots has full Galois group.

theorem Polynomial.mul_star_dvd_of_aeval_eq_zero_im_ne_zero (p : Polynomial ) {z : } (h0 : (Polynomial.aeval z) p = 0) (hz : z.im 0) :
(Polynomial.X - Polynomial.C ((starRingEnd ) z)) * (Polynomial.X - Polynomial.C z) Polynomial.map (algebraMap ) p
theorem Polynomial.quadratic_dvd_of_aeval_eq_zero_im_ne_zero (p : Polynomial ) {z : } (h0 : (Polynomial.aeval z) p = 0) (hz : z.im 0) :
Polynomial.X ^ 2 - Polynomial.C (2 * z.re) * Polynomial.X + Polynomial.C (z ^ 2) p

If z is a non-real complex root of a real polynomial, then p is divisible by a quadratic polynomial.

An irreducible real polynomial has degree at most two.

An irreducible real polynomial has natural degree at most two.

@[deprecated Irreducible.natDegree_le_two]

Alias of Irreducible.natDegree_le_two.


An irreducible real polynomial has natural degree at most two.