src/HOL/Fields.thy
changeset 56571 f4635657d66f
parent 56541 0e3abadbef39
child 57512 cc97b347b301
--- a/src/HOL/Fields.thy	Mon Apr 14 10:55:56 2014 +0200
+++ b/src/HOL/Fields.thy	Mon Apr 14 13:08:17 2014 +0200
@@ -1083,6 +1083,21 @@
   "(b / a < 1) = ((0 < a & b < a) | (a < 0 & a < b) | a=0)"
 by (auto simp add: divide_less_eq)
 
+lemma divide_nonneg_nonneg [simp]:
+  "0 \<le> x \<Longrightarrow> 0 \<le> y \<Longrightarrow> 0 \<le> x / y"
+  by (auto simp add: divide_simps)
+
+lemma divide_nonpos_nonpos:
+  "x \<le> 0 \<Longrightarrow> y \<le> 0 \<Longrightarrow> 0 \<le> x / y"
+  by (auto simp add: divide_simps)
+
+lemma divide_nonneg_nonpos:
+  "0 \<le> x \<Longrightarrow> y \<le> 0 \<Longrightarrow> x / y \<le> 0"
+  by (auto simp add: divide_simps)
+
+lemma divide_nonpos_nonneg:
+  "x \<le> 0 \<Longrightarrow> 0 \<le> y \<Longrightarrow> x / y \<le> 0"
+  by (auto simp add: divide_simps)
 
 text {*Conditional Simplification Rules: No Case Splits*}