arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.08514cs.PLcs.LO
收藏

带效应的模块化指称语义:基于受守卫的交互树

Modular Denotational Semantics for Effects with Guarded Interaction Trees

Dan Frumin, Amin Timany, Lars Birkedal

AI总结:

本文提出受守卫的交互树及其配套分离逻辑,用于在Coq中表示带高阶效应的高阶计算,并证明了类PCF语言解释的可靠性与计算充分性,同时实现了不同效应的模块化组合与跨语言安全互操作。

摘要:

我们提出了受守卫的交互树——一种用于在 Coq 中表示带高阶效应的高阶计算的结构和完全形式化框架,其灵感来源于域理论和最近提出的交互树。我们还提出了配套的分离逻辑,用于对受守卫的交互树进行推理。为了证明受守卫的交互树为解释带效应的高阶语言提供了便利的域,我们定义了一种带效应的类 PCF 语言的解释,并证明了该解释是可靠的且计算充分的;我们使用基于该分离逻辑定义的逻辑关系证明了后者。受守卫的交互树还允许我们组合不同的效应,并对它们进行模块化推理。为了说明这一点,我们给出了跨语言交互类型可靠性的模块化证明,以实现带不同效应的不同高阶语言的安全互操作。本文的所有结果均在 Coq 中使用基于受守卫类型理论的 Iris 逻辑进行了形式化。

英文摘要:

We present guarded interaction trees -- a structure and a fully formalized framework for representing higher-order computations with higher-order effects in Coq, inspired by domain theory and the recently proposed interaction trees. We also present an accompanying separation logic for reasoning about guarded interaction trees. To demonstrate that guarded interaction trees provide a convenient domain for interpreting higher-order languages with effects, we define an interpretation of a PCF-like language with effects and show that this interpretation is sound and computationally adequate; we prove the latter using a logical relation defined using the separation logic. Guarded interaction trees also allow us to combine different effects and reason about them modularly. To illustrate this point, we give a modular proof of type soundness of cross-language interactions for safe interoperability of different higher-order languages with different effects. All results in the paper are formalized in Coq using the Iris logic over guarded type theory.

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

↑