This repository provides the supporting material for the Coq/Rocq sessions at the venue Lean For The Curious Mathematician 2024 at CIRM.
We provide three methods to explore the contents interactively and give a short desciption of the files.
- Create a New Codespace from this repository.
- Wait until the Codespace launches
- Click on one of the files and wait a few seconds
- In case of error press
F1
and type> Coq LSP: Restart the Coq Language Server
- Clone the repository using
git clone https://github.com/CohenCyril/LFTCM2024_Rocq.git
- Change directory to it
cd LFTCM2024_Rocq
- Launch vscode using
code .
- Click "Install Dev Containers" if this option appears.
- Confirm "Reopen in container" or press
F1
and type> Reopen in container
. (Click "Install Docker" if this option appears, and follow the instructions there.) - Click on one of the files and wait a few seconds
- In case of error press
F1
and type> Coq LSP: Restart the Coq Language Server
- Install opam and configure the coq opam repository
- Clone and install the dependencies of the project
git clone https://github.com/CohenCyril/LFTCM2024_Rocq.git
cd LFTCM2024_Rocq
opam install . --deps-only # to install dependencies
- run vscode
code .
and install the following extensions in your workspace:- coq-lsp
- errorlens
The files kerjean_slides.pdf provides an introduction to Rocq and mathcomp, and the file tutorial.v gives an interactive introduction to the topic.
The file practice.v contains exercises for you to try it out. Even if the solutions are here do not look at them 😉.