src/FOLP/simp.ML
changeset 20951 868120282837
parent 20194 c9dbce9a23a1
child 21078 101aefd61aac
--- a/src/FOLP/simp.ML	Tue Oct 10 13:59:12 2006 +0200
+++ b/src/FOLP/simp.ML	Tue Oct 10 13:59:13 2006 +0200
@@ -282,7 +282,7 @@
 val delete_thms = foldr delete_thm_warn;
 
 fun op delcongs(SS{auto_tac,congs,cong_net,mk_simps,simps,simp_net}, thms) =
-let val congs' = Library.foldl (gen_rem Drule.eq_thm_prop) (congs,thms)
+let val congs' = fold (remove Drule.eq_thm_prop) thms congs
 in SS{auto_tac=auto_tac, congs= congs',
       cong_net= delete_thms cong_net (map mk_trans thms),
       mk_simps= normed_rews congs', simps=simps, simp_net=simp_net}