tutch
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

Tutch

Coverage Status NPM Module

A TypeScript implementation of the TUTorial proof CHecker (Tutch), a language that allows natural deduction proofs in constructive logic to be expressed and checked.

This package just consists of the parser and proof checking logic for Tutch, which can be run like this in Node or in a tool like RunKit.

const tutch = require('tutch');

const proofOfK = tutch.parse(`

proof k : A => B => A =
begin
[ A;
  [ B;
    A ];
 B => A ];
A => B => A
end;

`);

tutch.isJustified(proofOfK);

If you want to use Tutch, you can go to https://tutch.glitch.me/.

Version 0.3.x of Tutch was used in the Fall 2019 Computational Applied Logic course at North Carolina State University. The Tutch proof checker was origianlly written in Standard ML by Andreas Abel, Bor-Yuh Evan Chang, and Frank Pfenning. Original documentation can be found at http://www2.tcs.ifi.lmu.de/~abel/tutch/

Readme

Keywords

none

Package Sidebar

Install

npm i tutch

Weekly Downloads

1

Version

0.4.1

License

GPL-3.0

Unpacked Size

122 kB

Total Files

30

Last publish

Collaborators

  • calculemus