Names, Equations, Relations: Practical Ways to Reason about new
DOI:
https://doi.org/10.7146/brics.v4i39.18965Resumé
The nu-calculus of Pitts and Stark is a typed lambda-calculus, extended with state
in the form of dynamically-generated names. These names can be created locally, passed around, and compared with one another. Through the interaction between
names and functions, the language can capture notions of scope, visibility and sharing. Originally motivated by the study of references in Standard ML, the nu-calculus
has connections to local declarations in general; to the mobile processes of the pi-calculus; and to security protocols in the spi-calculus.
This paper introduces a logic of equations and relations which allows one to
reason about expressions of the nu-calculus: this uses a simple representation of the private and public scope of names, and allows straightforward proofs of
contextual equivalence (also known as observational, or observable, equivalence). The logic is based on earlier operational techniques, providing the same power but
in a much more accessible form. In particular it allows intuitive and direct proofs of all contextual equivalences between first-order functions with local names.
This supersedes the earlier BRICS Report RS-96-31. It also expands on the paper presented in Typed Lambda Calculi and Applications: Proceedings of the Third
International Conference TLCA '97, Lecture Notes in Computer Science 1210, Springer-Verlag 1997.
Downloads
Publiceret
Citation/Eksport
Nummer
Sektion
Licens
Authors who publish with this journal agree to the following terms:- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).