Variables of polynomials #
This file establishes many results about the variable sets of a multivariate polynomial.
The variable set of a polynomial $P \in R[X]$ is a Finset containing each $x \in X$
that appears in a monomial in $P$.
Main declarations #
MvPolynomial.vars p: the finset of variables occurring inp. For example ifp = x⁴y+yzthenvars p = {x, y, z}
Notation #
As in other polynomial files, we typically use the notation:
σ τ : Type*(indexing the variables)R : Type*[CommSemiring R](the coefficients)s : σ →₀ ℕ, a function fromσtoℕwhich is zero away from a finite set. This will give rise to a monomial inMvPolynomial σ Rwhich mathematicians might callX^sr : Ri : σ, with corresponding monomialX i, often denotedX_iby mathematiciansp : MvPolynomial σ R
vars p is the set of variables appearing in the polynomial p
Instances For
The variables of the product of a family of polynomials are a subset of the union of the sets of variables of each polynomial.
If f₁ and f₂ are ring homs out of the polynomial ring and p₁ and p₂ are polynomials,
then f₁ p₁ = f₂ p₂ if p₁ = p₂ and f₁ and f₂ are equal on R and on the variables
of p₁.