Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mstn/idris-ct

 
 

Repository files navigation

Build Status License: AGPL v3

Idris category theory

This repository contains several definitions from category theory.

The project is written in Idris, which allows us to state properties (logical propositions) of the code, along with their formal proofs, in the code itself. These provide guarantees that the code is correct by construction.

Moreover, we are using literate Idris, so that we can seamlessly integrate code and documentation, and produce prose documentation alongside the compiled artifacts.

If you want a more detailed and slow introduction to the library, please have a look at the series of blog posts we are writing:

Nix build

If you have Nix installed, you can build the project just by doing

nix-build

For additional targets, have a look at the instructions in default.nix.

Manual build

Prerequisites

You'll need lhs2tex, latexmk and Idris.

Generate documentation

Use make to generate the PDF documentation. You will find it in the docs directory. Look directly in the Makefile for additional options.

You can also consult the documentation directly here.

Build code

You can build manually all the code using

idris --checkpkg idris-ct.ipkg

Build with Elba

Alternatively you can build the library with elba using

elba build

License

Unless explicitly stated otherwise all files in this repository are licensed under the GNU Affero General Public License.

Copyright © 2019 Stichting Statebox.

About

formally verified category theory library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Idris 93.6%
  • Nix 5.2%
  • Makefile 1.2%