Rademacher function Created 2026-10-14 Updated 2026-11-05
On with Lebesgue measure, the functions , , are independent symmetric Rademacher random variables. Every prescribed pattern for the first functions occupies a dyadic interval of measure . Their closed span in is isomorphic to the l2 sequence space by the Khintchine inequality.
Shannon-Fano-Elias code 2026-10-31
For positive source probabilities in a fixed order, let and . The Shannon-Fano-Elias code uses the first binary digits of the midpoint , using the terminating-zero expansion at dyadic rationals. Its dyadic interval contains and has width at most , so it lies inside the probability cell . These cells are disjoint, whereas a codeword that is a prefix of another has a dyadic interval containing the other interval. The code is therefore a prefix code. Since , averaging proves . This is a direct cumulative construction and does not require sorting the probabilities or constructing a Huffman tree.