Denotational semantics of general store and polymorphism

10/05/2022
by   Jonathan Sterling, et al.
0

We contribute the first denotational semantics of polymorphic dependent type theory extended by an equational theory for general (higher-order) reference types and recursive types, based on a combination of guarded recursion and impredicative polymorphism; because our model is based on recursively defined semantic worlds, it is compatible with polymorphism and relational reasoning about stateful abstract datatypes. We then extend our language with modal constructs for proof-relevant relational reasoning based on the logical relations as types principle, in which equivalences between imperative abstract datatypes can be established synthetically. Finally we decompose our store model as a general construction that extends an arbitrary polymorphic call-by-push-value adjunction with higher-order store, improving on Levy's possible worlds model construction; what is new in relation to prior typed denotational models of higher-order store is that our Kripke worlds need not be syntactically definable, and are thus compatible with relational reasoning in the heap. Our work combines recent advances in the operational semantics of state with the purely denotational viewpoint of synthetic guarded domain theory.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/05/2023

A denotationally-based program logic for higher-order store

Separation logic is used to reason locally about stateful programs. Stat...
research
03/11/2020

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

Modelling and reasoning about dynamic memory allocation is one of the we...
research
01/25/2020

Introduction of Quantification in Frame Semantics

Feature Structures (FSs) are a widespread tool used for decompositional ...
research
05/31/2022

Concrete categories and higher-order recursion (With applications including probability, differentiability, and full abstraction)

We study concrete sheaf models for a call-by-value higher-order language...
research
10/03/2022

Reflections on existential types

Existential types are reconstructed in terms of small reflective subuniv...
research
09/10/2020

Theory Exploration Powered By Deductive Synthesis

Recent years have seen tremendous growth in the amount of verified softw...
research
11/16/2017

Mechanizing Principia Logico-Metaphysica in Functional Type Theory

Principia Logico-Metaphysica proposes a foundational logical theory for ...

Please sign up or login with your details

Forgot password? Click here to reset