complete_coloring_quantum_sync_value_diff
For all natural numbers $n$ and $m$, and all real numbers $p$, $q$, and $r$, the difference $(p + (1 - p)(1 - \frac{n - m}{m(n - 1)})) - (p + (1 - p)(1 - \frac{(q - 1)n + (q + 1)r}{n(n - 1)}))$ equals $(1 - p)(\frac{(q - 1)n + (q + 1)r}{n(n - 1)} - \frac{n - m}{m(n - 1)})$.
Statement
theorem complete_coloring_quantum_sync_value_diff (n m : ℕ) (p : ℝ) (q r : ℝ) :
(p + (1 - p) * (1 - ((n : ℝ) - (m : ℝ)) / ((m : ℝ) * ((n : ℝ) - 1)))) -
(p + (1 - p) * (1 - ((q - 1) * (n : ℝ) + (q + 1) * r) / ((n : ℝ) * ((n : ℝ) - 1)))) =
(1 - p) * (((q - 1) * (n : ℝ) + (q + 1) * r) / ((n : ℝ) * ((n : ℝ) - 1)) -
((n : ℝ) - (m : ℝ)) / ((m : ℝ) * ((n : ℝ) - 1)))- Source
- arXiv:2611.19002 Theorem 4.6.1 -- Quantum Coloring Games on Complete Graphs
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- complete_coloring_quantum_synchronous_advantageIn the complete-graph coloring game on $K_n$ with $m$ colors and equal input probability $p$, for any natural numbers $n$ and $m$…
Read back from the Lean
For all natural numbers n and m, and all real numbers p, q, and r (with n and m coerced to real numbers): (p + (1 - p) * (1 - (n - m) / (m * (n - 1)))) - (p + (1 - p) * (1 - ((q - 1) * n + (q + 1) * r) / (n * (n - 1)))) = (1 - p) * (((q - 1) * n + (q + 1) * r) / (n * (n - 1)) - (n - m) / (m * (n - 1)))
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The theorem establishes an algebraic identity between the quantum and classical synchronous value expressions. Writing the two fractional subterms as $A$ and $B$, the equation is simply $(p + (1 - p)(1 - A)) - (p + (1 - p)(1 - B)) = (1 - p)(B - A)$. This holds purely by the ring axioms and is proved directly by polynomial expansion.
The difference between the two expressions simplifies to $(1 - p)$ times the difference of their fractional components. automation
Writing $A = \frac{n - m}{m(n - 1)}$ and $B = \frac{(q - 1)n + (q + 1)r}{n(n - 1)}$, the left-hand side has the form $(p + (1 - p)(1 - A)) - (p + (1 - p)(1 - B))$. Expanding and canceling $p - p$ and $(1 - A) - (1 - B) = B - A$ reduces this to $(1 - p)(B - A)$, which matches the right-hand side. The `ring` tactic performs this polynomial normalization over $\mathbb{R}$.
ring
- The division expressions are treated as opaque atomic terms by `ring`, so the identity holds formally in any commutative ring without requiring the denominators $m(n - 1)$ or $n(n - 1)$ to be nonzero.
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.
/-- The difference between the quantum and classical synchronous value expressions reduces to a difference of fractions multiplied by 1 - p. -/theorem complete_coloring_quantum_sync_value_diff (n m : ℕ) (p : ℝ) (q r : ℝ) : (p + (1 - p) * (1 - ((n : ℝ) - (m : ℝ)) / ((m : ℝ) * ((n : ℝ) - 1)))) - (p + (1 - p) * (1 - ((q - 1) * (n : ℝ) + (q + 1) * r) / ((n : ℝ) * ((n : ℝ) - 1)))) = (1 - p) * (((q - 1) * (n : ℝ) + (q + 1) * r) / ((n : ℝ) * ((n : ℝ) - 1)) - ((n : ℝ) - (m : ℝ)) / ((m : ℝ) * ((n : ℝ) - 1))) := by ring