Polynomial #
Part of the explicit persistent quartic SOS counterexample.
Substitution of a common real scale in every polynomial variable.
Equations
- PersistentSOS.scalePoly r = MvPolynomial.aeval fun (i : Fin 14) => MvPolynomial.C r * MvPolynomial.X i
Instances For
@[simp]
Common scaling cannot increase total degree.
@[simp]
@[simp]
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.