Getting Started
For the eighth class, we are going to dive into the implementation of the Iris Proof Mode! This is implemented on top of Coq, so if you missed last week's artifact, I recommend installing it and playing around with it first.
Installation can be finicky, so please install the artifact before class using the instructions below. If you have any trouble, please post your questions in this thread. You can also drop any installation tips you have in that thread.
Installation Instructions
Please follow these instructions, which are adapted from the Iris contribution guide:
- Run
opam switch 4.12.0
in the terminal to configure your environment to use the right Coq version from last class. - Run
eval $(opam env)
in the terminal to sync your opam environment. - Run
opam repo add coq-released https://coq.inria.fr/opam/released
in the terminal to add the release repository. - Run
opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
in the terminal to add the Iris development version. - Run
git clone https://gitlab.mpi-sws.org/iris/iris.git
in the terminal to clone the Iris repository. - Change directories to the Iris directory (
cd iris
) and then runmake builddep
to build dependencies. - Run
make -jN
to build Iris, where N is the number of CPU cores your computer has (for me, this wasmake -j8
). - Run
make install
finish the installation.
If installation fails, and the class forums are no help, do not panic; we will try to match you with someone in class for whom installation worked.
You can find the exercise we will do together in class below.