make match_rews into simp rules by default
authorhuffman
Sat, 18 Jun 2005 00:33:27 +0200
changeset 16462 8ebc8f530ab4
parent 16461 e6b431cb8e0c
child 16463 342d74ca8815
make match_rews into simp rules by default
src/HOLCF/domain/theorems.ML
--- a/src/HOLCF/domain/theorems.ML	Fri Jun 17 21:19:31 2005 +0200
+++ b/src/HOLCF/domain/theorems.ML	Sat Jun 18 00:33:27 2005 +0200
@@ -331,12 +331,12 @@
 		("con_rews", con_rews),
 		("sel_rews", sel_rews),
 		("dis_rews", dis_rews),
-		("match_rews", mat_rews),
 		("dist_les", dist_les),
 		("dist_eqs", dist_eqs),
 		("inverts" , inverts ),
 		("injects" , injects ),
 		("copy_rews", copy_rews)])))
+       |> (#1 o PureThy.add_thmss [(("match_rews", mat_rews), [Simplifier.simp_add_global])])
        |> Theory.parent_path |> rpair (iso_rews @ when_rews @ con_rews @ sel_rews @ dis_rews @
                  dist_les @ dist_eqs @ copy_rews)
 end; (* let *)