|
ABSTRACT
We present a new co-inductive syntactic theory, eager normal form bisimilarity, for the untyped call-by-value lambda calculus extended with continuations and mutable references.We demonstrate that the associated bisimulation proof principle is easy to use and that it is a powerful tool for proving equivalences between recursive imperative higher-order programs.The theory is modular in the sense that eager normal form bisimilarity for each of the calculi extended with continuations and/or mutable references is a fully abstract extension of eager normal form bisimilarity for its sub-calculi. For each calculus, we prove that eager normal form bisimilarity is a congruence and is sound with respect to contextual equivalence. Furthermore, for the calculus with both continuations and mutable references, we show that eager normal form bisimilarity is complete: it coincides with contextual equivalence.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
Z. M. Ariola and H. Herbelin. Minimal classical logic and control operators. In ICALP, volume 2719 of Lecture Notes in Computer Science, pages 871--885. Springer-Verlag, 2003.
|
| |
4
|
H. P. Barendregt. The Lambda Calculus: Its Syntax and Semantics. Number 103 in Studies in Logic and the Foundations of Mathematics. North-Holland, revised edition, 1984.
|
| |
5
|
|
| |
6
|
R. David and W. Py. λμ-calculus and Böhm's theorem. Journal of Symbolic Logic, 66(1):407--413, 2001.
|
| |
7
|
|
| |
8
|
|
 |
9
|
|
| |
10
|
|
| |
11
|
|
| |
12
|
|
 |
13
|
|
| |
14
|
|
| |
15
|
P. J. Landin. The mechanical evaluation of expressions. The Computer Journal, 6(4):308--320, 1964.
|
| |
16
|
S. B. Lassen. Bisimulation up to context for imperative lambda calculus. Unpublished note. Presented at emphThe Semantic Challenge of Object-Oriented Programming, Schloss Dagstuhl, 1998.
|
| |
17
|
|
| |
18
|
S. B. Lassen. Bisimulation in untyped lambda calculus: Böhm trees and bisimulation up to context. In MFPS XV, volume 20 of Electronic Notes in Theoretical Computer Science, pages 346--374. Elsevier, 1999.
|
| |
19
|
|
| |
20
|
S. B. Lassen. Normal form simulation for McCarty's amb. In MFPS XXI, volume 155 of Electronic Notes in Theoretical Computer Science, pages 445--465. Elsevier, 2005.
|
| |
21
|
|
| |
22
|
P. B. Levy. Game semantics using function inventories. Talk given at emphGeometry of Computation 2006, Marseille, 2006.
|
| |
23
|
I. A. Mason and C. L. Talcott. Equivalence in functional languages with effects. Journal of Functional Programming, 1(3):297--327, 1991.
|
| |
24
|
M. Merro and C. Biasi. On the observational theory of the CPS-calculus (extended abstract). In Proc. 22nd Conference on Mathematical Foundations of Programming Semantics, volume 158 of Electronic Notes in Theoretical Computer Science, pages 307--330. Elsevier, 2006.
|
 |
25
|
|
| |
26
|
|
| |
27
|
R. P. Perez. An extensional partial combinatory algebra based on λ-terms. In A. Tarlecki, editor, Proc. Mathematical Foundations of Computer Science, volume 520 of Lecture Notes in Computer Science, pages 387--396. Springer-Verlag, 1991.
|
| |
28
|
|
| |
29
|
|
| |
30
|
|
| |
31
|
|
 |
32
|
|
| |
33
|
|
 |
34
|
|
|