Lean 4 · Problems
Solve problems. Lean checks every step.
Programming and proof problems judged by the Lean compiler. Programs run against hidden tests. Proofs are checked step by step, and the judge confirms they rest only on Lean’s standard axioms, so an answer is accepted only when it is actually correct.
StatusKind
Proof
The statement is fixed and you write the proof. The judge accepts it only when Lean closes every goal without sorry or extra axioms.
Program
Write a function in Lean. Run it against the examples and your own inputs, then submit it against hidden tests, some sized so that slow algorithms run out of time.
Verified program
There are no tests: you prove that the code meets a specification, so it is correct for every input, not just the ones someone thought of.