arXiv · 2411.06086
On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus
Abstract
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.
Explore related subjects
Keep this discovery
Naoki Kobayashi. 2024-11-09. On Decidable and Undecidable Extensions of Simply Typed Lambda Calculus. https://doi.org/10.1145/3704875
Cite the original work for its findings. Save a collection to share your selection of sources.