【24h】

A Curry-style Semantics of Interaction: From untyped to second-order lazy λμ-calculus

机译:咖喱式的交互语义学:从无类型到二阶惰性λμ演算

获取原文

摘要

We propose a "Curry-style" semantics of programs in which a nominal labelled transition system of types, characterizing observable behaviour, is overlaid on a nominal LTS of untyped computation. This leads to a notion of program equivalence as typed bisimulation. Our semantics reflects the role of types as hiding operators, firstly via an axiomatic characterization of "parallel composition with hiding" which yields a general technique for establishing congruence results for typed bisimulation, and secondly via an example which captures the hiding of implementations in abstract data types: a typed bisimulation for the (Curry-style) lazy λμ-calculus with polymorphic types. This is built on an abstract machine for CPS evaluation of λμ-terms: we first give a basic typing system for this LTS which characterizes acyclicity of the environment and local control flow, and then refine this to a polymorphic typing system which uses equational constraints on instantiated type variables, inferred from observable interaction, to capture behaviour at polymorphic and abstract types.
机译:我们提出了一种程序的“咖喱式”语义,其中,将标有类型的,标有可观察行为的标称过渡系统覆盖在标称LTS的无类型计算上。这导致了程序等效性的概念,如类型化双仿真。我们的语义反映了类型作为隐藏运算符的作用,首先是通过“带有隐藏的并行组合”的公理化表征,这产生了用于为类型化双仿真建立一致结果的通用技术,其次是通过示例捕获了抽象数据中实现的隐藏类型:针对具有多态类型的(柯里式)懒惰λμ演算的类型化双仿真。这是建立在用于λμ项CPS评估的抽象机器上:我们首先为该LTS提供一个基本的类型系统,该系统表征环境和局部控制流的非周期性,然后将其提炼为一个多态类型系统,该系统使用方程式约束从可观察的交互推断出的实例化类型变量,用于捕获多态和抽象类型的行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号