Cargando…

Soundness Conditions for Big-Step Semantics

We propose a general proof technique to show that a predicate is sound, that is, prevents stuck computation, with respect to a big-step semantics. This result may look surprising, since in big-step semantics there is no difference between non-terminating and stuck computations, hence soundness canno...

Descripción completa

Detalles Bibliográficos
Autores principales: Dagnino, Francesco, Bono, Viviana, Zucca, Elena, Dezani-Ciancaglini, Mariangiola
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7702247/
http://dx.doi.org/10.1007/978-3-030-44914-8_7
_version_ 1783616575857754112
author Dagnino, Francesco
Bono, Viviana
Zucca, Elena
Dezani-Ciancaglini, Mariangiola
author_facet Dagnino, Francesco
Bono, Viviana
Zucca, Elena
Dezani-Ciancaglini, Mariangiola
author_sort Dagnino, Francesco
collection PubMed
description We propose a general proof technique to show that a predicate is sound, that is, prevents stuck computation, with respect to a big-step semantics. This result may look surprising, since in big-step semantics there is no difference between non-terminating and stuck computations, hence soundness cannot even be expressed. The key idea is to define constructions yielding an extended version of a given arbitrary big-step semantics, where the difference is made explicit. The extended semantics are exploited in the meta-theory, notably they are necessary to show that the proof technique works. However, they remain transparent when using the proof technique, since it consists in checking three conditions on the original rules only, as we illustrate by several examples.
format Online
Article
Text
id pubmed-7702247
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-77022472020-12-01 Soundness Conditions for Big-Step Semantics Dagnino, Francesco Bono, Viviana Zucca, Elena Dezani-Ciancaglini, Mariangiola Programming Languages and Systems Article We propose a general proof technique to show that a predicate is sound, that is, prevents stuck computation, with respect to a big-step semantics. This result may look surprising, since in big-step semantics there is no difference between non-terminating and stuck computations, hence soundness cannot even be expressed. The key idea is to define constructions yielding an extended version of a given arbitrary big-step semantics, where the difference is made explicit. The extended semantics are exploited in the meta-theory, notably they are necessary to show that the proof technique works. However, they remain transparent when using the proof technique, since it consists in checking three conditions on the original rules only, as we illustrate by several examples. 2020-04-18 /pmc/articles/PMC7702247/ http://dx.doi.org/10.1007/978-3-030-44914-8_7 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
Dagnino, Francesco
Bono, Viviana
Zucca, Elena
Dezani-Ciancaglini, Mariangiola
Soundness Conditions for Big-Step Semantics
title Soundness Conditions for Big-Step Semantics
title_full Soundness Conditions for Big-Step Semantics
title_fullStr Soundness Conditions for Big-Step Semantics
title_full_unstemmed Soundness Conditions for Big-Step Semantics
title_short Soundness Conditions for Big-Step Semantics
title_sort soundness conditions for big-step semantics
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7702247/
http://dx.doi.org/10.1007/978-3-030-44914-8_7
work_keys_str_mv AT dagninofrancesco soundnessconditionsforbigstepsemantics
AT bonoviviana soundnessconditionsforbigstepsemantics
AT zuccaelena soundnessconditionsforbigstepsemantics
AT dezaniciancaglinimariangiola soundnessconditionsforbigstepsemantics