NLA-lib Explorer

Polynomial.degree_contract_le_of_degree_le

Library · theorem

A contraction divides the degree: if \deg f \le q then \deg \operatorname{contract}_n f \le \lfloor q/n \rfloor, for n \ne 0. Upstream candidate.

Polynomial.degree_contract_le_of_degree_le.{u_1} {R : Type u_1} [CommSemiring R] {n : ℕ}
  (hn : n ≠ 0) {f : Polynomial R} {q : ℕ} (hf : f.degree ≤ ↑q) :
  (Polynomial.contract n f).degree ≤ ↑(q / n)

Full source on GitHub

Import NLAlib.ForMathlib.Algebra.Polynomial.Expand.