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
The function twice n = 2 × n is injective.
◆functions
B · Mathematics
twice(n)=2n is injective
Lean statement checked by the verifier:
Function.Injective twiceE · 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.