Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedPipeline-generatedprecheck passjudge pass (gpt-6-luna)
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.

Fixed-length lossless source coding at the entropy rate

Statement

Let p be a probability law on a finite nonempty alphabet A, with entropy H(p) and surprisal variance V(p) in nats. There is a sequence of deterministic fixed-length binary block codes with block errors en and rates Rn as defined in Deterministic fixed-length binary block code and block error such that en≤V(p)n,Rn≤H(p)+n−1/4+2ln⁡2n. Thus en→0 and lim sup⁡Rn≤H(p). Conversely, every sequence of such codes with en→0 satisfies lim inf⁡Rn≥H(p). If lim sup⁡Rn<H(p), then en→1.

Facts & Assumptions

Given: A finite-alphabet IID source with law p and its entropy H(p) and surprisal variance V(p).

[F1]

Deterministic fixed-length binary block code and block error: A length-n binary block code has maps fn:An→{0,1}kn and gn:{0,1}kn→An, block error P(gn(fn(Xn))≠Xn), and rate Rn=knln⁡2/n.

[F2]

Finite-alphabet IID source: Each Xn has law pn.

[F3]

Self-information and surprisal variance for a finite law: On its support, pn(xn)=∏ip(xi) and −ln⁡pn(xn) is block self-information; V(p) is the finite surprisal variance.

[F4]

Information units and logarithm-base convention: The default logarithm is ln⁡, it is strictly increasing with ln⁡1=0, and information is measured in nats.

[F5]

Finite distributions, entropy, divergence, and stochastic matrices: H(p)=−∑a:p(a)>0p(a)ln⁡p(a) with zero terms set to zero, in natural units.

[F6]

Information density and typical sets for a finite source: Tn(ε)={xn∈A+n:∣In(xn)−H(p)∣≤ε}.

[F7]

Typical-set probability and cardinality bounds: With δn(ε)=P(Xn∉Tn(ε)), δn(ε)≤V(p)/(nε2) and ∣Tn(ε)∣≤en(H(p)+ε).

Proof

Given: The source and definitions in the Statement and Facts.

1.1givenF1F6constructchoose

Let εn=n−1/4 and Tn=Tn(εn). Put Mn=∣Tn∣+1 and kn=⌈log⁡2Mn⌉. Fix a0∈A, possible since A is nonempty, and assign distinct binary strings of length kn to the words in Tn plus one unused string. Encode each typical word by its assigned string and every other word by the unused string; decode assigned strings to their typical words and all other strings to a0n. This defines maps on all of An, and every typical word is decoded correctly.

1.2givenF1F2F3F4F5F6F7algebra

For any length-n code, let Cn={xn∈An:gn(fn(xn))=xn} be its correctly decoded set. Each binary message has only one decoder output, so ∣Cn∣≤2kn. For any γ>0, every xn∈Cn∩Tn(γ) has pn(xn)≤e−n(H(p)−γ). Therefore 1−en=P(Xn∈Cn)≤δn(γ)+∣Cn∣e−n(H(p)−γ)≤δn(γ)+en(Rn−H(p)+γ). Here [F1] supplies the number of messages, [F2] the source law, [F3] the product law, [F4]–[F6] the log, entropy and typical-set conventions, and [F7] the error-tail notation.

2.1F1F4F5F7step 1.1algebra

The error is at most δn(εn)≤V(p)/(nεn2)=V(p)/n by [F7]. For each a with p(a)>0, p(a)≤1, and [F4] gives ln⁡p(a)≤ln⁡1=0; hence each summand −p(a)ln⁡p(a) in [F5] is nonnegative and H(p)≥0. Thus Mn≤en(H(p)+εn)+1≤2en(H(p)+εn). Since kn=⌈log⁡2Mn⌉, knln⁡2≤ln⁡Mn+ln⁡2, so Rn≤H(p)+n−1/4+2ln⁡2/n. These bounds prove the achievability claims.

2.2F1F4F5F7step 1.2algebra

Suppose ρ:=lim sup⁡Rn<H(p). Since ln⁡2>ln⁡1=0 by [F4] and kn≥0 by [F1], all rates are nonnegative. The finite sum in [F5] has finitely many finite terms, so H(p) and then ρ are finite reals. Choose γ=(H(p)−ρ)/4>0. Eventually Rn≤ρ+γ=H(p)−3γ. Then step 1.2 gives 1−en≤δn(γ)+e−2nγ→0 by [F7], so en→1.

3.1F1F4F5F7step 1.2algebra∎

Suppose instead that en→0 but L:=lim inf⁡Rn<H(p). Since ln⁡2>ln⁡1=0 by [F4] and kn≥0 by [F1], all rates are nonnegative. The finite sum in [F5] has finitely many finite terms, so H(p) and L are finite reals. Take γ=(H(p)−L)/4>0. Infinitely many n satisfy Rn≤L+γ=H(p)−3γ. Along those indices, step 1.2 and [F7] give 1−en≤δn(γ)+e−2nγ→0, contradicting en→0. Hence lim inf⁡Rn≥H(p).

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

13 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