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 Sources and Universal Coding — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Decidable, Recognizable, and Enumerable Languages
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Kolmogorov Complexity and Algorithmic Randomness
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Recurrences and Rational Generating Functions
- Measurable Functions and Simple Approximation
- Measure-Preserving Systems and Mixing Criteria
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Quantum Communication and Fingerprinting
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Stationary Ergodic Sources and Universal Coding
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Integral Logarithm and the Equivalence of Its Characterisations
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Turing Machines, Configurations, and Computation
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
The examples use the same bit convention as the A page and state every input law. The LZ78 trace appends a visible terminal marker and distinguishes dictionary nodes from the noninserted final marker phrase.
Source trail
- Robert M. Gray, Entropy and Information Theory, corrected edition (source), Ch. 8 §§8.2–8.4, printed pp.153–164: stationary, componentwise, and AMS entropy theorem proofs; Ch. 11 §§11.2, 11.4 for source coding.
- Robert M. Gray, Probability, Random Processes, and Ergodic Properties (source), §6.3, printed pp.130–132: AMS stationary-mean asymptotic domination, the RN decomposition estimate, and null future-tail transfer.
- Paul H. Algoet and Thomas M. Cover, “A Sandwich Proof of the Shannon–McMillan–Breiman Theorem,” Annals of Probability 16 (1988), 899–909 (source), Theorem 4, PDF pp.8–9: generalized AEP for AMS sources by likelihood-ratio sandwich.
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed. (source), Ch. 2 source coding and prefix bounds; Ch. 13 §§13.4–13.5, printed pp.440–456: LZ78, Ziv inequality, finite-state bound, and LZ77 recurrence coding.
- MIT OpenCourseWare 6.441, Chapter 8: Compressing Stationary Ergodic Sources (source), §8.2, PDF pp.93–95: full finite-order Markov approximation proof of stationary ergodic SMB.
- Stanford EE376C, Lempel-Ziv Compression lecture notes (source), §§1.3–1.5, PDF pp.4–9: LZ78 Ziv inequality and expected universality proof; finite-state and LZ77 theorem statements.
- Satyadev Nandakumar, IIT Kanpur LZ78 lecture transcription (2014) (source), §§1.3–1.5, PDF pp.4–9: individual-sequence LZ78 bound and finite-state optimality argument.
- Northeastern University, Lempel–Ziv Lecture 3–4 (source), Definition and theorem statement for greedy LZ77 phrase lengths; proof is not supplied in these notes.
- A. D. Wyner and J. Ziv, “Some asymptotic properties of the entropy of a stationary ergodic data source with applications to data compression,” IEEE Trans. Information Theory 35 (1989), 1250–1258 (source), This is retained as primary attribution only: its full text was unavailable and is not claimed as inspected or used as proof support. The A-page source trail records the inspected alternative full proof in Kontoyiannis’s dissertation, Chapter 3 §§3.1–3.2, Theorem 3.1 and Corollary 3.1(a), and the complete local recurrence proof. No unresolved proof hold is inferred from the unavailable primary article.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A nonstationary independent source with no entropy-rate limit
Example
Constructs independent binary coordinates whose block entropy per symbol has subsequences tending to zero and one by alternating super-exponentially long deterministic and fair-coin blocks.
Facts & Assumptions
Given: Independent binary variables and finite-block entropy as in Finite-block information and entropy in bits.
Finite-block information and entropy in bits: entropy is computed from the finite joint law.
Information rate of a general finite-alphabet process: a general process need not be stationary, and its block information rate is defined by the limit of when it exists.
Verification
Given: The independent coordinates and block convention below.
Partition the coordinates into consecutive blocks of lengths for . In odd-numbered blocks set deterministically; in even-numbered blocks let the be fair independent bits. Independence gives the block law . Expanding its finite entropy sum over positive-probability words and using yields since each other coordinate probability sums to one. Thus the entropy contribution is zero on odd blocks and one bit per coordinate on even blocks.
Let be the endpoint of block . For , , so Thus the previous blocks contribute a vanishing fraction of . Therefore along odd and tends to along even . The block entropy per symbol has no limit, so the process has no entropy rate in the sense of [F2].
LZ78 parsing of a finite binary word
Example
Traces the specified parser and decoder on 0100101001 followed by the explicit terminal symbol, including dictionary indices and exact record sequence.
Facts & Assumptions
Given: The LZ78 parser of Finite-block LZ78 incremental prefix code, input , and terminal symbol .
Finite-block LZ78 incremental prefix code: output appends dictionary word ; the terminator stops parsing and is not added.
Losslessness and prefix property of the explicit LZ78 code: the explicit records decode uniquely, with the terminator ending the codeword.
Verification
Given: The input string, empty root dictionary , and conventions [F1]–[F2].
Applying the longest-dictionary-prefix rule successively gives phrases . The records are respectively ; after the first five records the dictionary indices through name . The sixth record terminates without insertion.
The dictionary trie has root index , edges and to nodes and , then edge from node to node , edge from node to node , and edge from node to node . The dashed edge marked from node is the final output phrase only; it is not a dictionary node. Each node label gives its dictionary index and phrase; each edge label is the symbol appended to the parent's phrase, and the root phrase is empty. The diagram's ordinary nodes are exactly the phrases inserted after the first five records; the terminal edge is drawn dashed because [F1] does not insert it.
Starting with the root, the decoder expands the listed records to the same six phrases; concatenating them yields . It stops at , so deleting the marker recovers the input exactly, as guaranteed by [F2].
Remarks
Diagram
The trie uses the dictionary indices and appended-symbol edges described in the verification; the dashed terminal edge is output only.
diagram failed to render:
\begin{tikzpicture}[every node/.style={draw,circle,inner sep=2pt},>=stealth]
\node (r) at (0,0) {$0:\epsilon$};
\node (a) at (-2,-1) {$1:0$};
\node (b) at (2,-1) {$2:1$};
\node (aa) at (-2,-2) {$3:00$};
\node (ba) at (2,-2) {$4:10$};
\node (baa) at (2,-3) {$5:100$};
\node[draw=none,rectangle] (end) at (4,-2) {$1\#: \text{output only}$};
\draw (r)--node[above left,draw=none] {$0$}(a);
\draw (r)--node[above right,draw=none] {$1$}(b);
\draw (a)--node[left,draw=none] {$0$}(aa);
\draw (b)--node[right,draw=none] {$0$}(ba);
\draw (ba)--node[right,draw=none] {$0$}(baa);
\draw[dashed,->] (b)--node[above,draw=none] {$\#$}(end);
\end{tikzpicture}IID and two-state Markov entropy rates
Example
Computes h=1 bit/symbol for fair IID bits and h=H2(1/4) for the stationary symmetric two-state Markov source with switch probability 1/4; compares the stationary LZ78 expected rates.
Facts & Assumptions
Given: A fair IID binary source and a stationary symmetric binary Markov source with switch probability .
Finite-alphabet stationary source: stationarity means invariance under the shift on the path law.
Finite-block information and entropy in bits: is the finite-block Shannon entropy.
Entropy-rate limit for a stationary finite-alphabet source: for a stationary finite-alphabet source, .
LZ78 expected-rate universality for stationary sources: the expected explicit LZ78 rate converges to the stationary entropy rate without ergodicity.
Verification
Given: Both source laws and [F1]–[F4].
For fair IID bits, every length- word has probability ; hence and bit per symbol. The shift is stationary by product-law invariance, and [F4] gives expected LZ78 rate tending to one.
For the Markov source, take stationary law and transition matrix with diagonal entries and off-diagonal entries ; direct multiplication gives . Its length- block probabilities are Expanding the finite entropy sum with this factorization gives where . Thus . The stationary LZ78 expected-rate theorem [F4] gives the same limiting rate without an ergodicity assumption.
The distinct rates arise because IID entropy counts each bit without context, while the Markov transition entropy conditions on the previous state. Both examples have positive entropy, and the computed limits are consistent with .