The capacity of the binary symmetric channel #
A rate R is achievable on the binary symmetric channel BSC_p
(Cslib.BitString.IsAchievableRate) if for every ε > 0 and all sufficiently large n some code
with 2 ^ ⌈R n⌉₊ codewords of length n and some decoder have maximal error probability at most
ε. Shannon's noisy-channel coding theorem for BSC_p says that the achievable rates are exactly
the rates below the capacity 1 - h₂(p), where h₂(p) = Real.binEntropy p / Real.log 2 is the
binary entropy in bits: reliable communication is possible below capacity and impossible above it,
the notion of capacity in Guruswami, Rudra and Sudan, Section 6.2.2.
- Below capacity,
Cslib.BitString.eventually_exists_code_decodingError_le(random codes,p < 1 / 2) gives achievability; ratesR ≤ 0are achieved by a single codeword, andp > 1 / 2reduces to1 - pby complementing the received word (Cslib.BitString.isAchievableRate_symm). - Above capacity, the strong converse
(
Cslib.BitString.eventually_one_sub_le_expect_decodingError) shows that even the average error tends to1.
So the capacity 1 - h₂(p) is the least upper bound of the achievable rates
(Cslib.BitString.isLUB_isAchievableRate, Cslib.BitString.sSup_isAchievableRate), for every
p ∈ [0, 1]. Whether the capacity itself is achievable depends on second-order terms and is not
settled here; Cslib.BitString.isAchievableRate_iff_lt covers every other rate.
Main definitions #
Cslib.BitString.IsAchievableRate: achievable rates onBSC_p.
Main results #
Cslib.BitString.isAchievableRate_of_lt: rates below capacity are achievable.Cslib.BitString.not_isAchievableRate_of_lt: rates above capacity are not.Cslib.BitString.isLUB_isAchievableRate,Cslib.BitString.sSup_isAchievableRate: the capacity ofBSC_pis1 - h₂(p).
References #
A rate R is achievable on BSC_p if for every ε > 0 and all sufficiently large n
there is a code with 2 ^ ⌈R n⌉₊ codewords of length n and a decoder whose maximal error
probability is at most ε. This notion is specific to the binary symmetric channel on bit strings;
general discrete memoryless channels would need their own definition.
Rates R ≤ 0 are achievable: a single codeword is never misdecoded.
Achievability on BSC_p and on BSC_{1 - p} are equivalent: complement the received word
before decoding.
Achievability: every rate below the capacity 1 - h₂(p) of BSC_p is achievable, for every
p ∈ [0, 1].
The converse: no rate above the capacity 1 - h₂(p) of BSC_p is achievable, for every
p ∈ [0, 1]. By the strong converse even the average error of such codes tends to 1.
Shannon's noisy-channel coding theorem for the binary symmetric channel: the capacity
1 - h₂(p) is the least upper bound of the achievable rates of BSC_p, for every p ∈ [0, 1].
The capacity of BSC_p is 1 - h₂(p): the supremum of its achievable rates.
Away from the capacity, a rate is achievable on BSC_p exactly when it is below the capacity
1 - h₂(p).