The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Polynomial.Opposites

17 declarations. Mathlib docs · Source

Interactions between R[X] and Rᵐᵒᵖ[X]

This file contains the basic API for "pushing through" the isomorphism opRingEquiv : R[X]ᵐᵒᵖ ≃+* Rᵐᵒᵖ[X]. It allows going back and forth between a polynomial ring over a semiring and the polynomial ring over the opposite semiring.

Lemmas to get started, using opRingEquiv R on the various expressions of Finsupp.single: monomial, C a, X, C a * X ^ n.

Lemmas to get started, using (opRingEquiv R).symm on the various expressions of Finsupp.single: monomial, C a, X, C a * X ^ n.

Lemmas about more global properties of polynomials and opposites.

def Polynomial.opRingEquiv E1 #

(R : Type u_2) → [inst : Semiring R] → (Polynomial R)ᵐᵒᵖ ≃+* Polynomial Rᵐᵒᵖ

Ring isomorphism between R[X]ᵐᵒᵖ and Rᵐᵒᵖ[X] sending each coefficient of a polynomial to the corresponding element of the opposite ring.

theorem Polynomial.opRingEquiv_op_monomial E0 #

∀ {R : Type u_1} [inst : Semiring R] (n : ℕ) (r : R),
  (Polynomial.opRingEquiv R) (MulOpposite.op ((Polynomial.monomial n) r)) = (Polynomial.monomial n) (MulOpposite.op r)

theorem Polynomial.opRingEquiv_op_C E0 #

∀ {R : Type u_1} [inst : Semiring R] (a : R),
  (Polynomial.opRingEquiv R) (MulOpposite.op (Polynomial.C a)) = Polynomial.C (MulOpposite.op a)

theorem Polynomial.opRingEquiv_op_X E0 #

∀ {R : Type u_1} [inst : Semiring R], (Polynomial.opRingEquiv R) (MulOpposite.op Polynomial.X) = Polynomial.X

theorem Polynomial.opRingEquiv_op_C_mul_X_pow E1 #

∀ {R : Type u_1} [inst : Semiring R] (r : R) (n : ℕ),
  (Polynomial.opRingEquiv R) (MulOpposite.op (Polynomial.C r * Polynomial.X ^ n)) =
    Polynomial.C (MulOpposite.op r) * Polynomial.X ^ n

theorem Polynomial.opRingEquiv_symm_monomial E0 #

∀ {R : Type u_1} [inst : Semiring R] (n : ℕ) (r : Rᵐᵒᵖ),
  (Polynomial.opRingEquiv R).symm ((Polynomial.monomial n) r) =
    MulOpposite.op ((Polynomial.monomial n) (MulOpposite.unop r))

theorem Polynomial.opRingEquiv_symm_C E0 #

∀ {R : Type u_1} [inst : Semiring R] (a : Rᵐᵒᵖ),
  (Polynomial.opRingEquiv R).symm (Polynomial.C a) = MulOpposite.op (Polynomial.C (MulOpposite.unop a))

theorem Polynomial.opRingEquiv_symm_X E0 #

∀ {R : Type u_1} [inst : Semiring R], (Polynomial.opRingEquiv R).symm Polynomial.X = MulOpposite.op Polynomial.X

theorem Polynomial.opRingEquiv_symm_C_mul_X_pow E1 #

∀ {R : Type u_1} [inst : Semiring R] (r : Rᵐᵒᵖ) (n : ℕ),
  (Polynomial.opRingEquiv R).symm (Polynomial.C r * Polynomial.X ^ n) =
    MulOpposite.op (Polynomial.C (MulOpposite.unop r) * Polynomial.X ^ n)

theorem Polynomial.coeff_opRingEquiv E0 #

∀ {R : Type u_1} [inst : Semiring R] (p : (Polynomial R)ᵐᵒᵖ) (n : ℕ),
  ((Polynomial.opRingEquiv R) p).coeff n = MulOpposite.op ((MulOpposite.unop p).coeff n)

theorem Polynomial.support_opRingEquiv E0 #

∀ {R : Type u_1} [inst : Semiring R] (p : (Polynomial R)ᵐᵒᵖ),
  ((Polynomial.opRingEquiv R) p).support = (MulOpposite.unop p).support

theorem Polynomial.natDegree_opRingEquiv E0 #

∀ {R : Type u_1} [inst : Semiring R] (p : (Polynomial R)ᵐᵒᵖ),
  ((Polynomial.opRingEquiv R) p).natDegree = (MulOpposite.unop p).natDegree

theorem Polynomial.leadingCoeff_opRingEquiv E0 #

∀ {R : Type u_1} [inst : Semiring R] (p : (Polynomial R)ᵐᵒᵖ),
  ((Polynomial.opRingEquiv R) p).leadingCoeff = MulOpposite.op (MulOpposite.unop p).leadingCoeff

theorem Polynomial.isLeftCancelMulZero_iff E0 #

∀ {R : Type u_1} [inst : Semiring R], IsLeftCancelMulZero (Polynomial R) ↔ IsLeftCancelMulZero R ∧ IsCancelAdd R

theorem Polynomial.isRightCancelMulZero_iff E0 #

∀ {R : Type u_1} [inst : Semiring R], IsRightCancelMulZero (Polynomial R) ↔ IsRightCancelMulZero R ∧ IsCancelAdd R

theorem Polynomial.isCancelMulZero_iff E0 #

∀ {R : Type u_1} [inst : Semiring R], IsCancelMulZero (Polynomial R) ↔ IsCancelMulZero R ∧ IsCancelAdd R

theorem Polynomial.isDomain_iff E0 #

∀ {R : Type u_1} [inst : Semiring R], IsDomain (Polynomial R) ↔ IsDomain R ∧ IsCancelAdd R