Reachability is Decidable for ATM-Typable Finitary PCF with Effect Handlers
Ryunosuke Endo, Tachio Terauchi

TL;DR
This paper proves that reachability remains decidable for ATM-typable finitary PCF with effect handlers, using a novel CPS transformation, despite the added complexity of effect handlers and answer type modification.
Contribution
It introduces a new CPS transformation that establishes decidability of reachability for ATM-typable finitary PCF with effect handlers, extending prior results.
Findings
Decidability of reachability for ATM-typable finitary PCF with effect handlers.
Existence of programs typable with ATM but not without, and vice versa.
All recursive-function-free ATM-typable programs with effect handlers terminate.
Abstract
It is well known that the reachability problem for simply-typed lambda calculus with recursive definitions and finite base-type values (finitary PCF) is decidable. A recent paper by Dal Lago and Ghyselen has shown that the same problem becomes undecidable when the language is extended with algebraic effect and handlers (effect handlers). We show that, perhaps surprisingly, the problem becomes decidable even with effect handlers when the type system is extended with answer type modification (ATM). A natural intuition may find the result contradictory, because one would expect allowing ATM makes more programs typable. Indeed, this intuition is correct in that there are programs that are typable with ATM but not without it, as we shall show in the paper. However, a corollary of our decidability result is that the converse is true as well: there are programs that are typable without ATM but…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMobile Agent-Based Network Management · Network Traffic and Congestion Control · Wireless Communication Networks Research
