src/HOL/Library/Old_SMT/old_smt_utils.ML
changeset 59580 cbc38731d42f
parent 58058 1a0b18176548
child 59586 ddf6deaadfe8
equal deleted inserted replaced
59579:d8fff0b94c53 59580:cbc38731d42f
   159 fun instT' ct = instT (Thm.ctyp_of_term ct)
   159 fun instT' ct = instT (Thm.ctyp_of_term ct)
   160 
   160 
   161 
   161 
   162 (* certified terms *)
   162 (* certified terms *)
   163 
   163 
   164 fun certify ctxt = Thm.cterm_of (Proof_Context.theory_of ctxt)
   164 fun certify ctxt = Proof_Context.cterm_of ctxt
   165 
   165 
   166 fun typ_of ct = #T (Thm.rep_cterm ct) 
   166 fun typ_of ct = #T (Thm.rep_cterm ct) 
   167 
   167 
   168 fun dest_cabs ct ctxt =
   168 fun dest_cabs ct ctxt =
   169   (case Thm.term_of ct of
   169   (case Thm.term_of ct of