Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck pass
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

McMillan inequality for finite binary uniquely decodable codes

Statement

Let C be a finite binary uniquely decodable code with lengths ℓi. Then ∑i=1m2−ℓi≤1.

Facts & Assumptions

Given: A finite source alphabet [m], a binary code C, and injectivity of its concatenation extension C∗.

[F1]

Finite binary source codes, extension, and expected length: Unique decodability means that the concatenation extension C∗ is injective on all finite source words, and every codeword is nonempty.

[F2]

Integer part: for every real x there is exactly one integer m with m≤x<m+1: For every real x, the integer part ⌊x⌋ satisfies ⌊x⌋≤x<⌊x⌋+1.

Proof

1.1F1givenalgebra

Put K:=∑i=1m2−ℓi and λ:=max⁡iℓi. For each integer k≥1, expand Kk=∑(i1,…,ik)∈[m]k2−(ℓi1+⋯+ℓik). For each total length s, let Nk,s count the tuples with ℓi1+⋯+ℓik=s. Their concatenated codewords are distinct by [F1] and each is a binary word of length s, of which there are exactly 2s because each of the s positions has two choices; hence Nk,s≤2s.

2.1step 1.1algebra

Since every ℓi≥1, the only possible totals satisfy k≤s≤kλ, so there are k(λ−1)+1 possible integer values of s. Grouping step 1.1 by s gives Kk=∑s=kkλNk,s2−s≤k(λ−1)+1. Therefore K≤(k(λ−1)+1)1/k for every k.

3.1F2step 2.1assume-contrachoosealgebradischarge-contradiction∎

Suppose K>1, set ϵ=K−1>0, and put a=λ−1≥0. By [F2], the integer k:=⌊1+2a/ϵ2⌋+1 satisfies k>1+2a/ϵ2 and k≥2, so k(k−1)ϵ2/2>ak. The binomial theorem gives Kk=(1+ϵ)k≥1+kϵ+(k2)ϵ2>1+ak, contradicting step 2.1, which gives Kk≤ak+1. Hence K≤1.

Depends on

Used by

Dependency tree · two levels

19 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources