paperbot · PL 论文追踪

RSS

Finiteness and rational sequences, constructively

JFP vol.272017引用 4
TARMO UUSTALU, NICCOLÒ VELTRI

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Abstract Rational sequences are possibly infinite sequences with a finite number of distinct suffixes. In this paper, we present different implementations of rational sequences in Martin–Löf type theory. First, we literally translate the above definition of rational sequence into the language of type theory, i.e., we construct predicates on possibly infinite sequences expressing the finiteness of the set of suffixes. In type theory, there exist several inequivalent notions of finiteness. We consider two of them, listability and Noetherianness, and show that in the implementation of rational sequences the two notions are interchangeable. Then we introduce the type of lists with backpointers, which is an inductive implementation of rational sequences. Lists with backpointers can be unwound into rational sequences, and rational sequences can be truncated into lists with backpointers. As an example, we see how to convert the fractional representation of a rational number into its decimal representation and vice versa.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{UustaluV17,
  title = {Finiteness and rational sequences, constructively},
  author = {TARMO UUSTALU and NICCOLÒ VELTRI},
  journal = {Journal of Functional Programming},
  volume = {27},
  year = {2017},
  doi = {10.1017/s0956796817000041}
}