added axclass ordered_field;
authorwenzelm
Sat, 18 Nov 2000 00:32:08 +0100
changeset 10488 adeb9df940b6
parent 10487 97d25c125c61
child 10489 a4684cf28edf
added axclass ordered_field;
src/HOL/Library/Ring_and_Field.thy
--- a/src/HOL/Library/Ring_and_Field.thy	Fri Nov 17 18:50:52 2000 +0100
+++ b/src/HOL/Library/Ring_and_Field.thy	Sat Nov 18 00:32:08 2000 +0100
@@ -33,4 +33,9 @@
   left_inverse: "a \<noteq> 0 ==> inverse a * a = #1"
   divides_inverse: "b \<noteq> 0 ==> a / b = a * inverse b"
 
+
+axclass ordered_field < field, linorder
+  add_left_mono: "a \<le> b ==> c + a \<le> c + b"
+  mult_left_mono: "a \<le> b ==> 0 < c ==> c * a \<le> c * b"
+
 end