merged
authorwenzelm
Sat, 10 Sep 2011 23:28:58 +0200
changeset 44874 cd60c421b029
parent 44873 045fedcfadf6 (diff)
parent 44872 a98ef45122f3 (current diff)
child 44875 68615b48cc12
merged
--- a/src/HOL/Library/Quotient_Set.thy	Sat Sep 10 23:27:32 2011 +0200
+++ b/src/HOL/Library/Quotient_Set.thy	Sat Sep 10 23:28:58 2011 +0200
@@ -76,10 +76,20 @@
 
 lemma mem_prs[quot_preserve]:
   assumes "Quotient R Abs Rep"
+  shows "(Rep ---> (Abs ---> id) ---> id) (op \<in>) = op \<in>"
+using Quotient_abs_rep[OF assms]
+by(simp add: fun_eq_iff mem_def)
+
+lemma mem_rsp[quot_respect]:
+  "(R ===> (R ===> op =) ===> op =) (op \<in>) (op \<in>)"
+  by (auto simp add: fun_eq_iff mem_def intro!: fun_relI elim: fun_relE)
+
+lemma mem_prs2:
+  assumes "Quotient R Abs Rep"
   shows "(Rep ---> op -` Abs ---> id) op \<in> = op \<in>"
   by (simp add: fun_eq_iff Quotient_abs_rep[OF assms])
 
-lemma mem_rsp[quot_respect]:
+lemma mem_rsp2:
   shows "(R ===> set_rel R ===> op =) op \<in> op \<in>"
   by (intro fun_relI) (simp add: set_rel_def)