Tuned function thm_proof.
authorberghofe
Wed, 31 Oct 2001 19:41:29 +0100
changeset 11999 43b4385445bf
parent 11998 b14e7686ce84
child 12000 715fe3909682
Tuned function thm_proof.
src/Pure/proofterm.ML
--- a/src/Pure/proofterm.ML	Wed Oct 31 19:37:04 2001 +0100
+++ b/src/Pure/proofterm.ML	Wed Oct 31 19:41:29 2001 +0100
@@ -1031,7 +1031,7 @@
         #4 (shrink [] 0 (rewrite_prf fst (!(ProofData.get_sg sign))
           (foldr (uncurry implies_intr_proof) (hyps', prf))))
       else MinProof (mk_min_proof ([], prf));
-    val head = (case strip_combt (fst (strip_combP prf)) of
+    val head = (case strip_combt (fst (strip_combP opt_prf)) of
         (PThm ((old_name, _), prf', prop', None), args') =>
           if (old_name="" orelse old_name=name) andalso
              prop = prop' andalso args = args' then