changeset 4032 | 4b1c69d8b767 |
parent 3919 | c036caebfc75 |
child 4069 | d6d06a03a2e9 |
--- a/src/HOL/List.ML Wed Oct 29 16:03:19 1997 +0100 +++ b/src/HOL/List.ML Thu Oct 30 09:45:03 1997 +0100 @@ -48,13 +48,7 @@ (** list_case **) -goal thy - "P(list_case a f xs) = ((xs=[] --> P(a)) & \ -\ (!y ys. xs=y#ys --> P(f y ys)))"; -by (induct_tac "xs" 1); -by (ALLGOALS Asm_simp_tac); -by (Blast_tac 1); -qed "expand_list_case"; +val expand_list_case = split_list_case; val prems = goal thy "[| P([]); !!x xs. P(x#xs) |] ==> P(xs)"; by (induct_tac "xs" 1);