blob: b46c5591633170f47c8341490455279ca30eb81b [file]
theorem foo1 (x : Nat) : 0 + x = x := by
first
| skip; have x + x = x + x from rfl; done
--^ $/lean/plainGoal
| simp
theorem foo2 (x : Nat) : 0 + x = x := by
induction x with
| zero => done
--^ $/lean/plainGoal
| succ => done