qutrit_cyclic_tetrahedron_weights
The cyclic equality-face Bell-weight relations and the PPT coefficient bound give nonnegative weights for the four line states.
Statement
theorem qutrit_cyclic_tetrahedron_weights (p : Fin 3 → Fin 3 → ℝ)
(hpos : ∀ v : Fin 3, 0 ≤ p 2 v)
(hupper : 3*p 1 0 ≤ ∑ u : Fin 3, ∑ v : Fin 3, p u v)
(h11 : p 1 1 = 0) (h12 : p 1 2 = 0)
(hw : p 1 0 = p 2 0+p 2 1+p 2 2)
(h01 : p 0 0-p 2 0 = p 0 1-p 2 2)
(h02 : p 0 0-p 2 0 = p 0 2-p 2 1) :
∃ c : ℝ, 0 ≤ c ∧ (∀ v : Fin 3, 0 ≤ p 2 v) ∧
p 0 0 = c+p 2 0 ∧ p 0 1 = c+p 2 2 ∧ p 0 2 = c+p 2 1 ∧
p 1 0 = p 2 0+p 2 1+p 2 2- Source
- OP-2299 cyclic equality-face decomposition, exact coefficient relations 41122.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
We choose the candidate weight c = p 0 0 - p 2 0. The cyclic face relations immediately express each entry of row 0 as c plus the corresponding entry of row 2. Expressing the total sum of all nine entries in terms of c and row 2 yields 3c + 3 * p 1 0, allowing the upper bound on 3 * p 1 0 to simplify to 0 ≤ c.
The candidate weight c = p 0 0 - p 2 0 is chosen, reducing the goal to proving 0 ≤ c and the three coordinate formulas for row 0.
The double sum ∑ u, ∑ v, p u v in the hypothesis hupper is first expanded into the explicit sum of all nine matrix entries via Fin.sum_univ_three. Then, c = p 0 0 - p 2 0 is provided as the existential witness. The nonnegativity of row 2 (∀ v, 0 ≤ p 2 v) and the sum condition for row 1 (p 1 0 = p 2 0 + p 2 1 + p 2 2) are directly dispatched by hypotheses hpos and hw, leaving the nonnegativity of c and the three reconstruction formulas for row 0.
uses
Fin.sum_univ_threesimp only [Fin.sum_univ_three] at hupper refine ⟨p 0 0-p 2 0, ?_, hpos, ?_, ?_, ?_, hw⟩
The weight c is nonnegative (0 ≤ p 0 0 - p 2 0).
By the cyclic relations h01 and h02, row 0 sums to 3c + (p 2 0 + p 2 1 + p 2 2) = 3c + p 1 0. With p 1 1 = p 1 2 = 0 and row 2 summing to p 1 0, the sum of all nine entries is 3c + 3 * p 1 0. The expanded upper bound hupper (3 * p 1 0 ≤ ∑ u, ∑ v, p u v) therefore reduces to 3 * p 1 0 ≤ 3c + 3 * p 1 0, which implies 0 ≤ c; linear arithmetic (linarith) combines these relations to close the goal.
· linarithThe three coordinate identities for row 0 hold: p 0 0 = c + p 2 0, p 0 1 = c + p 2 2, and p 0 2 = c + p 2 1.
The first equality, p 0 0 = (p 0 0 - p 2 0) + p 2 0, is an algebraic identity solved by ring. The second and third follow immediately by rearranging the cyclic face relations p 0 0 - p 2 0 = p 0 1 - p 2 2 (h01) and p 0 0 - p 2 0 = p 0 2 - p 2 1 (h02), which linear arithmetic (linarith) verifies.
· ring · linarith · linarith
Fin.sum_univ_three- For any function f on Fin 3, the sum over all elements is f 0 + f 1 + f 2.
- Expanding the double summation using Fin.sum_univ_three is a formal prerequisite for Lean's linarith tactic: on paper the sum is expanded implicitly, but linarith operates syntactically and cannot see inside the summation notation until it is expanded into individual terms.
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_tetrahedron_weights (p : Fin 3 → Fin 3 → ℝ) (hpos : ∀ v : Fin 3, 0 ≤ p 2 v) (hupper : 3*p 1 0 ≤ ∑ u : Fin 3, ∑ v : Fin 3, p u v) (h11 : p 1 1 = 0) (h12 : p 1 2 = 0) (hw : p 1 0 = p 2 0+p 2 1+p 2 2) (h01 : p 0 0-p 2 0 = p 0 1-p 2 2) (h02 : p 0 0-p 2 0 = p 0 2-p 2 1) : ∃ c : ℝ, 0 ≤ c ∧ (∀ v : Fin 3, 0 ≤ p 2 v) ∧ p 0 0 = c+p 2 0 ∧ p 0 1 = c+p 2 2 ∧ p 0 2 = c+p 2 1 ∧ p 1 0 = p 2 0+p 2 1+p 2 2 := by simp only [Fin.sum_univ_three] at hupper refine ⟨p 0 0-p 2 0, ?_, hpos, ?_, ?_, ?_, hw⟩ · linarith · ring · linarith · linarith