Cargando…
Complete trace models of state and control
We consider a hierarchy of four typed call-by-value languages with either higher-order or ground-type references and with either [Formula: see text] or no control operator. Our first result is a fully abstract trace model for the most expressive setting, featuring both higher-order references and [F...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984571/ http://dx.doi.org/10.1007/978-3-030-72019-3_13 |
_version_ | 1783668093869883392 |
---|---|
author | Jaber, Guilhem Murawski, Andrzej S. |
author_facet | Jaber, Guilhem Murawski, Andrzej S. |
author_sort | Jaber, Guilhem |
collection | PubMed |
description | We consider a hierarchy of four typed call-by-value languages with either higher-order or ground-type references and with either [Formula: see text] or no control operator. Our first result is a fully abstract trace model for the most expressive setting, featuring both higher-order references and [Formula: see text] , constructed in the spirit of operational game semantics. Next we examine the impact of suppressing higher-order references and callcc in contexts and provide an operational explanation for the game-semantic conditions known as visibility and bracketing respectively. This allows us to refine the original model to provide fully abstract trace models of interaction with contexts that need not use higher-order references or [Formula: see text] . Along the way, we discuss the relationship between error- and termination-based contextual testing in each case, and relate the two to trace and complete trace equivalence respectively. Overall, the paper provides a systematic development of operational game semantics for all four cases, which represent the state-based face of the so-called semantic cube. |
format | Online Article Text |
id | pubmed-7984571 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
record_format | MEDLINE/PubMed |
spelling | pubmed-79845712021-03-23 Complete trace models of state and control Jaber, Guilhem Murawski, Andrzej S. Programming Languages and Systems Article We consider a hierarchy of four typed call-by-value languages with either higher-order or ground-type references and with either [Formula: see text] or no control operator. Our first result is a fully abstract trace model for the most expressive setting, featuring both higher-order references and [Formula: see text] , constructed in the spirit of operational game semantics. Next we examine the impact of suppressing higher-order references and callcc in contexts and provide an operational explanation for the game-semantic conditions known as visibility and bracketing respectively. This allows us to refine the original model to provide fully abstract trace models of interaction with contexts that need not use higher-order references or [Formula: see text] . Along the way, we discuss the relationship between error- and termination-based contextual testing in each case, and relate the two to trace and complete trace equivalence respectively. Overall, the paper provides a systematic development of operational game semantics for all four cases, which represent the state-based face of the so-called semantic cube. 2021-03-23 /pmc/articles/PMC7984571/ http://dx.doi.org/10.1007/978-3-030-72019-3_13 Text en © The Author(s) 2021 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 Jaber, Guilhem Murawski, Andrzej S. Complete trace models of state and control |
title | Complete trace models of state and control |
title_full | Complete trace models of state and control |
title_fullStr | Complete trace models of state and control |
title_full_unstemmed | Complete trace models of state and control |
title_short | Complete trace models of state and control |
title_sort | complete trace models of state and control |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984571/ http://dx.doi.org/10.1007/978-3-030-72019-3_13 |
work_keys_str_mv | AT jaberguilhem completetracemodelsofstateandcontrol AT murawskiandrzejs completetracemodelsofstateandcontrol |