A Mechanized Theory of the Box Calculus

09/11/2023
by   Joseph Fourment, et al.
0

The capture calculus is an extension of System F<: that tracks free variables of terms in their type, allowing one to represent capabilities while limiting their scope. While previous calculi had mechanized soundness proofs – notably System CF<: – the latest version, namely the box calculus (System CC<:box), only had a paper proof. We present here our work on mechanizing the theory of the box calculus in Coq, and the challenges encountered along the way. While doing so, we motivate the current design of capture calculus, in particular the concept of boxes, from both user and metatheoretical standpoints. Our mechanization is complete and available on GitHub.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/17/2023

A theory independent Curry-De Bruijn-Howard correspondence

Instead of developing a customized typed lambda-calculus for each theory...
research
06/10/2023

Formalizing Box Inference for Capture Calculus

Capture calculus has recently been proposed as a solution to effect chec...
research
08/14/2023

Degrees of Separation: A Flexible Type System for Data Race Prevention

Data races are a notorious problem in parallel programming. There has be...
research
03/15/2019

Lambda Congruences and Extensionality

In this work we provide alternative formulations of the concepts of lamb...
research
07/07/2022

Scoped Capabilities for Polymorphic Effects

Type systems usually characterize the shape of values but not their free...
research
10/26/2021

Towards a Theory of Domains for Harmonic Functions and its Symbolic Counterpart

In this paper, we begin by reviewing the calculus induced by the framewo...
research
05/25/2021

Tracking Captured Variables in Types

Type systems usually characterize the shape of values but not their free...

Please sign up or login with your details

Forgot password? Click here to reset