changeset 62128 | 3201ddb00097 |
parent 61944 | 5d06ecfdb472 |
child 62347 | 2230b7047376 |
--- a/src/HOL/Int.thy Mon Jan 11 15:20:17 2016 +0100 +++ b/src/HOL/Int.thy Mon Jan 11 16:38:39 2016 +0100 @@ -314,6 +314,12 @@ "of_int z < 1 \<longleftrightarrow> z < 1" using of_int_less_iff [of z 1] by simp +lemma of_int_pos: "z > 0 \<Longrightarrow> of_int z > 0" + by simp + +lemma of_int_nonneg: "z \<ge> 0 \<Longrightarrow> of_int z \<ge> 0" + by simp + end text \<open>Comparisons involving @{term of_int}.\<close>