removed extra shyps error;
authorwenzelm
Wed, 29 Sep 1999 13:49:07 +0200
changeset 7632 25a0d2ba3a87
parent 7631 1b6b51b17c4a
child 7633 838077e40a46
removed extra shyps error;
src/Pure/Isar/proof.ML
--- a/src/Pure/Isar/proof.ML	Wed Sep 29 13:48:35 1999 +0200
+++ b/src/Pure/Isar/proof.ML	Wed Sep 29 13:49:07 1999 +0200
@@ -472,21 +472,10 @@
 fun strip_flexflex thm =
   Seq.hd (Thm.flexflex_rule thm) handle THM _ => thm;
 
-fun final_result state pre_thm =
-  let
-    val thm =
-      pre_thm
-      |> strip_flexflex
-      |> Thm.strip_shyps
-      |> Drule.standard;
-
-    val str_of_sort = Sign.str_of_sort (Thm.sign_of_thm thm);
-    val xshyps = Thm.extra_shyps thm;
-  in
-    if not (null xshyps) then
-      raise STATE ("Extra sort hypotheses: " ^ commas (map str_of_sort xshyps), state)
-    else thm
-  end;
+fun final_result state thm =
+  thm
+  |> strip_flexflex
+  |> Drule.standard;