Documentation

LeanPool.PersistentSOS.Polynomial

Polynomial #

Part of the explicit persistent quartic SOS counterexample.

Substitution of a common real scale in every polynomial variable.

Equations
Instances For

    Common scaling cannot increase total degree.

    theorem PersistentSOS.scalePoly_quarticPoly (r σ a b : ℝ) :
    (scalePoly r) (quarticPoly σ a b) = MvPolynomial.C (σ / 4 * r ^ 4) * qPoly ^ 2 - MvPolynomial.C (a / 2 * r ^ 2) * qPoly - MvPolynomial.C (b * r ^ 3) * cubicPoly

    The quartic, quadratic, and cubic terms scale with their literal degrees.

    Degree of the squared Euclidean norm polynomial.

    The cubic has degree at most three, using separately checked sparse components.

    The objective is a quartic polynomial for all parameter values.

    Subtracting a real lower bound preserves the quartic degree bound.