diff -r d7dc35222afc -r aacab5f67333 Nominal/ExCoreHaskell.thy --- a/Nominal/ExCoreHaskell.thy Fri Mar 26 16:46:40 2010 +0100 +++ b/Nominal/ExCoreHaskell.thy Fri Mar 26 17:01:22 2010 +0100 @@ -194,7 +194,7 @@ apply (simp add: alphas) apply (simp add: perm_bv2[symmetric]) apply (simp add: eqvts[symmetric]) - apply (simp add: supp_Abs) + apply (simp add: supp_abs) apply (simp add: fv_supp) apply (simp add: alpha_perm_bn) apply (rule supp_perm_eq[symmetric]) @@ -394,7 +394,7 @@ and s="TAll (pa \ p \ tvar) (p \ tkind) (pa \ p \ ty)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ ty) - {atom (pa \ p \ tvar)}" and s="pa \ (p \ supp ty - {p \ atom tvar})" in subst) apply (simp add: eqvts) @@ -422,7 +422,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast (* GOAL2 *) @@ -434,7 +434,7 @@ and s="CAll (pa \ p \ tvar) (p \ ckind) (pa \ p \ co)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ co) - {atom (pa \ p \ tvar)}" and s="pa \ (p \ supp co - {p \ atom tvar})" in subst) apply (simp add: eqvts) @@ -462,7 +462,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast @@ -475,7 +475,7 @@ and s="LAMT (pa \ p \ tvar) (p \ tkind) (pa \ p \ trm)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ trm) - {atom (pa \ p \ tvar)}" and s="pa \ (p \ supp trm - {p \ atom tvar})" in subst) apply (simp add: eqvts) @@ -503,7 +503,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast (* GOAL4 a copy-and-paste *) @@ -515,7 +515,7 @@ and s="LAMC (pa \ p \ tvar) (p \ ckind) (pa \ p \ trm)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ trm) - {atom (pa \ p \ tvar)}" and s="pa \ (p \ supp trm - {p \ atom tvar})" in subst) apply (simp add: eqvts) @@ -543,7 +543,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast @@ -556,7 +556,7 @@ and s="Lam (pa \ p \ var) (p \ ty) (pa \ p \ trm)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ trm) - {atom (pa \ p \ var)}" and s="pa \ (p \ supp trm - {p \ atom var})" in subst) apply (simp add: eqvts) @@ -584,7 +584,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast @@ -597,7 +597,7 @@ and s="Let (pa \ p \ var) (p \ ty) (p \ trm1) (pa \ p \ trm2)" in subst) apply (simp only: eq_iff) apply (rule_tac x="-pa" in exI) - apply (simp add: alphas eqvts eqvts_raw supp_Abs fv_supp) + apply (simp add: alphas eqvts eqvts_raw supp_abs fv_supp) apply (rule_tac t="supp (pa \ p \ trm2) - {atom (pa \ p \ var)}" and s="pa \ (p \ supp trm2 - {p \ atom var})" in subst) apply (simp add: eqvts) @@ -626,7 +626,7 @@ apply (simp add: finite_supp) apply (simp add: finite_supp) apply (simp add: fresh_def) - apply (simp only: supp_Abs eqvts) + apply (simp only: supp_abs eqvts) apply blast (* MAIN ACons Goal *) @@ -647,10 +647,10 @@ apply (rule at_set_avoiding2) apply (simp add: fin_bv) apply (simp add: finite_supp) - apply (simp add: supp_Abs) + apply (simp add: supp_abs) apply (rule finite_Diff) apply (simp add: finite_supp) - apply (simp add: fresh_star_def fresh_def supp_Abs eqvts) + apply (simp add: fresh_star_def fresh_def supp_abs eqvts) done then have b: "P1 a (0 \ tkind)" and "P2 b (0 \ ckind)" "P3 c (0 \ ty)" and "P4 d (0 \ ty_lst)" and "P5 e (0 \ co)" and "P6 f (0 \ co_lst)" and "P7 g (0 \ trm)" and "P8 h (0 \ assoc_lst)" by (blast+) moreover have "P9 i (permute_bv 0 (0 \ pat))" and "P10 j (permute_bv_vt 0 (0 \ vt_lst))" and "P11 k (permute_bv_tvtk 0 (0 \ tvtk_lst))" and "P12 l (permute_bv_tvck 0 (0 \ tvck_lst))" using a1 a2 a3 a4 by (blast+)