equal
deleted
inserted
replaced
1074 qed auto |
1074 qed auto |
1075 |
1075 |
1076 lemma real_of_nat_div4: "real (n div x) \<le> real n / real x" for n x :: nat |
1076 lemma real_of_nat_div4: "real (n div x) \<le> real n / real x" for n x :: nat |
1077 using real_of_nat_div2 [of n x] by simp |
1077 using real_of_nat_div2 [of n x] by simp |
1078 |
1078 |
|
1079 lemma real_binomial_eq_mult_binomial_Suc: |
|
1080 assumes "k \<le> n" |
|
1081 shows "real(n choose k) = (n + 1 - k) / (n + 1) * (Suc n choose k)" |
|
1082 using assms |
|
1083 by (simp add: of_nat_binomial_eq_mult_binomial_Suc [of k n] add.commute of_nat_diff) |
|
1084 |
1079 |
1085 |
1080 subsection \<open>The Archimedean Property of the Reals\<close> |
1086 subsection \<open>The Archimedean Property of the Reals\<close> |
1081 |
1087 |
1082 lemma real_arch_inverse: "0 < e \<longleftrightarrow> (\<exists>n::nat. n \<noteq> 0 \<and> 0 < inverse (real n) \<and> inverse (real n) < e)" |
1088 lemma real_arch_inverse: "0 < e \<longleftrightarrow> (\<exists>n::nat. n \<noteq> 0 \<and> 0 < inverse (real n) \<and> inverse (real n) < e)" |
1083 using reals_Archimedean[of e] less_trans[of 0 "1 / real n" e for n::nat] |
1089 using reals_Archimedean[of e] less_trans[of 0 "1 / real n" e for n::nat] |