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 46858
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 11228 . . 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 7435 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (2 · 𝑘) = (2 · 1))
65oveq1d 7434 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((2 · 𝑘) + 1) = ((2 · 1) + 1))
76oveq2d 7435 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 1) + 1)))
85oveq2d 7435 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 1)))
97, 8oveq12d 7437 . . . . 5 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
10 1nn 12261 . . . . . 6 1 ∈ ℕ
1110a1i 11 . . . . 5 (𝑁 ∈ ℕ → 1 ∈ ℕ)
12 2cnd 12336 . . . . . . . . 9 (𝑁 ∈ ℕ → 2 ∈ ℂ)
13 1cnd 11219 . . . . . . . . 9 (𝑁 ∈ ℕ → 1 ∈ ℂ)
1412, 13mulcld 11246 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℂ)
1514, 13addcld 11245 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℂ)
16 2t1e2 12420 . . . . . . . . . . 11 (2 · 1) = 2
1716oveq1i 7429 . . . . . . . . . 10 ((2 · 1) + 1) = (2 + 1)
18 2p1e3 12399 . . . . . . . . . 10 (2 + 1) = 3
1917, 18eqtri 2788 . . . . . . . . 9 ((2 · 1) + 1) = 3
20 3ne0 12367 . . . . . . . . 9 3 ≠ 0
2119, 20eqnetri 3030 . . . . . . . 8 ((2 · 1) + 1) ≠ 0
2221a1i 11 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ≠ 0)
2315, 22reccld 12001 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℂ)
24 nncn 12258 . . . . . . . . . 10 (𝑁 ∈ ℕ → 𝑁 ∈ ℂ)
2512, 24mulcld 11246 . . . . . . . . 9 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℂ)
2625, 13addcld 11245 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℂ)
27 1red 11226 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 ∈ ℝ)
28 2re 12332 . . . . . . . . . . . . 13 2 ∈ ℝ
2928a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ)
30 nnre 12257 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
3129, 30remulcld 11256 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ)
3231, 27readdcld 11255 . . . . . . . . . 10 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ)
33 0lt1 11753 . . . . . . . . . . 11 0 < 1
3433a1i 11 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 < 1)
35 2rp 13039 . . . . . . . . . . . . 13 2 ∈ ℝ+
3635a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ+)
37 nnrp 13046 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ+)
3836, 37rpmulcld 13094 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ+)
3927, 38ltaddrp2d 13112 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 < ((2 · 𝑁) + 1))
401, 27, 32, 34, 39lttrd 11388 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 < ((2 · 𝑁) + 1))
4140gt0ne0d 11795 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ≠ 0)
4226, 41reccld 12001 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
43 2nn0 12538 . . . . . . . . 9 2 ∈ ℕ0
4443a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℕ0)
45 1nn0 12537 . . . . . . . . 9 1 ∈ ℕ0
4645a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℕ0)
4744, 46nn0mulcld 12587 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℕ0)
4842, 47expcld 14202 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℂ)
4923, 48mulcld 11246 . . . . 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 11225 . . . . . . . . 9 1 ∈ ℝ
5228, 51remulcli 11242 . . . . . . . 8 (2 · 1) ∈ ℝ
5352, 51readdcli 11241 . . . . . . 7 ((2 · 1) + 1) ∈ ℝ
5453, 21rereccli 11997 . . . . . 6 (1 / ((2 · 1) + 1)) ∈ ℝ
5554a1i 11 . . . . 5 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ)
5632, 41rereccld 12059 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
5756, 47reexpcld 14219 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ)
5855, 57remulcld 11256 . . . 4 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ)
5950, 58eqeltrd 2865 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ)
60 stirlinglem11.1 . . . . . . . 8 𝐴 = (𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6160stirlinglem2 46849 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴𝑁) ∈ ℝ+)
6261relogcld 26841 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴𝑁)) ∈ ℝ)
63 nfcv 2927 . . . . . . 7 𝑛𝑁
64 nfcv 2927 . . . . . . . 8 𝑛log
65 nfmpt1 5212 . . . . . . . . . 10 𝑛(𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6660, 65nfcxfr 2925 . . . . . . . . 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 2865 . . . 4 (𝑁 ∈ ℕ → (𝐵𝑁) ∈ ℝ)
74 peano2nn 12262 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 + 1) ∈ ℕ)
7560stirlinglem2 46849 . . . . . . . 8 ((𝑁 + 1) ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7674, 75syl 18 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7776relogcld 26841 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ)
78 nfcv 2927 . . . . . . 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 2865 . . . 4 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℝ)
8573, 84resubcld 11659 . . 3 (𝑁 ∈ ℕ → ((𝐵𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℝ)
8629, 27remulcld 11256 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℝ)
87 0le2 12360 . . . . . . . . . 10 0 ≤ 2
8887a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 2)
89 0le1 11754 . . . . . . . . . 10 0 ≤ 1
9089a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 1)
9129, 27, 88, 90mulge0d 11808 . . . . . . . 8 (𝑁 ∈ ℕ → 0 ≤ (2 · 1))
9286, 91ge0p1rpd 13108 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℝ+)
9392rpreccld 13088 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ+)
9437rpge0d 13082 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 ≤ 𝑁)
9529, 30, 88, 94mulge0d 11808 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ (2 · 𝑁))
9631, 95ge0p1rpd 13108 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ+)
9796rpreccld 13088 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ+)
98 2z 12643 . . . . . . . . 9 2 ∈ ℤ
9998a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℤ)
100 1z 12641 . . . . . . . . 9 1 ∈ ℤ
101100a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℤ)
10299, 101zmulcld 12724 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℤ)
10397, 102rpexpcld 14303 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ+)
10493, 103rpmulcld 13094 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ+)
10550, 104eqeltrd 2865 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ+)
106105rpgt0d 13081 . . 3 (𝑁 ∈ ℕ → 0 < (𝐾‘1))
10785, 59resubcld 11659 . . . . 5 (𝑁 ∈ ℕ → (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) ∈ ℝ)
108 eqid 2765 . . . . . . 7 (ℤ‘(1 + 1)) = (ℤ‘(1 + 1))
109101peano2zd 12721 . . . . . . 7 (𝑁 ∈ ℕ → (1 + 1) ∈ ℤ)
110 nnuz 12919 . . . . . . . 8 ℕ = (ℤ‘1)
1112a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)))))
112 oveq2 7427 . . . . . . . . . . . . . 14 (𝑘 = 𝑗 → (2 · 𝑘) = (2 · 𝑗))
113112oveq1d 7434 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → ((2 · 𝑘) + 1) = ((2 · 𝑗) + 1))
114113oveq2d 7435 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 𝑗) + 1)))
115112oveq2d 7435 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
116114, 115oveq12d 7437 . . . . . . . . . . 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 12336 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℂ)
120 nncn 12258 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → 𝑗 ∈ ℂ)
121120adantl 487 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℂ)
122119, 121mulcld 11246 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℂ)
123 1cnd 11219 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℂ)
124122, 123addcld 11245 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℂ)
125 0red 11228 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 ∈ ℝ)
126 1red 11226 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℝ)
12728a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ)
128 nnre 12257 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ)
129128adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ)
130127, 129remulcld 11256 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ)
131130, 126readdcld 11255 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℝ)
13233a1i 11 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < 1)
13335a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ+)
134 nnrp 13046 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ+)
135134adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ+)
136133, 135rpmulcld 13094 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ+)
137126, 136ltaddrp2d 13112 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 < ((2 · 𝑗) + 1))
138125, 126, 131, 132, 137lttrd 11388 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < ((2 · 𝑗) + 1))
139138gt0ne0d 11795 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
140124, 139reccld 12001 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
14124adantr 486 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑁 ∈ ℂ)
142119, 141mulcld 11246 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑁) ∈ ℂ)
143142, 123addcld 11245 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ∈ ℂ)
14441adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ≠ 0)
145143, 144reccld 12001 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
14643a1i 11 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℕ0)
147 nnnn0 12528 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 𝑗 ∈ ℕ0)
148147adantl 487 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ0)
149146, 148nn0mulcld 12587 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℕ0)
150145, 149expcld 14202 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℂ)
151140, 150mulcld 11246 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
152111, 117, 118, 151fvmptd 7001 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾𝑗) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
153 0red 11228 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 ∈ ℝ)
154 1red 11226 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 ∈ ℝ)
15528a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ)
156155, 128remulcld 11256 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ)
157156, 154readdcld 11255 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ∈ ℝ)
15833a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 < 1)
15935a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ+)
160159, 134rpmulcld 13094 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ+)
161154, 160ltaddrp2d 13112 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 < ((2 · 𝑗) + 1))
162153, 154, 157, 158, 161lttrd 11388 . . . . . . . . . . . . 13 (𝑗 ∈ ℕ → 0 < ((2 · 𝑗) + 1))
163162gt0ne0d 11795 . . . . . . . . . . . 12 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ≠ 0)
164163adantl 487 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
165124, 164reccld 12001 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
166165, 150mulcld 11246 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
167152, 166eqeltrd 2865 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾𝑗) ∈ ℂ)
168 eqid 2765 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1)) = (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1))
16960, 70, 168, 2stirlinglem9 46856 . . . . . . . 8 (𝑁 ∈ ℕ → seq1( + , 𝐾) ⇝ ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
170110, 11, 167, 169clim2ser 15732 . . . . . . 7 (𝑁 ∈ ℕ → seq(1 + 1)( + , 𝐾) ⇝ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
171 peano2nn 12262 . . . . . . . . . . . . 13 (1 ∈ ℕ → (1 + 1) ∈ ℕ)
172 uznnssnn 12937 . . . . . . . . . . . . 13 ((1 + 1) ∈ ℕ → (ℤ‘(1 + 1)) ⊆ ℕ)
17310, 171, 172mp2b 10 . . . . . . . . . . . 12 (ℤ‘(1 + 1)) ⊆ ℕ
174173a1i 11 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (ℤ‘(1 + 1)) ⊆ ℕ)
175174sseld 3937 . . . . . . . . . 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 12891 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ‘(1 + 1)) → 𝑗 ∈ ℝ)
180178, 179remulcld 11256 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → (2 · 𝑗) ∈ ℝ)
181 1red 11226 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → 1 ∈ ℝ)
182180, 181readdcld 11255 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(1 + 1)) → ((2 · 𝑗) + 1) ∈ ℝ)
183173sseli 3934 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → 𝑗 ∈ ℕ)
184183, 163syl 18 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(1 + 1)) → ((2 · 𝑗) + 1) ≠ 0)
185182, 184rereccld 12059 . . . . . . . . . 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 12059 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
190176, 149syl 18 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑗) ∈ ℕ0)
191189, 190reexpcld 14219 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℝ)
192186, 191remulcld 11256 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℝ)
193177, 192eqeltrd 2865 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (𝐾𝑗) ∈ ℝ)
194 1red 11226 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 1 ∈ ℝ)
19528a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 2 ∈ ℝ)
196176, 129syl 18 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 𝑗 ∈ ℝ)
197195, 196remulcld 11256 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑗) ∈ ℝ)
19887a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 2)
199 0red 11228 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ∈ ℝ)
20087a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ≤ 2)
201 1p1e2 12381 . . . . . . . . . . . . . . 15 (1 + 1) = 2
202 eluzle 12893 . . . . . . . . . . . . . . 15 (𝑗 ∈ (ℤ‘(1 + 1)) → (1 + 1) ≤ 𝑗)
203201, 202eqbrtrrid 5149 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 2 ≤ 𝑗)
204199, 178, 179, 200, 203letrd 11384 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ≤ 𝑗)
205204adantl 487 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 𝑗)
206195, 196, 198, 205mulge0d 11808 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (2 · 𝑗))
207197, 206ge0p1rpd 13108 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((2 · 𝑗) + 1) ∈ ℝ+)
20889a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 1)
209194, 207, 208divge0d 13118 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑗) + 1)))
21030adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 𝑁 ∈ ℝ)
211195, 210remulcld 11256 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑁) ∈ ℝ)
21294adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 𝑁)
213195, 210, 198, 212mulge0d 11808 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (2 · 𝑁))
214211, 213ge0p1rpd 13108 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((2 · 𝑁) + 1) ∈ ℝ+)
215194, 214, 208divge0d 13118 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑁) + 1)))
216189, 190, 215expge0d 14220 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
217186, 191, 209, 216mulge0d 11808 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
218217, 177breqtrrd 5141 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (𝐾𝑗))
219108, 109, 170, 193, 218iserge0 15738 . . . . . 6 (𝑁 ∈ ℕ → 0 ≤ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
220 seq1 14070 . . . . . . . 8 (1 ∈ ℤ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
221100, 220mp1i 14 . . . . . . 7 (𝑁 ∈ ℕ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
222221oveq2d 7435 . . . . . 6 (𝑁 ∈ ℕ → (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)) = (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
223219, 222breqtrd 5139 . . . . 5 (𝑁 ∈ ℕ → 0 ≤ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
2241, 107, 59, 223leadd1dd 11845 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) ≤ ((((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)))
22550, 49eqeltrd 2865 . . . . 5 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℂ)
226225addlidd 11428 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) = (𝐾‘1))
22773recnd 11254 . . . . . 6 (𝑁 ∈ ℕ → (𝐵𝑁) ∈ ℂ)
22884recnd 11254 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℂ)
229227, 228subcld 11586 . . . . 5 (𝑁 ∈ ℕ → ((𝐵𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℂ)
230229, 225npcand 11590 . . . 4 (𝑁 ∈ ℕ → ((((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)) = ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
231224, 226, 2303brtr3d 5144 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ≤ ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
2321, 59, 85, 106, 231ltletrd 11387 . 2 (𝑁 ∈ ℕ → 0 < ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
23384, 73posdifd 11818 . 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 2146  wne 2960  wss 3906   class class class wbr 5111  cmpt 5194  cfv 6540  (class class class)co 7419  cc 11115  cr 11116  0cc0 11117  1c1 11118   + caddc 11120   · cmul 11122   < clt 11260  cle 11261  cmin 11458   / cdiv 11888  cn 12250  2c2 12312  3c3 12313  0cn0 12521  cz 12608  cuz 12880  +crp 13034  seqcseq 14057  cexp 14117  !cfa 14329  csqrt 15310  eceu 16140  logclog 26772
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-rep 5240  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7742  ax-inf2 9617  ax-cnex 11173  ax-resscn 11174  ax-1cn 11175  ax-icn 11176  ax-addcl 11177  ax-addrcl 11178  ax-mulcl 11179  ax-mulrcl 11180  ax-mulcom 11181  ax-addass 11182  ax-mulass 11183  ax-distr 11184  ax-i2m1 11185  ax-1ne0 11186  ax-1rid 11187  ax-rnegex 11188  ax-rrecex 11189  ax-cnre 11190  ax-pre-lttri 11191  ax-pre-lttrn 11192  ax-pre-ltadd 11193  ax-pre-mulgt0 11194  ax-pre-sup 11195  ax-addf 11196
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 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-nel 3067  df-ral 3082  df-rex 3092  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-tp 4596  df-op 4598  df-uni 4875  df-int 4915  df-iun 4960  df-iin 4961  df-br 5112  df-opab 5176  df-mpt 5195  df-tr 5221  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-se 5617  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-isom 6549  df-riota 7376  df-ov 7422  df-oprab 7423  df-mpo 7424  df-of 7684  df-om 7869  df-1st 7992  df-2nd 7993  df-supp 8163  df-frecs 8284  df-wrecs 8315  df-recs 8364  df-rdg 8403  df-1o 8459  df-2o 8460  df-oadd 8463  df-er 8700  df-map 8832  df-pm 8833  df-ixp 8902  df-en 8950  df-dom 8951  df-sdom 8952  df-fin 8953  df-fsupp 9329  df-fi 9378  df-sup 9409  df-inf 9410  df-oi 9479  df-card 9941  df-pnf 11262  df-mnf 11263  df-xr 11264  df-ltxr 11265  df-le 11266  df-sub 11460  df-neg 11461  df-div 11889  df-nn 12251  df-2 12320  df-3 12321  df-4 12322  df-5 12323  df-6 12324  df-7 12325  df-8 12326  df-9 12327  df-n0 12522  df-xnn0 12595  df-z 12609  df-dec 12730  df-uz 12881  df-q 12991  df-rp 13035  df-xneg 13155  df-xadd 13156  df-xmul 13157  df-ioo 13394  df-ioc 13395  df-ico 13396  df-icc 13397  df-fz 13554  df-fzo 13702  df-fl 13845  df-mod 13923  df-seq 14058  df-exp 14118  df-fac 14330  df-bc 14359  df-hash 14387  df-shft 15130  df-cj 15176  df-re 15177  df-im 15178  df-sqrt 15312  df-abs 15313  df-limsup 15548  df-clim 15565  df-rlim 15566  df-sum 15764  df-ef 16145  df-e 16146  df-sin 16147  df-cos 16148  df-tan 16149  df-pi 16150  df-dvds 16335  df-struct 17231  df-sets 17248  df-slot 17266  df-ndx 17278  df-base 17294  df-ress 17315  df-plusg 17347  df-mulr 17348  df-starv 17349  df-sca 17350  df-vsca 17351  df-ip 17352  df-tset 17353  df-ple 17354  df-ds 17356  df-unif 17357  df-hom 17358  df-cco 17359  df-rest 17499  df-topn 17500  df-0g 17518  df-gsum 17519  df-topgen 17520  df-pt 17521  df-prds 17524  df-xrs 17580  df-qtop 17585  df-imas 17586  df-xps 17588  df-mre 17662  df-mrc 17663  df-acs 17665  df-mgm 18722  df-sgrp 18811  df-mnd 18827  df-submnd 18881  df-mulg 19180  df-cntz 19433  df-cmn 19898  df-psmet 21566  df-xmet 21567  df-met 21568  df-bl 21569  df-mopn 21570  df-fbas 21571  df-fg 21572  df-cnfld 21575  df-top 23103  df-topon 23120  df-topsp 23142  df-bases 23155  df-cld 23228  df-ntr 23229  df-cls 23230  df-nei 23307  df-lp 23345  df-perf 23346  df-cn 23436  df-cnp 23437  df-haus 23524  df-cmp 23596  df-tx 23772  df-hmeo 23965  df-fil 24056  df-fm 24148  df-flim 24149  df-flf 24150  df-xms 24530  df-ms 24531  df-tms 24532  df-cncf 25090  df-limc 26078  df-dv 26079  df-ulm 26593  df-log 26774  df-cxp 26775
This theorem is used by:  stirlinglem13  46860
  Copyright terms: Public domain W3C validator