lean2/tests/lean/run/rewriter15.lean

10 lines
156 B
Text

import data.nat
open nat
set_option rewriter.syntactic true
example (x : nat) (H1 : x = 0) : x + 0 + 0 = 0 :=
begin
rewrite *add_zero,
rewrite H1
end