Skip to content

A canonical normal form theorem for the type theory of regular categories

Notifications You must be signed in to change notification settings

eapiova/canonical-normal-form-regular-categories

 
 

Repository files navigation

A partially formalised proof of the canonical-form theorem for the dependent type theory of the regular categories. The formalisation is built on top of the General Type Theories framework.

Installation

It is recommended to use the opam package manager to install the environment. Details about installing Opam can be found here.

  1. Install Coq
$ opam install coq
  1. Add the released coq-archive packages:
$ opam repo add coq-released https://coq.inria.fr/opam/released
  1. Install Coq-HoTT
$ opam install coq-hott
  1. Generate a makefile from _CoqProject with
$ coq_makefile -f _CoqProject -o CoqMakefile
  1. Compile the project with
$ make -f CoqMakefile
  1. Use CoqIDE (shipped with Coq), VSCoq or ProofGeneral

Contents

DependentTypeTheory.v contains the definition of the type theory of regular categories: signature, types and logical rules.

Computability.v contains the computation rules, the definition of computable judgement and proofs of preservation of computability for (some) logical rules in case of empty context.

About

A canonical normal form theorem for the type theory of regular categories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Coq 93.4%
  • Makefile 6.6%