A tutorial for LIP members
LipSsrTuto
Unfortunately the Coq platform has not been release for 1 year :confused:, so we have to rely on either of the following four options.
In all cases but the last you need to clone this repo and cd into it.
After having installed opam and configured it for Coq cf official doc, run:
opam install --deps-only .
make
You can now run your favorite editor, you may need to install your
favorite language server (i.e. opam install coq-lsp
or
opam install vscoq-language-server
)
After installing nix and cachix, run once:
cachix use coq
cachix use coq-community
cachix use math-comp
cachix use cohencyril
Then, every time you want to use it you need to run (may take a few minutes the first time)
nix-shell
make
You can now run your favorite editor, you do not need to install your favorite language server (they are included in the shell)
You need to install docker.
Then start vscode with the
devcontainer
extension, then click on "reopen in container" (or F1
and type the latter).
Go to the repo and start a codespace (Shortcut here)
Follow the lectures in order.