diff -r 6ef9a9893fd6 -r 3ae9fe3c0f68 src/HOL/ex/Sorting.ML --- a/src/HOL/ex/Sorting.ML Wed Oct 04 13:11:57 1995 +0100 +++ b/src/HOL/ex/Sorting.ML Wed Oct 04 13:12:14 1995 +0100 @@ -6,21 +6,19 @@ Some general lemmas *) -val sorting_ss = list_ss addsimps - [Sorting.mset_Nil,Sorting.mset_Cons, - Sorting.sorted_Nil,Sorting.sorted_Cons, - Sorting.sorted1_Nil,Sorting.sorted1_One,Sorting.sorted1_Cons]; +Addsimps [Sorting.mset_Nil,Sorting.mset_Cons, + Sorting.sorted_Nil,Sorting.sorted_Cons, + Sorting.sorted1_Nil,Sorting.sorted1_One,Sorting.sorted1_Cons]; goal Sorting.thy "!x.mset (xs@ys) x = mset xs x + mset ys x"; by(list.induct_tac "xs" 1); -by(ALLGOALS(asm_simp_tac (sorting_ss setloop (split_tac [expand_if])))); +by(ALLGOALS(asm_simp_tac (!simpset setloop (split_tac [expand_if])))); qed "mset_app_distr"; goal Sorting.thy "!x. mset [x:xs. ~p(x)] x + mset [x:xs.p(x)] x = \ \ mset xs x"; by(list.induct_tac "xs" 1); -by(ALLGOALS(asm_simp_tac (sorting_ss setloop (split_tac [expand_if])))); +by(ALLGOALS(asm_simp_tac (!simpset setloop (split_tac [expand_if])))); qed "mset_compl_add"; -val sorting_ss = sorting_ss addsimps - [mset_app_distr, mset_compl_add]; +Addsimps [mset_app_distr, mset_compl_add];