𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Bisimilarity as a theory of functional programming

✍ Scribed by Andrew D. Gordon


Book ID
104326659
Publisher
Elsevier Science
Year
1999
Tongue
English
Weight
248 KB
Volume
228
Category
Article
ISSN
0304-3975

No coin nor oath required. For personal study only.

✦ Synopsis


Morris-style contextual equivalence -invariance of termination under any context of ground type -is the usual notion of operational equivalence for deterministic functional languages such as PCF. Contextual equivalence is hard to establish directly. Instead, we deÿne a labelled transition system for call-by-name PCF (and variants) and prove that CCS-style bisimilarity equals contextual equivalence. Using co-induction we establish equational laws. By considering variations of Milner's 'bisimulations up to ∼' we obtain a second co-inductive characterisation of contextual equivalence in terms of reduction behaviour and production of values. Hence we use co-induction to establish contextual equivalence in a series of stream-processing examples. We show that Milner's context lemma may be extended to our variants of PCF, but in fact our form of bisimilarity supports simpler co-inductive proofs. We sketch how these results extend to variants, including eager evaluation and the addition of sums, pairs and recursive types.


πŸ“œ SIMILAR VOLUMES


The functions of program theory
✍ Bickman, Leonard πŸ“‚ Article πŸ“… 1987 πŸ› Wiley (John Wiley & Sons) βš– 964 KB
Density functional theory as thermodynam
✍ Á. Nagy; Robert G. Parr πŸ“‚ Article πŸ“… 1994 πŸ› Indian Academy of Sciences,Royal Society of Chemis 🌐 English βš– 474 KB
FUNCTIONALISM AS A SOCIAL THEORY
✍ Ronald Fletcher πŸ“‚ Article πŸ“… 1911 πŸ› John Wiley and Sons 🌐 English βš– 849 KB