Fri 25 Oct 2024 17:00 - 17:20 at Pasadena - Effects Chair(s): Jonathan Aldrich

Model checking is one of the successful program verification methodologies. Since the seminal work by Ong, the model checking of higher-order programs—called \emph{higher-order model checking}, or HOMC for short—has gained attention. It is also crucial for making HOMC applicable to real-world software to address programs involving computational effects. Recently, Dal Lago and Ghyselen considered an extension of HOMC to \emph{algebraic effect handlers}, an emerging construct to enable programming the semantics of effects. Dal Lago and Ghyselen shows a negative result for the HOMC problem with algebraic effect handlers–it is undecidable.

In this work, we explorer a restriction on programs with algebraic effect handlers such that it ensures the decidability of the HOMC problem while allowing implementations of various effects. We identify the crux of the undecidability is that unrestricted programs allow the use of an unbounded number of effect handlers. To restrict such a use of effect handlers, we introduce \emph{answer-type modification} (ATM), which can bound the number of effect handlers that can be active at the same time. We prove that ATM can ensure the decidability of the HOMC problem and show that it accommodates a wide range of effects. To evaluate our approach, we implemented and tested an automated verifier based on the presented techniques. We also confirmed that the program examples discussed in this paper can be automatically verified.

Fri 25 Oct

Displayed time zone: Pacific Time (US & Canada) change

16:00 - 17:40
EffectsOOPSLA 2024 at Pasadena
Chair(s): Jonathan Aldrich Carnegie Mellon University
16:00
20m
Talk
Effect handlers for C via coroutines
OOPSLA 2024
Mario Alvarez-Picallo Huawei Research Centre, Teodoro Freund Huawei Research Centre, Dan Ghica Huawei, Sam Lindley The University of Edinburgh
DOI
16:20
20m
Talk
Effects and Coeffects in Call-By-Push-Value
OOPSLA 2024
Cassia Torczon University of Pennsylvania, Emmanuel Suarez Acevedo Cornell University, Shubh Agrawal University of Michigan, Joey Velez-Ginorio , Stephanie Weirich University of Pennsylvania
DOI
16:40
20m
Talk
Lexical Effect Handlers, Directly
OOPSLA 2024
Cong Ma University of Waterloo, Zhaoyi Ge University of Waterloo, Edward Lee University of Waterloo, Yizhou Zhang University of Waterloo
DOI
17:00
20m
Talk
Higher-Order Model Checking of Effect-Handling Programs with Answer-Type ModificationRemote
OOPSLA 2024
Taro Sekiyama National Institute of Informatics; SOKENDAI, Hiroshi Unno Tohoku University
DOI