AFTD Auto-Formalizing Theoretical Domains

qutrit_real_witness_first_multiplier_sos

theoremverified

An exact identity in the qutrit Bell-orbit and real witness reduction.

Statement

theorem qutrit_real_witness_first_multiplier_sos
    (x0 x1 x2 y0 y1 y2 : ℝ) :
    let z0 := x0*y1*y2
    let z1 := x1*y2*y0
    let z2 := x2*y0*y1
    let a0 := x0*y1^2
    let a1 := x1*y2^2
    let a2 := x2*y0^2
    let b0 := x2*y0*y2
    let b1 := x0*y1*y0
    let b2 := x1*y2*y1
    let c0 := y0*(x0*y0-x1*y1)
    let c1 := y1*(x1*y1-x2*y2)
    let c2 := y2*(x2*y2-x0*y0)
    4*(y0^2+y1^2+y2^2)*
      (x0^2*y0^2+x1^2*y1^2+x2^2*y2^2 +
       2*(x0^2*y1^2+x1^2*y2^2+x2^2*y0^2) -
       2*(x0*x1*y0*y1+x1*x2*y1*y2+x0*x2*y0*y2)) =
    4*(z0^2+z1^2+z2^2) +
      2*((z0-z1)^2+(z1-z2)^2+(z2-z0)^2) +
      (4*(a0+c0)^2+(2*b0-a0)^2+3*a0^2) +
      (4*(a1+c1)^2+(2*b1-a1)^2+3*a1^2) +
      (4*(a2+c2)^2+(2*b2-a2)^2+3*a2^2)
Source
OP-2299; qutrit convolution, experiments 40125-40126 and 40163-40166.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem establishes an exact identity decomposing a degree-6 polynomial multiplier from the qutrit Bell-orbit real witness reduction into an explicit sum of squares. The proof unfolds the definitions of the twelve auxiliary variables ($z_i, a_i, b_i, c_i$) and simplifies both sides. Because both expressions expand to the identical polynomial in the ring $\mathbb{R}[x_0, x_1, x_2, y_0, y_1, y_2]$, the equality is verified by ring normalization.

  1. The identity holds for all real values of $x_0, x_1, x_2, y_0, y_1, y_2$. automation

    The local definitions of the twelve auxiliary variables ($z_0, z_1, z_2$, $a_0, a_1, a_2$, $b_0, b_1, b_2$, $c_0, c_1, c_2$) are unfolded, substituting their expressions into the right-hand side. Both sides are then expanded and normalized as polynomials in $\mathbb{R}[x_0, x_1, x_2, y_0, y_1, y_2]$, and the `ring` tactic confirms that both polynomials are identical.

    lines 24–25

      dsimp
      ring

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

theorem qutrit_real_witness_first_multiplier_sos    (x0 x1 x2 y0 y1 y2 : ℝ) :    let z0 := x0*y1*y2    let z1 := x1*y2*y0    let z2 := x2*y0*y1    let a0 := x0*y1^2    let a1 := x1*y2^2    let a2 := x2*y0^2    let b0 := x2*y0*y2    let b1 := x0*y1*y0    let b2 := x1*y2*y1    let c0 := y0*(x0*y0-x1*y1)    let c1 := y1*(x1*y1-x2*y2)    let c2 := y2*(x2*y2-x0*y0)    4*(y0^2+y1^2+y2^2)*      (x0^2*y0^2+x1^2*y1^2+x2^2*y2^2 +       2*(x0^2*y1^2+x1^2*y2^2+x2^2*y0^2) -       2*(x0*x1*y0*y1+x1*x2*y1*y2+x0*x2*y0*y2)) =    4*(z0^2+z1^2+z2^2) +      2*((z0-z1)^2+(z1-z2)^2+(z2-z0)^2) +      (4*(a0+c0)^2+(2*b0-a0)^2+3*a0^2) +      (4*(a1+c1)^2+(2*b1-a1)^2+3*a1^2) +      (4*(a2+c2)^2+(2*b2-a2)^2+3*a2^2) := by  dsimp  ring
See it in the graphDiscuss this resultChallenge it