16 lines
238 B
Text
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
|