better to have distinguished class for preorders
authorhaftmann
Thu, 07 May 2009 16:22:34 +0200
changeset 31061 1d117af9f9f3
parent 31060 75d7c7cc8bdb
child 31062 878e00798148
better to have distinguished class for preorders
src/HOL/Library/Preorder.thy
--- a/src/HOL/Library/Preorder.thy	Thu May 07 12:17:17 2009 +0200
+++ b/src/HOL/Library/Preorder.thy	Thu May 07 16:22:34 2009 +0200
@@ -6,7 +6,7 @@
 imports Orderings
 begin
 
-context preorder
+class preorder_equiv = preorder
 begin
 
 definition equiv :: "'a \<Rightarrow> 'a \<Rightarrow> bool" where