ayberkt / sequents

Proof search for intuitionistic propositional logic using Dyckhoff's LJT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sequents Build Status

sequents is an implementation of Roy Dyckhoff's LJT—a sequent calculus for intuitionistic logic that is decidable and does not need loop checking

Building

First make sure that you have smlnj installed. To build, run

./script/build.sh

Trying out

Let's prove the commutativity of conjunction A ∧ B ⊃ B ∧ A. Using the ASCII approximations of the connectives, we can pipe this proposition into sequents.

➜ echo "A /\ B => B /\ A" | ./sequents

which gives the following:

Proof found!
Theorem: A ∧ B ⊃ B ∧ A.
• A, B ----> B by init
• A ∧ B ----> B by ∧L

• B, A ----> A by init
• A ∧ B ----> A by ∧L

• A ∧ B ----> B ∧ A by ∧R
• ----> A ∧ B ⊃ B ∧ A by ⊃R
QED

You can also generate LaTeX with --latex flag. Make sure that you have ebproof installed though.

➜ echo "A /\ B => B /\ A" | ./sequents --latex > out.tex
➜ pdflatex out.tex

derivation

About

Proof search for intuitionistic propositional logic using Dyckhoff's LJT.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Standard ML 92.0%Language:Lex 3.6%Language:Shell 3.2%Language:TeX 1.2%