alternative function definition;
authorbauerg
Tue, 21 Nov 2000 11:31:45 +0100
changeset 10499 2f33d0fd242e
parent 10498 777d6bde7b47
child 10500 df47f58b8253
alternative function definition;
src/HOL/Library/Quotient.thy
--- a/src/HOL/Library/Quotient.thy	Tue Nov 21 10:37:04 2000 +0100
+++ b/src/HOL/Library/Quotient.thy	Tue Nov 21 11:31:45 2000 +0100
@@ -206,4 +206,10 @@
   show ?thesis by (rule quot_cond_function)
 qed
 
+theorem quot_function':
+  "(!!X Y. f X Y == g (pick X) (pick Y)) ==>
+    (!!x x' y y'. x \<sim> x' ==> y \<sim> y' ==> g x y = g x' y') ==>
+    f \<lfloor>a\<rfloor> \<lfloor>b\<rfloor> = g a b"
+  by  (rule quot_function) (simp only: quot_equality)+
+
 end