lean2/tests/lean/rewrite_fail.lean
2015-02-16 18:42:15 -08:00

12 lines
157 B
Text

open nat
example (a b : nat) (Ha : a = 0) (Hb : b = 0) : a + b = 0 :=
begin
rewrite [Ha, Ha]
end
example (a : nat) : a = a :=
begin
esimp,
esimp
end