See README.md
Our library has been developed and tested on Coq 8.15.2 (the most recent version as of this writing). However, versions 8.13.2 or 8.13.0 are needed for MetaCoq (See paper, Section 6, Functorializing Datatypes). We recommend you install 8.13.2.
The easiest way to install a specific Coq version is via opam. You can specifically install Coq 8.13.2 by running:
opam pin coq 8.13.2
# Installs Coq version 8.13.2
opam pin coq 8.13.2
# Installs coq-idt as well as dependencies Coq-Equations & MetaCoq
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-idt
# Builds all .v files
make all
We have as dependencies:
But coq-idt depends on both Coq-Equations and MetaCoq, so it is easiest to simply run...
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-idt
We use Coq-Equations as an example of well-founded recursion (See Sections 2 and 3 of paper). The following files rely on Coq-Equations.
We use MetaCoq and coq-idt. The following files rely on these packages.