Skip to content

wenkokke/msla2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modelling Substructural Logics in Agda

Abstract

In this paper, we will examine axiomatisations of substructural logics in Agda. The reason for this is that most existing models in Agda formalise intuitionistic logic and are entirely unsuitable to modelling substructural logics. In recent years, however, substructural logics have seen a surge in usage.

Concretely we present the reader with an explicit model of intuitionistic logic, and derive models for linear logic and the Lambek-Grishin calculus. In addition, we show how to reify proofs in these logics into terms in Agda. All this is implemented as an Agda library, which is made available on GitHub.

Finally we conclude with an example from formal linguistics in which we demonstrate one possible usage of our implemented Agda library.

Technical Details

This repository contains the sources for the Modelling Substructural Logics in Agda. The paper sub-directory contains the literate Agda files that make up the paper. The code sub-directory contains the extracted Agda source code.

Some notes:

  • the code was written for use with version 2.4.2 of Agda and version 0.8.1 of the Agda standard library;

  • the code is released under an MIT license;

  • the paper is compiled using lhs2TeX;

  • compilation of the paper and extraction of the code and html documentation is facilitated using a rake build script (call rake paper, rake code and rake html);

  • see here for an example in fancy clickable html.

About

wherein I implement several substructural logics in Agda

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published