Skip to content

CohenCyril/LFTCM2024_Rocq

Repository files navigation

LFTCM2024 Rocq tutorial and practice

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.

Usage

Remote use: codespaces

  1. Create a New Codespace from this repository.
  2. Wait until the Codespace launches
  3. Click on one of the files and wait a few seconds
  4. In case of error press F1 and type > Coq LSP: Restart the Coq Language Server

Local installation: clone & vscode (does not work with M2 mac)

  1. Clone the repository using git clone https://github.com/CohenCyril/LFTCM2024_Rocq.git
  2. Change directory to it cd LFTCM2024_Rocq
  3. Launch vscode using code .
  4. Click "Install Dev Containers" if this option appears.
  5. Confirm "Reopen in container" or press F1 and type > Reopen in container. (Click "Install Docker" if this option appears, and follow the instructions there.)
  6. Click on one of the files and wait a few seconds
  7. In case of error press F1 and type > Coq LSP: Restart the Coq Language Server

Global system installation: opam

  1. Install opam and configure the coq opam repository
  2. 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
  1. run vscode code . and install the following extensions in your workspace:
    • coq-lsp
    • errorlens

Contents

Tutorial session

The files kerjean_slides.pdf provides an introduction to Rocq and mathcomp, and the file tutorial.v gives an interactive introduction to the topic.

Practice session

The file practice.v contains exercises for you to try it out. Even if the solutions are here do not look at them 😉.

About

Coq/Rocq practice session @ Lean For The Curious Mathematicians 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published