src/HOL/Nominal/nominal_datatype.ML
changeset 63182 b065b4833092
parent 63064 2f18172214c8
child 63352 4eaf35781b23
equal deleted inserted replaced
63181:ee1c9de4e03a 63182:b065b4833092
   253         in
   253         in
   254           ((Attrib.empty_binding, HOLogic.mk_Trueprop (HOLogic.mk_eq
   254           ((Attrib.empty_binding, HOLogic.mk_Trueprop (HOLogic.mk_eq
   255             (Free (nth perm_names_types' i) $
   255             (Free (nth perm_names_types' i) $
   256                Free ("pi", mk_permT (TFree ("'x", @{sort type}))) $
   256                Free ("pi", mk_permT (TFree ("'x", @{sort type}))) $
   257                list_comb (c, args),
   257                list_comb (c, args),
   258              list_comb (c, map perm_arg (dts ~~ args))))), [])
   258              list_comb (c, map perm_arg (dts ~~ args))))), [], [])
   259         end) constrs
   259         end) constrs
   260       end) descr;
   260       end) descr;
   261 
   261 
   262     val (perm_simps, thy2) =
   262     val (perm_simps, thy2) =
   263       BNF_LFP_Compat.primrec_overloaded
   263       BNF_LFP_Compat.primrec_overloaded