Cargando…

Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store

Modelling and reasoning about dynamic memory allocation is one of the well-established strands of theoretical computer science, which is particularly well-known as a source of notorious challenges in semantics, reasoning, and proof theory. We capitalize on recent progress on categorical semantics of...

Descripción completa

Detalles Bibliográficos
Autores principales: Polzer, Miriam, Goncharov, Sergey
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788616/
http://dx.doi.org/10.1007/978-3-030-45231-5_28
_version_ 1783633064826503168
author Polzer, Miriam
Goncharov, Sergey
author_facet Polzer, Miriam
Goncharov, Sergey
author_sort Polzer, Miriam
collection PubMed
description Modelling and reasoning about dynamic memory allocation is one of the well-established strands of theoretical computer science, which is particularly well-known as a source of notorious challenges in semantics, reasoning, and proof theory. We capitalize on recent progress on categorical semantics of full ground store, in terms of a full ground store monad, to build a corresponding semantics of a higher order logic over the corresponding programs. Our main result is a construction of an (intuitionistic) BI-hyperdoctrine, which is arguably the semantic core of higher order logic over local store. Although we have made an extensive use of the existing generic tools, certain principled changes had to be made to enable the desired construction: while the original monad works over total heaps (to disable dangling pointers), our version involves partial heaps (heaplets) to enable compositional reasoning using separating conjunction. Another remarkable feature of our construction is that, in contrast to the existing generic approaches, our BI-algebra does not directly stem from an internal categorical partial commutative monoid.
format Online
Article
Text
id pubmed-7788616
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-77886162021-01-07 Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store Polzer, Miriam Goncharov, Sergey Foundations of Software Science and Computation Structures Article Modelling and reasoning about dynamic memory allocation is one of the well-established strands of theoretical computer science, which is particularly well-known as a source of notorious challenges in semantics, reasoning, and proof theory. We capitalize on recent progress on categorical semantics of full ground store, in terms of a full ground store monad, to build a corresponding semantics of a higher order logic over the corresponding programs. Our main result is a construction of an (intuitionistic) BI-hyperdoctrine, which is arguably the semantic core of higher order logic over local store. Although we have made an extensive use of the existing generic tools, certain principled changes had to be made to enable the desired construction: while the original monad works over total heaps (to disable dangling pointers), our version involves partial heaps (heaplets) to enable compositional reasoning using separating conjunction. Another remarkable feature of our construction is that, in contrast to the existing generic approaches, our BI-algebra does not directly stem from an internal categorical partial commutative monoid. 2020-04-17 /pmc/articles/PMC7788616/ http://dx.doi.org/10.1007/978-3-030-45231-5_28 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
Polzer, Miriam
Goncharov, Sergey
Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title_full Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title_fullStr Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title_full_unstemmed Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title_short Local Local Reasoning: A BI-Hyperdoctrine for Full Ground Store
title_sort local local reasoning: a bi-hyperdoctrine for full ground store
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788616/
http://dx.doi.org/10.1007/978-3-030-45231-5_28
work_keys_str_mv AT polzermiriam locallocalreasoningabihyperdoctrineforfullgroundstore
AT goncharovsergey locallocalreasoningabihyperdoctrineforfullgroundstore