lean4-htt/tests/lean/interactive/goalIssue.lean
2021-04-18 20:13:02 -07:00

11 lines
261 B
Text

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