← All solved theorems
Lovász Sandwich Theorem and Shannon Capacity of the 5-Cycle
proved in Lean
The zero-error capacity of a channel whose confusable symbols form a graph lies between the graph's independence number (largest set of mutually non-confusable symbols) and its Lovász theta number. For the 5-cycle this gives exactly √5.
László Lovász (1979) · Zero-Error & Classical Coding Bounds · Lovász (1979), On the Shannon Capacity of a Graph, IEEE Trans. IT
Statement
For every nonempty finite simple graph $G$, the Shannon zero-error capacity $\Theta(G)$ is bounded by the Lovász theta number: $$\alpha(G) \le \Theta(G) \le \vartheta(G).$$ For the 5-cycle $C_5$, the umbrella orthonormal representation in $\mathbb{R}^3$ gives $\vartheta(C_5) \le \sqrt{5}$, matching Shannon's 2-letter code $\alpha(C_5 \boxtimes C_5) \ge 5$: $$\Theta(C_5) = \vartheta(C_5) = \sqrt{5}.$$
How the proof works
Proved end-to-end in Known/ZeroError.lean using Bessel's inequality for orthonormal representations, tensor-product submultiplicativity of $\vartheta$, and Lovász's explicit 3D umbrella construction for $C_5$.
Lean declarations (4)
The key theorems in the Lean library. Each is compiled with Lean 4, uses only the standard axioms propext, Classical.choice and Quot.sound, and is re-checked by leanchecker. Click a name to see the full proof on GitHub.
theorem indepNumber_le_lovaszTheta [Nonempty V] (G : SimpleGraph V) :
(indepNumber G : ℝ) ≤ lovaszTheta G := by …
theorem shannonCapacity_le_lovaszTheta (G : SimpleGraph V) :
shannonCapacity G ≤ lovaszTheta G := by …
theorem lovaszTheta_cycle5 : lovaszTheta (cycleGraph 5) = Real.sqrt 5 := …
theorem shannonCapacity_cycle5 : shannonCapacity (cycleGraph 5) = Real.sqrt 5 := …
Related open problems (6)
Open problems that build on, generalize, or are analogous to this theorem.