A monadic solution to the Cartwright-Felleisen-Wadler conjecture

07/20/2017
by   Ohad Kammar, et al.
0

Given a programming language, can we give a monadic denotational semantics that is stable under language extension? Models containing only a single monad are not stable. Models based on type-and-effect systems, in which there is a monad for every set of operations in the language, are. Cartwright and Felleisen, and Wadler, conjectured such monadic semantics can be generated. We describe a new general method of constructing stable models from standard monadic models, based on factorizations of monad morphisms. We show that under certain conditions factorizations induce a monad for every set of operations, and explain why the conditions usually hold. We also describe preliminary work using fibrations for logical relations generated from these factorization systems for proving the correctness of the resulting model.

READ FULL TEXT

page 1

page 2

research
04/10/2018

Factorisation systems for logical relations and monadic lifting in type-and-effect system semantics

Type-and-effect systems incorporate information about the computational ...
research
02/22/2019

Reducing Total Correctness to Partial Correctness by a Transformation of the Language Semantics

We give a language-parametric solution to the problem of total correctne...
research
10/25/2017

Logical relations for coherence of effect subtyping

A coercion semantics of a programming language with subtyping is typical...
research
02/20/2022

ExAIS: Executable AI Semantics

Neural networks can be regarded as a new programming paradigm, i.e., ins...
research
04/04/2023

Gradual Typing for Effect Handlers

We present a gradually typed language, GrEff, with effects and handlers ...
research
05/15/2014

Properties of Stable Model Semantics Extensions

The stable model (SM) semantics lacks the properties of existence, relev...
research
02/27/2023

Markov Conditions and Factorization in Logical Credal Networks

We examine the recently proposed language of Logical Credal Networks, in...

Please sign up or login with your details

Forgot password? Click here to reset