lean4-htt/old_tests/tests/lean/run/simp_at_bug.lean
2018-04-10 12:56:55 -07:00

7 lines
137 B
Text

def f (x : nat) := x
example (a b : nat) (h₁ : a = b) (h₂ : a = 0) : b = f 0 :=
begin
simp [h₁] at a h₂,
simp [h₂, f]
end