On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autore principale: Kobayashi, Naoki
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913684408762368
author Kobayashi, Naoki
author_facet Kobayashi, Naoki
contents The decidability of the reachability problem for finitary PCF has been used as a theoretical basis for fully automated verification tools for functional programs. The reachability problem, however, often becomes undecidable for a slight extension of finitary PCF with side effects, such as exceptions, algebraic effects, and references, which hindered the extension of the above verification tools for supporting functional programs with side effects. In this paper, we first give simple proofs of the undecidability of four extensions of finitary PCF, which would help us understand and analyze the source of undecidability. We then focus on an extension with references, and give a decidable fragment using a type system. To our knowledge, this is the first non-trivial decidable fragment that features higher-order recursive functions containing reference cells.
format Preprint
id arxiv_https___arxiv_org_abs_2411_06086
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus
Kobayashi, Naoki
Logic in Computer Science
Programming Languages
The decidability of the reachability problem for finitary PCF has been used as a theoretical basis for fully automated verification tools for functional programs. The reachability problem, however, often becomes undecidable for a slight extension of finitary PCF with side effects, such as exceptions, algebraic effects, and references, which hindered the extension of the above verification tools for supporting functional programs with side effects. In this paper, we first give simple proofs of the undecidability of four extensions of finitary PCF, which would help us understand and analyze the source of undecidability. We then focus on an extension with references, and give a decidable fragment using a type system. To our knowledge, this is the first non-trivial decidable fragment that features higher-order recursive functions containing reference cells.
title On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2411.06086