arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1006.5768cs.SCcs.LO
收藏

算术和集合论数据类型的统一形式化描述

A Unified Formal Description of Arithmetic and Set Theoretical Data Types

Paul Tarau

摘要:

我们提供了一个“共享公理化”的自然数和遗传有限集周围的双射基-2算术的多态抽象。“公理化”被描述为对Haskell类型类的逐步细化,其中包含实例收敛到任意长度整数和位操作方面的有效实现的示例。作为一个例子,我们推导出算法,有效地执行算术运算直接与遗传有限集。该论文的独立源代码可在http://logic.cse.unt.edu/tarau/research/2010/unified.hs上获得。

英文摘要:

We provide a "shared axiomatization" of natural numbers and hereditarily finite sets built around a polymorphic abstraction of bijective base-2 arithmetics. The "axiomatization" is described as a progressive refinement of Haskell type classes with examples of instances converging to an efficient implementation in terms of arbitrary length integers and bit operations. As an instance, we derive algorithms to perform arithmetic operations efficiently directly with hereditarily finite sets. The self-contained source code of the paper is available at http://logic.cse.unt.edu/tarau/research/2010/unified.hs .

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

↑