Academy PassIntermediate8 lessons79 min

Programs with proofs

Lean is a programming language. You will write functions, structures and pattern matches, then prove that they compute the right thing: specifications by rfl and decide, algebraic laws by unfolding, and case analysis on inputs.