Asymmetric Numeral Systems over the p-adic Integers: Infinite expansions and fixed-record FIFO coding
Raw asymmetric numeral systems extend to p-adic integer states. The low-digit precision needed to determine a symbol prefix differs by a bounded amount from the sum of its branch exponents. Under Haar measure, the rate is the source entropy plus the mean conditional inverse-rank entropy. The paper derives exact cylinder counts, Hausdorff dimensions of symbol fibres, a test for the residual phase, and an obstruction to emitting literal low digits with bounded memory. The implementation sections include pseudocode and matched benchmarks for fixed-width side-data records, short normalized FIFO ANS blocks, and exact sampling. On three Zstandard sequence traces, staged two-state seeded rANS decoded 1.28–1.40 times as fast as a matched range decoder when both pipelines staged reconstruction. Putting raw extra bits in decoder order and seeding only from the last four sequences brought fused decode and reconstruction within 2.2% of range, at 0.032–0.298% extra bytes including verbatim literals. Live RDSEED sampling was 2.25 and 3.93 times as fast as direct threshold sampling on two tested dyadic models. These measurements use custom in-memory replays.
Authors
- Jarek Duda (ORCID: https://orcid.org/0000-0001-9559-809X)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.5281/zenodo.24461283
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 0.00