Cargando…
A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus
We propose a “Curry-style” semantics of programs in which a nominal labelled transition system of types, characterizing observable behaviour, is overlaid on a nominal LTS of untyped computation. This leads to a notion of program equivalence as typed bisimulation. Our semantics reflects the role of t...
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788620/ http://dx.doi.org/10.1007/978-3-030-45231-5_22 |
_version_ | 1783633065818456064 |
---|---|
author | Laird, James |
author_facet | Laird, James |
author_sort | Laird, James |
collection | PubMed |
description | We propose a “Curry-style” semantics of programs in which a nominal labelled transition system of types, characterizing observable behaviour, is overlaid on a nominal LTS of untyped computation. This leads to a notion of program equivalence as typed bisimulation. Our semantics reflects the role of types as hiding operators, firstly via an axiomatic characterization of “parallel composition with hiding” which yields a general technique for establishing congruence results for typed bisimulation, and secondly via an example which captures the hiding of implementations in abstract data types: a typed bisimulation for the (Curry-style) lazy [Formula: see text] -calculus with polymorphic types. This is built on an abstract machine for CPS evaluation of [Formula: see text] -terms: we first give a basic typing system for this LTS which characterizes acyclicity of the environment and local control flow, and then refine this to a polymorphic typing system which uses equational constraints on instantiated type variables, inferred from observable interaction, to capture behaviour at polymorphic and abstract types. |
format | Online Article Text |
id | pubmed-7788620 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-77886202021-01-07 A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus Laird, James Foundations of Software Science and Computation Structures Article We propose a “Curry-style” semantics of programs in which a nominal labelled transition system of types, characterizing observable behaviour, is overlaid on a nominal LTS of untyped computation. This leads to a notion of program equivalence as typed bisimulation. Our semantics reflects the role of types as hiding operators, firstly via an axiomatic characterization of “parallel composition with hiding” which yields a general technique for establishing congruence results for typed bisimulation, and secondly via an example which captures the hiding of implementations in abstract data types: a typed bisimulation for the (Curry-style) lazy [Formula: see text] -calculus with polymorphic types. This is built on an abstract machine for CPS evaluation of [Formula: see text] -terms: we first give a basic typing system for this LTS which characterizes acyclicity of the environment and local control flow, and then refine this to a polymorphic typing system which uses equational constraints on instantiated type variables, inferred from observable interaction, to capture behaviour at polymorphic and abstract types. 2020-04-17 /pmc/articles/PMC7788620/ http://dx.doi.org/10.1007/978-3-030-45231-5_22 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Laird, James A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title | A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title_full | A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title_fullStr | A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title_full_unstemmed | A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title_short | A Curry-style Semantics of Interaction: From Untyped to Second-Order Lazy [Formula: see text] -Calculus |
title_sort | curry-style semantics of interaction: from untyped to second-order lazy [formula: see text] -calculus |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788620/ http://dx.doi.org/10.1007/978-3-030-45231-5_22 |
work_keys_str_mv | AT lairdjames acurrystylesemanticsofinteractionfromuntypedtosecondorderlazyformulaseetextcalculus AT lairdjames currystylesemanticsofinteractionfromuntypedtosecondorderlazyformulaseetextcalculus |