Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.99 KB

manual-install.md

File metadata and controls

69 lines (51 loc) · 1.99 KB

Installing Coq via Docker

See README.md

Installing Coq & Coq Version(s) manually

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

Quick-and-Easy Install

# 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

Dependencies

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

Coq-Equations

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.

MetaCoq

We use MetaCoq and coq-idt. The following files rely on these packages.