The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.Polynomial.Lifts
25 declarations. Mathlib docs · Source
def Polynomial.lifts E1 #
{R : Type u} → [inst : Semiring R] → {S : Type v} → [inst_1 : Semiring S] → (R →+* S) → Subsemiring (Polynomial S)
We define the subsemiring of polynomials that lifts as the image of RingHom.of (map f).
theorem Polynomial.mem_lifts E0 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ ∃ q, Polynomial.map f q = p
theorem Polynomial.lifts_iff_set_range E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ p ∈ Set.range (Polynomial.map f)
theorem Polynomial.lifts_iff_ringHom_rangeS E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ p ∈ (Polynomial.mapRingHom f).rangeS
theorem Polynomial.lifts_iff_coeff_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ ∀ (n : ℕ), p.coeff n ∈ Set.range ⇑f
theorem Polynomial.lifts_iff_coeffs_subset_range E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ ↑p.coeffs ⊆ Set.range ⇑f
theorem Polynomial.mem_lifts_of_surjective E0 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S},
Function.Surjective ⇑f → ∀ (p : Polynomial S), p ∈ Polynomial.lifts f
theorem Polynomial.C_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] (f : R →+* S) (r : R),
Polynomial.C (f r) ∈ Polynomial.lifts f
If (r : R), then C (f r) lifts.
theorem Polynomial.C'_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {s : S},
s ∈ Set.range ⇑f → Polynomial.C s ∈ Polynomial.lifts f
If (s : S) is in the image of f, then C s lifts.
theorem Polynomial.X_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] (f : R →+* S), Polynomial.X ∈ Polynomial.lifts f
The polynomial X lifts.
theorem Polynomial.X_pow_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] (f : R →+* S) (n : ℕ),
Polynomial.X ^ n ∈ Polynomial.lifts f
The polynomial X ^ n lifts.
theorem Polynomial.base_mul_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S} (r : R),
p ∈ Polynomial.lifts f → Polynomial.C (f r) * p ∈ Polynomial.lifts f
If p lifts and (r : R) then r * p lifts.
theorem Polynomial.monomial_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {s : S} (n : ℕ),
s ∈ Set.range ⇑f → (Polynomial.monomial n) s ∈ Polynomial.lifts f
If (s : S) is in the image of f, then monomial n s lifts.
theorem Polynomial.erase_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S} (n : ℕ),
p ∈ Polynomial.lifts f → AddMonoidAlgebra.erase n p ∈ Polynomial.lifts f
If p lifts then p.erase n lifts.
theorem Polynomial.monomial_mem_lifts_and_degree_eq E0 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {s : S} {n : ℕ},
(Polynomial.monomial n) s ∈ Polynomial.lifts f →
∃ q, Polynomial.map f q = (Polynomial.monomial n) s ∧ q.degree = ((Polynomial.monomial n) s).degree
theorem Polynomial.exists_support_eq_of_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S},
p ∈ Polynomial.lifts f → ∃ q, Polynomial.map f q = p ∧ q.support = p.support
A polynomial that lifts can be lifted to a polynomial of the same support.
theorem Polynomial.exists_degree_eq_of_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S},
p ∈ Polynomial.lifts f → ∃ q, Polynomial.map f q = p ∧ q.degree = p.degree
A polynomial lifts if and only if it can be lifted to a polynomial of the same degree.
theorem Polynomial.exists_natDegree_eq_of_mem_lifts E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S},
p ∈ Polynomial.lifts f → ∃ q, Polynomial.map f q = p ∧ q.natDegree = p.natDegree
theorem Polynomial.lifts_and_degree_eq_and_monic E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} [Nontrivial S] {p : Polynomial S},
p ∈ Polynomial.lifts f → p.Monic → ∃ q, Polynomial.map f q = p ∧ q.degree = p.degree ∧ q.Monic
A monic polynomial lifts if and only if it can be lifted to a monic polynomial of the same degree.
theorem Polynomial.lifts_and_natDegree_eq_and_monic E1 #
∀ {R : Type u} [inst : Semiring R] {S : Type v} [inst_1 : Semiring S] {f : R →+* S} {p : Polynomial S},
p ∈ Polynomial.lifts f → p.Monic → ∃ q, Polynomial.map f q = p ∧ q.natDegree = p.natDegree ∧ q.Monic
def Polynomial.liftsRing E1 #
{R : Type u} → [inst : Ring R] → {S : Type v} → [inst_1 : Ring S] → (R →+* S) → Subring (Polynomial S)
The subring of polynomials that lift.
theorem Polynomial.lifts_iff_liftsRing E1 #
∀ {R : Type u} [inst : Ring R] {S : Type v} [inst_1 : Ring S] (f : R →+* S) (p : Polynomial S),
p ∈ Polynomial.lifts f ↔ p ∈ Polynomial.liftsRing f
If R and S are rings, p is in the subring of polynomials that lift if and only if it is in
the subsemiring of polynomials that lift.
theorem Polynomial.mem_lifts_iff_mem_alg E0 #
∀ (R : Type u) [inst : CommSemiring R] {S : Type v} [inst_1 : Semiring S] [inst_2 : Algebra R S] (p : Polynomial S),
p ∈ Polynomial.lifts (algebraMap R S) ↔ p ∈ (Polynomial.mapAlg R S).range
A polynomial p lifts if and only if it is in the image of mapAlg.
theorem Polynomial.smul_mem_lifts E1 #
∀ {R : Type u} [inst : CommSemiring R] {S : Type v} [inst_1 : Semiring S] [inst_2 : Algebra R S] {p : Polynomial S}
(r : R), p ∈ Polynomial.lifts (algebraMap R S) → r • p ∈ Polynomial.lifts (algebraMap R S)
If p lifts and (r : R) then r • p lifts.
theorem Polynomial.monic_of_monic_mapAlg E1 #
∀ {R : Type u} [inst : CommSemiring R] {S : Type v} [inst_1 : Semiring S] [inst_2 : Algebra R S] [FaithfulSMul R S]
{p : Polynomial R}, ((Polynomial.mapAlg R S) p).Monic → p.Monic