qutrit_line_plus_one_block_sos
A rational three-variable quadratic form appearing in the symmetric-extension line-plus-point bound is a sum of squares. Apply separately to real and imaginary parts.
Statement
theorem qutrit_line_plus_one_block_sos (a b c : ℝ) :
3*a^2 + 3*b^2 + 8*c^2 - 4*(a*b+a*c+b*c) =
((3*a-2*b-2*c)^2 + 5*(b-2*c)^2)/3- Source
- OP-2299 line-plus-point symmetric-extension bound, exact experiment 41004.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The identity expresses the quadratic form 3a² + 3b² + 8c² - 4(ab + ac + bc) as a sum of two squares divided by 3, namely ((3a - 2b - 2c)² + 5(b - 2c)²)/3. The proof proceeds entirely by expanding the polynomials and verifying that the coefficients match, automated by the `ring` tactic.
The algebraic identity holds: 3a² + 3b² + 8c² - 4(ab + ac + bc) = ((3a - 2b - 2c)² + 5(b - 2c)²)/3. automation
Expanding the squares on the right-hand side gives (9a² + 4b² + 4c² - 12ab - 12ac + 8bc) + (5b² - 20bc + 20c²) = 9a² + 9b² + 24c² - 12(ab + ac + bc). Dividing by 3 yields the polynomial on the left-hand side. The `ring` tactic verifies this polynomial identity automatically by expanding both sides and collecting like terms in ℝ.
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
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_line_plus_one_block_sos (a b c : ℝ) : 3*a^2 + 3*b^2 + 8*c^2 - 4*(a*b+a*c+b*c) = ((3*a-2*b-2*c)^2 + 5*(b-2*c)^2)/3 := by ring