lean2/tests/lean/rw_at_failure.lean

8 lines
153 B
Text
Raw Normal View History

import data.nat
open nat
example (a b : nat) : a = b → 0 + a = 0 + b :=
begin
rewrite zero_add at {2} -- Should fail since nothing is rewritten
end