Modeling Reachability Types with Logical Relations

09/12/2023
by   Yuyan Bao, et al.
0

Reachability types are a recent proposal to bring Rust-style reasoning about memory properties to higher-level languages. While key type soundness results for reachability types have been established using syntactic techniques in prior work, stronger metatheoretic properties have so far been unexplored. This paper presents an alternative semantic model of reachability types using logical relations, providing a framework in which to study key properties of interest such as (1) semantic type soundness, including of not syntactically well-typed code fragments, (2) termination, especially in the presence of higher-order state, and (3) program equivalence, especially reordering of non-interfering expressions for parallelization or compiler optimization.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/15/2023

Graph IRs for Impure Higher-Order Languages (Technical Report)

This is a companion report for the OOPSLA 2023 paper of the same title, ...
research
07/25/2023

Polymorphic Reachability Types: Tracking Freshness, Aliasing, and Separation in Higher-Order Generic Programs

Reachability types are a recent proposal that has shown promise in scali...
research
08/29/2022

Recursive Session Logical Relations

Program equivalence is the fulcrum for reasoning about and proving prope...
research
09/01/2023

Logical Relations for Session-Typed Concurrency

Program equivalence is the fulcrum for reasoning about and proving prope...
research
06/21/2023

Polynomial Logical Zonotopes: A Set Representation for Reachability Analysis of Logical Systems

In this paper, we introduce a set representation called polynomial logic...
research
01/25/2020

Introduction of Quantification in Frame Semantics

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

FlowCFL: A Framework for Type-based Reachability Analysis in the Presence of Mutable Data

Reachability analysis is a fundamental program analysis with a wide vari...

Please sign up or login with your details

Forgot password? Click here to reset