Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.ShannonCapacity

The Shannon capacity of a graph #

Let G be the confusability graph of a noisy channel with finite input alphabet V: two letters are adjacent when the channel can map them to the same output. A zero-error code of block length k is an independent set of the strong power G.strongPow k, so α(Gᵏ)^(1/k) letters per symbol can be sent without error. The Shannon capacity (zero-error capacity) of G is Θ(G) = sup_{k ≥ 1} α(Gᵏ)^(1/k) [Sha56].

Since α(Gᵐ⁺ⁿ) ≥ α(Gᵐ) α(Gⁿ), the sequence 1 / α(Gᵏ) is submultiplicative and Fekete's lemma (Mathlib's Submultiplicative.tendsto_lim) shows that the supremum is also the limit (SimpleGraph.tendsto_shannonCapacity); accounts of the capacity use either form. We define Θ(G) as the supremum over k + 1, which gives the same value.

Main definitions #

Main results #

References #

noncomputable def SimpleGraph.shannonCapacity {V : Type u_1} [Finite V] (G : SimpleGraph V) :

The Shannon capacity of a finite graph G: the supremum of α(Gᵏ)^(1/k) over the strong powers Gᵏ = G.strongPow k, k ≥ 1. It is also the limit of this sequence (SimpleGraph.tendsto_shannonCapacity). The finite vertex type ensures that indepNum (sSup in ℕ) measures maximum independent-set sizes rather than returning 0 when unbounded.

theorem SimpleGraph.rpow_indepNum_strongPow_le_natCard {V : Type u_1} {G : SimpleGraph V} [Finite V] (k : ℕ) :
↑(G.strongPow (k + 1)).indepNum ^ (↑k + 1)⁻¹ ≤ ↑(Nat.card V)

The independence number is a lower bound for the Shannon capacity (codes of block length one).

theorem SimpleGraph.shannonCapacity_le {V : Type u_1} {G : SimpleGraph V} [Finite V] {t : ℝ} (h : ∀ (k : ℕ), ↑(G.strongPow (k + 1)).indepNum ≤ t ^ (k + 1)) :

To bound the Shannon capacity by t it suffices that α(Gᵏ) ≤ tᵏ for every k ≥ 1.

Fekete's lemma for the Shannon capacity: α(Gᵏ)^(1/k) converges to Θ(G).