equal
deleted
inserted
replaced
395 in if null subst then th else th |> hyps_rule (instantiate_tfrees thy subst) end; |
395 in if null subst then th else th |> hyps_rule (instantiate_tfrees thy subst) end; |
396 |
396 |
397 fun instT_morphism thy env = |
397 fun instT_morphism thy env = |
398 let val thy_ref = Theory.check_thy thy in |
398 let val thy_ref = Theory.check_thy thy in |
399 Morphism.morphism |
399 Morphism.morphism |
400 {binding = [I], |
400 {binding = [], |
401 typ = [instT_type env], |
401 typ = [instT_type env], |
402 term = [instT_term env], |
402 term = [instT_term env], |
403 fact = [map (fn th => instT_thm (Theory.deref thy_ref) env th)]} |
403 fact = [map (fn th => instT_thm (Theory.deref thy_ref) env th)]} |
404 end; |
404 end; |
405 |
405 |