qutrit_cyclic_boundary_uniform_two_copy_sos
A uniform polynomial sum-of-squares identity for a rationally parameterized cyclic boundary witness family. Capital variables may be specialized to conjugates and the parameter to a real number. The SOS-to-extension dual transfer remains separate.
Statement
theorem qutrit_cyclic_boundary_uniform_two_copy_sos
(x0 x1 x2 X0 X1 X2 y0 y1 y2 Y0 Y1 Y2 t : ℂ) :
360*(y0*Y0 + y1*Y1 + y2*Y2)*(x0*X0*((1-t)^2*(y0*Y0) + t^2*(y2*Y2) + (y1*Y1)) + x1*X1*((1-t)^2*(y2*Y2) + t^2*(y1*Y1) + (y0*Y0)) + x2*X2*((1-t)^2*(y1*Y1) + t^2*(y0*Y0) + (y2*Y2)) - (1 - t + t^2)*(X0*x1*Y0*y2 + X0*x2*Y0*y1 + X1*x0*Y2*y0 + X1*x2*Y2*y1 + X2*x0*Y1*y0 + X2*x1*Y1*y2)) =
(90)*((2)*(x0*y0*Y0) + (-2)*(x0*y0*Y0*t) + (1)*(x0*y1*Y1) + (-1)*(x0*y2*Y2*t) + (-1)*(x1*y2*Y0) + (2)*(x1*y2*Y0*t) + (-2)*(x2*y1*Y0) + (1)*(x2*y1*Y0*t))*((2)*(X0*Y0*y0) + (-2)*(X0*Y0*y0*t) + (1)*(X0*Y1*y1) + (-1)*(X0*Y2*y2*t) + (-1)*(X1*Y2*y0) + (2)*(X1*Y2*y0*t) + (-2)*(X2*Y1*y0) + (1)*(X2*Y1*y0*t)) +
(30)*((3)*(x0*y1*Y1) + (3)*(x0*y2*Y2*t) + (-3)*(x1*y2*Y0) + (-3)*(x2*y1*Y0*t))*((3)*(X0*Y1*y1) + (3)*(X0*Y2*y2*t) + (-3)*(X1*Y2*y0) + (-3)*(X2*Y1*y0*t)) +
(3)*((6)*(x1*y0*Y1) + (-3)*(x1*y0*Y1*t) + (-6)*(x2*y0*Y2) + (3)*(x2*y0*Y2*t))*((6)*(X1*Y0*y1) + (-3)*(X1*Y0*y1*t) + (-6)*(X2*Y0*y2) + (3)*(X2*Y0*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rational SOS decomposition, experiment 40308.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The proof establishes a sum-of-squares polynomial identity over the complex numbers for a parameterized family of cyclic boundary witnesses. Because both sides are explicit polynomial expressions in 13 variables, the identity is proved entirely by ring normalization. Expanding both sides and collecting terms shows that all monomial coefficients coincide.
The algebraic polynomial identity holds for all 13 complex variables. automation
Both the left-hand side and the right-hand side are polynomial expressions in the variables $x_0, x_1, x_2, X_0, X_1, X_2, y_0, y_1, y_2, Y_0, Y_1, Y_2, t$ over $\mathbb{C}$. The `ring` tactic expands all powers and products on both sides, distributes coefficients, and normalizes the resulting monomials, verifying that both sides are identical formal polynomials in $\mathbb{C}$.
(1)*((9)*(x1*Y0*Y1*t) + (-9)*(x2*Y0*Y2*t))*((9)*(X1*y0*y1*t) + (-9)*(X2*y0*y2*t)) := by ring
- Although the identity represents a sum-of-squares (SOS) decomposition certifying nonnegativity when $X_i = \overline{x_i}$, $Y_i = \overline{y_i}$, and $t \in \mathbb{R}$, Lean proves only the algebraic equality of the polynomials in the commutative ring $\mathbb{C}$. Specialization to complex conjugates is handled separately.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem qutrit_cyclic_boundary_uniform_two_copy_sos (x0 x1 x2 X0 X1 X2 y0 y1 y2 Y0 Y1 Y2 t : ℂ) : 360*(y0*Y0 + y1*Y1 + y2*Y2)*(x0*X0*((1-t)^2*(y0*Y0) + t^2*(y2*Y2) + (y1*Y1)) + x1*X1*((1-t)^2*(y2*Y2) + t^2*(y1*Y1) + (y0*Y0)) + x2*X2*((1-t)^2*(y1*Y1) + t^2*(y0*Y0) + (y2*Y2)) - (1 - t + t^2)*(X0*x1*Y0*y2 + X0*x2*Y0*y1 + X1*x0*Y2*y0 + X1*x2*Y2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