Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

wherein I describe deadlock and race-free session types with non-determinism

License

Notifications You must be signed in to change notification settings

wenkokke/paper-races-in-classical-linear-logic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodcap: Races in Classical Linear Logic

This repository holds the code for Nodcap. Nodcap is a type system for the π-calculus which was inspired by bounded linear logic, and an extension of the type system CP by Phil Wadler. CP guarantees that any program it assigns a type will be free of races and deadlocks. What sets Nodcap apart from CP is that it allows non-determinism, and as such permits programs with races, but it does this without losing its strong ties to classical linear logic or the guarantee not to deadlock.

The directory src/cpnd1 contains a formalisation of Non-deterministic CP in Agda, implementing a cut-elimination proof, showing preservation, progress, and termination.