Skip to content

Materials for the course "theorem prover lab: applications in programming languages" at KIT, SS2022 edition

Notifications You must be signed in to change notification settings

IPDSnelting/tba-2022

Repository files navigation

Open in Gitpod

tba-2022

Slides and exercises of the Lean 4 course Theorem prover lab: applications in programming languages at the Karlsruhe Institute of Technology, Summer 2022.

Setup

You can run and edit the Lean files in this repository either locally on your machine or using gitpod.io right in your browser. You can run Gitpod workspaces for free for 50 hours per month, which should be more than sufficient for the course, but you can switch to a local installation at any point.

Gitpod

  1. Register at https://gitpod.io/login/
  2. Go to https://gitpod.io/#/https://github.com/IPDSnelting/tba-2022/ (or click button above) to spawn a new workspace based on this repository. Whenever you click on that link again, you should get a fresh copy of the newest commit of the repository. Go to https://gitpod.io/workspaces/ instead to continue working on an existing workspace with your changes.
  3. When the workspace has finished loading, you should get a VS Code interface. Open the file TBA.lean to verify the setup.
  4. After a few more seconds, you should get a syntax-highlighted file with a "Lean Infoview" on the right that tells you the installed Lean version when placing your cursor on the last line. successful setup
  5. Don't forget to stop the workspace when you are done: press F1 and select "Gitpod: Stop Workspace". The workspace should stop automatically 30min after the last interaction or 3min after closing the tab, but sometimes it doesn't seem to.

Local Setup

  1. Follow the quickstart instructions up to creating the test file.
  2. Download this repository, either using git clone or the "Download ZIP" option on the green "Code" button above.
  3. Use "File > Open Folder..." to open the repository in VS Code.
  4. Open the file TBA.lean to verify the setup. You should get a syntax-highlighted file with a "Lean Infoview" on the right that tells you the installed Lean version when placing your cursor on the last line (see screenshot above).

About

Materials for the course "theorem prover lab: applications in programming languages" at KIT, SS2022 edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages