src/HOL/TPTP/TPTP_Parser/tptp_reconstruct_library.ML
changeset 74282 c2ee8d993d6a
parent 74266 612b7e0d6721
child 74525 c960bfcb91db
equal deleted inserted replaced
74281:7829d6435c60 74282:c2ee8d993d6a
   577     (*valuation of term variables*)
   577     (*valuation of term variables*)
   578     val termval =
   578     val termval =
   579       map (apfst (dest_Var o type_devar typeval_env)) term_pairing
   579       map (apfst (dest_Var o type_devar typeval_env)) term_pairing
   580       |> map (apsnd (Thm.cterm_of ctxt))
   580       |> map (apsnd (Thm.cterm_of ctxt))
   581   in
   581   in
   582     Thm.instantiate (typeval, termval) scheme_thm
   582     Thm.instantiate (TVars.make typeval, Vars.make termval) scheme_thm
   583   end
   583   end
   584 
   584 
   585 (*FIXME this is bad form?*)
   585 (*FIXME this is bad form?*)
   586 val try_dest_Trueprop = perhaps (try HOLogic.dest_Trueprop)
   586 val try_dest_Trueprop = perhaps (try HOLogic.dest_Trueprop)
   587 
   587