lean2/tests/lean/run/rw_set1.lean
2015-06-01 17:58:24 -07:00

16 lines
247 B
Text

import data.nat
namespace foo
attribute nat.add.assoc [rewrite]
print nat.add.assoc
end foo
print nat.add.assoc
namespace foo
print nat.add.assoc
attribute nat.add.comm [rewrite]
open nat
print "---------"
print [rewrite]
end foo