English

Lagrangians, Renormalization, and Quantization in Prefix Coding

Information Theory 2026-01-21 v8 Mathematical Physics math.IT math.MP

Abstract

We develop a statistical mechanics framework for prefix coding based on variational principles, renormalization, and quantization. A Lagrangian formulation of entropy-optimal encoding under the Kraft-McMillan constraint yields a Gibbs-type implied distribution and completeness of the optimal code. A renormalization operator acting on codeword distribution laws produces a coarse-graining flow whose fixed points have iterated-log structure; discrete quantizations of these fixed points include Elias' ω\omega code as a special case. Extending the theory to mixed discrete-continuous source laws, we show how continuous codelength functions can be quantized into countable prefix codes and derive resolution-adjusted entropy bounds together with Heisenberg-type and Boltzmann-type relations. This provides a unified and physically motivated view of universal coding, with Elias' ω\omega code as a guiding example.

Keywords

Cite

@article{arxiv.2506.23447,
  title  = {Lagrangians, Renormalization, and Quantization in Prefix Coding},
  author = {Alexander Kolpakov and Aidan Rocke},
  journal= {arXiv preprint arXiv:2506.23447},
  year   = {2026}
}

Comments

14 pages, 2 tables; references updated; GitHub repository at https://github.com/sashakolpakov/elias-renorm

R2 v1 2026-07-01T03:38:50.159Z