src/FOL/simpdata.ML
changeset 8643 331f0c75e3dc
parent 8472 50a653f8b8ea
child 9300 ee5c9672d208
     1.1 --- a/src/FOL/simpdata.ML	Fri Mar 31 22:01:01 2000 +0200
     1.2 +++ b/src/FOL/simpdata.ML	Fri Mar 31 22:22:23 2000 +0200
     1.3 @@ -304,6 +304,17 @@
     1.4  fun Addcongs congs = (simpset_ref() := simpset() addcongs congs);
     1.5  fun Delcongs congs = (simpset_ref() := simpset() delcongs congs);
     1.6  
     1.7 +val cong_add_global = Simplifier.change_global_ss (op addcongs);
     1.8 +val cong_del_global = Simplifier.change_global_ss (op delcongs);
     1.9 +val cong_add_local = Simplifier.change_local_ss (op addcongs);
    1.10 +val cong_del_local = Simplifier.change_local_ss (op delcongs);
    1.11 +
    1.12 +val cong_attrib_setup =
    1.13 + [Attrib.add_attributes [("cong",
    1.14 +   (Attrib.add_del_args cong_add_global cong_del_global,
    1.15 +    Attrib.add_del_args cong_add_local cong_del_local),
    1.16 +    "declare Simplifier congruence rules")]];
    1.17 +
    1.18  
    1.19  val meta_simps =
    1.20     [triv_forall_equality,  (* prunes params *)