Logical relations for coherence of effect subtyping

10/25/2017
by   Dariusz Biernacki, et al.
0

A coercion semantics of a programming language with subtyping is typically defined on typing derivations rather than on typing judgments. To avoid semantic ambi- guity, such a semantics is expected to be coherent, i.e., independent of the typing deriva- tion for a given typing judgment. In this article we present heterogeneous, biorthogonal, step-indexed logical relations for establishing the coherence of coercion semantics of pro- gramming languages with subtyping. To illustrate the effectiveness of the proof method, we develop a proof of coherence of a type-directed, selective CPS translation from a typed call-by-value lambda calculus with delimited continuations and control-effect subtyping. The article is accompanied by a Coq formalization that relies on a novel shallow embedding of a logic for reasoning about step-indexing.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/01/2019

Coherence of Type Class Resolution

Elaboration-based type class resolution, as found in languages like Hask...
research
05/12/2022

Direct Foundations for Compositional Programming

The recently proposed CP language adopts Compositional Programming: a ne...
research
07/08/1999

No information can be conveyed by certain events: The case of the clever widows of Fornicalia and the Stobon Oracle

In this short article, we look at an old logical puzzle, its solution an...
research
07/20/2017

A monadic solution to the Cartwright-Felleisen-Wadler conjecture

Given a programming language, can we give a monadic denotational semanti...
research
06/13/2019

On the denotational semantics of Linear Logic with least and greatest fixed points of formulas

We develop a denotational semantics of Linear Logic with least and great...
research
09/18/2022

A Type-Directed, Dictionary-Passing Translation of Featherweight Generic Go

Featherweight Generic Go (FGG) is a minimal core calculus modeling the e...
research
07/25/2019

An Introduction to Logical Relations

Logical relations (LR) have been around for many years, and today they a...

Please sign up or login with your details

Forgot password? Click here to reset