【24h】

Program Equivalence is Coinductive

机译:程序对等是可归纳的

获取原文

摘要

We describe computational models, notably Turing and counter machines, as state transition systems with side effects. Side effects are expressed via an algebraic signature and interpreted over co-models for that signature: comodels describe the memory model while the transition system captures the control structure. Equational reasoning over comodels is known to be subtle. We identify a criterion on equational theories and classes of comodels that guarantees completeness, over the given class of comodels, of the standard equational calculus, and show that this criterion is satisfied in our leading examples. Based on a complete equational axiomatization of the memory (co)model, we then give a complete inductive-coinductive calculus for simulation between states, where a state simulates another if it has at least the same terminating computations, with the same cumulative effect on global state. Extensional equivalence of computations can then be expressed as mutual simulation. The crucial use of coinduction is to deal with non-termination of the simulated computation where the coinductive rule permits infinite unfolding.
机译:我们将计算模型(特别是图灵和计数器计算机)描述为具有副作用的状态转换系统。副作用通过代数签名表示,并在该签名的协同模型上进行解释:协同模型描述内存模型,而过渡系统捕获控制结构。众所周知,关于协模型的方程式推理是微妙的。我们确定了关于方程模型理论和协模型类别的准则,该准则可以在给定的协模型类别上保证标准方程演算的完整性,并表明在我们的主要示例中该准则得到了满足。基于内存(co)模型的完整方程式公理化,我们然后给出了一个完整的归纳-协归演算,用于状态之间的模拟,如果一个状态至少具有相同的终止计算,并且对全局具有相同的累积影响,则该状态将模拟另一个状态状态。然后,可以将计算的扩展等价形式表示为相互模拟。协导的关键用途是在协导规则允许无限展开的情况下处理模拟计算的不终止。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号