src/HOL/simpdata.ML
changeset 4669 06f3c56dcba8
parent 4652 d24cca140eeb
child 4677 c4b07b8579fd
     1.1 --- a/src/HOL/simpdata.ML	Sat Feb 28 15:40:50 1998 +0100
     1.2 +++ b/src/HOL/simpdata.ML	Sat Feb 28 15:41:17 1998 +0100
     1.3 @@ -337,8 +337,11 @@
     1.4  			(disjE,conjE,exE,contrapos,contrapos2,notnotD);
     1.5  
     1.6  infix 4 addsplits;
     1.7 -fun ss addsplits splits = ss addloop (split_tac splits);
     1.8 -
     1.9 +fun ss addsplits splits =
    1.10 +  let fun addsplit(ss,split) =
    1.11 +        let val name = "split " ^ const_of_split_thm split
    1.12 +        in ss addloop (name,split_tac [split]) end
    1.13 +  in foldl addsplit (ss,splits) end;
    1.14  
    1.15  qed_goal "if_cancel" HOL.thy "(if c then x else x) = x"
    1.16    (K [split_tac [expand_if] 1, blast_tac HOL_cs 1]);