Kontroli

Kontroli (Esperanto for verify) is an alternative implementation of the logical framework [Dedukti], concentrating on the verification of proofs.

Kontroli's use case is to verify proofs generated by automated reasoning tools, such as proof assistants and automated theorem provers. It serves to verify the output of Dedukti by providing a "second opinion" and to make it easier for users to understand and learn from the implementation. It is also a testbed for parallelising type checking.

Usage

Kontroli requires at least Rust 1.40. On a recent Ubuntu system, this can be installed via:

sudo apt install rustc

For other systems, instructions are available at https://rustup.rs/.

To run Kontroli on output generated from Isabelle/Pure:

cargo run -p kocheck --release examples/pure.dk

To install Kontroli:

cargo install --path kocheck

Kontroli provides a command-line program, kocheck, and a library. The latter means that you can use Kontroli as part of your own applications. Given that the Kontroli library does not rely on Rust's standard library, you could use it also in environments such as web pages, offering type checking as a service.

Goals

Kontroli tries to be the following:

Differences

There are a few differences with respect to Dedukti:

Syntax

Kontroli implements a subset of Dedukti's syntax. Examples of the syntax can be seen in examples/nat.dk or examples/pure.dk.

Development

A few useful commands for developing Kontroli: