author | huffman |
Thu, 08 Jan 2009 10:43:09 -0800 | |
changeset 29409 | f0a8fe83bc07 |
parent 29408 | 6d10cf26b5dc |
child 29410 | 97916a925a69 |
--- a/src/HOL/Ring_and_Field.thy Thu Jan 08 10:26:50 2009 -0800 +++ b/src/HOL/Ring_and_Field.thy Thu Jan 08 10:43:09 2009 -0800 @@ -319,6 +319,9 @@ then show "- x dvd y" .. qed +lemma dvd_diff: "x dvd y \<Longrightarrow> x dvd z \<Longrightarrow> x dvd (y - z)" + by (simp add: diff_minus dvd_add dvd_minus_iff) + end class ring_no_zero_divisors = ring + no_zero_divisors