Abstract
Proving that two programs are contextually equivalent is notoriously hard, particularly for functional languages with references (i.e., local states). Many operational techniques have been designed to prove such equivalences, and fully abstract denotational model, using game semantics, have been built for such languages. In this work, we marry ideas coming from trace semantics, an operational variant of game semantics, and from Kripke logical relations, notably the notion of worlds as transition systems of invariants, to define a new operational technique: Kripke open bisimulations. It is the first framework whose completeness does not rely on any closure by contexts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We also consider the non-deterministic reduction \(\mapsto _{nd}\), defined in the same way but for the rule of allocation, which is defined as \((K[\mathrm {ref} \, v],h) \mapsto _{nd}(K[l],h \cdot [l \hookrightarrow v])\) for any \(l \notin \mathrm {dom}(h)\).
- 2.
By seeing functional names as variables, the operational semantics of RefML can be extended straightforwardly to abstract values.
- 3.
Even if we use a relation \(\mathcal {K}_{\mathcal {A}}\left[\![\sigma ,\tau \right]\!]_{} {}\) on evaluation contexts, our definition does not make any use of biorthogonality.
References
Ahmed, A., Dreyer, D., Rossberg, A.: State-dependent representation independence. In: Proceedings of POPL (2009)
Dreyer, D., Neis, G., Birkedal, L.: The impact of higher-order state and control effects on local relational reasoning. J. Funct. Program. 22(9), 477–528 (2012)
Hur, C.-K., Dreyer, D., Neis, G., Vafeiadis, V.: The marriage of bisimulations and Kripke logical relations. Proc. of POPL 47, 59–72 (2012)
Jaber, G.: Operational nominal game semantics. In: Pitts, A. (ed.) FOSSACS 2015. LNCS, vol. 9034, pp. 264–278. Springer, Heidelberg (2015)
Jaber, G., Tabareau, N.: Kripke open bisimulation, a marriage of game semantics and operational techniques (2015). Technical Appendix http://guilhem.jaber.fr/aplas2015-full.pdf
Laird, J.: A fully abstract trace semantics for general references. In: Arge, L., Cachin, C., Jurdziński, T., Tarlecki, A. (eds.) ICALP 2007. LNCS, vol. 4596, pp. 667–679. Springer, Heidelberg (2007)
Lassen, S.B., Levy, P.B.: Typed normal form bisimulation. In: Duparc, J., Henzinger, T.A. (eds.) CSL 2007. LNCS, vol. 4646, pp. 283–297. Springer, Heidelberg (2007)
Lassen, S., Levy, P.: Typed normal form bisimulation for parametric polymorphism. In: Proceedings of LICS, pp. 341–352. IEEE (2008)
Murawski, A., Tzevelekos, N.: Game semantics for good general references. In: Proceedings of LICS, pp. 75–84. IEEE (2011)
Murawski, A.S., Tzevelekos, N.: Algorithmic games for full ground references. In: Czumaj, A., Mehlhorn, K., Pitts, A., Wattenhofer, R. (eds.) ICALP 2012, Part II. LNCS, vol. 7392, pp. 312–324. Springer, Heidelberg (2012)
Pitts, A.: Nominal logic, a first order theory of names and binding. Inf. Comput. 186(2), 165–193 (2003)
Pitts, A., Stark, I.: Operational reasoning for functions with local state. Higher Order Operational Techniques in Semantics, pp. 227–273. CUP (1998)
Sangiorgi, D., Kobayashi, N., Sumii, E.: Environmental bisimulations for higher-order languages. ACM Trans. Program. Lang. Syst. (TOPLAS), 33 (2011)
Stark, I.: Names, equations, relations: practical ways to reason about new. Fundamenta Informaticae 33(4), 369–396 (1998)
Støvring, K., Lassen, S.: A complete, co-inductive syntactic theory of sequential control and state. In: Proceedings of POPL, pp. 161–172. ACM (2007)
Sumii, E.: A complete characterization of observational equivalence in polymorphic \(\lambda \)-calculus with general references. In: Grädel, E., Kahle, R. (eds.) CSL 2009. LNCS, vol. 5771, pp. 455–469. Springer, Heidelberg (2009)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Jaber, G., Tabareau, N. (2015). Kripke Open Bisimulation. In: Feng, X., Park, S. (eds) Programming Languages and Systems. APLAS 2015. Lecture Notes in Computer Science(), vol 9458. Springer, Cham. https://doi.org/10.1007/978-3-319-26529-2_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-26529-2_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-26528-5
Online ISBN: 978-3-319-26529-2
eBook Packages: Computer ScienceComputer Science (R0)