lean2/tests/lean/run/rw_set1.lean

16 lines
238 B
Text

import data.nat
namespace foo
attribute nat.add_assoc [simp]
print nat.add_assoc
end foo
print nat.add_assoc
namespace foo
print nat.add_assoc
attribute nat.add_comm [simp]
open nat
print "---------"
print [simp]
end foo