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 in- p. For example if- p = x⁴y+yzthen- vars 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 in- MvPolynomial σ Rwhich mathematicians might call- X^s
- r : R
- i : σ, with corresponding monomial- X i, often denoted- X_iby mathematicians
- p : 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₁.