Singling out an arbitrary variable of a polynomial ring in n + 1 variables #
Mathlib's MvPolynomial.finSuccEquiv identifies R[X₀, …, Xₙ] with the polynomial ring in the
variable X₀ over R[X₁, …, Xₙ]. This file does the same with an arbitrary variable Xₚ
singled out: the remaining variables are indexed by Fin n through p.succAbove, as in the
equivalence finSuccEquiv' p : Fin (n + 1) ≃ Option (Fin n).
This is the form in which a polynomial ring acquires one new variable in the middle of its list, as happens to the coefficient ring of a grid complex when a grid diagram is stabilized.
Main definitions #
MvPolynomial.finSuccEquiv': theR-algebra isomorphismR[X₀, …, Xₙ] ≃ R[X_{p.succAbove 0}, …, X_{p.succAbove (n-1)}][Xₚ].
Main results #
MvPolynomial.finSuccEquiv'_X_self,MvPolynomial.finSuccEquiv'_rename_succAbove: the singled-out variable goes to the polynomial variable, and the others are constants.MvPolynomial.polynomial_eval_finSuccEquiv': evaluating the polynomial variable atasubstitutesaforX p.MvPolynomial.finSuccEquiv'_zero: forp = 0this is Mathlib'sMvPolynomial.finSuccEquiv.MvPolynomial.finSuccEquiv'_map,MvPolynomial.finSuccEquiv_map: singling out a variable commutes with mapping the coefficients along a ring homomorphism.MvPolynomial.polynomial_eval_map_finSuccEquiv',MvPolynomial.polynomial_eval_map_finSuccEquiv: specializing the other variables to a pointsand then evaluating the polynomial variable atyis evaluating at the point obtained by insertingyintosat positionp.
The last two results are the compatibility of this equivalence with coefficient maps and with
evaluation. They let a polynomial in n + 1 variables be treated as a family of univariate
polynomials in X p parametrized by the other coordinates, with integer input mapped to the
reals either before or after the variable is singled out.
Dually, the last variable Xₙ can be moved into the coefficients instead, through Mathlib's
MvPolynomial.optionEquivRight after renaming along finSuccEquivLast. This identifies
R[X₀, …, Xₙ] with the polynomials in X₀, …, Xₙ₋₁ whose coefficients are polynomials in Xₙ.
The coefficient of Xᵘ then has as its coefficient of Xₙ ^ k the coefficient of f at the
exponent Finsupp.snoc u k (MvPolynomial.optionEquivRight_rename_finSuccEquivLast_coeff_coeff).
This is the form used for Lazard evaluation, where the base variables are eliminated first and
the last variable is kept.
The R-algebra isomorphism between polynomials in the variables Fin (n + 1) and
polynomials in the variable X p over the polynomials in the other variables, which are indexed
by Fin n through p.succAbove.
Equations
- MvPolynomial.finSuccEquiv' R p = (MvPolynomial.renameEquiv R (finSuccEquiv' p)).trans (MvPolynomial.optionEquivLeft R (Fin n))
Instances For
The singled-out variable becomes the polynomial variable.
A variable other than the singled-out one becomes a constant.
Polynomials not involving the singled-out variable become constants.
Constants stay constant.
The polynomial variable comes from the singled-out variable.
The constants come from the polynomials in the other variables.
Evaluating the singled-out variable at a is substituting a for X p and keeping the
other variables.
Singling out the variable X 0 is MvPolynomial.finSuccEquiv.
Singling out a variable commutes with mapping the coefficients along φ.
Mapping the coefficients along φ commutes with the inverse of finSuccEquiv' R p.
Singling out the variable X 0 commutes with mapping the coefficients along φ.
Specializing the variables other than X p along φ at the point s, and then evaluating
the polynomial variable at y, is evaluating along φ at the point obtained by inserting y
into s at position p.
Specializing the variables X 1, …, X n along φ at the point s, and then evaluating the
polynomial variable at y, is evaluating along φ at the point Fin.cons y s.
Moving the last variable into the coefficients sends the monomial r • X ^ d to the monomial
in the first n variables with exponent init d whose coefficient is r • Xₙ ^ d (Fin.last n).
After moving the last variable into the coefficients, the coefficient of Xₙ ^ k in the
coefficient of Xᵘ is the coefficient of f at the exponent Finsupp.snoc u k.