The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Ring.Subring.IntPolynomial
6 declarations. Mathlib docs · Source
def Polynomial.int E1 #
{K : Type u_1} → [inst : Field K] → (R : Subring K) → (P : Polynomial K) → (∀ (n : ℕ), P.coeff n ∈ R) → Polynomial ↥R
Given a polynomial in K[X] such that all coefficients belong to the subring R,
Polynomial.int is the corresponding polynomial in R[X].
theorem Polynomial.int_coeff_eq E0 #
∀ {K : Type u_1} [inst : Field K] (R : Subring K) (P : Polynomial K) (hP : ∀ (n : ℕ), P.coeff n ∈ R) (n : ℕ),
↑((Polynomial.int R P hP).coeff n) = P.coeff n
theorem Polynomial.int_leadingCoeff_eq E0 #
∀ {K : Type u_1} [inst : Field K] (R : Subring K) (P : Polynomial K) (hP : ∀ (n : ℕ), P.coeff n ∈ R),
↑(Polynomial.int R P hP).leadingCoeff = P.leadingCoeff
theorem Polynomial.int_monic_iff E0 #
∀ {K : Type u_1} [inst : Field K] (R : Subring K) (P : Polynomial K) (hP : ∀ (n : ℕ), P.coeff n ∈ R),
(Polynomial.int R P hP).Monic ↔ P.Monic
theorem Polynomial.int_natDegree E0 #
∀ {K : Type u_1} [inst : Field K] (R : Subring K) (P : Polynomial K) (hP : ∀ (n : ℕ), P.coeff n ∈ R),
(Polynomial.int R P hP).natDegree = P.natDegree
theorem Polynomial.int_eval₂_eq E0 #
∀ {K : Type u_1} [inst : Field K] (R : Subring K) (P : Polynomial K) (hP : ∀ (n : ℕ), P.coeff n ∈ R) {L : Type u_2}
[inst_1 : Field L] [inst_2 : Algebra K L] (x : L),
Polynomial.eval₂ (algebraMap (↥R) L) x (Polynomial.int R P hP) = (Polynomial.aeval x) P