The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.MvPolynomial.Comap
11 declarations. Mathlib docs · Source
comap operation on MvPolynomial
This file defines the comap function on MvPolynomial.
MvPolynomial.comap is a low-tech example of a map of "algebraic varieties," modulo the fact that
mathlib does not yet define varieties.
Notation
As in other polynomial files, we typically use the notation:
-
σ : Type*(indexing the variables) -
R : Type*[CommSemiring R](the coefficients)
def MvPolynomial.comap E1 #
{σ : Type u_1} →
{τ : Type u_2} →
{R : Type u_4} → [inst : CommSemiring R] → (MvPolynomial σ R →ₐ[R] MvPolynomial τ R) → (τ → R) → σ → R
Given an algebra hom f : MvPolynomial σ R →ₐ[R] MvPolynomial τ R
and a variable evaluation v : τ → R,
comap f v produces a variable evaluation σ → R.
theorem MvPolynomial.comap_apply E0 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_4} [inst : CommSemiring R] (f : MvPolynomial σ R →ₐ[R] MvPolynomial τ R)
(x : τ → R) (i : σ), MvPolynomial.comap f x i = (MvPolynomial.aeval x) (f (MvPolynomial.X i))
theorem MvPolynomial.comap_id_apply E0 #
∀ {σ : Type u_1} {R : Type u_4} [inst : CommSemiring R] (x : σ → R),
MvPolynomial.comap (AlgHom.id R (MvPolynomial σ R)) x = x
theorem MvPolynomial.comap_id E1 #
∀ (σ : Type u_1) (R : Type u_4) [inst : CommSemiring R], MvPolynomial.comap (AlgHom.id R (MvPolynomial σ R)) = id
theorem MvPolynomial.comap_comp_apply E0 #
∀ {σ : Type u_1} {τ : Type u_2} {υ : Type u_3} {R : Type u_4} [inst : CommSemiring R]
(f : MvPolynomial σ R →ₐ[R] MvPolynomial τ R) (g : MvPolynomial τ R →ₐ[R] MvPolynomial υ R) (x : υ → R),
MvPolynomial.comap (g.comp f) x = MvPolynomial.comap f (MvPolynomial.comap g x)
theorem MvPolynomial.comap_comp E1 #
∀ {σ : Type u_1} {τ : Type u_2} {υ : Type u_3} {R : Type u_4} [inst : CommSemiring R]
(f : MvPolynomial σ R →ₐ[R] MvPolynomial τ R) (g : MvPolynomial τ R →ₐ[R] MvPolynomial υ R),
MvPolynomial.comap (g.comp f) = MvPolynomial.comap f ∘ MvPolynomial.comap g
theorem MvPolynomial.comap_eq_id_of_eq_id E1 #
∀ {σ : Type u_1} {R : Type u_4} [inst : CommSemiring R] (f : MvPolynomial σ R →ₐ[R] MvPolynomial σ R),
(∀ (φ : MvPolynomial σ R), f φ = φ) → ∀ (x : σ → R), MvPolynomial.comap f x = x
theorem MvPolynomial.comap_rename E1 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_4} [inst : CommSemiring R] (f : σ → τ) (x : τ → R),
MvPolynomial.comap (MvPolynomial.rename f) x = x ∘ f
def MvPolynomial.comapEquiv E1 #
{σ : Type u_1} →
{τ : Type u_2} →
{R : Type u_4} → [inst : CommSemiring R] → (MvPolynomial σ R ≃ₐ[R] MvPolynomial τ R) → (τ → R) ≃ (σ → R)
If two polynomial types over the same coefficient ring R are equivalent,
there is a bijection between the types of functions from their variable types to R.
theorem MvPolynomial.comapEquiv_coe E0 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_4} [inst : CommSemiring R] (f : MvPolynomial σ R ≃ₐ[R] MvPolynomial τ R),
⇑(MvPolynomial.comapEquiv f) = MvPolynomial.comap ↑f
theorem MvPolynomial.comapEquiv_symm_coe E0 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_4} [inst : CommSemiring R] (f : MvPolynomial σ R ≃ₐ[R] MvPolynomial τ R),
⇑(MvPolynomial.comapEquiv f).symm = MvPolynomial.comap ↑f.symm