遗传有限序列的计算
Computing with Hereditarily Finite Sequences
摘要:
e使用Prolog作为一种灵活的元语言来提供一些基本数学对象及其转换的可执行规范。在这个过程中,自然数和组合对象(表示遗传有限序列的有根有序树和表示哥德尔系统{ \bf T}类型的有根有序二叉树)之间的同构被解开。本文重点介绍了一个应用程序,可以被看作是一个意想不到的“范式转变”:我们提供递归的定义表明,所得到的表示是直接可用于执行象征性的任意长度的整数计算。除了“打破算术/符号障碍”这一理论上有趣的事实之外,用树或类型等符号对象执行的算术运算被证明是真正有效的-我们获得了与任意长度整数算术的普通位串实现相当的渐近性能的实现。这篇论文的源代码是一个有读写能力的Prolog程序,可以在\url{http://logic.cse.unt.edu/tarau/research/2011/pPAR.pl}上找到
英文摘要:
e use Prolog as a flexible meta-language to provide executable specifications of some fundamental mathematical objects and their transformations. In the process, isomorphisms are unraveled between natural numbers and combinatorial objects (rooted ordered trees representing hereditarily finite sequences and rooted ordered binary trees representing Gödel's System {\bf T} types). This paper focuses on an application that can be seen as an unexpected "paradigm shift": we provide recursive definitions showing that the resulting representations are directly usable to perform symbolically arbitrary-length integer computations. Besides the theoretically interesting fact of "breaking the arithmetic/symbolic barrier", the arithmetic operations performed with symbolic objects like trees or types turn out to be genuinely efficient -- we derive implementations with asymptotic performance comparable to ordinary bitstring implementations of arbitrary-length integer arithmetic. The source code of the paper, organized as a literate Prolog program, is available at \url{http://logic.cse.unt.edu/tarau/research/2011/pPAR.pl}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。