Hereditarily finite representations of natural numbers and self-delimiting codes

MSFP '10 Pub Date : 2010-09-25 DOI:10.1145/1863597.1863602
Paul Tarau
{"title":"Hereditarily finite representations of natural numbers and self-delimiting codes","authors":"Paul Tarau","doi":"10.1145/1863597.1863602","DOIUrl":null,"url":null,"abstract":"Using a bijection between natural numbers and hereditarily finite functions we derive a new reversible variable length self-delimiting code through a bitstring representation in a balanced parenthesis language. The code features the ability to encode arbitrarily nested data types, can represent huge (low \"complexity\") numbers, and is decodable from its beginning or its end. Besides its possible practical applications to media stream encodings, a comparison with the well-known Elias omega code and a conjecture about its asymptotic behavior under the Kraft inequality suggest it as an interesting object of study for experimental mathematicians.\n The paper is organized as a self-contained literate Haskell program inviting the reader to explore its content independently. Its code is available at http://logic.cse.unt.edu/tarau/research/2010/selfdelim.hs","PeriodicalId":355206,"journal":{"name":"MSFP '10","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-09-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"MSFP '10","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1863597.1863602","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Using a bijection between natural numbers and hereditarily finite functions we derive a new reversible variable length self-delimiting code through a bitstring representation in a balanced parenthesis language. The code features the ability to encode arbitrarily nested data types, can represent huge (low "complexity") numbers, and is decodable from its beginning or its end. Besides its possible practical applications to media stream encodings, a comparison with the well-known Elias omega code and a conjecture about its asymptotic behavior under the Kraft inequality suggest it as an interesting object of study for experimental mathematicians. The paper is organized as a self-contained literate Haskell program inviting the reader to explore its content independently. Its code is available at http://logic.cse.unt.edu/tarau/research/2010/selfdelim.hs
自然数的遗传有限表示和自定界代码
利用自然数和遗传有限函数之间的双射,通过平衡括号语言的位串表示,导出了一种新的可逆变长自定界码。该代码具有编码任意嵌套数据类型的能力,可以表示巨大的(低“复杂性”)数字,并且可以从开头或结尾解码。除了在媒体流编码中可能的实际应用之外,与著名的Elias ω码的比较以及对其在Kraft不等式下的渐近行为的猜想表明,它是实验数学家的一个有趣的研究对象。这篇论文被组织成一个独立的读写Haskell程序,邀请读者独立探索其内容。其代码可从http://logic.cse.unt.edu/tarau/research/2010/selfdelim.hs获得
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信