equal
  deleted
  inserted
  replaced
  
    
    
|    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  |