new case_tac method
authorpaulson
Wed, 20 Aug 2003 11:04:17 +0200
changeset 14156 2072802ab0e3
parent 14155 0a26b15b42c6
child 14157 8bf06363bbb5
new case_tac method
src/FOL/FOL.thy
src/FOL/cladata.ML
--- a/src/FOL/FOL.thy	Wed Aug 20 11:00:37 2003 +0200
+++ b/src/FOL/FOL.thy	Wed Aug 20 11:04:17 2003 +0200
@@ -24,7 +24,8 @@
 
 use "cladata.ML"
 setup Cla.setup
-setup clasetup
+setup cla_setup
+setup case_setup
 
 use "blastdata.ML"
 setup Blast.setup
--- a/src/FOL/cladata.ML	Wed Aug 20 11:00:37 2003 +0200
+++ b/src/FOL/cladata.ML	Wed Aug 20 11:04:17 2003 +0200
@@ -50,4 +50,9 @@
 val FOL_cs = prop_cs addSIs [allI,ex_ex1I] addIs [exI] 
                      addSEs [exE,alt_ex1E] addEs [allE];
 
-val clasetup = [fn thy => (claset_ref_of thy := FOL_cs; thy)];
+val cla_setup = [fn thy => (claset_ref_of thy := FOL_cs; thy)];
+
+val case_setup =
+ [Method.add_methods
+    [("case_tac", Method.goal_args Args.name case_tac,
+      "case_tac emulation (dynamic instantiation!)")]];