src/HOL/Matrix_LP/Compute_Oracle/linker.ML
changeset 59621 291934bac95e
parent 59582 0fbed69ff081
child 60642 48dd1cefb4ae
equal deleted inserted replaced
59620:92d7d8e4f1bf 59621:291934bac95e
   313     in
   313     in
   314         Compute.update_with_cache computer pats ths
   314         Compute.update_with_cache computer pats ths
   315     end
   315     end
   316 
   316 
   317 fun conv_subst thy (subst : Type.tyenv) =
   317 fun conv_subst thy (subst : Type.tyenv) =
   318     map (fn (iname, (sort, ty)) => (Thm.ctyp_of thy (TVar (iname, sort)), Thm.ctyp_of thy ty))
   318     map (fn (iname, (sort, ty)) => (Thm.global_ctyp_of thy (TVar (iname, sort)), Thm.global_ctyp_of thy ty))
   319       (Vartab.dest subst)
   319       (Vartab.dest subst)
   320 
   320 
   321 fun add_monos thy monocs pats ths =
   321 fun add_monos thy monocs pats ths =
   322     let
   322     let
   323         val changed = Unsynchronized.ref false
   323         val changed = Unsynchronized.ref false