跳到主要导航 跳到搜索 跳到主要内容

Program equivalence in linear contexts

  • Shanghai Jiao Tong University
  • CAS - Institute of Software
  • Jilin University

科研成果: 期刊稿件文章同行评审

摘要

Program equivalence in linear contexts, where programs are used or executed exactly once, is an important issue in programming languages. However, existing techniques like those based on bisimulations and logical relations only target at contextual equivalence in the usual (non-linear) functional languages, and fail in capturing non-trivial equivalent programs in linear contexts, particularly when non-determinism is present.We propose the notion of linear contextual equivalence to formally characterize such program equivalence, as well as a novel and general approach to studying it in higher-order languages, based on labeled transition systems specifically designed for functional languages. We show that linear contextual equivalence indeed coincides with trace equivalence. We illustrate our technique in both deterministic (a linear version of PCF) and non-deterministic (linear PCF in Moggi's framework) functional languages.

源语言英语
页(从-至)71-90
页数20
期刊Theoretical Computer Science
585
DOI
出版状态已出版 - 20 6月 2015
已对外发布

学术指纹

探究 'Program equivalence in linear contexts' 的科研主题。它们共同构成独一无二的学术指纹。

引用此