src/HOL/RComplete.thy
changeset 30102 799b687e4aac
parent 30097 57df8626c23b
child 30122 1c912a9d8200
--- a/src/HOL/RComplete.thy	Wed Feb 25 11:30:46 2009 -0800
+++ b/src/HOL/RComplete.thy	Thu Feb 26 06:21:31 2009 -0800
@@ -501,13 +501,13 @@
 unfolding real_of_nat_def by simp
 
 lemma floor_minus_real_of_nat [simp]: "floor (- real (n::nat)) = - int n"
-unfolding real_of_nat_def by simp
+unfolding real_of_nat_def by (simp add: floor_minus)
 
 lemma floor_real_of_int [simp]: "floor (real (n::int)) = n"
 unfolding real_of_int_def by simp
 
 lemma floor_minus_real_of_int [simp]: "floor (- real (n::int)) = - n"
-unfolding real_of_int_def by simp
+unfolding real_of_int_def by (simp add: floor_minus)
 
 lemma real_lb_ub_int: " \<exists>n::int. real n \<le> r & r < real (n+1)"
 unfolding real_of_int_def by (rule floor_exists)