kernel_fsub_main
: The kernel main system presented in Section 3.1 of the paperfull_fsub_main
: The full main system presented in Section 3.2 of the paperkernel_fsub_ext
: The extended kernel system presented in Section 5 of the paper
For a detailed paper-to-proof correspondence, please refer to Section 6 of the paper
Our Coq proofs are verified in Coq version Coq 8.13.1. We rely on the Coq library: metalib
for the locally nameless representation in our proofs.
-
Install Coq 8.13.1. The recommended way to install Coq is via
OPAM
,# create a local switch for this artifact opam switch create iso-fsub 4.12.0 # update the shell environment eval $(opam env) # pin the Coq version to 8.13.1 and install opam pin add coq 8.13.1
Please refer to here for detailed steps.
-
Make sure
Coq
is installed, then installMetalib
:- Download the source code
zip
ofMetalib
fromhttps://github.com/plclub/metalib/releases/tag/coq8.10
. - unzip the source code
metalib-coq8.10
andcd
into the directory. cd Metalib
make install
- Download the source code
-
Enter the coq directory you would like to build, for example
cd kernel_fsub_main
-
Type
make
in the terminal to build and compile the proofs. -
You should see something like the following:
coq_makefile -arg '-w -variable-collision,-meta-collision,-require-in-module' -f _CoqProject -o CoqSrc.mk COQDEP VFILES COQC Rules.v COQC Infrastructure.v ... COQC Conservativity.v
some warning messages may be printed, but they do not affect the building of the proof.
-
You can remove the compiled proofs by
make clean
-
To remove Coq 8.13.1 installed in this artifact, you can run
opam switch remove iso-fsub