Proof Lab
Problem, mathematics, Lean editor, live goals, proof tree and hints side by side. Goal states and the final verdict come from the real Lean 4 kernel.
A · Problem
maxOf a b is at least a, at least b, and equal to one of them.
◆specifications
B · Mathematics
a≤m∧b≤m∧(m=a∨m=b),m=maxOf(a,b)
Lean statement checked by the verifier:
∀ (a b : Nat), a ≤ maxOf a b ∧ b ≤ maxOf a b ∧ (maxOf a b = a ∨ maxOf a b = b)E · Proof tree
Place the cursor inside a tactic proof to see its goal.
C · Lean editor · D · Goals · F · Feedback
Goals (line 1)
Place the cursor inside a tactic proof to see its goal.
Lean messages
No messages. Lean accepted everything.