lean2/tests/lean/rw1.lean

21 lines
367 B
Text
Raw Normal View History

(*
mk_rewrite_rule_set("rw1")
add_rewrite_rules("rw1", "and_assoc")
add_rewrite_rules("rw1", "and_truer")
show_rewrite_rules("rw1")
*)
scope
print "new scope"
(*
add_rewrite_rules("rw1", "or_assoc")
enable_rewrite_rules("rw1", "and_assoc", false)
show_rewrite_rules("rw1")
*)
end
print "after end of scope"
(*
show_rewrite_rules("rw1")
*)