diff -r 74888979e9cd -r 4355eb3b7161 Nominal/Lift.thy --- a/Nominal/Lift.thy Fri Mar 19 15:01:01 2010 +0100 +++ b/Nominal/Lift.thy Fri Mar 19 18:42:57 2010 +0100 @@ -61,7 +61,7 @@ ML {* fun define_fv_alpha_export dt binds bns ctxt = let - val (((fv_ts_loc, fv_def_loc), alpha), ctxt') = + val ((((fv_ts_loc, fv_def_loc), ord_fv_ts_loc), alpha), ctxt') = define_fv_alpha dt binds bns ctxt; val alpha_ts_loc = #preds alpha val alpha_induct_loc = #induct alpha @@ -69,13 +69,14 @@ val alpha_cases_loc = #elims alpha val morphism = ProofContext.export_morphism ctxt' ctxt; val fv_ts = map (Morphism.term morphism) fv_ts_loc; + val ord_fv_ts = map (Morphism.term morphism) ord_fv_ts_loc; val fv_def = Morphism.fact morphism fv_def_loc; val alpha_ts = map (Morphism.term morphism) alpha_ts_loc; val alpha_induct = Morphism.thm morphism alpha_induct_loc; val alpha_intros = Morphism.fact morphism alpha_intros_loc val alpha_cases = Morphism.fact morphism alpha_cases_loc in - (((fv_ts, fv_def), ((alpha_ts, alpha_intros), (alpha_cases, alpha_induct))), ctxt') + ((((fv_ts, ord_fv_ts), fv_def), ((alpha_ts, alpha_intros), (alpha_cases, alpha_induct))), ctxt') end; *}