An informal introduction to formality in Lean 4.
Read Online: sdiehl.github.io/zero-to-qed
PDF: zero-to-qed.pdf (or print version for browser printing)
git clone https://github.com/sdiehl/zero-to-qed
cd zero-to-qed
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
cargo install mdbookjust build # Build Lean project
just test # Run tests
just run # Run executable
just serve # Serve docs locally
just build-docs # Build documentation
just dev # Lint, build, test
just ci # Full CI checks
just clean # Clean build artifacts
just update # Update dependencies
just stats # Project statisticsSoftware (Lean code in src/): MIT License. See LICENSE.
Prose (text in docs/): Public domain. Share it, adapt it, translate it. I just ask that you not sell it. It is meant to be free.
