Added code lemma for <
authorberghofe
Mon, 06 Jun 2005 11:30:57 +0200
changeset 16295 cd7a83dae4f9
parent 16294 97c9f2c1de3d
child 16296 f05c81817ec6
Added code lemma for <
src/HOL/Library/EfficientNat.thy
--- a/src/HOL/Library/EfficientNat.thy	Mon Jun 06 10:21:53 2005 +0200
+++ b/src/HOL/Library/EfficientNat.thy	Mon Jun 06 11:30:57 2005 +0200
@@ -65,6 +65,8 @@
   by (simp add: zdiv_int [symmetric])
 lemma [code]: "m mod n = nat (int m mod int n)"
   by (simp add: zmod_int [symmetric])
+lemma [code]: "(m < n) = (int m < int n)"
+  by simp
 
 subsection {* Preprocessors *}