Module docstring
{"# Expand a polynomial by a factor of p, so ∑ aₙ xⁿ becomes ∑ aₙ xⁿᵖ.
Main definitions
Polynomial.expand R p f: expand the polynomialfwith coefficients in a commutative semiringRby a factor of p, soexpand R p (∑ aₙ xⁿ)is∑ aₙ xⁿᵖ.Polynomial.contract p f: the opposite ofexpand, so it sends∑ aₙ xⁿᵖto∑ aₙ xⁿ.
"}