Firstly, make sure that your bash is using the Coq set of commands provided by CoqIDE. To do so, you can append the following line to your .bash_profile
(replace <your_CoqIDE_version>
accordingly):
export PATH="$PATH:/Applications/CoqIDE_<your_CoqIDE_version>.app/Contents/Resources/bin"
Then, either restart your shell or run source <path_to_your_bash_profile>/.bash_profile
.
Finally, simply run coq_makefile -f _CoqProject -o makefile && make
when inside the src
folder of the project.
Note: On MacOS systems, you may see the error message make: *** [all] Error 2
at the end of compilation - this statement is, however, false, as all modules have been verified and confirmed to be operational following make
. We are currently investigating this erroneous report - in the meantime, it is safe to ignore the message.
src/Basics
=> Auxiliary modules used as a foundation for the rest of the project.
src/Languages
=> Custom frame stack style programming languages used for program equivalence analysis.
src/ProgramEquivalence/Proofs
=> Program equivalence proofs.
src/ProgramEquivalence/Tactics
=> Custom Coq tactics used for proving program equivalence.
src/Programs
=> Custom program definitions.