fixed proofs in Abs.thy
authorChristian Urban <urbanc@in.tum.de>
Wed, 03 Feb 2010 12:31:58 +0100
changeset 1039 0d832c36b1bb
parent 1038 6911934c98c7
child 1041 21c2936190c7
child 1043 534d4c604f80
fixed proofs in Abs.thy
Quot/Nominal/Abs.thy
Quot/Nominal/Nominal2_Eqvt.thy
Quot/Nominal/Terms.thy
Quot/Nominal/nominal_thmdecls.ML
--- a/Quot/Nominal/Abs.thy	Wed Feb 03 12:13:22 2010 +0100
+++ b/Quot/Nominal/Abs.thy	Wed Feb 03 12:31:58 2010 +0100
@@ -133,17 +133,18 @@
   assumes a: "\<And>x. pi \<bullet> (f x) = f (pi \<bullet> x)"
   and     b: "\<exists>pia. ({atom a}, t) \<approx>gen (\<lambda>x1 x2. R x1 x2 \<and> R (pi \<bullet> x1) (pi \<bullet> x2)) f pia ({atom b}, s)"
   shows  "\<exists>pia. ({atom (pi \<bullet> a)}, pi \<bullet> t) \<approx>gen R f pia ({atom (pi \<bullet> b)}, pi \<bullet> s)"
-  using b apply -
+  using b 
+  apply -
   apply(erule exE)
   apply(rule_tac x="pi \<bullet> pia" in exI)
   apply(simp add: alpha_gen.simps)
   apply(erule conjE)+
   apply(rule conjI)
   apply(rule_tac ?p1="- pi" in permute_eq_iff[THEN iffD1])
-  apply(simp add: a[symmetric] atom_eqvt eqvts)
+  apply(simp add: a[symmetric] atom_eqvt Diff_eqvt insert_eqvt set_eqvt empty_eqvt)
   apply(rule conjI)
   apply(rule_tac ?p1="- pi" in fresh_star_permute_iff[THEN iffD1])
-  apply(simp add: a[symmetric] eqvts atom_eqvt)
+  apply(simp add: a[symmetric] atom_eqvt Diff_eqvt insert_eqvt set_eqvt empty_eqvt)
   apply(subst permute_eqvt[symmetric])
   apply(simp)
   done
--- a/Quot/Nominal/Nominal2_Eqvt.thy	Wed Feb 03 12:13:22 2010 +0100
+++ b/Quot/Nominal/Nominal2_Eqvt.thy	Wed Feb 03 12:31:58 2010 +0100
@@ -244,7 +244,7 @@
 
 declare permute_pure [eqvt]
 
-thm eqvt
+(* thm eqvts *)
 
 text {* helper lemmas for the eqvt_tac *}
 
--- a/Quot/Nominal/Terms.thy	Wed Feb 03 12:13:22 2010 +0100
+++ b/Quot/Nominal/Terms.thy	Wed Feb 03 12:31:58 2010 +0100
@@ -646,13 +646,7 @@
 quotient_type 
   qtrm4 = trm4 / alpha4 and
   qtrm4list = "trm4 list" / alpha4list
-  by (simp_all add: alpha4_equivp alpha4list_equivp)
-
-
-
-
-
-
+  by (simp_all add: alpha4_equivp alpha4list_equivp
 
 
 datatype rtrm5 =
--- a/Quot/Nominal/nominal_thmdecls.ML	Wed Feb 03 12:13:22 2010 +0100
+++ b/Quot/Nominal/nominal_thmdecls.ML	Wed Feb 03 12:31:58 2010 +0100
@@ -113,7 +113,7 @@
   Attrib.setup @{binding "eqvt_force"} (Attrib.add_del eqvt_force_add eqvt_force_del) 
     (cat_lines ["declaration of equivariance lemmas - they will will be", 
                 "added/deleted directly to the eqvt thm-list"]) #>
-  PureThy.add_thms_dynamic (@{binding "eqvt"}, content);
+  PureThy.add_thms_dynamic (@{binding "eqvts"}, content);
 
 
 end;