计算机科学 > 程序设计语言
[提交于 2026年2月5日 (v1),最后修订于 2026年4月30日 (此版本, v2)]
标题:Strong Normalisation for Asynchronous Effects
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:Asynchronous effects of Ahman and Pretnar complement the conventional synchronous treatment of algebraic effects with asynchrony based on decoupling the execution of algebraic operation calls into signalling that an operation's implementation needs to be executed, and into interrupting a running computation with the operation's result, to which the computation can react by installing matching interrupt handlers. Beyond providing asynchrony for algebraic effects, the resulting core calculus also naturally models examples such as pre-emptive multi-threading, (cancellable) remote function calls, and multi-party applications. In this paper, we study the normalisation properties of this calculus. We prove that if one removes general recursion from it, then the remaining calculus is strongly normalising, including both its sequential and parallel parts. To cover more interesting programs, we also prove that the sequential part of the calculus remains strongly normalising when a controlled amount of interrupt-driven recursive behaviour is reintroduced. Our normalisation proofs are structured compositionally as an extension of Lindley and Stark's $\top\top$-lifting-based approach for proving strong normalisation of effectful languages. All our results are also formalised in Agda.
提交历史
来自:Danel Ahman[v1] 2026年2月5日 星期四 10:39:09 UTC (241 KB)
[v2] 2026年4月30日 星期四 08:10:28 UTC (243 KB)