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 47093
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 11311 . . 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 7436 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (2 · 𝑘) = (2 · 1))
65oveq1d 7435 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((2 · 𝑘) + 1) = ((2 · 1) + 1))
76oveq2d 7436 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 1) + 1)))
85oveq2d 7436 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 1)))
97, 8oveq12d 7438 . . . . 5 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
10 1nn 12346 . . . . . 6 1 ∈ ℕ
1110a1i 11 . . . . 5 (𝑁 ∈ ℕ → 1 ∈ ℕ)
12 2cnd 12421 . . . . . . . . 9 (𝑁 ∈ ℕ → 2 ∈ ℂ)
13 1cnd 11302 . . . . . . . . 9 (𝑁 ∈ ℕ → 1 ∈ ℂ)
1412, 13mulcld 11329 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℂ)
1514, 13addcld 11328 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℂ)
16 2t1e2 12505 . . . . . . . . . . 11 (2 · 1) = 2
1716oveq1i 7430 . . . . . . . . . 10 ((2 · 1) + 1) = (2 + 1)
18 2p1e3 12484 . . . . . . . . . 10 (2 + 1) = 3
1917, 18eqtri 2784 . . . . . . . . 9 ((2 · 1) + 1) = 3
20 3ne0 12452 . . . . . . . . 9 3 ≠ 0
2119, 20eqnetri 3026 . . . . . . . 8 ((2 · 1) + 1) ≠ 0
2221a1i 11 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ≠ 0)
2315, 22reccld 12086 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℂ)
24 nncn 12343 . . . . . . . . . 10 (𝑁 ∈ ℕ → 𝑁 ∈ ℂ)
2512, 24mulcld 11329 . . . . . . . . 9 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℂ)
2625, 13addcld 11328 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℂ)
27 1red 11309 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 ∈ ℝ)
28 2re 12417 . . . . . . . . . . . . 13 2 ∈ ℝ
2928a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ)
30 nnre 12342 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
3129, 30remulcld 11339 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ)
3231, 27readdcld 11338 . . . . . . . . . 10 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ)
33 0lt1 11838 . . . . . . . . . . 11 0 < 1
3433a1i 11 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 < 1)
35 2rp 13125 . . . . . . . . . . . . 13 2 ∈ ℝ+
3635a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ+)
37 nnrp 13132 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ+)
3836, 37rpmulcld 13180 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ+)
3927, 38ltaddrp2d 13198 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 < ((2 · 𝑁) + 1))
401, 27, 32, 34, 39lttrd 11471 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 < ((2 · 𝑁) + 1))
4140gt0ne0d 11880 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ≠ 0)
4226, 41reccld 12086 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
43 2nn0 12623 . . . . . . . . 9 2 ∈ ℕ0
4443a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℕ0)
45 1nn0 12622 . . . . . . . . 9 1 ∈ ℕ0
4645a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℕ0)
4744, 46nn0mulcld 12672 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℕ0)
4842, 47expcld 14289 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℂ)
4923, 48mulcld 11329 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℂ)
503, 9, 11, 49fvmptd 7001 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
51 1re 11308 . . . . . . . . 9 1 ∈ ℝ
5228, 51remulcli 11325 . . . . . . . 8 (2 · 1) ∈ ℝ
5352, 51readdcli 11324 . . . . . . 7 ((2 · 1) + 1) ∈ ℝ
5453, 21rereccli 12082 . . . . . 6 (1 / ((2 · 1) + 1)) ∈ ℝ
5554a1i 11 . . . . 5 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ)
5632, 41rereccld 12144 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
5756, 47reexpcld 14306 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ)
5855, 57remulcld 11339 . . . 4 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ)
5950, 58eqeltrd 2861 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ)
60 stirlinglem11.1 . . . . . . . 8 𝐴 = (𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6160stirlinglem2 47084 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘𝑁) ∈ ℝ+)
6261relogcld 26951 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘𝑁)) ∈ ℝ)
63 nfcv 2923 . . . . . . 7 Ⅎ𝑛𝑁
64 nfcv 2923 . . . . . . . 8 Ⅎ𝑛log
65 nfmpt1 5204 . . . . . . . . . 10 Ⅎ𝑛(𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6660, 65nfcxfr 2921 . . . . . . . . 9 Ⅎ𝑛𝐴
6766, 63nffv 6895 . . . . . . . 8 Ⅎ𝑛(𝐴‘𝑁)
6864, 67nffv 6895 . . . . . . 7 Ⅎ𝑛(log‘(𝐴‘𝑁))
69 2fveq3 6890 . . . . . . 7 (𝑛 = 𝑁 → (log‘(𝐴‘𝑛)) = (log‘(𝐴‘𝑁)))
70 stirlinglem11.2 . . . . . . 7 𝐵 = (𝑛 ∈ ℕ ↦ (log‘(𝐴‘𝑛)))
7163, 68, 69, 70fvmptf 7015 . . . . . 6 ((𝑁 ∈ ℕ ∧ (log‘(𝐴‘𝑁)) ∈ ℝ) → (𝐵‘𝑁) = (log‘(𝐴‘𝑁)))
7262, 71mpdan 700 . . . . 5 (𝑁 ∈ ℕ → (𝐵‘𝑁) = (log‘(𝐴‘𝑁)))
7372, 62eqeltrd 2861 . . . 4 (𝑁 ∈ ℕ → (𝐵‘𝑁) ∈ ℝ)
74 peano2nn 12347 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 + 1) ∈ ℕ)
7560stirlinglem2 47084 . . . . . . . 8 ((𝑁 + 1) ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7674, 75syl 18 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7776relogcld 26951 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ)
78 nfcv 2923 . . . . . . 7 Ⅎ𝑛(𝑁 + 1)
7966, 78nffv 6895 . . . . . . . 8 Ⅎ𝑛(𝐴‘(𝑁 + 1))
8064, 79nffv 6895 . . . . . . 7 Ⅎ𝑛(log‘(𝐴‘(𝑁 + 1)))
81 2fveq3 6890 . . . . . . 7 (𝑛 = (𝑁 + 1) → (log‘(𝐴‘𝑛)) = (log‘(𝐴‘(𝑁 + 1))))
8278, 80, 81, 70fvmptf 7015 . . . . . 6 (((𝑁 + 1) ∈ ℕ ∧ (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ) → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8374, 77, 82syl2anc 596 . . . . 5 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8483, 77eqeltrd 2861 . . . 4 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℝ)
8573, 84resubcld 11744 . . 3 (𝑁 ∈ ℕ → ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℝ)
8629, 27remulcld 11339 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℝ)
87 0le2 12445 . . . . . . . . . 10 0 ≤ 2
8887a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 2)
89 0le1 11839 . . . . . . . . . 10 0 ≤ 1
9089a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 1)
9129, 27, 88, 90mulge0d 11893 . . . . . . . 8 (𝑁 ∈ ℕ → 0 ≤ (2 · 1))
9286, 91ge0p1rpd 13194 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℝ+)
9392rpreccld 13174 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ+)
9437rpge0d 13168 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 ≤ 𝑁)
9529, 30, 88, 94mulge0d 11893 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ (2 · 𝑁))
9631, 95ge0p1rpd 13194 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ+)
9796rpreccld 13174 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ+)
98 2z 12728 . . . . . . . . 9 2 ∈ ℤ
9998a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℤ)
100 1z 12726 . . . . . . . . 9 1 ∈ ℤ
101100a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℤ)
10299, 101zmulcld 12809 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℤ)
10397, 102rpexpcld 14391 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ+)
10493, 103rpmulcld 13180 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ+)
10550, 104eqeltrd 2861 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ+)
106105rpgt0d 13167 . . 3 (𝑁 ∈ ℕ → 0 < (𝐾‘1))
10785, 59resubcld 11744 . . . . 5 (𝑁 ∈ ℕ → (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) ∈ ℝ)
108 eqid 2761 . . . . . . 7 (ℤ≥‘(1 + 1)) = (ℤ≥‘(1 + 1))
109101peano2zd 12806 . . . . . . 7 (𝑁 ∈ ℕ → (1 + 1) ∈ ℤ)
110 nnuz 13004 . . . . . . . 8 ℕ = (ℤ≥‘1)
1112a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)))))
112 oveq2 7428 . . . . . . . . . . . . . 14 (𝑘 = 𝑗 → (2 · 𝑘) = (2 · 𝑗))
113112oveq1d 7435 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → ((2 · 𝑘) + 1) = ((2 · 𝑗) + 1))
114113oveq2d 7436 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 𝑗) + 1)))
115112oveq2d 7436 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
116114, 115oveq12d 7438 . . . . . . . . . . 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 12421 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℂ)
120 nncn 12343 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → 𝑗 ∈ ℂ)
121120adantl 487 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℂ)
122119, 121mulcld 11329 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℂ)
123 1cnd 11302 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℂ)
124122, 123addcld 11328 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℂ)
125 0red 11311 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 ∈ ℝ)
126 1red 11309 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℝ)
12728a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ)
128 nnre 12342 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ)
129128adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ)
130127, 129remulcld 11339 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ)
131130, 126readdcld 11338 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℝ)
13233a1i 11 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < 1)
13335a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ+)
134 nnrp 13132 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ+)
135134adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ+)
136133, 135rpmulcld 13180 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ+)
137126, 136ltaddrp2d 13198 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 < ((2 · 𝑗) + 1))
138125, 126, 131, 132, 137lttrd 11471 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < ((2 · 𝑗) + 1))
139138gt0ne0d 11880 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
140124, 139reccld 12086 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
14124adantr 486 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑁 ∈ ℂ)
142119, 141mulcld 11329 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑁) ∈ ℂ)
143142, 123addcld 11328 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ∈ ℂ)
14441adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ≠ 0)
145143, 144reccld 12086 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
14643a1i 11 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℕ0)
147 nnnn0 12613 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 𝑗 ∈ ℕ0)
148147adantl 487 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ0)
149146, 148nn0mulcld 12672 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℕ0)
150145, 149expcld 14289 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℂ)
151140, 150mulcld 11329 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
152111, 117, 118, 151fvmptd 7001 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾‘𝑗) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
153 0red 11311 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 ∈ ℝ)
154 1red 11309 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 ∈ ℝ)
15528a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ)
156155, 128remulcld 11339 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ)
157156, 154readdcld 11338 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ∈ ℝ)
15833a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 < 1)
15935a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ+)
160159, 134rpmulcld 13180 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ+)
161154, 160ltaddrp2d 13198 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 < ((2 · 𝑗) + 1))
162153, 154, 157, 158, 161lttrd 11471 . . . . . . . . . . . . 13 (𝑗 ∈ ℕ → 0 < ((2 · 𝑗) + 1))
163162gt0ne0d 11880 . . . . . . . . . . . 12 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ≠ 0)
164163adantl 487 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
165124, 164reccld 12086 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
166165, 150mulcld 11329 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
167152, 166eqeltrd 2861 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾‘𝑗) ∈ ℂ)
168 eqid 2761 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1)) = (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1))
16960, 70, 168, 2stirlinglem9 47091 . . . . . . . 8 (𝑁 ∈ ℕ → seq1( + , 𝐾) ⇝ ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
170110, 11, 167, 169clim2ser 15822 . . . . . . 7 (𝑁 ∈ ℕ → seq(1 + 1)( + , 𝐾) ⇝ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
171 peano2nn 12347 . . . . . . . . . . . . 13 (1 ∈ ℕ → (1 + 1) ∈ ℕ)
172 uznnssnn 13022 . . . . . . . . . . . . 13 ((1 + 1) ∈ ℕ → (ℤ≥‘(1 + 1)) ⊆ ℕ)
17310, 171, 172mp2b 10 . . . . . . . . . . . 12 (ℤ≥‘(1 + 1)) ⊆ ℕ
174173a1i 11 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (ℤ≥‘(1 + 1)) ⊆ ℕ)
175174sseld 3930 . . . . . . . . . 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 12976 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 𝑗 ∈ ℝ)
180178, 179remulcld 11339 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → (2 · 𝑗) ∈ ℝ)
181 1red 11309 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 1 ∈ ℝ)
182180, 181readdcld 11338 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(1 + 1)) → ((2 · 𝑗) + 1) ∈ ℝ)
183173sseli 3927 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 𝑗 ∈ ℕ)
184183, 163syl 18 . . . . . . . . . . 11 (𝑗 ∈ (ℤ≥‘(1 + 1)) → ((2 · 𝑗) + 1) ≠ 0)
185182, 184rereccld 12144 . . . . . . . . . 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 12144 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
190176, 149syl 18 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑗) ∈ ℕ0)
191189, 190reexpcld 14306 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℝ)
192186, 191remulcld 11339 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℝ)
193177, 192eqeltrd 2861 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (𝐾‘𝑗) ∈ ℝ)
194 1red 11309 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 1 ∈ ℝ)
19528a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 2 ∈ ℝ)
196176, 129syl 18 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 𝑗 ∈ ℝ)
197195, 196remulcld 11339 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑗) ∈ ℝ)
19887a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 2)
199 0red 11311 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ∈ ℝ)
20087a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ≤ 2)
201 1p1e2 12466 . . . . . . . . . . . . . . 15 (1 + 1) = 2
202 eluzle 12978 . . . . . . . . . . . . . . 15 (𝑗 ∈ (ℤ≥‘(1 + 1)) → (1 + 1) ≤ 𝑗)
203201, 202eqbrtrrid 5141 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 2 ≤ 𝑗)
204199, 178, 179, 200, 203letrd 11467 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ≥‘(1 + 1)) → 0 ≤ 𝑗)
205204adantl 487 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 𝑗)
206195, 196, 198, 205mulge0d 11893 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (2 · 𝑗))
207197, 206ge0p1rpd 13194 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑗) + 1) ∈ ℝ+)
20889a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 1)
209194, 207, 208divge0d 13204 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑗) + 1)))
21030adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 𝑁 ∈ ℝ)
211195, 210remulcld 11339 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → (2 · 𝑁) ∈ ℝ)
21294adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ 𝑁)
213195, 210, 198, 212mulge0d 11893 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (2 · 𝑁))
214211, 213ge0p1rpd 13194 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → ((2 · 𝑁) + 1) ∈ ℝ+)
215194, 214, 208divge0d 13204 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑁) + 1)))
216189, 190, 215expge0d 14307 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
217186, 191, 209, 216mulge0d 11893 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
218217, 177breqtrrd 5133 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ≥‘(1 + 1))) → 0 ≤ (𝐾‘𝑗))
219108, 109, 170, 193, 218iserge0 15828 . . . . . 6 (𝑁 ∈ ℕ → 0 ≤ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
220 seq1 14157 . . . . . . . 8 (1 ∈ ℤ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
221100, 220mp1i 14 . . . . . . 7 (𝑁 ∈ ℕ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
222221oveq2d 7436 . . . . . 6 (𝑁 ∈ ℕ → (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)) = (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
223219, 222breqtrd 5131 . . . . 5 (𝑁 ∈ ℕ → 0 ≤ (((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
2241, 107, 59, 223leadd1dd 11930 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) ≤ ((((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)))
22550, 49eqeltrd 2861 . . . . 5 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℂ)
226225addlidd 11511 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) = (𝐾‘1))
22773recnd 11337 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘𝑁) ∈ ℂ)
22884recnd 11337 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℂ)
229227, 228subcld 11669 . . . . 5 (𝑁 ∈ ℕ → ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℂ)
230229, 225npcand 11673 . . . 4 (𝑁 ∈ ℕ → ((((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)) = ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
231224, 226, 2303brtr3d 5136 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ≤ ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
2321, 59, 85, 106, 231ltletrd 11470 . 2 (𝑁 ∈ ℕ → 0 < ((𝐵‘𝑁) − (𝐵‘(𝑁 + 1))))
23384, 73posdifd 11903 . 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 1570   ∈ wcel 2145   ≠ wne 2956   ⊆ wss 3899   class class class wbr 5103   ↦ cmpt 5186  ‘cfv 6538  (class class class)co 7420  ℂcc 11198  ℝcr 11199  0cc0 11200  1c1 11201   + caddc 11203   · cmul 11205   < clt 11343   ≤ cle 11344   − cmin 11541   / cdiv 11973  ℕcn 12335  2c2 12397  3c3 12398  ℕ0cn0 12606  ℤcz 12693  ℤ≥cuz 12965  ℝ+crp 13120  seqcseq 14144  ↑cexp 14204  !cfa 14417  √csqrt 15400  eceu 16228  logclog 26882
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-inf2 9642  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277  ax-pre-sup 11278  ax-addf 11279
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-of 7693  df-om 7878  df-1st 8001  df-2nd 8002  df-supp 8178  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-2o 8477  df-oadd 8480  df-er 8717  df-map 8849  df-pm 8850  df-ixp 8926  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-fsupp 9354  df-fi 9403  df-sup 9434  df-inf 9435  df-oi 9504  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-3 12406  df-4 12407  df-5 12408  df-6 12409  df-7 12410  df-8 12411  df-9 12412  df-n0 12607  df-xnn0 12680  df-z 12694  df-dec 12815  df-uz 12966  df-q 13076  df-rp 13121  df-xneg 13241  df-xadd 13242  df-xmul 13243  df-ioo 13480  df-ioc 13481  df-ico 13482  df-icc 13483  df-fz 13640  df-fzo 13789  df-fl 13932  df-mod 14010  df-seq 14145  df-exp 14205  df-fac 14418  df-bc 14447  df-hash 14475  df-shft 15220  df-cj 15266  df-re 15267  df-im 15268  df-sqrt 15402  df-abs 15403  df-limsup 15638  df-clim 15655  df-rlim 15656  df-sum 15854  df-ef 16233  df-e 16234  df-sin 16235  df-cos 16236  df-tan 16237  df-pi 16238  df-dvds 16423  df-struct 17325  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409  df-plusg 17441  df-mulr 17442  df-starv 17443  df-sca 17444  df-vsca 17445  df-ip 17446  df-tset 17447  df-ple 17448  df-ds 17450  df-unif 17451  df-hom 17452  df-cco 17453  df-rest 17593  df-topn 17594  df-0g 17612  df-gsum 17613  df-topgen 17614  df-pt 17615  df-prds 17618  df-xrs 17674  df-qtop 17679  df-imas 17680  df-xps 17682  df-mre 17756  df-mrc 17757  df-acs 17759  df-mgm 18816  df-sgrp 18908  df-mnd 18924  df-submnd 18979  df-mulg 19278  df-cntz 19531  df-cmn 19996  df-psmet 21670  df-xmet 21671  df-met 21672  df-bl 21673  df-mopn 21674  df-fbas 21675  df-fg 21676  df-cnfld 21679  df-top 23212  df-topon 23229  df-topsp 23251  df-bases 23264  df-cld 23337  df-ntr 23338  df-cls 23339  df-nei 23416  df-lp 23454  df-perf 23455  df-cn 23545  df-cnp 23546  df-haus 23633  df-cmp 23705  df-tx 23881  df-hmeo 24074  df-fil 24165  df-fm 24257  df-flim 24258  df-flf 24259  df-xms 24639  df-ms 24640  df-tms 24641  df-cncf 25199  df-limc 26186  df-dv 26187  df-ulm 26704  df-log 26884  df-cxp 26885
This theorem is used by:  stirlinglem13  47095
  Copyright terms: Public domain W3C validator