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 — 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
- 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
- IID Lossless Source Coding and the AEP
- 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
The Bernoulli calculation gives an exact binomial-weight formula for typical-set size, including a finite block check and the fair and degenerate endpoints. Two finite-alphabet source sequences isolate the IID hypotheses: perfect dependence keeps identical marginals but loses the marginal-entropy limit, while independent non-identical block laws can have oscillating normalized information and no constant information-rate limit.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Bernoulli information density and exact typical-set counts
Example
Let be IID Bernoulli on , with natural logarithms and entropy where . For , let be its number of ones. If and , put . Then Its probability and size also satisfy the bounds of Typical-set probability and cardinality bounds with and for , and at or . At , every binary word is typical for every and . At or , the typical set is the single supported word and .
For example, at , , and , we have , so the typical words have zero, one, or two ones. Thus and .
Facts & Assumptions
Given: The Bernoulli source and typical-set convention in the Example.
Self-information and surprisal variance for a finite law: The surprisal variance is .
Self-information and surprisal variance for a finite law: On positive support, self-information is .
Information density and typical sets for a finite source: is the positive-probability set where .
Finite-alphabet IID source: The Bernoulli coordinates are IID with product block law .
Finite distributions, entropy, divergence, and stochastic matrices: with zero terms set to zero, in natural units.
Typical-set probability and cardinality bounds: The typical-set tail probability is at most , and its cardinality is bounded above and below by the stated entropy exponents.
Verification
Given: , , and .
Suppose and a word has ones, with . Its block probability is , so . Subtracting gives .
If , each supported word has probability , so and all words are typical. If or , the support consists of one symbol, its surprisal and entropy are zero, and the only supported length- word is typical.
If additionally , the typicality condition in [F3] is exactly . There are words of weight , yielding the displayed sum with endpoints clipped to . For the stated check, the allowed weights are , so the count is and the probability is .
For , the one-letter surprisal takes two values whose difference is . Its variance is : writing the values as , their mean is , and the centered-square sum is . At or , the surprisal is zero on its singleton support, so [F1] gives . Substituting these variances and into [F6] gives the claimed quantitative probability and cardinality bounds.
Independent non-identical finite sources can have no information-rate limit
Example
Let and for . For , let be the fair Bernoulli law when is even, and the point mass at when is odd. For each , let be the resulting finite product law on , and on its support put . These block laws are consistent under coordinate projection. The coordinates are independent within each block law, but their marginals are not identical. The normalized information densities have no limit in probability to a constant, where this means that for some and every constant : at even block endpoints they tend to , and at odd endpoints they tend to . This example uses only finite product laws; no infinite-product extension is assumed.
Facts & Assumptions
Given: The endpoint sequence and finite product laws in the Example.
Self-information and surprisal variance for a finite law: For a finite law , its self-information on the support is .
Finite-alphabet IID information AEP with a variance bound: The AEP conclusion is for an identically distributed independent sequence.
Verification
Given: The block laws in the Example.
Each is a probability law on . The finite product is nonnegative and sums to , so it is a well-defined finite law. Summing over the last coordinate gives , proving consistency.
Let be the number of fair coordinates among . At every positive-probability word, each fair coordinate contributes to and every point-mass coordinate contributes . Hence on the entire support, so its law under is a point mass at this value.
If is even, the newest block is fair and ; since , . If is odd, the newest block is deterministic and , so .
By step 2.1, is deterministic under . Step 3.1 gives subsequential limits and . For any constant , at least one of and is at least ; along that subsequence, for , the probability of is eventually . Thus there is no limit in probability to a constant. The coordinate laws alternate, so the IID hypotheses of [F2] are absent.
Sources
- Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Chapter 3, §§3.1–3.3
- MIT OpenCourseWare 6.441 Information Theory, Spring 2010, Lecture 3: AEP and typical sets
- 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