lean4-htt/tests/lean/smartUnfolding.lean
Leonardo de Moura 36cc7c23b6 fix: fixes #1886
2022-11-28 06:50:44 -08:00

4 lines
160 B
Text

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