test(tests/lean/run): add rewrite tactic test
This commit is contained in:
parent
5b25da8c43
commit
04f8278c90
1 changed files with 8 additions and 0 deletions
8
tests/lean/run/rewriter16.lean
Normal file
8
tests/lean/run/rewriter16.lean
Normal file
|
@ -0,0 +1,8 @@
|
|||
import data.nat
|
||||
open nat
|
||||
|
||||
theorem tst (x : nat) (H1 : x = 0) : x = 0 :=
|
||||
begin
|
||||
rewrite *add_zero,
|
||||
rewrite H1
|
||||
end
|
Loading…
Add table
Reference in a new issue