Welcome! This repository focuses on porting Software Foundations Vol. 2: Programming Language Foundations, to Lean 4.
We do this as lab work for the Program Verification master's course at the Faculty of Mathematics & Computer Science, Univ. of Bucharest.
Before you start, make sure you have Lean installed in your environment.
- Clone this repository.
- From your cloned directory, run
lake exe cache get. This will fetch a compressed version of theMathliblibrary, which would normally be huge. - Run
lake build.
If you want to contribute solutions to the statements marked with sorry:
- Create a branch with your code, by:
git checkout -b <branch>. - Fill out the sorried proofs! Note that some proofs are optional; you may skip those.
- When you are done, commit your changes; then push your branch by
git push -u origin <branch>. - On GitHub, create a PR with your changes. If you provided correct proofs to all statements, your PR will receive a green checkmark and will be able to be merged!