src/ZF/constructor.ML
changeset 543 e961b2092869
parent 516 1957113f0d7d
child 1103 08fda5148971
--- a/src/ZF/constructor.ML	Thu Aug 18 12:56:57 1994 +0200
+++ b/src/ZF/constructor.ML	Thu Aug 18 17:41:40 1994 +0200
@@ -41,7 +41,7 @@
 
 (*Get the case term from its definition*)
 val Const("==",_) $ big_case_tm $ _ =
-    hd con_defs |> rep_thm |> #prop |> unvarify;
+    hd con_defs |> rep_thm |> #prop |> Logic.unvarify;
 
 val (_, big_case_args) = strip_comb big_case_tm;
 
@@ -62,8 +62,9 @@
 			Su.case_inr RS trans] 1)];
 
 fun prove_case_equation (arg,con_def) =
-    prove_term (sign_of thy) [] 
-        (mk_case_equation arg, case_tacsf con_def);
+    prove_goalw_cterm [] 
+        (cterm_of (sign_of thy) (mk_case_equation arg))
+	(case_tacsf con_def);
 
 val free_iffs = 
     map standard (con_defs RL [def_swap_iff]) @