Paviotti, Marco and Wu, Nicolas (2023) Full Abstraction for Free. [Preprint] (Submitted) (doi:10.48550/arXiv.2303.09358) (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided) (KAR id:105614)
The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided. | |
Official URL: https://doi.org/10.48550/arXiv.2303.09358 |
Abstract
Structured recursion schemes such as folds and unfolds have been widely used for structuring both functional programs and program semantics. In this context, it has been customary to implement denotational semantics as folds over an inductive data type to ensure termination and compositionality. Separately, operational models can be given by unfolds, and naturally not all operational models coincide with a given denotational semantics in a meaningful way. To ensure these semantics are coherent it is important to consider the property of full abstraction which relates the denotational and the operational model. In this paper, we show how to engineer a compositional semantics such that full abstraction comes for free. We do this by using distributive laws from which we generate both the operational and the denotational model. The distributive laws ensure the semantics are fully abstract at the type level, thus relieving the programmer from the burden of the proofs.
Item Type: | Preprint |
---|---|
DOI/Identification number: | 10.48550/arXiv.2303.09358 |
Refereed: | No |
Name of pre-print platform: | arXiv |
Subjects: | Q Science |
Divisions: | Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing |
Funders: | University of Kent (https://ror.org/00xkeyj56) |
Depositing User: | Marco Paviotti |
Date Deposited: | 13 Apr 2024 11:44 UTC |
Last Modified: | 15 Apr 2024 10:29 UTC |
Resource URI: | https://kar.kent.ac.uk/id/eprint/105614 (The current URI for this page, for reference purposes) |
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):