2. Part II — Programming and Proving in Lean
In this part we use Lean, a proof assistant based on the Calculus of Inductive Constructions, both as a functional programming language and as a tool for stating and proving properties of programs.
- 2.1. Introduction to Lean: Terms and Types
- 2.2. Programs and Theorems in Lean
- 2.3. Tactics in Lean
- 2.4. Structured Proofs and Dependent Types
- 2.5. Functional Programming in Lean
- 2.6. Inductive Predicates
- 2.7. Type Classes and Property-Based Testing
- 2.8. Well-Founded Recursion
- 2.9. Programming with Dependent Types