ACM Home Page
Please provide us with feedback. Feedback
Relational parametricity for references and recursive types
Full text PdfPdf (588 KB)
Source
Types In Languages Design And Implementation archive
Proceedings of the 4th international workshop on Types in language design and implementation table of contents
Savannah, GA, USA
SESSION: Session 3 table of contents
Pages 91-104  
Year of Publication: 2009
ISBN:978-1-60558-420-1
Authors
Lars Birkedal  IT University of Copenhagen, DK-2300 Copenhagen S, Denmark
Kristian Støvring  IT University of Copenhagen, DK-2300 Copenhagen S, Denmark
Jacob Thamsborg  IT University of Copenhagen, DK-2300 Copenhagen S, Denmark
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 37,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1481861.1481873
What is a DOI?

ABSTRACT

We present a possible world semantics for a call-by-value higher-order programming language with impredicative polymorphism, general references, and recursive types. The model is one of the first relationally parametric models of a programming language with all these features.

To model impredicative polymorphism we define the semantics of types via parameterized (world-indexed) logical relations over a universal domain. It is well-known that it is non-trivial to show the existence of logical relations in the presence of recursive types. Here the problems are exacerbated because of general references. We explain what the problems are and present our solution, which makes use of a novel approach to modeling references. We prove that the resulting semantics is adequate with respect to a standard operational semantics and include simple examples of reasoning about contextual equivalence via parametricity.


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
M. Abadi and G. Plotkin. A per model of polymorphism and recursive types. In Proceedings of LICS, pages 355--365, 1990.
 
2
A. Ahmed. Step-indexed syntactic logical relations for recursive and quantified types. In Proc. of ESOP, pages 69--83, 2006.
3
 
4
5
6
 
7
N. Benton and B. Leperchey. Relational reasoning in a nominal semantics for storage. In Proc. of TLCA, volume 3461 of LNCS, 2005.
 
8
G. M. Bierman, A. M. Pitts, and C. V. Russo. Operational properties of Lily, a polymorphic linear lambda calculus with recursion. In Proc. of HOOTS, volume 41 of ENTCS, 2000.
 
9
 
10
L. Birkedal, R. E. Møgelberg, and R. L. Petersen. Linear Abadi & Plotkin logic. Logical Methods in Computer Science, 2(5:1):1--33, 2006.
 
11
N. Bohr and L. Birkedal. Relational reasoning for recursive types and references. In Proc. of APLAS, pages 79--96, 2006.
 
12
N. Bohr and L. Birkedal. Relational parametricity for recursive types and references of closed types. Technical report, IT University of Copenhagen, 2007. A Chapter in Nina Bohr's Ph.D. dissertation 2007.
 
13
 
14
 
15
M. Hasegawa. Relational parametricity and control. Logical Methods in Computer Science, 2(3):1--22, 2006.
 
16
 
17
 
18
V. Koutavas and M. Wand. Bisimulations for untyped imperative objects. In Proc. of ESOP, pages 146--161, 2006.
19
 
20
 
21
S. B. Lassen and P. B. Levy. Typed normal form bisimulation. In Proc. of CSL, volume 4646 of LNCS, pages 283--297, 2007.
 
22
 
23
 
24
R. Møgelberg. Interpreting polymorphic FPC into domain theoretic models of parametric polymorphism. In Proc. of ICALP, pages 372--383, 2006.
 
25
 
26
 
27
 
28
A. M. Pitts. Relational properties of domains. Information and Computation, 127:66--90, 1996.
 
29
 
30
A. M. Pitts. Advanced Topics in Types and Programming Languages, chapter Typed Operational Reasoning. The MIT Press, 2005.
 
31
 
32
G. Plotkin. Second order type theory and recursion. Notes for a talk at the Scott Fest, Feb. 1993.
 
33
 
34
J. Reynolds. Types, abstraction, and parametric polymorphism. Information Processing, 83:513--523, 1983.
35
36
37

Collaborative Colleagues:
Lars Birkedal: colleagues
Kristian Støvring: colleagues
Jacob Thamsborg: colleagues