chore(tests/lean/run): adjust tests

This commit is contained in:
Leonardo de Moura 2016-11-21 12:23:36 -08:00
parent e17b3df16a
commit 1c484e8926
2 changed files with 0 additions and 5 deletions

View file

@ -1,7 +1,5 @@
open tactic expr
constant nat.add_assoc (a b c : nat) : (a + b) + c = a + (b + c)
meta definition is_op_app (op : expr) (e : expr) : option (expr × expr) :=
match e with
| (app (app fn a1) a2) := if op = fn then some (a1, a2) else none

View file

@ -1,6 +1,3 @@
constant nat.add_assoc (a b c : nat) : (a + b) + c = a + (b + c)
namespace foo
attribute [simp] nat.add_assoc
print nat.add_assoc