The project has been tested with Rocq 9.0.
-
Install
opam(skip if you already have it): follow the instructions at https://opam.ocaml.org/doc/Install.html. -
Install the development version of
std++(skip if you already have it) and Rocq:
opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
opam install rocq-stdppThe version of std++ when this README was last updated is dev.2025-08-29.0.1e510a89.
- Typecheck the code:
bash gen_makefile.sh
make -f CoqMakefileThe end of the output is expected to be
Closed under the global context
Closed under the global context
They correspond to the last two lines in theory.v:
Print Assumptions fundamental.
Print Assumptions TToRecv_terminates.The first line prints the assumptions of the FTLR (Theorem 22), and the second line prints the theorem that the bit-flipping example inhabits the logical relation (Theorem 12).