--- a/src/HOL/Library/Quotient_Option.thy Mon Nov 15 14:14:38 2010 +0100
+++ b/src/HOL/Library/Quotient_Option.thy Mon Nov 15 14:59:21 2010 +0100
@@ -9,7 +9,7 @@
begin
fun
- option_rel :: "('a \<Rightarrow> 'a \<Rightarrow> bool) \<Rightarrow> 'a option \<Rightarrow> 'a option \<Rightarrow> bool"
+ option_rel :: "('a \<Rightarrow> 'b \<Rightarrow> bool) \<Rightarrow> 'a option \<Rightarrow> 'b option \<Rightarrow> bool"
where
"option_rel R None None = True"
| "option_rel R (Some x) None = False"
--- a/src/HOL/Library/Quotient_Sum.thy Mon Nov 15 14:14:38 2010 +0100
+++ b/src/HOL/Library/Quotient_Sum.thy Mon Nov 15 14:59:21 2010 +0100
@@ -9,7 +9,7 @@
begin
fun
- sum_rel :: "('a \<Rightarrow> 'a \<Rightarrow> bool) \<Rightarrow> ('b \<Rightarrow> 'b \<Rightarrow> bool) \<Rightarrow> 'a + 'b \<Rightarrow> 'a + 'b \<Rightarrow> bool"
+ sum_rel :: "('a \<Rightarrow> 'c \<Rightarrow> bool) \<Rightarrow> ('b \<Rightarrow> 'd \<Rightarrow> bool) \<Rightarrow> 'a + 'b \<Rightarrow> 'c + 'd \<Rightarrow> bool"
where
"sum_rel R1 R2 (Inl a1) (Inl b1) = R1 a1 b1"
| "sum_rel R1 R2 (Inl a1) (Inr b2) = False"