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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Asymmetric Numeral Systems over the p-adic Integers: Infinite expansions and fixed-record FIFO coding

Jarek Duda
Zenodo (CERN European Organization for Nuclear Research)
Algorithms and Data Compression
article

Asymmetric Numeral Systems over the p-adic Integers: Infinite expansions and fixed-record FIFO coding

Jarek Duda
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon