The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Polynomial.Eisenstein.Basic
24 declarations. Mathlib docs Β· Source
Eisenstein polynomials
Given an ideal π of a commutative semiring R, we say that a polynomial f : R[X] is
Eisenstein at π if f.leadingCoeff β π, β n, n < f.natDegree β f.coeff n β π and
f.coeff 0 β π ^ 2. In this file we gather miscellaneous results about Eisenstein polynomials.
Main definitions
Polynomial.IsEisensteinAt f π: the property of being Eisenstein atπ.
Main results
Polynomial.IsEisensteinAt.irreducible: if a primitivefsatisfiesf.IsEisensteinAt π, whereπ.IsPrime, thenfis irreducible.
Implementation notes
We also define a notion IsWeaklyEisensteinAt requiring only that
β n < f.natDegree β f.coeff n β π. This makes certain results slightly more general and it is
useful since it is sometimes better behaved (for example it is stable under Polynomial.map).
structure Polynomial.IsWeaklyEisensteinAt E1 #
{R : Type u} β [inst : CommSemiring R] β Polynomial R β Ideal R β Prop
Given an ideal π of a commutative semiring R, we say that a polynomial f : R[X]
is weakly Eisenstein at π if β n, n < f.natDegree β f.coeff n β π.
theorem Polynomial.isWeaklyEisensteinAt_iff E0 #
β {R : Type u} [inst : CommSemiring R] (f : Polynomial R) (π : Ideal R),
f.IsWeaklyEisensteinAt π β β {n : β}, n < f.natDegree β f.coeff n β π
ctor Polynomial.IsWeaklyEisensteinAt.mk E0 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R},
(β {n : β}, n < f.natDegree β f.coeff n β π) β f.IsWeaklyEisensteinAt π
theorem Polynomial.IsWeaklyEisensteinAt.mem E1 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R},
f.IsWeaklyEisensteinAt π β β {n : β}, n < f.natDegree β f.coeff n β π
structure Polynomial.IsEisensteinAt E1 #
{R : Type u} β [inst : CommSemiring R] β Polynomial R β Ideal R β Prop
Given an ideal π of a commutative semiring R, we say that a polynomial f : R[X]
is Eisenstein at π if f.leadingCoeff β π, β n, n < f.natDegree β f.coeff n β π and
f.coeff 0 β π ^ 2.
theorem Polynomial.isEisensteinAt_iff E0 #
β {R : Type u} [inst : CommSemiring R] (f : Polynomial R) (π : Ideal R),
f.IsEisensteinAt π β f.leadingCoeff β π β§ (β {n : β}, n < f.natDegree β f.coeff n β π) β§ f.coeff 0 β π ^ 2
ctor Polynomial.IsEisensteinAt.mk E0 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R},
f.leadingCoeff β π β (β {n : β}, n < f.natDegree β f.coeff n β π) β f.coeff 0 β π ^ 2 β f.IsEisensteinAt π
theorem Polynomial.IsEisensteinAt.leading E1 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R}, f.IsEisensteinAt π β f.leadingCoeff β π
theorem Polynomial.IsEisensteinAt.mem E1 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R},
f.IsEisensteinAt π β β {n : β}, n < f.natDegree β f.coeff n β π
theorem Polynomial.IsEisensteinAt.notMem E1 #
β {R : Type u} [inst : CommSemiring R] {f : Polynomial R} {π : Ideal R}, f.IsEisensteinAt π β f.coeff 0 β π ^ 2
theorem Polynomial.IsWeaklyEisensteinAt.map E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f : Polynomial R},
f.IsWeaklyEisensteinAt π β
β {A : Type v} [inst_1 : CommSemiring A] (Ο : R β+* A), (Polynomial.map Ο f).IsWeaklyEisensteinAt (Ideal.map Ο π)
theorem Polynomial.IsWeaklyEisensteinAt.mul E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f f' : Polynomial R},
f.IsWeaklyEisensteinAt π β f'.IsWeaklyEisensteinAt π β (f * f').IsWeaklyEisensteinAt π
theorem Polynomial.IsWeaklyEisensteinAt.exists_mem_adjoin_mul_eq_pow_natDegree E1 #
β {R : Type u} [inst : CommRing R] {f : Polynomial R} {S : Type v} [inst_1 : CommRing S] [inst_2 : Algebra R S] {p : R}
{x : S},
(Polynomial.aeval x) f = 0 β
f.Monic β
f.IsWeaklyEisensteinAt (R β p) β
β y β R[x], (algebraMap R S) p * y = x ^ (Polynomial.map (algebraMap R S) f).natDegree
theorem Polynomial.IsWeaklyEisensteinAt.exists_mem_adjoin_mul_eq_pow_natDegree_le E1 #
β {R : Type u} [inst : CommRing R] {f : Polynomial R} {S : Type v} [inst_1 : CommRing S] [inst_2 : Algebra R S] {p : R}
{x : S},
(Polynomial.aeval x) f = 0 β
f.Monic β
f.IsWeaklyEisensteinAt (R β p) β
β (i : β), (Polynomial.map (algebraMap R S) f).natDegree β€ i β β y β R[x], (algebraMap R S) p * y = x ^ i
theorem Polynomial.IsWeaklyEisensteinAt.pow_natDegree_le_of_root_of_monic_mem E1 #
β {R : Type u} [inst : CommRing R] {π : Ideal R} {f : Polynomial R},
f.IsWeaklyEisensteinAt π β β {x : R}, f.IsRoot x β f.Monic β β (i : β), f.natDegree β€ i β x ^ i β π
theorem Polynomial.IsWeaklyEisensteinAt.pow_natDegree_le_of_aeval_zero_of_monic_mem_map E1 #
β {R : Type u} [inst : CommRing R] {π : Ideal R} {f : Polynomial R} {S : Type v} [inst_1 : CommRing S]
[inst_2 : Algebra R S],
f.IsWeaklyEisensteinAt π β
β {x : S},
(Polynomial.aeval x) f = 0 β
f.Monic β β (i : β), (Polynomial.map (algebraMap R S) f).natDegree β€ i β x ^ i β Ideal.map (algebraMap R S) π
theorem Polynomial.scaleRoots.isWeaklyEisensteinAt E1 #
β {R : Type u} [inst : CommRing R] (p : Polynomial R) {x : R} {P : Ideal R},
x β P β (p.scaleRoots x).IsWeaklyEisensteinAt P
theorem Polynomial.dvd_pow_natDegree_of_evalβ_eq_zero E1 #
β {R : Type u} {A : Type u_1} [inst : CommRing R] [inst_1 : CommRing A] {f : R β+* A},
Function.Injective βf β
β {p : Polynomial R},
p.Monic β β (x y : R) (z : A), Polynomial.evalβ f z p = 0 β f x * z = f y β x β£ y ^ p.natDegree
theorem Polynomial.dvd_pow_natDegree_of_aeval_eq_zero E1 #
β {R : Type u} {A : Type u_1} [inst : CommRing R] [inst_1 : CommRing A] [IsDomain R] [inst_3 : Algebra R A]
[Nontrivial A] [Module.IsTorsionFree R A] {p : Polynomial R},
p.Monic β
β (x y : R) (z : A), (Polynomial.aeval z) p = 0 β z * (algebraMap R A) x = (algebraMap R A) y β x β£ y ^ p.natDegree
theorem Polynomial.Monic.leadingCoeff_notMem E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f : Polynomial R}, f.Monic β π β β€ β f.leadingCoeff β π
theorem Polynomial.Monic.isEisensteinAt_of_mem_of_notMem E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f : Polynomial R},
f.Monic β π β β€ β (β {n : β}, n < f.natDegree β f.coeff n β π) β f.coeff 0 β π ^ 2 β f.IsEisensteinAt π
theorem Polynomial.IsEisensteinAt.isWeaklyEisensteinAt E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f : Polynomial R}, f.IsEisensteinAt π β f.IsWeaklyEisensteinAt π
theorem Polynomial.IsEisensteinAt.coeff_mem E1 #
β {R : Type u} [inst : CommSemiring R] {π : Ideal R} {f : Polynomial R},
f.IsEisensteinAt π β β {n : β}, n β f.natDegree β f.coeff n β π
theorem Polynomial.IsEisensteinAt.irreducible E3 #
β {R : Type u} [inst : CommRing R] [IsDomain R] {π : Ideal R} {f : Polynomial R},
f.IsEisensteinAt π β π.IsPrime β f.IsPrimitive β 0 < f.natDegree β Irreducible f
If a primitive f satisfies f.IsEisensteinAt π, where π.IsPrime,
then f is irreducible.