RuleCases.make_simple;
authorwenzelm
Sat, 07 Jan 2006 12:26:29 +0100
changeset 18605 b971e113dee7
parent 18604 4000f368dc7f
child 18606 46e7fc90fde3
RuleCases.make_simple;
src/Pure/Isar/auto_bind.ML
--- a/src/Pure/Isar/auto_bind.ML	Sat Jan 07 12:26:28 2006 +0100
+++ b/src/Pure/Isar/auto_bind.ML	Sat Jan 07 12:26:29 2006 +0100
@@ -36,8 +36,8 @@
 fun goal thy [prop] = statement_binds thy thesisN prop
   | goal _ _ = [((thesisN, 0), NONE)];
 
-fun cases _ [] = [(rule_contextN, NONE)]
-  | cases thy props = RuleCases.simple (thy, Logic.mk_conjunction_list props) rule_contextN;
+fun cases thy [prop] = RuleCases.make_simple true (thy, prop) rule_contextN
+  | cases _ _ = [(rule_contextN, NONE)];
 
 
 (* facts *)