Working installation of Coq and Haskell.
- We recommend installing a recent version of Coq Platform (last tested with
__coq-platform.2022.01.0~8.15.preview1
), then issueopam install dune ott
to getdune
andott
installed.
We need a modified version of lngen
in the vendor
directory. Either clone this repo recursively:
git clone --recurse-submodules https://github.com/k4rtik/lambda-qs.git
or if already cloned, use:
git submodule update --init --recursive
to obtain the submodule. Then lngen
needs to be built like so:
cd vendor/lngen
cabal build
cd -
See its README for any requirements.
dune build
for build and dune clean
for cleanup.
Use VSCode with VSCoq extension or any other Proof General-based IDE for Coq. Once built, things should work.
Use the vendor
directory for external libraries.
Stlc contains an STLC Tutorial using Locally Nameless representation by Stephanie Weirich that we are using as a reference for this work.