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 46915
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 11238 . . 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 7430 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (2 · 𝑘) = (2 · 1))
65oveq1d 7429 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((2 · 𝑘) + 1) = ((2 · 1) + 1))
76oveq2d 7430 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 1) + 1)))
85oveq2d 7430 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 1)))
97, 8oveq12d 7432 . . . . 5 ((𝑁 ∈ ℕ ∧ 𝑘 = 1) → ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘))) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
10 1nn 12271 . . . . . 6 1 ∈ ℕ
1110a1i 11 . . . . 5 (𝑁 ∈ ℕ → 1 ∈ ℕ)
12 2cnd 12346 . . . . . . . . 9 (𝑁 ∈ ℕ → 2 ∈ ℂ)
13 1cnd 11229 . . . . . . . . 9 (𝑁 ∈ ℕ → 1 ∈ ℂ)
1412, 13mulcld 11256 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℂ)
1514, 13addcld 11255 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℂ)
16 2t1e2 12430 . . . . . . . . . . 11 (2 · 1) = 2
1716oveq1i 7424 . . . . . . . . . 10 ((2 · 1) + 1) = (2 + 1)
18 2p1e3 12409 . . . . . . . . . 10 (2 + 1) = 3
1917, 18eqtri 2783 . . . . . . . . 9 ((2 · 1) + 1) = 3
20 3ne0 12377 . . . . . . . . 9 3 ≠ 0
2119, 20eqnetri 3025 . . . . . . . 8 ((2 · 1) + 1) ≠ 0
2221a1i 11 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ≠ 0)
2315, 22reccld 12011 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℂ)
24 nncn 12268 . . . . . . . . . 10 (𝑁 ∈ ℕ → 𝑁 ∈ ℂ)
2512, 24mulcld 11256 . . . . . . . . 9 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℂ)
2625, 13addcld 11255 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℂ)
27 1red 11236 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 ∈ ℝ)
28 2re 12342 . . . . . . . . . . . . 13 2 ∈ ℝ
2928a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ)
30 nnre 12267 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
3129, 30remulcld 11266 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ)
3231, 27readdcld 11265 . . . . . . . . . 10 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ)
33 0lt1 11763 . . . . . . . . . . 11 0 < 1
3433a1i 11 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 < 1)
35 2rp 13050 . . . . . . . . . . . . 13 2 ∈ ℝ+
3635a1i 11 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 2 ∈ ℝ+)
37 nnrp 13057 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ+)
3836, 37rpmulcld 13105 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (2 · 𝑁) ∈ ℝ+)
3927, 38ltaddrp2d 13123 . . . . . . . . . 10 (𝑁 ∈ ℕ → 1 < ((2 · 𝑁) + 1))
401, 27, 32, 34, 39lttrd 11398 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 < ((2 · 𝑁) + 1))
4140gt0ne0d 11805 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ≠ 0)
4226, 41reccld 12011 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
43 2nn0 12548 . . . . . . . . 9 2 ∈ ℕ0
4443a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℕ0)
45 1nn0 12547 . . . . . . . . 9 1 ∈ ℕ0
4645a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℕ0)
4744, 46nn0mulcld 12597 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℕ0)
4842, 47expcld 14213 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℂ)
4923, 48mulcld 11256 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℂ)
503, 9, 11, 49fvmptd 6995 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) = ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))))
51 1re 11235 . . . . . . . . 9 1 ∈ ℝ
5228, 51remulcli 11252 . . . . . . . 8 (2 · 1) ∈ ℝ
5352, 51readdcli 11251 . . . . . . 7 ((2 · 1) + 1) ∈ ℝ
5453, 21rereccli 12007 . . . . . 6 (1 / ((2 · 1) + 1)) ∈ ℝ
5554a1i 11 . . . . 5 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ)
5632, 41rereccld 12069 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
5756, 47reexpcld 14230 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ)
5855, 57remulcld 11266 . . . 4 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ)
5950, 58eqeltrd 2860 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ)
60 stirlinglem11.1 . . . . . . . 8 𝐴 = (𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6160stirlinglem2 46906 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴𝑁) ∈ ℝ+)
6261relogcld 26863 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴𝑁)) ∈ ℝ)
63 nfcv 2922 . . . . . . 7 𝑛𝑁
64 nfcv 2922 . . . . . . . 8 𝑛log
65 nfmpt1 5204 . . . . . . . . . 10 𝑛(𝑛 ∈ ℕ ↦ ((!‘𝑛) / ((√‘(2 · 𝑛)) · ((𝑛 / e)↑𝑛))))
6660, 65nfcxfr 2920 . . . . . . . . 9 𝑛𝐴
6766, 63nffv 6889 . . . . . . . 8 𝑛(𝐴𝑁)
6864, 67nffv 6889 . . . . . . 7 𝑛(log‘(𝐴𝑁))
69 2fveq3 6884 . . . . . . 7 (𝑛 = 𝑁 → (log‘(𝐴𝑛)) = (log‘(𝐴𝑁)))
70 stirlinglem11.2 . . . . . . 7 𝐵 = (𝑛 ∈ ℕ ↦ (log‘(𝐴𝑛)))
7163, 68, 69, 70fvmptf 7009 . . . . . 6 ((𝑁 ∈ ℕ ∧ (log‘(𝐴𝑁)) ∈ ℝ) → (𝐵𝑁) = (log‘(𝐴𝑁)))
7262, 71mpdan 700 . . . . 5 (𝑁 ∈ ℕ → (𝐵𝑁) = (log‘(𝐴𝑁)))
7372, 62eqeltrd 2860 . . . 4 (𝑁 ∈ ℕ → (𝐵𝑁) ∈ ℝ)
74 peano2nn 12272 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 + 1) ∈ ℕ)
7560stirlinglem2 46906 . . . . . . . 8 ((𝑁 + 1) ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7674, 75syl 18 . . . . . . 7 (𝑁 ∈ ℕ → (𝐴‘(𝑁 + 1)) ∈ ℝ+)
7776relogcld 26863 . . . . . 6 (𝑁 ∈ ℕ → (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ)
78 nfcv 2922 . . . . . . 7 𝑛(𝑁 + 1)
7966, 78nffv 6889 . . . . . . . 8 𝑛(𝐴‘(𝑁 + 1))
8064, 79nffv 6889 . . . . . . 7 𝑛(log‘(𝐴‘(𝑁 + 1)))
81 2fveq3 6884 . . . . . . 7 (𝑛 = (𝑁 + 1) → (log‘(𝐴𝑛)) = (log‘(𝐴‘(𝑁 + 1))))
8278, 80, 81, 70fvmptf 7009 . . . . . 6 (((𝑁 + 1) ∈ ℕ ∧ (log‘(𝐴‘(𝑁 + 1))) ∈ ℝ) → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8374, 77, 82syl2anc 596 . . . . 5 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) = (log‘(𝐴‘(𝑁 + 1))))
8483, 77eqeltrd 2860 . . . 4 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℝ)
8573, 84resubcld 11669 . . 3 (𝑁 ∈ ℕ → ((𝐵𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℝ)
8629, 27remulcld 11266 . . . . . . . 8 (𝑁 ∈ ℕ → (2 · 1) ∈ ℝ)
87 0le2 12370 . . . . . . . . . 10 0 ≤ 2
8887a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 2)
89 0le1 11764 . . . . . . . . . 10 0 ≤ 1
9089a1i 11 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ 1)
9129, 27, 88, 90mulge0d 11818 . . . . . . . 8 (𝑁 ∈ ℕ → 0 ≤ (2 · 1))
9286, 91ge0p1rpd 13119 . . . . . . 7 (𝑁 ∈ ℕ → ((2 · 1) + 1) ∈ ℝ+)
9392rpreccld 13099 . . . . . 6 (𝑁 ∈ ℕ → (1 / ((2 · 1) + 1)) ∈ ℝ+)
9437rpge0d 13093 . . . . . . . . . 10 (𝑁 ∈ ℕ → 0 ≤ 𝑁)
9529, 30, 88, 94mulge0d 11818 . . . . . . . . 9 (𝑁 ∈ ℕ → 0 ≤ (2 · 𝑁))
9631, 95ge0p1rpd 13119 . . . . . . . 8 (𝑁 ∈ ℕ → ((2 · 𝑁) + 1) ∈ ℝ+)
9796rpreccld 13099 . . . . . . 7 (𝑁 ∈ ℕ → (1 / ((2 · 𝑁) + 1)) ∈ ℝ+)
98 2z 12653 . . . . . . . . 9 2 ∈ ℤ
9998a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 2 ∈ ℤ)
100 1z 12651 . . . . . . . . 9 1 ∈ ℤ
101100a1i 11 . . . . . . . 8 (𝑁 ∈ ℕ → 1 ∈ ℤ)
10299, 101zmulcld 12734 . . . . . . 7 (𝑁 ∈ ℕ → (2 · 1) ∈ ℤ)
10397, 102rpexpcld 14314 . . . . . 6 (𝑁 ∈ ℕ → ((1 / ((2 · 𝑁) + 1))↑(2 · 1)) ∈ ℝ+)
10493, 103rpmulcld 13105 . . . . 5 (𝑁 ∈ ℕ → ((1 / ((2 · 1) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 1))) ∈ ℝ+)
10550, 104eqeltrd 2860 . . . 4 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℝ+)
106105rpgt0d 13092 . . 3 (𝑁 ∈ ℕ → 0 < (𝐾‘1))
10785, 59resubcld 11669 . . . . 5 (𝑁 ∈ ℕ → (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) ∈ ℝ)
108 eqid 2760 . . . . . . 7 (ℤ‘(1 + 1)) = (ℤ‘(1 + 1))
109101peano2zd 12731 . . . . . . 7 (𝑁 ∈ ℕ → (1 + 1) ∈ ℤ)
110 nnuz 12929 . . . . . . . 8 ℕ = (ℤ‘1)
1112a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝐾 = (𝑘 ∈ ℕ ↦ ((1 / ((2 · 𝑘) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)))))
112 oveq2 7422 . . . . . . . . . . . . . 14 (𝑘 = 𝑗 → (2 · 𝑘) = (2 · 𝑗))
113112oveq1d 7429 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → ((2 · 𝑘) + 1) = ((2 · 𝑗) + 1))
114113oveq2d 7430 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (1 / ((2 · 𝑘) + 1)) = (1 / ((2 · 𝑗) + 1)))
115112oveq2d 7430 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑘)) = ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
116114, 115oveq12d 7432 . . . . . . . . . . 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 12346 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℂ)
120 nncn 12268 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → 𝑗 ∈ ℂ)
121120adantl 487 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℂ)
122119, 121mulcld 11256 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℂ)
123 1cnd 11229 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℂ)
124122, 123addcld 11255 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℂ)
125 0red 11238 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 ∈ ℝ)
126 1red 11236 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 ∈ ℝ)
12728a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ)
128 nnre 12267 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ)
129128adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ)
130127, 129remulcld 11266 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ)
131130, 126readdcld 11265 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ∈ ℝ)
13233a1i 11 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < 1)
13335a1i 11 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℝ+)
134 nnrp 13057 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ+)
135134adantl 487 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℝ+)
136133, 135rpmulcld 13105 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℝ+)
137126, 136ltaddrp2d 13123 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 1 < ((2 · 𝑗) + 1))
138125, 126, 131, 132, 137lttrd 11398 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 0 < ((2 · 𝑗) + 1))
139138gt0ne0d 11805 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
140124, 139reccld 12011 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
14124adantr 486 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑁 ∈ ℂ)
142119, 141mulcld 11256 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑁) ∈ ℂ)
143142, 123addcld 11255 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ∈ ℂ)
14441adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑁) + 1) ≠ 0)
145143, 144reccld 12011 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑁) + 1)) ∈ ℂ)
14643a1i 11 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 2 ∈ ℕ0)
147 nnnn0 12538 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 𝑗 ∈ ℕ0)
148147adantl 487 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ0)
149146, 148nn0mulcld 12597 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (2 · 𝑗) ∈ ℕ0)
150145, 149expcld 14213 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℂ)
151140, 150mulcld 11256 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
152111, 117, 118, 151fvmptd 6995 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾𝑗) = ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
153 0red 11238 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 ∈ ℝ)
154 1red 11236 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 ∈ ℝ)
15528a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ)
156155, 128remulcld 11266 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ)
157156, 154readdcld 11265 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ∈ ℝ)
15833a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 0 < 1)
15935a1i 11 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ → 2 ∈ ℝ+)
160159, 134rpmulcld 13105 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ → (2 · 𝑗) ∈ ℝ+)
161154, 160ltaddrp2d 13123 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ → 1 < ((2 · 𝑗) + 1))
162153, 154, 157, 158, 161lttrd 11398 . . . . . . . . . . . . 13 (𝑗 ∈ ℕ → 0 < ((2 · 𝑗) + 1))
163162gt0ne0d 11805 . . . . . . . . . . . 12 (𝑗 ∈ ℕ → ((2 · 𝑗) + 1) ≠ 0)
164163adantl 487 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((2 · 𝑗) + 1) ≠ 0)
165124, 164reccld 12011 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (1 / ((2 · 𝑗) + 1)) ∈ ℂ)
166165, 150mulcld 11256 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℂ)
167152, 166eqeltrd 2860 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝐾𝑗) ∈ ℂ)
168 eqid 2760 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1)) = (𝑛 ∈ ℕ ↦ ((((1 + (2 · 𝑛)) / 2) · (log‘((𝑛 + 1) / 𝑛))) − 1))
16960, 70, 168, 2stirlinglem9 46913 . . . . . . . 8 (𝑁 ∈ ℕ → seq1( + , 𝐾) ⇝ ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
170110, 11, 167, 169clim2ser 15745 . . . . . . 7 (𝑁 ∈ ℕ → seq(1 + 1)( + , 𝐾) ⇝ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
171 peano2nn 12272 . . . . . . . . . . . . 13 (1 ∈ ℕ → (1 + 1) ∈ ℕ)
172 uznnssnn 12947 . . . . . . . . . . . . 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 12901 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ‘(1 + 1)) → 𝑗 ∈ ℝ)
180178, 179remulcld 11266 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → (2 · 𝑗) ∈ ℝ)
181 1red 11236 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → 1 ∈ ℝ)
182180, 181readdcld 11265 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(1 + 1)) → ((2 · 𝑗) + 1) ∈ ℝ)
183173sseli 3927 . . . . . . . . . . . 12 (𝑗 ∈ (ℤ‘(1 + 1)) → 𝑗 ∈ ℕ)
184183, 163syl 18 . . . . . . . . . . 11 (𝑗 ∈ (ℤ‘(1 + 1)) → ((2 · 𝑗) + 1) ≠ 0)
185182, 184rereccld 12069 . . . . . . . . . 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 12069 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (1 / ((2 · 𝑁) + 1)) ∈ ℝ)
190176, 149syl 18 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑗) ∈ ℕ0)
191189, 190reexpcld 14230 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)) ∈ ℝ)
192186, 191remulcld 11266 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))) ∈ ℝ)
193177, 192eqeltrd 2860 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (𝐾𝑗) ∈ ℝ)
194 1red 11236 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 1 ∈ ℝ)
19528a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 2 ∈ ℝ)
196176, 129syl 18 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 𝑗 ∈ ℝ)
197195, 196remulcld 11266 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑗) ∈ ℝ)
19887a1i 11 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 2)
199 0red 11238 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ∈ ℝ)
20087a1i 11 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ≤ 2)
201 1p1e2 12391 . . . . . . . . . . . . . . 15 (1 + 1) = 2
202 eluzle 12903 . . . . . . . . . . . . . . 15 (𝑗 ∈ (ℤ‘(1 + 1)) → (1 + 1) ≤ 𝑗)
203201, 202eqbrtrrid 5141 . . . . . . . . . . . . . 14 (𝑗 ∈ (ℤ‘(1 + 1)) → 2 ≤ 𝑗)
204199, 178, 179, 200, 203letrd 11394 . . . . . . . . . . . . 13 (𝑗 ∈ (ℤ‘(1 + 1)) → 0 ≤ 𝑗)
205204adantl 487 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 𝑗)
206195, 196, 198, 205mulge0d 11818 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (2 · 𝑗))
207197, 206ge0p1rpd 13119 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((2 · 𝑗) + 1) ∈ ℝ+)
20889a1i 11 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 1)
209194, 207, 208divge0d 13129 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑗) + 1)))
21030adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 𝑁 ∈ ℝ)
211195, 210remulcld 11266 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → (2 · 𝑁) ∈ ℝ)
21294adantr 486 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ 𝑁)
213195, 210, 198, 212mulge0d 11818 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (2 · 𝑁))
214211, 213ge0p1rpd 13119 . . . . . . . . . . 11 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → ((2 · 𝑁) + 1) ∈ ℝ+)
215194, 214, 208divge0d 13129 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (1 / ((2 · 𝑁) + 1)))
216189, 190, 215expge0d 14231 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗)))
217186, 191, 209, 216mulge0d 11818 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ ((1 / ((2 · 𝑗) + 1)) · ((1 / ((2 · 𝑁) + 1))↑(2 · 𝑗))))
218217, 177breqtrrd 5133 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑗 ∈ (ℤ‘(1 + 1))) → 0 ≤ (𝐾𝑗))
219108, 109, 170, 193, 218iserge0 15751 . . . . . 6 (𝑁 ∈ ℕ → 0 ≤ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)))
220 seq1 14081 . . . . . . . 8 (1 ∈ ℤ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
221100, 220mp1i 14 . . . . . . 7 (𝑁 ∈ ℕ → (seq1( + , 𝐾)‘1) = (𝐾‘1))
222221oveq2d 7430 . . . . . 6 (𝑁 ∈ ℕ → (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (seq1( + , 𝐾)‘1)) = (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
223219, 222breqtrd 5131 . . . . 5 (𝑁 ∈ ℕ → 0 ≤ (((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)))
2241, 107, 59, 223leadd1dd 11855 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) ≤ ((((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)))
22550, 49eqeltrd 2860 . . . . 5 (𝑁 ∈ ℕ → (𝐾‘1) ∈ ℂ)
226225addlidd 11438 . . . 4 (𝑁 ∈ ℕ → (0 + (𝐾‘1)) = (𝐾‘1))
22773recnd 11264 . . . . . 6 (𝑁 ∈ ℕ → (𝐵𝑁) ∈ ℂ)
22884recnd 11264 . . . . . 6 (𝑁 ∈ ℕ → (𝐵‘(𝑁 + 1)) ∈ ℂ)
229227, 228subcld 11596 . . . . 5 (𝑁 ∈ ℕ → ((𝐵𝑁) − (𝐵‘(𝑁 + 1))) ∈ ℂ)
230229, 225npcand 11600 . . . 4 (𝑁 ∈ ℕ → ((((𝐵𝑁) − (𝐵‘(𝑁 + 1))) − (𝐾‘1)) + (𝐾‘1)) = ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
231224, 226, 2303brtr3d 5136 . . 3 (𝑁 ∈ ℕ → (𝐾‘1) ≤ ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
2321, 59, 85, 106, 231ltletrd 11397 . 2 (𝑁 ∈ ℕ → 0 < ((𝐵𝑁) − (𝐵‘(𝑁 + 1))))
23384, 73posdifd 11828 . 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 2955  wss 3899   class class class wbr 5103  cmpt 5186  cfv 6533  (class class class)co 7414  cc 11125  cr 11126  0cc0 11127  1c1 11128   + caddc 11130   · cmul 11132   < clt 11270  cle 11271  cmin 11468   / cdiv 11898  cn 12260  2c2 12322  3c3 12323  0cn0 12531  cz 12618  cuz 12890  +crp 13045  seqcseq 14068  cexp 14128  !cfa 14340  csqrt 15323  eceu 16151  logclog 26794
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 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7737  ax-inf2 9623  ax-cnex 11183  ax-resscn 11184  ax-1cn 11185  ax-icn 11186  ax-addcl 11187  ax-addrcl 11188  ax-mulcl 11189  ax-mulrcl 11190  ax-mulcom 11191  ax-addass 11192  ax-mulass 11193  ax-distr 11194  ax-i2m1 11195  ax-1ne0 11196  ax-1rid 11197  ax-rnegex 11198  ax-rrecex 11199  ax-cnre 11200  ax-pre-lttri 11201  ax-pre-lttrn 11202  ax-pre-ltadd 11203  ax-pre-mulgt0 11204  ax-pre-sup 11205  ax-addf 11206
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 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  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 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6299  df-ord 6360  df-on 6361  df-lim 6362  df-suc 6363  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-isom 6542  df-riota 7371  df-ov 7417  df-oprab 7418  df-mpo 7419  df-of 7679  df-om 7864  df-1st 7987  df-2nd 7988  df-supp 8160  df-frecs 8281  df-wrecs 8312  df-recs 8361  df-rdg 8400  df-1o 8458  df-2o 8459  df-oadd 8462  df-er 8699  df-map 8831  df-pm 8832  df-ixp 8908  df-en 8956  df-dom 8957  df-sdom 8958  df-fin 8959  df-fsupp 9335  df-fi 9384  df-sup 9415  df-inf 9416  df-oi 9485  df-card 9947  df-pnf 11272  df-mnf 11273  df-xr 11274  df-ltxr 11275  df-le 11276  df-sub 11470  df-neg 11471  df-div 11899  df-nn 12261  df-2 12330  df-3 12331  df-4 12332  df-5 12333  df-6 12334  df-7 12335  df-8 12336  df-9 12337  df-n0 12532  df-xnn0 12605  df-z 12619  df-dec 12740  df-uz 12891  df-q 13001  df-rp 13046  df-xneg 13166  df-xadd 13167  df-xmul 13168  df-ioo 13405  df-ioc 13406  df-ico 13407  df-icc 13408  df-fz 13565  df-fzo 13713  df-fl 13856  df-mod 13934  df-seq 14069  df-exp 14129  df-fac 14341  df-bc 14370  df-hash 14398  df-shft 15143  df-cj 15189  df-re 15190  df-im 15191  df-sqrt 15325  df-abs 15326  df-limsup 15561  df-clim 15578  df-rlim 15579  df-sum 15777  df-ef 16156  df-e 16157  df-sin 16158  df-cos 16159  df-tan 16160  df-pi 16161  df-dvds 16346  df-struct 17242  df-sets 17259  df-slot 17277  df-ndx 17289  df-base 17305  df-ress 17326  df-plusg 17358  df-mulr 17359  df-starv 17360  df-sca 17361  df-vsca 17362  df-ip 17363  df-tset 17364  df-ple 17365  df-ds 17367  df-unif 17368  df-hom 17369  df-cco 17370  df-rest 17510  df-topn 17511  df-0g 17529  df-gsum 17530  df-topgen 17531  df-pt 17532  df-prds 17535  df-xrs 17591  df-qtop 17596  df-imas 17597  df-xps 17599  df-mre 17673  df-mrc 17674  df-acs 17676  df-mgm 18733  df-sgrp 18824  df-mnd 18840  df-submnd 18895  df-mulg 19194  df-cntz 19447  df-cmn 19912  df-psmet 21580  df-xmet 21581  df-met 21582  df-bl 21583  df-mopn 21584  df-fbas 21585  df-fg 21586  df-cnfld 21589  df-top 23122  df-topon 23139  df-topsp 23161  df-bases 23174  df-cld 23247  df-ntr 23248  df-cls 23249  df-nei 23326  df-lp 23364  df-perf 23365  df-cn 23455  df-cnp 23456  df-haus 23543  df-cmp 23615  df-tx 23791  df-hmeo 23984  df-fil 24075  df-fm 24167  df-flim 24168  df-flf 24169  df-xms 24549  df-ms 24550  df-tms 24551  df-cncf 25109  df-limc 26096  df-dv 26097  df-ulm 26616  df-log 26796  df-cxp 26797
This theorem is used by:  stirlinglem13  46917
  Copyright terms: Public domain W3C validator