src/HOL/Num.thy
changeset 47218 2b652cbadde1
parent 47216 4d0878d54ca5
child 47220 52426c62b5d0
--- a/src/HOL/Num.thy	Fri Mar 30 11:16:35 2012 +0200
+++ b/src/HOL/Num.thy	Fri Mar 30 11:52:26 2012 +0200
@@ -919,6 +919,12 @@
 lemma le_Suc_numeral [simp]: "Suc n \<le> numeral k \<longleftrightarrow> n \<le> pred_numeral k"
   by (simp add: numeral_eq_Suc)
 
+lemma diff_Suc_numeral [simp]: "Suc n - numeral k = n - pred_numeral k"
+  by (simp add: numeral_eq_Suc)
+
+lemma diff_numeral_Suc [simp]: "numeral k - Suc n = pred_numeral k - n"
+  by (simp add: numeral_eq_Suc)
+
 lemma max_Suc_numeral [simp]:
   "max (Suc n) (numeral k) = Suc (max n (pred_numeral k))"
   by (simp add: numeral_eq_Suc)