src/HOL/Tools/Function/partial_function.ML
changeset 63003 bf5fcc65586b
parent 62998 36d7e7f1805c
child 63005 d743bb1b6c23
equal deleted inserted replaced
63002:56cf1249ee20 63003:bf5fcc65586b
   228 
   228 
   229     val ((f_binding, fT), mixfix) = the_single fixes;
   229     val ((f_binding, fT), mixfix) = the_single fixes;
   230     val f_bname = Binding.name_of f_binding;
   230     val f_bname = Binding.name_of f_binding;
   231 
   231 
   232     fun note_qualified (name, thms) =
   232     fun note_qualified (name, thms) =
   233       Local_Theory.note ((Binding.qualified true name (Binding.reset_pos f_binding), []), thms)
   233       Local_Theory.note ((Binding.qualify_name true (Binding.reset_pos f_binding) name, []), thms)
   234         #> snd
   234         #> snd
   235 
   235 
   236     val (lhs, rhs) = HOLogic.dest_eq (HOLogic.dest_Trueprop plain_eqn);
   236     val (lhs, rhs) = HOLogic.dest_eq (HOLogic.dest_Trueprop plain_eqn);
   237     val (head, args) = strip_comb lhs;
   237     val (head, args) = strip_comb lhs;
   238     val argnames = map (fst o dest_Free) args;
   238     val argnames = map (fst o dest_Free) args;