arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01265cs.LO
收藏

A Framework for the Automated Verification of Algebraic Effects and Handlers (extended version)

Tiago Soares, Mário Pereira

英文摘要:

Algebraic effects and handlers are a powerful abstraction to build non-local control-flow mechanisms such as resumable exceptions, lightweight threads, co-routines, generators, and asynchronous I/O. All of such features have very evolved semantics, hence they pose very interesting challenges to deductive verification techniques. In fact, there are very few proposed techniques to deductively verify programs featuring these constructs, even fewer when it comes to automated proofs. In this paper, we present an extension to Cameleer, a deductive verification tool for OCaml code, that allows one to reason about algebraic effects and handlers. Our proposal embeds the behavior of effects and handlers using exceptions and employs defunctionalization to deal with continuations exposed by effect handlers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑