lean2/tests/lean/run/rewriter13.lean
2015-02-06 12:57:42 -08:00

7 lines
118 B
Text

open nat
example (x y : nat) (H1 : sigma.pr1 ⟨x, y⟩ = 0) : x = 0 :=
begin
rewrite ▸* at H1,
rewrite H1
end