The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Polynomial.Quotient
18 declarations. Mathlib docs · Source
Quotients of polynomial rings
def Polynomial.quotientSpanXSubCAlgEquiv E1 #
{R : Type u_1} → [inst : CommRing R] → (x : R) → (Polynomial R ⧸ Ideal.span {Polynomial.X - Polynomial.C x}) ≃ₐ[R] R
For a commutative ring $R$, evaluating a polynomial at an element $x \in R$ induces an isomorphism of $R$-algebras $R[X] / \langle X - x \rangle \cong R$.
theorem Polynomial.quotientSpanXSubCAlgEquiv_mk E0 #
∀ {R : Type u_1} [inst : CommRing R] (x : R) (p : Polynomial R),
(Polynomial.quotientSpanXSubCAlgEquiv x) ((Ideal.Quotient.mk (Ideal.span {Polynomial.X - Polynomial.C x})) p) =
Polynomial.eval x p
theorem Polynomial.quotientSpanXSubCAlgEquiv_symm_apply E0 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R),
(Polynomial.quotientSpanXSubCAlgEquiv x).symm y =
(algebraMap R (Polynomial R ⧸ Ideal.span {Polynomial.X - Polynomial.C x})) y
def Polynomial.quotientSpanCXSubCAlgEquiv E1 #
{R : Type u_1} →
[inst : CommRing R] →
(x y : R) → (Polynomial R ⧸ Ideal.span {Polynomial.C x, Polynomial.X - Polynomial.C y}) ≃ₐ[R] R ⧸ Ideal.span {x}
For a commutative ring $R$, evaluating a polynomial at an element $y \in R$ induces an isomorphism of $R$-algebras $R[X] / \langle x, X - y \rangle \cong R / \langle x \rangle$.
def Polynomial.quotientSpanCXSubCXSubCAlgEquiv E1 #
{R : Type u_1} →
[inst : CommRing R] →
{x : R} →
{y : Polynomial R} →
(Polynomial (Polynomial R) ⧸
Ideal.span {Polynomial.C (Polynomial.X - Polynomial.C x), Polynomial.X - Polynomial.C y}) ≃ₐ[R]
R
For a commutative ring $R$, evaluating a polynomial at elements $y(X) \in R[X]$ and $x \in R$ induces an isomorphism of $R$-algebras $R[X, Y] / \langle X - x, Y - y(X) \rangle \cong R$.
theorem Polynomial.modByMonic_eq_zero_iff_quotient_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] (p q : Polynomial R),
q.Monic → (p %ₘ q = 0 ↔ (Ideal.Quotient.mk (Ideal.span {q})) p = 0)
theorem Ideal.quotient_map_C_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Ideal R},
∀ a ∈ I, ((Ideal.Quotient.mk (Ideal.map Polynomial.C I)).comp Polynomial.C) a = 0
theorem Ideal.eval₂_C_mk_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Ideal R},
∀ f ∈ Ideal.map Polynomial.C I, (Polynomial.eval₂RingHom (Polynomial.C.comp (Ideal.Quotient.mk I)) Polynomial.X) f = 0
def Ideal.polynomialQuotientEquivQuotientPolynomial E1 #
{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → Polynomial (R ⧸ I) ≃+* Polynomial R ⧸ Ideal.map Polynomial.C I
If I is an ideal of R, then the ring polynomials over the quotient ring I.quotient is
isomorphic to the quotient of R[X] by the ideal map C I,
where map C I contains exactly the polynomials whose coefficients all lie in I.
theorem Ideal.polynomialQuotientEquivQuotientPolynomial_symm_mk E0 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R) (f : Polynomial R),
I.polynomialQuotientEquivQuotientPolynomial.symm ((Ideal.Quotient.mk (Ideal.map Polynomial.C I)) f) =
Polynomial.map (Ideal.Quotient.mk I) f
theorem Ideal.polynomialQuotientEquivQuotientPolynomial_map_mk E0 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R) (f : Polynomial R),
I.polynomialQuotientEquivQuotientPolynomial (Polynomial.map (Ideal.Quotient.mk I) f) =
(Ideal.Quotient.mk (Ideal.map Polynomial.C I)) f
theorem Ideal.isDomain_map_C_quotient E1 #
∀ {R : Type u_1} [inst : CommRing R] {P : Ideal R}, P.IsPrime → IsDomain (Polynomial R ⧸ Ideal.map Polynomial.C P)
If P is a prime ideal of R, then R[x]/(P) is an integral domain.
theorem Ideal.IsField.of_isPrincipalIdealRing_polynomial E1 #
∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] [IsPrincipalIdealRing (Polynomial R)], IsField R
Given a domain R, if R[X] is a principal ideal ring, then R is a field.
theorem MvPolynomial.quotient_map_C_eq_zero E1 #
∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] {I : Ideal R} {i : R},
i ∈ I → ((Ideal.Quotient.mk (Ideal.map MvPolynomial.C I)).comp MvPolynomial.C) i = 0
theorem MvPolynomial.eval₂_C_mk_eq_zero E1 #
∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] {I : Ideal R} {a : MvPolynomial σ R},
a ∈ Ideal.map MvPolynomial.C I →
(MvPolynomial.eval₂Hom (MvPolynomial.C.comp (Ideal.Quotient.mk I)) MvPolynomial.X) a = 0
theorem MvPolynomial.quotientEquivQuotientMvPolynomial_rightInverse E1 #
∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] (I : Ideal R),
Function.RightInverse
(MvPolynomial.eval₂ (Ideal.Quotient.lift I ((Ideal.Quotient.mk (Ideal.map MvPolynomial.C I)).comp MvPolynomial.C) ⋯)
fun i ↦ (Ideal.Quotient.mk (Ideal.map MvPolynomial.C I)) (MvPolynomial.X i))
⇑(Ideal.Quotient.lift (Ideal.map MvPolynomial.C I)
(MvPolynomial.eval₂Hom (MvPolynomial.C.comp (Ideal.Quotient.mk I)) MvPolynomial.X) ⋯)
Split off from quotientEquivQuotientMvPolynomial for speed.
theorem MvPolynomial.quotientEquivQuotientMvPolynomial_leftInverse E1 #
∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] (I : Ideal R),
Function.LeftInverse
(MvPolynomial.eval₂ (Ideal.Quotient.lift I ((Ideal.Quotient.mk (Ideal.map MvPolynomial.C I)).comp MvPolynomial.C) ⋯)
fun i ↦ (Ideal.Quotient.mk (Ideal.map MvPolynomial.C I)) (MvPolynomial.X i))
⇑(Ideal.Quotient.lift (Ideal.map MvPolynomial.C I)
(MvPolynomial.eval₂Hom (MvPolynomial.C.comp (Ideal.Quotient.mk I)) MvPolynomial.X) ⋯)
Split off from quotientEquivQuotientMvPolynomial for speed.
def MvPolynomial.quotientEquivQuotientMvPolynomial E1 #
{R : Type u_1} →
{σ : Type u_2} →
[inst : CommRing R] → (I : Ideal R) → MvPolynomial σ (R ⧸ I) ≃ₐ[R] MvPolynomial σ R ⧸ Ideal.map MvPolynomial.C I
If I is an ideal of R, then the ring MvPolynomial σ I.quotient is isomorphic as an
R-algebra to the quotient of MvPolynomial σ R by the ideal generated by I.