Mastermath-HoTT / spring-2024

Repository for the Spring 2024 run of the Mastermath HoTT course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing UniMath (Coq)

Exercises can be done on paper or using the UniMath library in the Coq proof assistant. (Or other libraries in other proof assistants if you dare!) Here are instructions for installing/using the UniMath library in the Coq proof assistant in order from easiest to hardest.

  1. Use an in-browser implementation: https://unimath.github.io/live/
  • This has been recently put together. I've tested it with the exercises, and it works great for me with Chrome on MacOS (but not Safari). If there are any problems, it would be appreciated if you could report them here: UniMath/UniMath#1729.
  1. Use the UniMath binaries and the CoqIDE both provided with the recent distributions of the Coq Platform: https://coq.inria.fr/download

  2. Use the UniMath binaries provided with recent distributions of Coq + VSCode: https://docs.google.com/document/d/1KWSugPK-sJ67pL-P4EtoKZ6HMzewmzewLNkR_arXauY/edit?usp=sharing

  • Note that where there are paths like /Applications/Coq-Platform~8.15~2022.04.app/Contents/Resources/bin you need to check that this is where Coq is installed on your computer. In particular, if you have installed it recently, it will be something more like Coq-Platform~8.16~2022.09.app.
  • To easily type unicode symbols, install the "Unicode Latex" extension for VSCode.
  • Also make sure that the custom VS Code settings are not being applied whenever you want to work with vanilla Coq. This should be the case because the instructions have you apply them to a particular workspace.
  1. Compile UniMath yourself + use Emacs: https://github.com/UniMath/UniMath/blob/master/INSTALL.md
  • It is possible to mix up the instructions in 2 and 3, i.e. to compile UniMath yourself and use VSCode, or use the provided UniMath binaries with Emacs.
  • You will need to put the files that you work on within the UniMath/UniMath directory on your computer, to use their Emacs configuration files (or you can copy the Emacs configuration files).
  1. compile/install Coq and UniMath + use (Neo)Vim:

About

Repository for the Spring 2024 run of the Mastermath HoTT course


Languages

Language:TeX 74.8%Language:Coq 25.2%