qutrit_zero_face_two_mode_nonneg
The two-mode zero-face expression is nonnegative when both Fourier coefficients are nonnegative.
Statement
theorem qutrit_zero_face_two_mode_nonneg
(a b c d g z r : ℝ) (hr : r^2 = 3)
(hminus : 0 ≤ g-r*z) (hplus : 0 ≤ g+r*z) :
0 ≤ g * (3*a^2 + 3*b^2 + c^2 + d^2) / 2 + 3*z*(a*d-b*c)- Source
- OP-2299 zero-Bell face rank-one witness, exact experiments 40958 and 40971.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- qutrit_zero_face_two_mode_sosA real polynomial identity decomposes the two-mode zero-face expression into two weighted sums of squares.
The proof, explained
The proof relies on a sum-of-squares (SOS) decomposition. By the identity `qutrit_zero_face_two_mode_sos`, three times the target expression decomposes into the sum of two terms, each being the product of a Fourier coefficient ($g - rz$ or $g + rz$) and a sum of squares, divided by 4. Because both Fourier coefficients are assumed nonnegative and squares of real numbers are always nonnegative, both terms are nonnegative, and linear arithmetic completes the proof.
Both terms in the sum-of-squares decomposition, $(g - rz)((3a - rd)^2 + (3b + rc)^2)/4$ and $(g + rz)((3a + rd)^2 + (3b - rc)^2)/4$, are nonnegative.
Each term is the product of an assumed nonnegative factor ($0 \le g - rz$ and $0 \le g + rz$, respectively) with a sum of two real squares, divided by the positive constant 4. Lean's `positivity` tactic establishes the nonnegativity of each term directly from these signs.
have h₁ : 0 ≤ (g-r*z) * ((3*a-r*d)^2+(3*b+r*c)^2) / 4 := by positivity have h₂ : 0 ≤ (g+r*z) * ((3*a+r*d)^2+(3*b-r*c)^2) / 4 := by positivity
The expression $g(3a^2 + 3b^2 + c^2 + d^2)/2 + 3z(ad - bc)$ is nonnegative.
The algebraic identity `qutrit_zero_face_two_mode_sos` expresses three times the target expression as the sum of the two nonnegative terms from the preceding step. Linear arithmetic (`linarith`) then concludes that the target expression itself is nonnegative.
uses
qutrit_zero_face_two_mode_soshave heq := qutrit_zero_face_two_mode_sos a b c d g z r hr linarith
qutrit_zero_face_two_mode_sos- For real numbers $a, b, c, d, g, z, r$ satisfying $r^2 = 3$, three times the expression $g(3a^2 + 3b^2 + c^2 + d^2)/2 + 3z(ad - bc)$ equals the sum of $(g - rz)((3a - rd)^2 + (3b + rc)^2)/4$ and $(g + rz)((3a + rd)^2 + (3b - rc)^2)/4$.
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_zero_face_two_mode_nonneg (a b c d g z r : ℝ) (hr : r^2 = 3) (hminus : 0 ≤ g-r*z) (hplus : 0 ≤ g+r*z) : 0 ≤ g * (3*a^2 + 3*b^2 + c^2 + d^2) / 2 + 3*z*(a*d-b*c) := by have h₁ : 0 ≤ (g-r*z) * ((3*a-r*d)^2+(3*b+r*c)^2) / 4 := by positivity have h₂ : 0 ≤ (g+r*z) * ((3*a+r*d)^2+(3*b-r*c)^2) / 4 := by positivity have heq := qutrit_zero_face_two_mode_sos a b c d g z r hr linarith