src/Pure/Isar/element.ML
changeset 46166 255200892a42
parent 46161 f599ac41e7f5
child 46205 dd8208a3655a
equal deleted inserted replaced
46165:3c5d3d286055 46166:255200892a42
   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