Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  stirlinglem11 Structured version   Visualization version   GIF version

Theorem stirlinglem11 47233
Description: 𝐵 is decreasing. (Contributed by Glauco Siliprandi, 29-Jun-2017.)
Hypotheses
Ref Expression
stirlinglem11.1 𝐴 = (𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
stirlinglem11.2 𝐵 = (𝑛 ∈ ℕ ↦ (log‘(𝐴‘𝑛)))
stirlinglem11.3 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))))
Assertion
Ref Expression
stirlinglem11 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) < (𝐵‘𝑁))
Distinct variable groups:   𝑘,𝑛   𝑛,𝐾   𝑘,𝑁,𝑛
Allowed substitution hints:   𝐴(𝑘, 𝑛)   𝐵(𝑘, 𝑛)   𝐾(𝑘)

Proof of Theorem stirlinglem11
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 0red 11321 . . 3 (𝑁 ∈ ℕ → 0 ∈ ℝ)
2 stirlinglem11.3 . . . . . 6 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))))
32a1i 11 . . . . 5 (𝑁 ∈ ℕ → 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)))))
4 simpr 490 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → 𝑘 = 1)
54oveq2d 7443 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (2 · 𝑘) = (2 · 1))
65oveq1d 7442 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((2 · 𝑘) + 1) = ((2 · 1) + 1))
76oveq2d 7443 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 1) + 1)))
85oveq2d 7443 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 1)))
97, 8oveq12d 7445 . . . . 5 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
10 1nn 12356 . . . . . 6 1 ∈ ℕ
1110a1i 11 . . . . 5 (𝑁 ∈ ℕ → 1 ∈ ℕ)
12 2cnd 12431 . . . . . . . . 9 (𝑁 ∈ ℕ → 2 ∈ ℂ)
13 1cnd 11312 . . . . . . . . 9 (𝑁 ∈ ℕ → 1 ∈ ℂ)
1412, 13mulcld 11339 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℂ)
1514, 13addcld 11338 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℂ)
16 2t1e2 12515 . . . . . . . . . . 11 (2 · 1) = 2
1716oveq1i 7437 . . . . . . . . . 10 ((2 · 1) + 1) = (2 + 1)
18 2p1e3 12494 . . . . . . . . . 10 (2 + 1) = 3
1917, 18eqtri 2786 . . . . . . . . 9 ((2 · 1) + 1) = 3
20 3ne0 12462 . . . . . . . . 9 3 ≠ 0
2119, 20eqnetri 3028 . . . . . . . 8 ((2 · 1) + 1) ≠ 0
2221a1i 11 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ≠ 0)
2315, 22reccld 12096 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℂ)
24 nncn 12353 . . . . . . . . . 10 (𝑁 ∈ ℕ → 𝑁 ∈ ℂ)
2512, 24mulcld 11339 . . . . . . . . 9 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℂ)
2625, 13addcld 11338 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℂ)
27 1red 11319 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 ∈ ℝ)
28 2re 12427 . . . . . . . . . . . . 13 2 ∈ ℝ
2928a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ)
30 nnre 12352 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
3129, 30remulcld 11349 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ)
3231, 27readdcld 11348 . . . . . . . . . 10 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ)
33 0lt1 11848 . . . . . . . . . . 11 0 < 1
3433a1i 11 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 < 1)
35 2rp 13135 . . . . . . . . . . . . 13 2 ∈ ℝ+
3635a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ+)
37 nnrp 13142 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ+)
3836, 37rpmulcld 13190 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ+)
3927, 38ltaddrp2d 13208 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 < ((2 · 𝑁) + 1))
401, 27, 32, 34, 39lttrd 11481 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 < ((2 · 𝑁) + 1))
4140gt0ne0d 11890 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ≠ 0)
4226, 41reccld 12096 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
43 2nn0 12633 . . . . . . . . 9 2 ∈ ℕ0
4443a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℕ0)
45 1nn0 12632 . . . . . . . . 9 1 ∈ ℕ0
4645a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℕ0)
4744, 46nn0mulcld 12682 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℕ0)
4842, 47expcld 14299 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℂ)
4923, 48mulcld 11339 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℂ)
503, 9, 11, 49fvmptd 7009 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
51 1re 11318 . . . . . . . . 9 1 ∈ ℝ
5228, 51remulcli 11335 . . . . . . . 8 (2 · 1) ∈ ℝ
5352, 51readdcli 11334 . . . . . . 7 ((2 · 1) + 1) ∈ ℝ
5453, 21rereccli 12092 . . . . . 6 (1 / ((2 · 1) + 1)) ∈ ℝ
5554a1i 11 . . . . 5 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ)
5632, 41rereccld 12154 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
5756, 47reexpcld 14316 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ)
5855, 57remulcld 11349 . . . 4 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ)
5950, 58eqeltrd 2863 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ)
60 stirlinglem11.1 . . . . . . . 8 𝐴 = (𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6160stirlinglem2 47224 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘𝑁) ∈ ℝ+)
6261relogcld 26963 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘𝑁)) ∈ ℝ)
63 nfcv 2925 . . . . . . 7 Ⅎ𝑛𝑁
64 nfcv 2925 . . . . . . . 8 Ⅎ𝑛log
65 nfmpt1 5206 . . . . . . . . . 10 Ⅎ𝑛(𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6660, 65nfcxfr 2923 . . . . . . . . 9 Ⅎ𝑛𝐴
6766, 63nffv 6903 . . . . . . . 8 Ⅎ𝑛(𝐴‘𝑁)
6864, 67nffv 6903 . . . . . . 7 Ⅎ𝑛(log‘(𝐴‘𝑁))
69 2fveq3 6898 . . . . . . 7 (𝑛 = 𝑁 → (log‘(𝐴‘𝑛)) = (log‘(𝐴‘𝑁)))
70 stirlinglem11.2 . . . . . . 7 𝐵 = (𝑛 ∈ ℕ ↦ (log‘(𝐴‘𝑛)))
7163, 68, 69, 70fvmptf 7023 . . . . . 6 ((𝑁 ∈ ℕ ∧ (log‘(𝐴‘𝑁)) ∈ ℝ) → (𝐵‘𝑁) = (log‘(𝐴‘𝑁)))
7262, 71mpdan 700 . . . . 5 (𝑁 ∈ ℕ → (𝐵‘𝑁) = (log‘(𝐴‘𝑁)))
7372, 62eqeltrd 2863 . . . 4 (𝑁 ∈ ℕ → (𝐵‘𝑁) ∈ ℝ)
74 peano2nn 12357 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 + 1) ∈ ℕ)
7560stirlinglem2 47224 . . . . . . . 8 ((𝑁 + 1) ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7674, 75syl 18 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7776relogcld 26963 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ)
78 nfcv 2925 . . . . . . 7 Ⅎ𝑛(𝑁 + 1)
7966, 78nffv 6903 . . . . . . . 8 Ⅎ𝑛(𝐴‘(𝑁 + 1))
8064, 79nffv 6903 . . . . . . 7 Ⅎ𝑛(log‘(𝐴‘(𝑁 + 1)))
81 2fveq3 6898 . . . . . . 7 (𝑛 = (𝑁 + 1) → (log‘(𝐴‘𝑛)) = (log‘(𝐴‘(𝑁 + 1))))
8278, 80, 81, 70fvmptf 7023 . . . . . 6 (((𝑁 + 1) ∈ ℕ ∧ (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ) → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8374, 77, 82syl2anc 596 . . . . 5 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8483, 77eqeltrd 2863 . . . 4 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℝ)
8573, 84resubcld 11754 . . 3 (𝑁 ∈ ℕ → ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℝ)
8629, 27remulcld 11349 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℝ)
87 0le2 12455 . . . . . . . . . 10 0 ≤ 2
8887a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 2)
89 0le1 11849 . . . . . . . . . 10 0 ≤ 1
9089a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 1)
9129, 27, 88, 90mulge0d 11903 . . . . . . . 8 (𝑁 ∈ ℕ → 0 ≤ (2 · 1))
9286, 91ge0p1rpd 13204 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℝ+)
9392rpreccld 13184 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ+)
9437rpge0d 13178 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 ≤ 𝑁)
9529, 30, 88, 94mulge0d 11903 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ (2 · 𝑁))
9631, 95ge0p1rpd 13204 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ+)
9796rpreccld 13184 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ+)
98 2z 12738 . . . . . . . . 9 2 ∈ ℤ
9998a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℤ)
100 1z 12736 . . . . . . . . 9 1 ∈ ℤ
101100a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℤ)
10299, 101zmulcld 12819 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℤ)
10397, 102rpexpcld 14401 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ+)
10493, 103rpmulcld 13190 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ+)
10550, 104eqeltrd 2863 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ+)
106105rpgt0d 13177 . . 3 (𝑁 ∈ ℕ → 0 < (𝐾‘1))
10785, 59resubcld 11754 . . . . 5 (𝑁 ∈ ℕ → (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) ∈ ℝ)
108 eqid 2763 . . . . . . 7 (ℤ≥‘(1 + 1)) = (ℤ≥‘(1 + 1))
109101peano2zd 12816 . . . . . . 7 (𝑁 ∈ ℕ → (1 + 1) ∈ ℤ)
110 nnuz 13014 . . . . . . . 8 ℕ = (ℤ≥‘1)
1112a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)))))
112 oveq2 7435 . . . . . . . . . . . . . 14 (𝑘 = 𝑗 → (2 · 𝑘) = (2 · 𝑗))
113112oveq1d 7442 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → ((2 · 𝑘) + 1) = ((2 · 𝑗) + 1))
114113oveq2d 7443 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 𝑗) + 1)))
115112oveq2d 7443 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
116114, 115oveq12d 7445 . . . . . . . . . . 11 (𝑘 = 𝑗 → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
117116adantl 487 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ 𝑘 = 𝑗) → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
118 simpr 490 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ)
119 2cnd 12431 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℂ)
120 nncn 12353 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → 𝑗 ∈ ℂ)
121120adantl 487 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℂ)
122119, 121mulcld 11339 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℂ)
123 1cnd 11312 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℂ)
124122, 123addcld 11338 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℂ)
125 0red 11321 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 ∈ ℝ)
126 1red 11319 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℝ)
12728a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ)
128 nnre 12352 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ)
129128adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ)
130127, 129remulcld 11349 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ)
131130, 126readdcld 11348 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℝ)
13233a1i 11 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < 1)
13335a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ+)
134 nnrp 13142 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ+)
135134adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ+)
136133, 135rpmulcld 13190 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ+)
137126, 136ltaddrp2d 13208 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 < ((2 · 𝑗) + 1))
138125, 126, 131, 132, 137lttrd 11481 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < ((2 · 𝑗) + 1))
139138gt0ne0d 11890 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
140124, 139reccld 12096 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
14124adantr 486 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑁 ∈ ℂ)
142119, 141mulcld 11339 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑁) ∈ ℂ)
143142, 123addcld 11338 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ∈ ℂ)
14441adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ≠ 0)
145143, 144reccld 12096 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
14643a1i 11 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℕ0)
147 nnnn0 12623 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 𝑗 ∈ ℕ0)
148147adantl 487 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ0)
149146, 148nn0mulcld 12682 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℕ0)
150145, 149expcld 14299 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℂ)
151140, 150mulcld 11339 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
152111, 117, 118, 151fvmptd 7009 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾‘𝑗) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
153 0red 11321 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 ∈ ℝ)
154 1red 11319 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 ∈ ℝ)
15528a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ)
156155, 128remulcld 11349 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ)
157156, 154readdcld 11348 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ∈ ℝ)
15833a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 < 1)
15935a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ+)
160159, 134rpmulcld 13190 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ+)
161154, 160ltaddrp2d 13208 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 < ((2 · 𝑗) + 1))
162153, 154, 157, 158, 161lttrd 11481 . . . . . . . . . . . . 13 (𝑗 ∈ ℕ → 0 < ((2 · 𝑗) + 1))
163162gt0ne0d 11890 . . . . . . . . . . . 12 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ≠ 0)
164163adantl 487 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
165124, 164reccld 12096 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
166165, 150mulcld 11339 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
167152, 166eqeltrd 2863 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾‘𝑗) ∈ ℂ)
168 eqid 2763 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1)) = (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1))
16960, 70, 168, 2stirlinglem9 47231 . . . . . . . 8 (𝑁 ∈ ℕ → seq1( + , 𝐾) ⇝ ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
170110, 11, 167, 169clim2ser 15834 . . . . . . 7 (𝑁 ∈ ℕ → seq(1 + 1)( + , 𝐾) ⇝ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
171 peano2nn 12357 . . . . . . . . . . . . 13 (1 ∈ ℕ → (1 + 1) ∈ ℕ)
172 uznnssnn 13032 . . . . . . . . . . . . 13 ((1 + 1) ∈ ℕ → (ℤ≥‘(1 + 1)) ⊆ ℕ)
17310, 171, 172mp2b 10 . . . . . . . . . . . 12 (ℤ≥‘(1 + 1)) ⊆ ℕ
174173a1i 11 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (ℤ≥‘(1 + 1)) ⊆ ℕ)
175174sseld 3911 . . . . . . . . . 10 (𝑁 ∈ ℕ → (𝑗 ∈ (ℤ≥‘(1 + 1)) → 𝑗 ∈ ℕ))
176175imdistani 579 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ))
177176, 152syl 18 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (𝐾‘𝑗) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
17828a1i 11 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 2 ∈ ℝ)
179 eluzelre 12986 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 𝑗 ∈ ℝ)
180178, 179remulcld 11349 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → (2 · 𝑗) ∈ ℝ)
181 1red 11319 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 1 ∈ ℝ)
182180, 181readdcld 11348 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(1 + 1)) → ((2 · 𝑗) + 1) ∈ ℝ)
183173sseli 3908 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 𝑗 ∈ ℕ)
184183, 163syl 18 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(1 + 1)) → ((2 · 𝑗) + 1) ≠ 0)
185182, 184rereccld 12154 . . . . . . . . . 10 (𝑗 ∈ (ℤ≥‘(1 + 1)) → (1 / ((2 · 𝑗) + 1)) ∈ ℝ)
186185adantl 487 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (1 / ((2 · 𝑗) + 1)) ∈ ℝ)
18732adantr 486 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑁) + 1) ∈ ℝ)
18841adantr 486 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑁) + 1) ≠ 0)
189187, 188rereccld 12154 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
190176, 149syl 18 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑗) ∈ ℕ0)
191189, 190reexpcld 14316 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℝ)
192186, 191remulcld 11349 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℝ)
193177, 192eqeltrd 2863 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (𝐾‘𝑗) ∈ ℝ)
194 1red 11319 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 1 ∈ ℝ)
19528a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 2 ∈ ℝ)
196176, 129syl 18 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 𝑗 ∈ ℝ)
197195, 196remulcld 11349 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑗) ∈ ℝ)
19887a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 2)
199 0red 11321 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ∈ ℝ)
20087a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ≤ 2)
201 1p1e2 12476 . . . . . . . . . . . . . . 15 (1 + 1) = 2
202 eluzle 12988 . . . . . . . . . . . . . . 15 (𝑗 ∈ (ℤ≥‘(1 + 1)) → (1 + 1) ≤ 𝑗)
203201, 202eqbrtrrid 5143 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 2 ≤ 𝑗)
204199, 178, 179, 200, 203letrd 11477 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ≤ 𝑗)
205204adantl 487 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 𝑗)
206195, 196, 198, 205mulge0d 11903 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (2 · 𝑗))
207197, 206ge0p1rpd 13204 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑗) + 1) ∈ ℝ+)
20889a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 1)
209194, 207, 208divge0d 13214 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑗) + 1)))
21030adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 𝑁 ∈ ℝ)
211195, 210remulcld 11349 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑁) ∈ ℝ)
21294adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 𝑁)
213195, 210, 198, 212mulge0d 11903 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (2 · 𝑁))
214211, 213ge0p1rpd 13204 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑁) + 1) ∈ ℝ+)
215194, 214, 208divge0d 13214 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑁) + 1)))
216189, 190, 215expge0d 14317 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
217186, 191, 209, 216mulge0d 11903 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
218217, 177breqtrrd 5135 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (𝐾‘𝑗))
219108, 109, 170, 193, 218iserge0 15840 . . . . . 6 (𝑁 ∈ ℕ → 0 ≤ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
220 seq1 14167 . . . . . . . 8 (1 ∈ ℤ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
221100, 220mp1i 14 . . . . . . 7 (𝑁 ∈ ℕ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
222221oveq2d 7443 . . . . . 6 (𝑁 ∈ ℕ → (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)) = (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
223219, 222breqtrd 5133 . . . . 5 (𝑁 ∈ ℕ → 0 ≤ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
2241, 107, 59, 223leadd1dd 11940 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) ≤ ((((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)))
22550, 49eqeltrd 2863 . . . . 5 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℂ)
226225addlidd 11521 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) = (𝐾‘1))
22773recnd 11347 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘𝑁) ∈ ℂ)
22884recnd 11347 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℂ)
229227, 228subcld 11679 . . . . 5 (𝑁 ∈ ℕ → ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℂ)
230229, 225npcand 11683 . . . 4 (𝑁 ∈ ℕ → ((((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)) = ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
231224, 226, 2303brtr3d 5138 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ≤ ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
2321, 59, 85, 106, 231ltletrd 11480 . 2 (𝑁 ∈ ℕ → 0 < ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
23384, 73posdifd 11913 . 2 (𝑁 ∈ ℕ → ((𝐵‘(𝑁 + 1)) < (𝐵‘𝑁) ↔ 0 < ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1)))))
234232, 233mpbird 260 1 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) < (𝐵‘𝑁))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146   ≠ wne 2958   ⊆ wss 3899   class class class wbr 5105   ↦ cmpt 5188  ‘cfv 6546  (class class class)co 7427  ℂcc 11208  ℝcr 11209  0cc0 11210  1c1 11211   + caddc 11213   · cmul 11215   < clt 11353   ≤ cle 11354   − cmin 11551   / cdiv 11983  ℕcn 12345  2c2 12407  3c3 12408  ℕ0cn0 12616  ℤcz 12703  ℤ≥cuz 12975  ℝ+crp 13130  seqcseq 14154  ↑cexp 14214  !cfa 14427  √csqrt 15412  eceu 16240  logclog 26894
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5234  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-inf2 9652  ax-cnex 11266  ax-resscn 11267  ax-1cn 11268  ax-icn 11269  ax-addcl 11270  ax-addrcl 11271  ax-mulcl 11272  ax-mulrcl 11273  ax-mulcom 11274  ax-addass 11275  ax-mulass 11276  ax-distr 11277  ax-i2m1 11278  ax-1ne0 11279  ax-1rid 11280  ax-rnegex 11281  ax-rrecex 11282  ax-cnre 11283  ax-pre-lttri 11284  ax-pre-lttrn 11285  ax-pre-ltadd 11286  ax-pre-mulgt0 11287  ax-pre-sup 11288  ax-addf 11289
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4838  df-uni 4870  df-int 4910  df-iun 4955  df-iin 4956  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-se 5608  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-isom 6555  df-riota 7384  df-ov 7430  df-oprab 7431  df-mpo 7432  df-of 7700  df-om 7885  df-1st 8008  df-2nd 8009  df-supp 8188  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-1o 8487  df-2o 8488  df-oadd 8491  df-er 8728  df-map 8860  df-pm 8861  df-ixp 8937  df-en 8985  df-dom 8986  df-sdom 8987  df-fin 8988  df-fsupp 9365  df-fi 9413  df-sup 9444  df-inf 9445  df-oi 9514  df-card 10030  df-pnf 11355  df-mnf 11356  df-xr 11357  df-ltxr 11358  df-le 11359  df-sub 11553  df-neg 11554  df-div 11984  df-nn 12346  df-2 12415  df-3 12416  df-4 12417  df-5 12418  df-6 12419  df-7 12420  df-8 12421  df-9 12422  df-n0 12617  df-xnn0 12690  df-z 12704  df-dec 12825  df-uz 12976  df-q 13086  df-rp 13131  df-xneg 13251  df-xadd 13252  df-xmul 13253  df-ioo 13490  df-ioc 13491  df-ico 13492  df-icc 13493  df-fz 13650  df-fzo 13799  df-fl 13942  df-mod 14020  df-seq 14155  df-exp 14215  df-fac 14428  df-bc 14457  df-hash 14485  df-shft 15232  df-cj 15278  df-re 15279  df-im 15280  df-sqrt 15414  df-abs 15415  df-limsup 15650  df-clim 15667  df-rlim 15668  df-sum 15866  df-ef 16245  df-e 16246  df-sin 16247  df-cos 16248  df-tan 16249  df-pi 16250  df-dvds 16435  df-struct 17337  df-sets 17354  df-slot 17372  df-ndx 17384  df-base 17400  df-ress 17421  df-plusg 17453  df-mulr 17454  df-starv 17455  df-sca 17456  df-vsca 17457  df-ip 17458  df-tset 17459  df-ple 17460  df-ds 17462  df-unif 17463  df-hom 17464  df-cco 17465  df-rest 17605  df-topn 17606  df-0g 17624  df-gsum 17625  df-topgen 17626  df-pt 17627  df-prds 17630  df-xrs 17686  df-qtop 17691  df-imas 17692  df-xps 17694  df-mre 17768  df-mrc 17769  df-acs 17771  df-mgm 18828  df-sgrp 18920  df-mnd 18936  df-submnd 18991  df-mulg 19290  df-cntz 19543  df-cmn 20008  df-psmet 21682  df-xmet 21683  df-met 21684  df-bl 21685  df-mopn 21686  df-fbas 21687  df-fg 21688  df-cnfld 21691  df-top 23224  df-topon 23241  df-topsp 23263  df-bases 23276  df-cld 23349  df-ntr 23350  df-cls 23351  df-nei 23428  df-lp 23466  df-perf 23467  df-cn 23557  df-cnp 23558  df-haus 23645  df-cmp 23717  df-tx 23893  df-hmeo 24086  df-fil 24177  df-fm 24269  df-flim 24270  df-flf 24271  df-xms 24651  df-ms 24652  df-tms 24653  df-cncf 25211  df-limc 26198  df-dv 26199  df-ulm 26716  df-log 26896  df-cxp 26897
This theorem is used by:  stirlinglem13  47235
  Copyright terms: Public domain W3C validator