Documentation

CslibFrontier.Foundations.Data.MvPolynomial.DisjointVars

Products of polynomials in disjoint variables #

A monomial of a product p * q is the sum of a monomial of p and one of q. When p and q have no variable in common, each variable occurs in at most one of the two, so the degree of the product in each variable is the larger of the two degrees. In particular a product of multilinear polynomials in disjoint sets of variables is multilinear.

Main results #

theorem MvPolynomial.mul_mem_restrictDegree_of_disjoint_vars {σ : Type u_1} {R : Type u_2} [CommSemiring R] {p q : MvPolynomial σ R} {n : ℕ} (hp : p ∈ restrictDegree σ R n) (hq : q ∈ restrictDegree σ R n) (hpq : Disjoint p.vars q.vars) :
p * q ∈ restrictDegree σ R n

A product of polynomials of degree at most n in each variable, with no variable in common, has degree at most n in each variable.

theorem MvPolynomial.X_mem_restrictDegree {σ : Type u_1} {R : Type u_2} [CommSemiring R] {n : ℕ} (hn : 1 ≤ n) (i : σ) :

A variable has degree at most one in each variable.

theorem MvPolynomial.C_mem_restrictDegree {σ : Type u_1} {R : Type u_2} [CommSemiring R] (n : ℕ) (r : R) :

A constant has degree zero in each variable.

theorem MvPolynomial.vars_X_subset {σ : Type u_1} {R : Type u_2} [CommSemiring R] (i : σ) :
(X i).vars ⊆ {i}

A variable involves at most itself.