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.
IID Lossless Source Coding and the AEP
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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Finite-Alphabet Entropy and Divergence
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Modes of Convergence Egorov and Lusin
- Modes of Convergence for Random Variables
- 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
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- 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
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Summary
For a finite alphabet and an IID law, bounded surprisal turns the finite-variance weak law into a quantitative information AEP. The resulting typical-set probability and cardinality bounds give deterministic fixed-length binary codes with vanishing block error at entropy rate. The converse proves both the minimum rate for vanishing error and error tending to one below entropy. Rates and entropy use the natural-log/nats convention of Information units and logarithm-base convention and Finite distributions, entropy, divergence, and stochastic matrices per source symbol; binary blocklengths are integer numbers of bits.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Self-information and surprisal variance for a finite law
Definition
Let be a nonempty finite alphabet identified with , and let be a probability vector as in Finite distributions, entropy, divergence, and stochastic matrices. Its support is . On define self-information ; set when only to make a finite-valued function on all of . Using the finite entropy from Finite distributions, entropy, divergence, and stochastic matrices and the natural-logarithm/nats convention from Information units and logarithm-base convention, define the surprisal variance For and , define the product law . On its support , define block self-information . Logarithms use the natural base, matching the entropy convention in Finite distributions, entropy, divergence, and stochastic matrices.
Finite-alphabet IID source
Definition
Let be a nonempty finite alphabet identified with , and let be a probability vector in the sense of Finite distributions, entropy, divergence, and stochastic matrices. A finite-alphabet IID source consists of random elements , , on one probability space, which are independent and identically distributed in the sense of Identical distribution and IID families and have common law . For every , the finite vector then has probability for each , with as in Self-information and surprisal variance for a finite law.
Information density and typical sets for a finite source
Definition
For the finite-alphabet IID source in Finite-alphabet IID source, with one-letter law and block law from Self-information and surprisal variance for a finite law, let have that law. Write for the finite entropy in Finite distributions, entropy, divergence, and stochastic matrices. On the positive-probability support , define normalized block information density using the natural-log/nats convention from Information units and logarithm-base convention For , its epsilon-typical set is Sequences of zero probability are excluded, so the definition never takes a logarithm of zero.
Deterministic fixed-length binary block code and block error
Definition
Fix the finite-alphabet IID source in Finite-alphabet IID source with alphabet and one-letter probability vector from Finite distributions, entropy, divergence, and stochastic matrices; its finite block law is in Self-information and surprisal variance for a finite law. For and an integer , a deterministic fixed-length binary block code is a pair of maps Every transmitted binary string has exactly bits. Its block error probability and rate in nats per source symbol are defined using Information units and logarithm-base convention: A sequence of such codes achieves rate if and .
Finite-alphabet IID information AEP with a variance bound
Statement
Let be a finite-alphabet IID source with one-letter law , entropy , and surprisal variance as defined above. For , defined almost surely on , every and satisfy Consequently in probability.
Facts & Assumptions
Given: A finite nonempty alphabet , a probability law on , and an IID sequence with that law.
Finite-alphabet IID source: The finite vectors have law .
Information units and logarithm-base convention: An unmarked logarithm is , the natural logarithm, and information is measured in nats.
Finite distributions, entropy, divergence, and stochastic matrices: with zero terms set to zero, in natural units.
Identical distribution and IID families: IID means that the whole family is independent and identically distributed; independence is mutual independence.
IID finite-variance weak law: For IID square-integrable real variables with mean and variance , the sample mean converges in probability to and .
Convergence in probability: in probability when for every .
Proof
Given: The alphabet, law, and IID source in the Statement.
Define when and otherwise. This is the same finite-valued measurable function of every , so its range is finite. Take arbitrary distinct indices and Borel sets . Then ; mutual independence in [F6] gives probability , and the common law makes every have the same law. Thus the are IID.
Since , zero-mass symbols contribute nothing, and finite summation using [F4] gives ; the definition of in [F2] gives . Finite range gives square integrability.
For each fixed , each event has probability zero because its probability is ; the finite union also has probability zero. On its complement, [F1] and [F5] give . Applying [F7] with mean and variance proves the displayed tail bound. Its strict-tail version and [F8] give convergence in probability.
Typical-set probability and cardinality bounds
Statement
For a finite-alphabet IID source and , let be its typical set and . Then In particular .
Facts & Assumptions
Given: A finite-alphabet IID source, its entropy and surprisal variance , and .
Information density and typical sets for a finite source: consists of positive-probability sequences satisfying .
Proof
Given: The source and in the Statement.
If , [F1] gives . Summing these probabilities over and using total mass one yields , proving the upper bound.
The other side of [F1] gives for each typical sequence. Hence ; rearranging and using proves the lower bound.
The complement of the typical set is contained in , so [F2] bounds by . This tends to zero, including when .
Fixed-length lossless source coding at the entropy rate
Statement
Let be a probability law on a finite nonempty alphabet , with entropy and surprisal variance in nats. There is a sequence of deterministic fixed-length binary block codes with block errors and rates as defined in Deterministic fixed-length binary block code and block error such that Thus and . Conversely, every sequence of such codes with satisfies . If , then .
Facts & Assumptions
Given: A finite-alphabet IID source with law and its entropy and surprisal variance .
Deterministic fixed-length binary block code and block error: A length- binary block code has maps and , block error , and rate .
Finite-alphabet IID source: Each has law .
Self-information and surprisal variance for a finite law: On its support, and is block self-information; is the finite surprisal variance.
Information units and logarithm-base convention: The default logarithm is , it is strictly increasing with , and information is measured in nats.
Finite distributions, entropy, divergence, and stochastic matrices: with zero terms set to zero, in natural units.
Typical-set probability and cardinality bounds: With , and .
Proof
Given: The source and definitions in the Statement and Facts.
Let and . Put and . Fix , possible since is nonempty, and assign distinct binary strings of length to the words in 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 . This defines maps on all of , and every typical word is decoded correctly.
For any length- code, let be its correctly decoded set. Each binary message has only one decoder output, so . For any , every has . Therefore 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.
The error is at most by [F7]. For each with , , and [F4] gives ; hence each summand in [F5] is nonnegative and . Thus . Since , , so . These bounds prove the achievability claims.
Suppose . Since by [F4] and by [F1], all rates are nonnegative. The finite sum in [F5] has finitely many finite terms, so and then are finite reals. Choose . Eventually . Then step 1.2 gives by [F7], so .
Suppose instead that but . Since by [F4] and by [F1], all rates are nonnegative. The finite sum in [F5] has finitely many finite terms, so and are finite reals. Take . Infinitely many satisfy . Along those indices, step 1.2 and [F7] give , contradicting . Hence .
5 · Examples, counterexamples and false statements
None yet.
Sources
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Chapter 3
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 3
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Chapter 3, §§3.1–3.3
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Chapter 3, §3.2
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 5: Codes, Kraft Inequality, and Optimal Codes
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Chapter 3, §3.1
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 3: Convergence and Asymptotic Equipartition Property
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 3: AEP and typical sets
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 3: AEP and typical-set compression
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 5: Codes and optimal code lengths