Documentation

CslibFrontier.Foundations.Algebra.Polynomial.BivariateSwap

Coefficients and specialization under bivariate variable swap #

Swapping the two variables transposes the coefficient array and turns outer-variable evaluation at a constant into coefficient-wise evaluation.

theorem Polynomial.Bivariate.coeff_coeff_swap {R : Type u_1} [CommSemiring R] (p : Polynomial (Polynomial R)) (a b : ℕ) :
((swap p).coeff a).coeff b = (p.coeff b).coeff a

The coefficient indices exchange places when swapping the two variables.

Each outer coefficient has degree at most the degree in the inner variable.

A bound on the inner degree is equivalent to a bound on every outer coefficient.

Substitution for the outer variable is coefficient-wise evaluation after swapping.

theorem Polynomial.Bivariate.eval₂_eval₂RingHom_swap {R : Type u_1} [CommSemiring R] {S : Type u_2} [CommSemiring S] (f : R →+* S) (x y : S) (p : Polynomial (Polynomial R)) :

After a coefficient map, swapping the polynomial exchanges the two evaluation points.