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

Latest commit

 

History

History
11 lines (9 loc) · 701 Bytes

File metadata and controls

11 lines (9 loc) · 701 Bytes

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.