Giter Club home page Giter Club logo

k's Introduction

k

Mechanisation of Fitch-style Intuitionistic K in Agda

About

Fitch-style modal lambda calculi provide an elegant approach to programming necessity (or box) modalities by extending typed-lambda calculi with a delimiting context operator (or lock). The addition of locks simplifies the formulation of typing rules for different modalities, but obscures syntactic lemmas involving the context, and makes it difficult to formalise and prove meta-theoretic properties about these calculi.

This repo contains a mechanisation of an intrinsically typed formalisation of the Fitch-style Intuitionistic K (IK) calculus in Agda. The trick here is to identify a suitable inductive notion of weakening and parallel substitution that is amenable to implementation and proofs. These are then used to guide the development of a normalisation-by-evaluation procedure for IK.

Current status

Implements an executable normalisation function for IK, and a "tracing" function that prints out a sequence of reduction steps that explain the result of the normalisation function. The latter yields a proof of completness for normalisation, i.e., norm t = norm t' => t ~ t'.

Plan

I'd like to prove confluence and decidability for IK (which demand soundness of normalisation), and illustrate applications of normalisation in modal logic, and possibly in partial evaluation. If all this goes well, then I'll probably turn to S4 next.

Thoughts?

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.