Tutorials
Five lessons, in order, from a fresh machine to an accepted proof and a running program.
Each tutorial builds on the one before it, and every step is something you run. By the end you will have a store holding proofs the Lean kernel has accepted, a theorem reused by its identity, and a program built from accepted code.
You need a checkout of lema-lang and a Linux x86_64 machine. Tutorials 2 to 5 also need the sandboxed runtime, which runs only where bubblewrap, systemd and a few libraries match the versions Lema pins; the first tutorial sets everything up and tells you whether your machine qualifies. If you want background first, read Build software like mathematics.
Written against lema-lang at commit 5a94951, 17 Oct 2026.