AFTD Auto-Formalizing Theoretical Domains

qutrit_mub_witness_two_copy_sos

theoremverified

Exact nine-square identity for a published optimal invariant witness times the squared norm of the second factor.

Statement

theorem qutrit_mub_witness_two_copy_sos
    (x0 x1 x2 X0 X1 X2 y0 y1 y2 Y0 Y1 Y2 : ℂ) :
    36*(y0*Y0+y1*Y1+y2*Y2)*((-2)*(X0*Y0*x1*y2) + (-2)*(X0*Y0*x2*y1) + (3)*(X0*Y1*x0*y1) + (1)*(X0*Y1*x1*y0) + (-2)*(X0*Y1*x2*y2) + (3)*(X0*Y2*x0*y2) + (-2)*(X0*Y2*x1*y1) + (1)*(X0*Y2*x2*y0) + (1)*(X1*Y0*x0*y1) + (3)*(X1*Y0*x1*y0) + (-2)*(X1*Y0*x2*y2) + (-2)*(X1*Y1*x0*y2) + (-2)*(X1*Y1*x2*y0) + (-2)*(X1*Y2*x0*y0) + (3)*(X1*Y2*x1*y2) + (1)*(X1*Y2*x2*y1) + (1)*(X2*Y0*x0*y2) + (-2)*(X2*Y0*x1*y1) + (3)*(X2*Y0*x2*y0) + (-2)*(X2*Y1*x0*y0) + (1)*(X2*Y1*x1*y2) + (3)*(X2*Y1*x2*y1) + (-2)*(X2*Y2*x0*y1) + (-2)*(X2*Y2*x1*y0)) =
      (3)*((6)*(x0*Y2*y2) + (3)*(x0*Y1*y1) + (-2)*(x1*Y0*y2) + (-2)*(x1*Y2*y1) + (1)*(x1*Y1*y0) + (-4)*(x2*Y0*y1) + (2)*(x2*Y2*y0) + (-4)*(x2*Y1*y2))*((6)*(X0*y2*Y2) + (3)*(X0*y1*Y1) + (-2)*(X1*y0*Y2) + (-2)*(X1*y2*Y1) + (1)*(X1*y1*Y0) + (-4)*(X2*y0*Y1) + (2)*(X2*y2*Y0) + (-4)*(X2*y1*Y2)) +
      (1)*((9)*(x0*Y1*y1) + (-6)*(x1*Y0*y2) + (-6)*(x1*Y2*y1) + (3)*(x1*Y1*y0))*((9)*(X0*y1*Y1) + (-6)*(X1*y0*Y2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*Y1*y2) + (-2)*(x1*Y0*y0) + (-1)*(x1*Y2*y2) + (-1)*(x2*Y2*y1) + (1)*(x2*Y1*y0))*((2)*(X0*y2*Y0) + (1)*(X0*y1*Y2) + (-2)*(X1*y0*Y0) + (-1)*(X1*y2*Y2) + (-1)*(X2*y2*Y1) + (1)*(X2*y1*Y0)) +
      (1)*((9)*(x1*Y2*y2) + (-6)*(x2*Y0*y2) + (3)*(x2*Y2*y1) + (-6)*(x2*Y1*y0))*((9)*(X1*y2*Y2) + (-6)*(X2*y0*Y2) + (3)*(X2*y2*Y1) + (-6)*(X2*y1*Y0))
Source
OP-2299; partial transpose of the explicit optimal witness from https://arxiv.org/abs/2503.04158, Eq. 14; exact SOS experiments 40358 and 40360.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem establishes an exact nine-term sum-of-squares identity for a published optimal invariant witness in qutrit mutually unbiased bases (MUB) theory, multiplied by the bilinear factor $36 \sum_{i=0}^2 y_i Y_i$. Over the commutative ring $\mathbb{C}$, this is a purely algebraic polynomial identity in twelve independent variables. The proof is completed in one step by the `ring` tactic, which expands both sides to canonical form and confirms their equality.

  1. The polynomial identity holds identically for all twelve variables in $\mathbb{C}$. automation

    Both sides are polynomial expressions over $\mathbb{C}$ in the twelve 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$. The `ring` tactic expands the products on both sides into standard polynomial form, collects like terms, and verifies that the left-hand and right-hand sides are identical.

    line 12

          (1)*((9)*(x1*Y2*y2) + (-6)*(x2*Y0*y2) + (3)*(x2*Y2*y1) + (-6)*(x2*Y1*y0))*((9)*(X1*y2*Y2) + (-6)*(X2*y0*Y2) + (3)*(X2*y2*Y1) + (-6)*(X2*y1*Y0)) := by 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_mub_witness_two_copy_sos    (x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0*Y0) + (-1)*(X1*y2*Y2) + (-1)*(X2*y2*Y1) + (1)*(X2*y1*Y0)) +      (1)*((9)*(x1*Y2*y2) + (-6)*(x2*Y0*y2) + (3)*(x2*Y2*y1) + (-6)*(x2*Y1*y0))*((9)*(X1*y2*Y2) + (-6)*(X2*y0*Y2) + (3)*(X2*y2*Y1) + (-6)*(X2*y1*Y0)) := by ring
See it in the graphDiscuss this resultChallenge it