src/HOL/Nominal/nominal_inductive.ML
changeset 29276 94b1ffec9201
parent 29270 0eade173f77e
child 29281 b22ccb3998db
equal deleted inserted replaced
29275:9fa69e3858d6 29276:94b1ffec9201
   238           (map mk_fresh bvars @ mk_distinct bvars @
   238           (map mk_fresh bvars @ mk_distinct bvars @
   239            map (fn prem =>
   239            map (fn prem =>
   240              if null (OldTerm.term_frees prem inter ps) then prem
   240              if null (OldTerm.term_frees prem inter ps) then prem
   241              else lift_prem prem) prems,
   241              else lift_prem prem) prems,
   242            HOLogic.mk_Trueprop (lift_pred p ts));
   242            HOLogic.mk_Trueprop (lift_pred p ts));
   243         val vs = map (Var o apfst (rpair 0)) (rename_wrt_term prem params')
   243         val vs = map (Var o apfst (rpair 0)) (Term.rename_wrt_term prem params')
   244       in
   244       in
   245         (list_all (params', prem), (rev vs, subst_bounds (vs, prem)))
   245         (list_all (params', prem), (rev vs, subst_bounds (vs, prem)))
   246       end) prems);
   246       end) prems);
   247 
   247 
   248     val ind_vars =
   248     val ind_vars =