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 #
MvPolynomial.mul_mem_restrictDegree_of_disjoint_vars: ifpandqhave degree at mostnin each variable and no variable in common, so doesp * q.MvPolynomial.X_mem_restrictDegree,MvPolynomial.C_mem_restrictDegree,MvPolynomial.vars_X_subset: variables and constants. Unlike Mathlib'sMvPolynomial.vars_X, these hold without[Nontrivial R].
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) :
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.
A variable involves at most itself.