Alphabeta Math
TheoremStatement: Literature-sourcedProof: 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.

Stationary-ergodic LZ77 phrase-length theorem

Statement

For a stationary ergodic finite-alphabet source with bit entropy rate h, define Rn=min⁡{j≥1:X−j−j+n−1=X0n−1} using LZ77 previous-match length and recurrence time. Then n−1log⁡2Rn→h in probability. If h>0, the inverse window length satisfies LW/log⁡2W→1/h in probability as integer W→∞.

Facts & Assumptions

Given: A stationary ergodic finite-alphabet source with bit entropy rate h, the recurrence distance Rn and inverse window phrase length LW of LZ77 previous-match length and recurrence time.

[F1]

Ergodic Shannon–McMillan–Breiman theorem: −n−1log⁡2P(X0n−1)→h almost surely.

[F2]

Kac return-time formula without invertibility: for a positive-measure set E in an ergodic probability-preserving system, the integral over E of its first positive return time is 1.

[F3]

Conditional block information rate given the infinite past: −n−1log⁡2P(X0n−1∣F−)→h almost surely, with finite-past conditional averages defining the displayed versions.

[F4]

LZ77 previous-match length and recurrence time: Rn=min⁡{j≥1:X−j−j+n−1=X0n−1} and LW=max⁡({0}∪{n≥1:Rn≤W}), with maximum +∞ if unbounded; the empty match is allowed.

Proof

Given: The source, entropy rate and definitions above.

1.1F1F2givenalgebra

Fix ε>0 and put Sn={w:P(X0n−1=w)≥2−n(h+ε/2)}. By [F1], the current block belongs to Sn with probability tending to one, and ∣Sn∣≤2n(h+ε/2) because its word probabilities sum to at most one. For w∈Sn, let Ew={X0n−1=w}. On Ew, Rn is the first positive return to Ew under the inverse shift, which is also measure-preserving and ergodic. Hence [F2] gives ∫EwRn dP=1. On Ew, 1{Rn>M}≤Rn/M for M=2n(h+ε), so integrating and using [F2] yields P(Ew∩{Rn>M})≤1/M=2−n(h+ε). Summing over Sn and adding the atypical-block probability proves P(Rn>2n(h+ε))→0.

1.2F3F4givenalgebra

Suppose h>0 and choose 0<ε<h. Fix a past x−=(…,x−2,x−1) and a current word w∈An. Write x−⌢w for their concatenation on coordinates i<0 and 0≤i<n; every coordinate used in a match of the current block at positive offset lies in this range. For any fixed offset j≥1, the match equations wi=(x−⌢w)−j+i determine at most one word w: for i<j the right side is fixed by the past, and for i≥j it equals the already determined letter wi−j. Therefore at most m words have Rn≤m for any positive integer m.

2.1F3step 1.2givenalgebra

Put mn=⌊2n(h−ε)⌋ and, for each past x−, let Gn(x−)={w:q∞,n(w∣x−)≤2−n(h−ε/2)}. By [F3], the actual block lies outside Gn(X−) with probability tending to zero. For fixed x−, let Cn(x−,mn) be the words whose recurrence offset is at most mn; step 1.2 gives ∣Cn(x−,mn)∣≤mn. Splitting its conditional mass into Gn(x−) and its complement gives P(Rn≤mn∣X−=x−)≤mn2−n(h−ε/2)+∑w∉Gn(x−)q∞,n(w∣x−). The first term is at most 2−nε/2, and the integral of the second term over pasts is exactly P(X0n−1∉Gn(X−)) by the conditional-law property in [F3]. Therefore P(Rn≤mn)→0, so the lower tail below h−ε vanishes.

3.1F1F2F4step 1.1step 2.1givenalgebra

If h=0, the lower tail below h−ε is impossible because Rn≥1. If h>0, step 2.1 handles 0<ε<h, while larger lower-tail thresholds are also impossible. Together with step 1.1 this proves n−1log⁡2Rn→h in probability. Kac recurrence makes Rn finite almost surely for every n, after intersecting the countably many full-measure recurrence events.

4.1F4step 3.1algebra∎

For h>0 and all sufficiently large integer W, fix 0<δ<1/h and set n−(W)=⌊(1/h−δ)log⁡2W⌋, n+(W)=⌈(1/h+δ)log⁡2W⌉. Step 3.1 implies P(Rn−(W)≤W)→1 and P(Rn+(W)>W)→1: choose η>0 with (h+η)(1/h−δ)<1<(h−η)(1/h+δ) and apply convergence in probability at these indices. Since a match of length n+1 is also a match of length n, Rn≤Rn+1. Thus with probability tending to one, n−(W)≤LW<n+(W). Divide by log⁡2W and let δ↓0 to obtain LW/log⁡2W→1/h in probability.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

17 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