# HG changeset patch # User Cezary Kaliszyk # Date 1273497065 -7200 # Node ID e9f089a5cc17a44bee53f000ad061b1833d77ada # Parent c861b53d0cde70a082ec679ef09a450cd8f280ad Parser changes for compound relations diff -r c861b53d0cde -r e9f089a5cc17 Nominal/NewParser.thy --- a/Nominal/NewParser.thy Mon May 10 15:09:32 2010 +0200 +++ b/Nominal/NewParser.thy Mon May 10 15:11:05 2010 +0200 @@ -519,13 +519,12 @@ val lthy17 = note_simp_suffix "bn" q_bn lthy16; val _ = warning "Lifting eq-iff"; (*val _ = map tracing (map PolyML.makestring alpha_eq_iff);*) - val eq_iff_unfolded0 = map (Local_Defs.unfold lthy17 @{thms alphas3}) alpha_eq_iff_simp - val eq_iff_unfolded1 = map (Local_Defs.unfold lthy17 @{thms alphas2}) eq_iff_unfolded0 - val eq_iff_unfolded2 = map (Local_Defs.unfold lthy17 @{thms alphas} ) eq_iff_unfolded1 - val q_eq_iff_pre0 = map (lift_thm qtys lthy17) eq_iff_unfolded2; - val q_eq_iff_pre1 = map (Local_Defs.fold lthy17 @{thms alphas3}) q_eq_iff_pre0 - val q_eq_iff_pre2 = map (Local_Defs.fold lthy17 @{thms alphas2}) q_eq_iff_pre1 - val q_eq_iff = map (Local_Defs.fold lthy17 @{thms alphas}) q_eq_iff_pre2 + val eq_iff_unfolded0 = map (Local_Defs.unfold lthy17 @{thms alphas}) alpha_eq_iff_simp + val eq_iff_unfolded1 = map (Local_Defs.unfold lthy17 @{thms Pair_eqvt}) eq_iff_unfolded0 + val q_eq_iff_pre0 = map (lift_thm qtys lthy17) eq_iff_unfolded1; + val q_eq_iff_pre1 = map (Local_Defs.fold lthy17 @{thms Pair_eqvt}) q_eq_iff_pre0 + val q_eq_iff_pre2 = map (Local_Defs.fold lthy17 @{thms alphas}) q_eq_iff_pre1 + val q_eq_iff = map (Local_Defs.unfold lthy17 (Quotient_Info.id_simps_get lthy17)) q_eq_iff_pre2 val (_, lthy18) = Local_Theory.note ((suffix_bind "eq_iff", []), q_eq_iff) lthy17; val q_dis = map (lift_thm qtys lthy18) rel_dists; val lthy19 = note_simp_suffix "distinct" q_dis lthy18;