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.
Huffman tree for a dyadic three-symbol source
Facts & Assumptions
Given: The source on symbols and the deterministic Huffman procedure.
Deterministic binary Huffman coding: Equal weights are ordered by increasing serial number; the first selected node is the left child and the second is the right child.
Huffman expected length is within one bit of entropy: If , then .
The deterministic Huffman code is prefix-optimal: The deterministic Huffman procedure returns a binary prefix code minimizing among all binary prefix codes on the same alphabet.
Change of base and inversion of the positive-base real exponential: for every real .
Example
The weights of symbols 2 and 3 are tied for least, so the first merge combines them. The final tie is between symbol 1 and the merged node; the serial rule puts symbol 1 on the left. The code tree uses edge labels 0 on the left and 1 on the right; each leaf label is a source symbol, and reading its root path gives its codeword.
The diagram records the tree structure and edge convention; the verification below computes the codewords and lengths directly.
Verification
The first merge combines 2 and 3 into a node of weight . The active nodes are then and the merged node of weight ; the serial tie-break puts 1 on the left and the merged node on the right. Thus , , and .
These lengths are , so [F2] gives . By [F6] and [F7], and , so [F3] gives as well, which satisfies the two-sided bound [F4]; [F5] confirms the optimal prefix-code conclusion.
Depends on
- Finite discrete sources and product blocks
- Base-two entropy of a finite source
- Finite binary source codes, extension, and expected length
- Binary prefix codes and their code trees
- Deterministic binary Huffman coding
- The deterministic Huffman code is prefix-optimal
- Huffman expected length is within one bit of entropy
- Information units and logarithm-base convention
- Change of base and inversion of the positive-base real exponential
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
19 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
- Stanford EE376A, Information Theory Course Notes, Chapter 4: Lossless Compression (standard reference, not scraped)