src/Pure/tctical.ML
changeset 26626 c6231d64d264
parent 24359 44556727197a
child 26653 60e0cf6bef89
--- a/src/Pure/tctical.ML	Thu Apr 10 20:54:18 2008 +0200
+++ b/src/Pure/tctical.ML	Sat Apr 12 17:00:35 2008 +0200
@@ -425,8 +425,8 @@
 
 fun metahyps_aux_tac tacf (prem,gno) state =
   let val (insts,params,hyps,concl) = metahyps_split_prem prem
-      val {thy = sign,maxidx,...} = rep_thm state
-      val cterm = cterm_of sign
+      val maxidx = Thm.maxidx_of state
+      val cterm = Thm.cterm_of (Thm.theory_of_thm state)
       val chyps = map cterm hyps
       val hypths = map assume chyps
       val subprems = map (forall_elim_vars 0) hypths