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.
The rational finite-register arithmetic code is prefix-free and lossless
Statement
For every configured rational model and fixed frame length in Exact finite-register arithmetic coding for rational block sources, let be the codeword assigned to by the encoder and put . The codebook on the lexicographically ordered block alphabet assigns each block a distinct binary word with and . The codebook on is prefix-free, and the decoder returns exactly . The configuration-time computation of terminates. The encoder uses exactly symbol updates, its bounded integer search terminates, and the decoder reads at most payload bits per frame without overflow.
Facts & Assumptions
Given: Positive integer frequencies , total , maximum frame length , fixed frame length , and the encoder/decoder in Exact finite-register arithmetic coding for rational block sources.
Finite discrete sources and product blocks: A block probability is .
Binary prefix codes and their code trees: A binary code is prefix-free when it is nonsingular and no codeword is a proper prefix of another.
Exact finite-register arithmetic coding for rational block sources: The integer endpoint update is and ; the codeword uses , , and .
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: The natural logarithm is strictly increasing.
Change of base and inversion of the positive-base real exponential: for every real .
Integer part: for every real there is exactly one integer with : For every real , .
Ceilings give the least positive integer meeting a real threshold: For every real , is an integer with .
Exact finite-register arithmetic coding for rational block sources: The endpoint, width, frequency, and cumulative-frequency registers have bits; the output index has at most bits; the temporary register has bits; the counters have the stated ceiling-logarithm widths.
Proof
After symbols, the scaled interval for the prefix is . At it is , so the claim holds. If it holds at , symbol occupies the subinterval beginning after the parent lower endpoint and of width ; the widths sum to the parent width because . Thus the update [F3] gives the claimed child interval. At it is with , so after division by its width is by [F1].
The search in [F3] finds with : is admissible since , and , so the largest admissible is at most . Hence . The selected dyadic cell has width . Its index is the floor of times the interval midpoint ; therefore the cell contains that midpoint and extends by at most to either side. Since is smaller than half the source-interval width, the cell lies inside the source interval. Also the midpoint is in , so [F7] gives and its -bit representation exists.
Length- source intervals partition by step 1.1, and step 2.1 places each nonempty emitted dyadic cell inside its own interval. Thus cells for distinct blocks are disjoint. A proper-prefix relation between emitted words would make one dyadic cell contain the other, which contradicts disjointness. The codewords are distinct and prefix-free by [F2]. A trie leaf therefore identifies one block, so the decoder returns exactly the encoded block.
Since , [F4], [F5], and [F6] give ; [F4] and [F8] give by step 1.1. Thus the payload length is at most . Also and , so and . At configuration, computing takes multiplications. The doubling loop for terminates because for every positive integer (by induction), and its first with is least. The encoder performs updates, tests at most values of , and emits at most bits; the decoder's trie traversal reads at most that many bits and outputs symbols. Since , , so each and fits its -bit register; also , so their -bit registers suffice. By [F9], if and , then and . Applying the increasing logarithm facts [F4]–[F6] gives and , so the counters hold counts up to and output lengths up to . By [F10], the numerator is at most , so the temporary register suffices; the denominator and scale also fit it. All other products in the interval update are at most . Hence every loop terminates and no configured per-frame register overflows.
Depends on
- Finite discrete sources and product blocks
- Finite binary source codes, extension, and expected length
- Binary prefix codes and their code trees
- Ideal-real arithmetic interval coding for a fixed block
- Exact finite-register arithmetic coding for rational block sources
- Information units and logarithm-base convention
- Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
- Change of base and inversion of the positive-base real exponential
- Integer part: for every real $x$ there is exactly one integer $m$ with $m \le x < m + 1$
- Ceilings give the least positive integer meeting a real threshold
Used by
- The finite-register rational coder is within two bits per block Corollary
- Exact rational interval coding of the block AB Example
Cited to discharge well-definedness by Exact finite-register arithmetic coding for rational block sources.
Dependency tree · two levels
36 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
- Scott D. Roweis, CSC310 Lecture 8x: Arithmetic Coding Without Blocks, version 1.1 (standard reference, not scraped)