Generalized types of some of the operators (thanks to Norbert Voelker)
authornipkow
Sat, 27 Apr 1996 12:09:21 +0200
changeset 1695 0f9b9eda2a2c
parent 1694 3452958f85a8
child 1696 e84bff5c519b
Generalized types of some of the operators (thanks to Norbert Voelker)
src/HOL/Relation.thy
--- a/src/HOL/Relation.thy	Sat Apr 27 12:07:31 1996 +0200
+++ b/src/HOL/Relation.thy	Sat Apr 27 12:09:21 1996 +0200
@@ -11,10 +11,10 @@
     id          :: "('a * 'a)set"               (*the identity relation*)
     O           :: "[('b * 'c)set, ('a * 'b)set] => ('a * 'c)set" (infixr 60)
     trans       :: "('a * 'a)set => bool"       (*transitivity predicate*)
-    converse    :: "('a * 'b)set => ('b * 'a)set"
-    "^^"        :: "[('a * 'b) set, 'a set] => 'b set" (infixl 90)
-    Domain      :: "('a * 'b) set => 'a set"
-    Range       :: "('a * 'b) set => 'b set"
+    converse    :: "('a*'b) set => ('b*'a) set"
+    "^^"        :: "[('a*'b) set,'a set] => 'b set" (infixl 90)
+    Domain      :: "('a*'b) set => 'a set"
+    Range       :: "('a*'b) set => 'b set"
 defs
     id_def      "id == {p. ? x. p = (x,x)}"
     comp_def    "r O s == {(x,z). ? y. (x,y):s & (y,z):r}"