Bounds for evaluating a polynomial at a multivariate polynomial #
The degree of the outer polynomial controls the degree and coefficient norm after
evaluation. Adapted from PolynomialMultivariateCompositionBounds in lean-canny at
970f28a5ecefc1327402ade16c068aa4b1b2c183.
theorem Polynomial.totalDegree_aeval_mvPolynomial_le {ι : Type u_1} {R : Type u_2} [CommRing R] (p : Polynomial R) (v : MvPolynomial ι R) :
The degree of a univariate polynomial times the total degree of its argument bounds the total degree after evaluation.
theorem Polynomial.coeffNorm1_aeval_mvPolynomial_le {ι : Type u_1} (p : Polynomial ℤ) (v : MvPolynomial ι ℤ) {M : ℕ} (hM : 1 ≤ M) (hv : v.coeffNorm1 ≤ M) :
Evaluating an integer polynomial at a multivariate polynomial of coefficient norm at most
M costs a factor of at most M ^ p.natDegree in coefficient norm, for M ≥ 1.