资源转移系统与高阶线性系统的全抽象
Resource Transition Systems and Full Abstraction for Linear Higher-Order Effectful Systems
摘要:
我们调查程序等价的线性高阶(顺序)语言赋予计算效果的原语。更具体地说,我们研究了基于操作的概念的程序等价的线性$λ$ -演算明确复制和代数效果\emph{à la} Plotkin和电源。这样的演算明确了复制和线性之间的相互作用,这是计算的内涵方面,而效果是\emph{extensional}。我们回顾了一些文献中提出的线性结石等价的概念,并显示其局限性时,适用于有效的结石复制是一等公民。然后,我们引入资源转换系统,即转换系统的状态是建立在元组的程序表示可用的资源,作为一个操作语义会计程序的内涵和外延的交互行为。我们的主要结果是一个健全的和完整的表征上下文等价的跟踪等价定义的资源转移系统。
英文摘要:
We investigate program equivalence for linear higher-order(sequential) languages endowed with primitives for computational effects. More specifically, we study operationally-based notions of program equivalence for a linear $λ$-calculus with explicit copying and algebraic effects \emph{à la} Plotkin and Power. Such a calculus makes explicit the interaction between copying and linearity, which are intensional aspects of computation, with effects, which are, instead, \emph{extensional}. We review some of the notions of equivalences for linear calculi proposed in the literature and show their limitations when applied to effectful calculi where copying is a first-class citizen. We then introduce resource transition systems, namely transition systems whose states are built over tuples of programs representing the available resources, as an operational semantics accounting for both intensional and extensional interactive behaviors of programs. Our main result is a sound and complete characterization of contextual equivalence as trace equivalence defined on top of resource transition systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。