Program equivalence in linear contexts

From MaRDI portal
Publication:2346993

DOI10.1016/J.TCS.2015.03.006zbMATH Open1327.68078arXiv1106.2872OpenAlexW2129096339MaRDI QIDQ2346993FDOQ2346993


Authors: Yu Zhang, Yuxin Deng Edit this on Wikidata


Publication date: 26 May 2015

Published in: Theoretical Computer Science (Search for Journal in Brave)

Abstract: 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 - it is sound and complete. We illustrate our technique in both deterministic (a linear version of PCF) and non-deterministic (linear PCF in Moggi's framework) functional languages.


Full work available at URL: https://arxiv.org/abs/1106.2872




Recommendations




Cites Work


Cited In (8)





This page was built for publication: Program equivalence in linear contexts

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2346993)