Polynomials in the last variable #
The last-variable equivalence represents a multivariate polynomial as a univariate polynomial with multivariate coefficients in the prefix variables. Evaluating the univariate variable specializes the last coordinate. Degree in the last variable becomes univariate degree, and prefix-degree bounds become bounds on every coefficient. The underlying option equivalence also gives a total-degree bound when the outer variable is joined to the coefficient variables. Evaluation in another coefficient semiring agrees with evaluating the coefficients and then the outer variable.
Main definitions #
MvPolynomial.lastVariableEquivisolates the last variable.MvPolynomial.specializeLastassigns a scalar to the last variable.
Main results #
MvPolynomial.eval_lastVariableEquividentifies evaluation with substitution.MvPolynomial.natDegree_lastVariableEquivcomputes the resulting univariate degree.MvPolynomial.degreeOf_castSucc_le_iffcharacterizes bounds on the prefix variables.
Bound the total degree after bringing the univariate variable into the index type. The degree of each coefficient contributes together with its own outer exponent.
Evaluate the outer variable at the value assigned to none, while evaluating
the coefficients at the values assigned to the remaining variables.
Isolate the last variable of a multivariate polynomial.
Evaluating the last variable at a polynomial substitutes that polynomial for the last variable and leaves the prefix variables fixed.
Substitute a scalar for the last variable, keeping all the preceding variables.
Specializing the last variable is univariate evaluation at the corresponding constant.
Specialization corresponds to evaluating on the last-coordinate slice.
Retain the last variable and evaluate all preceding variables at u.
Evaluating the prefix does not increase the degree in the remaining variable.
Evaluate all variables except the selected one, retaining it as a univariate variable.
Evaluating the coordinate restriction is the same as updating that coordinate.
Evaluating the other variables cannot increase the degree of the retained variable.
A prefix variable has degree at most d exactly when it has that bound in each
coefficient of the polynomial in the last variable.
Specializing the last variable preserves each bound on the prefix variables.