arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0808.0753cs.SCcs.DMcs.DS
收藏

遗传有限数据集上的秩蜕变与非秩变态

Ranking Catamorphisms and Unranking Anamorphisms on Hereditarily Finite Datatypes

Paul Tarau

摘要:

使用一个通用的树数据类型的展开和折叠的专业化,我们得出unranking和排名功能提供各种遗传有限的数据集的自然数编码。在这种情况下,我们解释unranking操作作为一个通用的anamorphism和排名操作的实例相应的变质。从阿克曼的编码从遗传有限集自然数,我们定义配对和元组编码,提供积木的理论遗传有限功能。更困难的问题,排名和unranking遗传有限排列,然后解决使用Lehmer码和factoradics。这篇论文的独立源代码是由一个识字的Haskell程序生成的,可以在\url{http://logic.csci.unt.edu/tarau/research/2008/fFUN.zip}上找到。保留字:排名/unranking,配对/元组函数,阿克曼编码,遗传有限集,遗传有限函数,置换和因子,计算数学,Haskell数据表示

英文摘要:

Using specializations of unfold and fold on a generic tree data type we derive unranking and ranking functions providing natural number encodings for various Hereditarily Finite datatypes. In this context, we interpret unranking operations as instances of a generic anamorphism and ranking operations as instances of the corresponding catamorphism. Starting with Ackerman's Encoding from Hereditarily Finite Sets to Natural Numbers we define pairings and tuple encodings that provide building blocks for a theory of Hereditarily Finite Functions. The more difficult problem of ranking and unranking Hereditarily Finite Permutations is then tackled using Lehmer codes and factoradics. The self-contained source code of the paper, as generated from a literate Haskell program, is available at \url{http://logic.csci.unt.edu/tarau/research/2008/fFUN.zip}. Keywords: ranking/unranking, pairing/tupling functions, Ackermann encoding, hereditarily finite sets, hereditarily finite functions, permutations and factoradics, computational mathematics, Haskell data representations

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑