Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedPipeline-generated
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.

LZ78 finite-state optimality for individual sequences

Statement

For each individual infinite sequence over an alphabet of size at least two, the limsup bit rate of the explicit block-reset LZ78 code is at most its finite-state compressibility.

Facts & Assumptions

Given: A one-sided infinite sequence x∈AN0 over a finite alphabet of size q≥2, and the block-reset LZ78 code of Finite-block LZ78 incremental prefix code.

[F1]

Losslessness and prefix property of the explicit LZ78 code: ordinary complete LZ78 phrases are distinct; the parser terminates with a final phrase containing the unique marker #.

[F2]

Losslessness and prefix property of the explicit LZ78 code: the explicit code has phrase-index cost log⁡2j+O(log⁡log⁡(j+2)) plus a fixed symbol cost.

[F3]

Finite-state compressibility of an individual sequence: an information-lossless finite-state encoder injects each finite input word into its output and final state for a fixed initial state.

[F4]

Finite KL nonnegativity for subprobability references: finite KL against any subprobability reference is nonnegative in bits, and ln⁡t≤t−1 for t>0.

Proof

Given: The sequence, LZ78 parser and finite-state coding convention.

1.1F1givenalgebra

Parse x0n−1# into N phrases. Let c=N−1 be the ordinary phrases inserted into the dictionary; they are distinct by [F1]. If the terminal phrase is w#, its source portion w is an existing dictionary word of depth at most c. For r=⌊12log⁡q(n+1)⌋, at most ∑j=1rqj=O(n) distinct ordinary phrases have length at most r, while longer phrases consume at least r+1 source symbols each. Thus c=O(n/log⁡n) and ∣w∣≤c=o(n).

2.1F1F3F4step 1.1algebra

Fix an information-lossless encoder E with at most s states. For each of the c ordinary phrases yi, record its starting state Si, output word Wi, and ending state Si+1. The tuples (Si,Wi,Si+1) are distinct: equality for two different phrase strings with the same initial state would contradict injectivity in [F3]. If J is uniform on the c phrases and L=∣WJ∣ has mean μ, then log⁡2c=H2(SJ,WJ,SJ+1)≤2log⁡2s+H2(L)+EL. The two state entropies are at most log⁡2s, by [F4] applied to the uniform law on each state set. Conditional on L, there are at most 2L possible binary strings, so H2(WJ∣L)≤EL.

3.1F3F4step 2.1algebra

If μ=0, then H2(L)=0. If μ>0, compare the finite-support law of L with the geometric weights rj=(μ+1)−1(μ/(μ+1))j restricted to that support. The reference weights sum to at most one, so nonnegative relative entropy [F4] gives H2(L)≤−Elog⁡2rL=(μ+1)log⁡2(μ+1)−μlog⁡2μ≤log⁡2(e(μ+1)), because ln⁡(1+x)≤x for x≥0, as the derivative of x−ln⁡(1+x) is nonnegative. The same upper bound holds when μ=0. Thus μ≥log⁡2c−2log⁡2s−log⁡2(e(μ+1)). If μ<log⁡2c, this error is Os(log⁡log⁡(c+2)); if μ≥log⁡2c, the same lower bound is immediate. The E output on these c phrases is at most its total block output, so clog⁡2c≤LE(x0n−1)+Os(clog⁡log⁡(c+2)).

4.1F1F2F3step 1.1step 3.1algebra

By [F2], the LZ78 description length is at most clog⁡2c+O(clog⁡log⁡(c+2))+O(log⁡(c+2)), including the terminal record. Since c=O(n/log⁡n), step 3.1 yields lim sup⁡nLLZ(x0n−1)/n≤lim sup⁡nLE(x0n−1)/n.

5.1F3step 4.1algebra∎

The inequality holds for every fixed s-state information-lossless encoder. Taking the infimum over such encoders and then over s proves that the LZ78 limsup rate is at most the finite-state compressibility ρFS(x). This is the one-sided individual-sequence optimality claim; equality or convergence of the LZ78 rate is not asserted.

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