Renaming variables of polynomials #
This file establishes the rename
operation on multivariate polynomials,
which modifies the set of variables.
Main declarations #
Notation #
As in other polynomial files, we typically use the notation:
-
σ τ α : Type*
(indexing the variables) -
R S : Type*
[comm_semiring R]
[comm_semiring S]
(the coefficients) -
s : σ →₀ ℕ
, a function fromσ
toℕ
which is zero away from a finite set. This will give rise to a monomial inmv_polynomial σ R
which mathematicians might callX^s
-
r : R
elements of the coefficient ring -
i : σ
, with corresponding monomialX i
, often denotedX_i
by mathematicians -
p : mv_polynomial σ α
Rename all the variables in a multivariable polynomial.
Equations
mv_polynomial.rename e
is an equivalence when e
is.
Every polynomial is a polynomial in finitely many variables.
Every polynomial is a polynomial in finitely many variables.