lean4-htt/tests/lean/smartUnfolding.lean
2020-11-15 16:36:22 -08:00

6 lines
245 B
Text

theorem ex1 (x y : Nat) (h : x + 2 = y + 2) : x = y := by
injection h with h
traceState -- without smart unfolding the state would be a mess
injection h with h
traceState -- without smart unfolding the state would be a mess
assumption