MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  log2sumbnd Structured version   Visualization version   GIF version

Theorem log2sumbnd 26692
Description: Bound on the difference between Σ𝑛𝐴, log↑2(𝑛) and the equivalent integral. (Contributed by Mario Carneiro, 20-May-2016.)
Assertion
Ref Expression
log2sumbnd ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ≤ (((log‘𝐴)↑2) + 2))
Distinct variable group:   𝐴,𝑛

Proof of Theorem log2sumbnd
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fzfid 13693 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (1...(⌊‘𝐴)) ∈ Fin)
2 elfznn 13285 . . . . . . . . . . . 12 (𝑛 ∈ (1...(⌊‘𝐴)) → 𝑛 ∈ ℕ)
32adantl 482 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℕ)
43nnrpd 12770 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℝ+)
54relogcld 25778 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → (log‘𝑛) ∈ ℝ)
65resqcld 13965 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → ((log‘𝑛)↑2) ∈ ℝ)
71, 6fsumrecl 15446 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) ∈ ℝ)
8 rpre 12738 . . . . . . . . 9 (𝐴 ∈ ℝ+𝐴 ∈ ℝ)
98adantr 481 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ)
10 relogcl 25731 . . . . . . . . . . 11 (𝐴 ∈ ℝ+ → (log‘𝐴) ∈ ℝ)
1110adantr 481 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log‘𝐴) ∈ ℝ)
1211resqcld 13965 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((log‘𝐴)↑2) ∈ ℝ)
13 2re 12047 . . . . . . . . . 10 2 ∈ ℝ
14 remulcl 10956 . . . . . . . . . . 11 ((2 ∈ ℝ ∧ (log‘𝐴) ∈ ℝ) → (2 · (log‘𝐴)) ∈ ℝ)
1513, 11, 14sylancr 587 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 · (log‘𝐴)) ∈ ℝ)
16 resubcl 11285 . . . . . . . . . 10 ((2 ∈ ℝ ∧ (2 · (log‘𝐴)) ∈ ℝ) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1713, 15, 16sylancr 587 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1812, 17readdcld 11004 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))) ∈ ℝ)
199, 18remulcld 11005 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))) ∈ ℝ)
207, 19resubcld 11403 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℝ)
2120recnd 11003 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ)
2221abscld 15148 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ)
23 resubcl 11285 . . . 4 (((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ ∧ 2 ∈ ℝ) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
2422, 13, 23sylancl 586 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
25 2cn 12048 . . . . . 6 2 ∈ ℂ
2625negcli 11289 . . . . 5 -2 ∈ ℂ
27 subcl 11220 . . . . 5 (((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ ∧ -2 ∈ ℂ) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2821, 26, 27sylancl 586 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2928abscld 15148 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ∈ ℝ)
3025absnegi 15112 . . . . . 6 (abs‘-2) = (abs‘2)
31 0le2 12075 . . . . . . 7 0 ≤ 2
32 absid 15008 . . . . . . 7 ((2 ∈ ℝ ∧ 0 ≤ 2) → (abs‘2) = 2)
3313, 31, 32mp2an 689 . . . . . 6 (abs‘2) = 2
3430, 33eqtri 2766 . . . . 5 (abs‘-2) = 2
3534oveq2i 7286 . . . 4 ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) = ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2)
36 abs2dif 15044 . . . . 5 (((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ ∧ -2 ∈ ℂ) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
3721, 26, 36sylancl 586 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
3835, 37eqbrtrrid 5110 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
39 fveq2 6774 . . . . . . . . . . 11 (𝑥 = 𝐴 → (⌊‘𝑥) = (⌊‘𝐴))
4039oveq2d 7291 . . . . . . . . . 10 (𝑥 = 𝐴 → (1...(⌊‘𝑥)) = (1...(⌊‘𝐴)))
4140sumeq1d 15413 . . . . . . . . 9 (𝑥 = 𝐴 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2))
42 id 22 . . . . . . . . . 10 (𝑥 = 𝐴𝑥 = 𝐴)
43 fveq2 6774 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (log‘𝑥) = (log‘𝐴))
4443oveq1d 7290 . . . . . . . . . . 11 (𝑥 = 𝐴 → ((log‘𝑥)↑2) = ((log‘𝐴)↑2))
4543oveq2d 7291 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (2 · (log‘𝑥)) = (2 · (log‘𝐴)))
4645oveq2d 7291 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2 − (2 · (log‘𝑥))) = (2 − (2 · (log‘𝐴))))
4744, 46oveq12d 7293 . . . . . . . . . 10 (𝑥 = 𝐴 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))
4842, 47oveq12d 7293 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))
4941, 48oveq12d 7293 . . . . . . . 8 (𝑥 = 𝐴 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
50 eqid 2738 . . . . . . . 8 (𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))
51 ovex 7308 . . . . . . . 8 𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) ∈ V
5249, 50, 51fvmpt3i 6880 . . . . . . 7 (𝐴 ∈ ℝ+ → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
5352adantr 481 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
54 1rp 12734 . . . . . . 7 1 ∈ ℝ+
55 fveq2 6774 . . . . . . . . . . . . . 14 (𝑥 = 1 → (⌊‘𝑥) = (⌊‘1))
56 1z 12350 . . . . . . . . . . . . . . 15 1 ∈ ℤ
57 flid 13528 . . . . . . . . . . . . . . 15 (1 ∈ ℤ → (⌊‘1) = 1)
5856, 57ax-mp 5 . . . . . . . . . . . . . 14 (⌊‘1) = 1
5955, 58eqtrdi 2794 . . . . . . . . . . . . 13 (𝑥 = 1 → (⌊‘𝑥) = 1)
6059oveq2d 7291 . . . . . . . . . . . 12 (𝑥 = 1 → (1...(⌊‘𝑥)) = (1...1))
6160sumeq1d 15413 . . . . . . . . . . 11 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...1)((log‘𝑛)↑2))
62 0cn 10967 . . . . . . . . . . . 12 0 ∈ ℂ
63 fveq2 6774 . . . . . . . . . . . . . . 15 (𝑛 = 1 → (log‘𝑛) = (log‘1))
64 log1 25741 . . . . . . . . . . . . . . 15 (log‘1) = 0
6563, 64eqtrdi 2794 . . . . . . . . . . . . . 14 (𝑛 = 1 → (log‘𝑛) = 0)
6665sq0id 13911 . . . . . . . . . . . . 13 (𝑛 = 1 → ((log‘𝑛)↑2) = 0)
6766fsum1 15459 . . . . . . . . . . . 12 ((1 ∈ ℤ ∧ 0 ∈ ℂ) → Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0)
6856, 62, 67mp2an 689 . . . . . . . . . . 11 Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0
6961, 68eqtrdi 2794 . . . . . . . . . 10 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = 0)
70 id 22 . . . . . . . . . . . 12 (𝑥 = 1 → 𝑥 = 1)
71 fveq2 6774 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (log‘𝑥) = (log‘1))
7271, 64eqtrdi 2794 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (log‘𝑥) = 0)
7372sq0id 13911 . . . . . . . . . . . . . 14 (𝑥 = 1 → ((log‘𝑥)↑2) = 0)
7472oveq2d 7291 . . . . . . . . . . . . . . . . 17 (𝑥 = 1 → (2 · (log‘𝑥)) = (2 · 0))
75 2t0e0 12142 . . . . . . . . . . . . . . . . 17 (2 · 0) = 0
7674, 75eqtrdi 2794 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (2 · (log‘𝑥)) = 0)
7776oveq2d 7291 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = (2 − 0))
7825subid1i 11293 . . . . . . . . . . . . . . 15 (2 − 0) = 2
7977, 78eqtrdi 2794 . . . . . . . . . . . . . 14 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = 2)
8073, 79oveq12d 7293 . . . . . . . . . . . . 13 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (0 + 2))
8125addid2i 11163 . . . . . . . . . . . . 13 (0 + 2) = 2
8280, 81eqtrdi 2794 . . . . . . . . . . . 12 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = 2)
8370, 82oveq12d 7293 . . . . . . . . . . 11 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (1 · 2))
8425mulid2i 10980 . . . . . . . . . . 11 (1 · 2) = 2
8583, 84eqtrdi 2794 . . . . . . . . . 10 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = 2)
8669, 85oveq12d 7293 . . . . . . . . 9 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (0 − 2))
87 df-neg 11208 . . . . . . . . 9 -2 = (0 − 2)
8886, 87eqtr4di 2796 . . . . . . . 8 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = -2)
8988, 50, 51fvmpt3i 6880 . . . . . . 7 (1 ∈ ℝ+ → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1) = -2)
9054, 89mp1i 13 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1) = -2)
9153, 90oveq12d 7293 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) − ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1)) = ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2))
9291fveq2d 6778 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) − ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1))) = (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
93 ioorp 13157 . . . . . 6 (0(,)+∞) = ℝ+
9493eqcomi 2747 . . . . 5 + = (0(,)+∞)
95 nnuz 12621 . . . . 5 ℕ = (ℤ‘1)
9656a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℤ)
97 1red 10976 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ)
98 pnfxr 11029 . . . . . 6 +∞ ∈ ℝ*
9998a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → +∞ ∈ ℝ*)
100 1re 10975 . . . . . . 7 1 ∈ ℝ
101 1nn0 12249 . . . . . . 7 1 ∈ ℕ0
102100, 101nn0addge1i 12281 . . . . . 6 1 ≤ (1 + 1)
103102a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ (1 + 1))
104 0red 10978 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 0 ∈ ℝ)
105 rpre 12738 . . . . . . 7 (𝑥 ∈ ℝ+𝑥 ∈ ℝ)
106105adantl 482 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ)
107 simpr 485 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ+)
108107relogcld 25778 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℝ)
109108resqcld 13965 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℝ)
110 remulcl 10956 . . . . . . . . 9 ((2 ∈ ℝ ∧ (log‘𝑥) ∈ ℝ) → (2 · (log‘𝑥)) ∈ ℝ)
11113, 108, 110sylancr 587 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℝ)
112 resubcl 11285 . . . . . . . 8 ((2 ∈ ℝ ∧ (2 · (log‘𝑥)) ∈ ℝ) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
11313, 111, 112sylancr 587 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
114109, 113readdcld 11004 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℝ)
115106, 114remulcld 11005 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) ∈ ℝ)
116 nnrp 12741 . . . . . 6 (𝑥 ∈ ℕ → 𝑥 ∈ ℝ+)
117116, 109sylan2 593 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℕ) → ((log‘𝑥)↑2) ∈ ℝ)
118 reelprrecn 10963 . . . . . . . 8 ℝ ∈ {ℝ, ℂ}
119118a1i 11 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ ∈ {ℝ, ℂ})
120106recnd 11003 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℂ)
121 1red 10976 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 1 ∈ ℝ)
122 recn 10961 . . . . . . . . 9 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
123122adantl 482 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 𝑥 ∈ ℂ)
124 1red 10976 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 1 ∈ ℝ)
125119dvmptid 25121 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 𝑥)) = (𝑥 ∈ ℝ ↦ 1))
126 rpssre 12737 . . . . . . . . 9 + ⊆ ℝ
127126a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ⊆ ℝ)
128 eqid 2738 . . . . . . . . 9 (TopOpen‘ℂfld) = (TopOpen‘ℂfld)
129128tgioo2 23966 . . . . . . . 8 (topGen‘ran (,)) = ((TopOpen‘ℂfld) ↾t ℝ)
130 iooretop 23929 . . . . . . . . . 10 (0(,)+∞) ∈ (topGen‘ran (,))
13193, 130eqeltrri 2836 . . . . . . . . 9 + ∈ (topGen‘ran (,))
132131a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ∈ (topGen‘ran (,)))
133119, 123, 124, 125, 127, 129, 128, 132dvmptres 25127 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+𝑥)) = (𝑥 ∈ ℝ+ ↦ 1))
134114recnd 11003 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℂ)
135 resubcl 11285 . . . . . . . . 9 (((2 · (log‘𝑥)) ∈ ℝ ∧ 2 ∈ ℝ) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
136111, 13, 135sylancl 586 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
137136, 107rerpdivcld 12803 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) ∈ ℝ)
138109recnd 11003 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℂ)
139111recnd 11003 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℂ)
140107rpreccld 12782 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℝ+)
141140rpcnd 12774 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℂ)
142139, 141mulcld 10995 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) · (1 / 𝑥)) ∈ ℂ)
143 cnelprrecn 10964 . . . . . . . . . . 11 ℂ ∈ {ℝ, ℂ}
144143a1i 11 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℂ ∈ {ℝ, ℂ})
145108recnd 11003 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℂ)
146 sqcl 13838 . . . . . . . . . . 11 (𝑦 ∈ ℂ → (𝑦↑2) ∈ ℂ)
147146adantl 482 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (𝑦↑2) ∈ ℂ)
148 simpr 485 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → 𝑦 ∈ ℂ)
149 mulcl 10955 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
15025, 148, 149sylancr 587 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
151 relogf1o 25722 . . . . . . . . . . . . . . 15 (log ↾ ℝ+):ℝ+1-1-onto→ℝ
152 f1of 6716 . . . . . . . . . . . . . . 15 ((log ↾ ℝ+):ℝ+1-1-onto→ℝ → (log ↾ ℝ+):ℝ+⟶ℝ)
153151, 152mp1i 13 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+):ℝ+⟶ℝ)
154153feqmptd 6837 . . . . . . . . . . . . 13 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)))
155 fvres 6793 . . . . . . . . . . . . . 14 (𝑥 ∈ ℝ+ → ((log ↾ ℝ+)‘𝑥) = (log‘𝑥))
156155mpteq2ia 5177 . . . . . . . . . . . . 13 (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥))
157154, 156eqtrdi 2794 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥)))
158157oveq2d 7291 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (log ↾ ℝ+)) = (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))))
159 dvrelog 25792 . . . . . . . . . . 11 (ℝ D (log ↾ ℝ+)) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥))
160158, 159eqtr3di 2793 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥)))
161 2nn 12046 . . . . . . . . . . . 12 2 ∈ ℕ
162 dvexp 25117 . . . . . . . . . . . 12 (2 ∈ ℕ → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
163161, 162mp1i 13 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
164 2m1e1 12099 . . . . . . . . . . . . . . 15 (2 − 1) = 1
165164oveq2i 7286 . . . . . . . . . . . . . 14 (𝑦↑(2 − 1)) = (𝑦↑1)
166 exp1 13788 . . . . . . . . . . . . . 14 (𝑦 ∈ ℂ → (𝑦↑1) = 𝑦)
167165, 166eqtrid 2790 . . . . . . . . . . . . 13 (𝑦 ∈ ℂ → (𝑦↑(2 − 1)) = 𝑦)
168167oveq2d 7291 . . . . . . . . . . . 12 (𝑦 ∈ ℂ → (2 · (𝑦↑(2 − 1))) = (2 · 𝑦))
169168mpteq2ia 5177 . . . . . . . . . . 11 (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦))
170163, 169eqtrdi 2794 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦)))
171 oveq1 7282 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (𝑦↑2) = ((log‘𝑥)↑2))
172 oveq2 7283 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (2 · 𝑦) = (2 · (log‘𝑥)))
173119, 144, 145, 140, 147, 150, 160, 170, 171, 172dvmptco 25136 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2))) = (𝑥 ∈ ℝ+ ↦ ((2 · (log‘𝑥)) · (1 / 𝑥))))
174113recnd 11003 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℂ)
175 ovexd 7310 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (0 − (2 · (1 / 𝑥))) ∈ V)
176 2cnd 12051 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 2 ∈ ℂ)
177 0red 10978 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 0 ∈ ℝ)
178 2cnd 12051 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 2 ∈ ℂ)
179 0red 10978 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 0 ∈ ℝ)
180 2cnd 12051 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℂ)
181119, 180dvmptc 25122 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 2)) = (𝑥 ∈ ℝ ↦ 0))
182119, 178, 179, 181, 127, 129, 128, 132dvmptres 25127 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ 2)) = (𝑥 ∈ ℝ+ ↦ 0))
183 mulcl 10955 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ (1 / 𝑥) ∈ ℂ) → (2 · (1 / 𝑥)) ∈ ℂ)
18425, 141, 183sylancr 587 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (1 / 𝑥)) ∈ ℂ)
185119, 145, 140, 160, 180dvmptcmul 25128 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 · (log‘𝑥)))) = (𝑥 ∈ ℝ+ ↦ (2 · (1 / 𝑥))))
186119, 176, 177, 182, 139, 184, 185dvmptsub 25131 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 − (2 · (log‘𝑥))))) = (𝑥 ∈ ℝ+ ↦ (0 − (2 · (1 / 𝑥)))))
187119, 138, 142, 173, 174, 175, 186dvmptadd 25124 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))))
188139, 176, 141subdird 11432 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
189136recnd 11003 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℂ)
190 rpne0 12746 . . . . . . . . . . . 12 (𝑥 ∈ ℝ+𝑥 ≠ 0)
191190adantl 482 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ≠ 0)
192189, 120, 191divrecd 11754 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) = (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)))
193 df-neg 11208 . . . . . . . . . . . 12 -(2 · (1 / 𝑥)) = (0 − (2 · (1 / 𝑥)))
194193oveq2i 7286 . . . . . . . . . . 11 (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))
195142, 184negsubd 11338 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
196194, 195eqtr3id 2792 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥)))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
197188, 192, 1963eqtr4rd 2789 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥)))) = (((2 · (log‘𝑥)) − 2) / 𝑥))
198197mpteq2dva 5174 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) − 2) / 𝑥)))
199187, 198eqtrd 2778 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) − 2) / 𝑥)))
200119, 120, 121, 133, 134, 137, 199dvmptmul 25125 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥))))
201134mulid2d 10993 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))
202138, 139, 176subsub2d 11361 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) = (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))
203201, 202eqtr4d 2781 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)))
204189, 120, 191divcan1d 11752 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥) = ((2 · (log‘𝑥)) − 2))
205203, 204oveq12d 7293 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥)) = ((((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) + ((2 · (log‘𝑥)) − 2)))
206138, 189npcand 11336 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) + ((2 · (log‘𝑥)) − 2)) = ((log‘𝑥)↑2))
207205, 206eqtrd 2778 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥)) = ((log‘𝑥)↑2))
208207mpteq2dva 5174 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝑥 ∈ ℝ+ ↦ ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥))) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2)))
209200, 208eqtrd 2778 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2)))
210 fveq2 6774 . . . . . 6 (𝑥 = 𝑛 → (log‘𝑥) = (log‘𝑛))
211210oveq1d 7290 . . . . 5 (𝑥 = 𝑛 → ((log‘𝑥)↑2) = ((log‘𝑛)↑2))
212 simp32 1209 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥𝑛)
213 simp2l 1198 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ+)
214 simp2r 1199 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ+)
215213, 214logled 25782 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (𝑥𝑛 ↔ (log‘𝑥) ≤ (log‘𝑛)))
216212, 215mpbid 231 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ≤ (log‘𝑛))
217213relogcld 25778 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ∈ ℝ)
218214relogcld 25778 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑛) ∈ ℝ)
219 simp31 1208 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑥)
220 logleb 25758 . . . . . . . . . 10 ((1 ∈ ℝ+𝑥 ∈ ℝ+) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
22154, 213, 220sylancr 587 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
222219, 221mpbid 231 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘1) ≤ (log‘𝑥))
22364, 222eqbrtrrid 5110 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑥))
224214rpred 12772 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ)
225 1red 10976 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ∈ ℝ)
226213rpred 12772 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ)
227225, 226, 224, 219, 212letrd 11132 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑛)
228224, 227logge0d 25785 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑛))
229217, 218, 223, 228le2sqd 13974 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥) ≤ (log‘𝑛) ↔ ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2)))
230216, 229mpbid 231 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2))
231 relogcl 25731 . . . . . . 7 (𝑥 ∈ ℝ+ → (log‘𝑥) ∈ ℝ)
232231ad2antrl 725 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → (log‘𝑥) ∈ ℝ)
233232sqge0d 13966 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → 0 ≤ ((log‘𝑥)↑2))
23454a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ+)
235 simpl 483 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ+)
236 1le1 11603 . . . . . 6 1 ≤ 1
237236a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 1)
238 simpr 485 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 𝐴)
2399rexrd 11025 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ*)
240 pnfge 12866 . . . . . 6 (𝐴 ∈ ℝ*𝐴 ≤ +∞)
241239, 240syl 17 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ≤ +∞)
24294, 95, 96, 97, 99, 103, 104, 115, 109, 117, 209, 211, 230, 50, 233, 234, 235, 237, 238, 241, 44dvfsum2 25198 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) − ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1))) ≤ ((log‘𝐴)↑2))
24392, 242eqbrtrrd 5098 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ≤ ((log‘𝐴)↑2))
24424, 29, 12, 38, 243letrd 11132 . 2 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ ((log‘𝐴)↑2))
24513a1i 11 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℝ)
24622, 245, 12lesubaddd 11572 . 2 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ ((log‘𝐴)↑2) ↔ (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ≤ (((log‘𝐴)↑2) + 2)))
247244, 246mpbid 231 1 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ≤ (((log‘𝐴)↑2) + 2))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  Vcvv 3432  wss 3887  {cpr 4563   class class class wbr 5074  cmpt 5157  ran crn 5590  cres 5591  wf 6429  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  cc 10869  cr 10870  0cc0 10871  1c1 10872   + caddc 10874   · cmul 10876  +∞cpnf 11006  *cxr 11008  cle 11010  cmin 11205  -cneg 11206   / cdiv 11632  cn 11973  2c2 12028  cz 12319  +crp 12730  (,)cioo 13079  ...cfz 13239  cfl 13510  cexp 13782  abscabs 14945  Σcsu 15397  TopOpenctopn 17132  topGenctg 17148  fldccnfld 20597   D cdv 25027  logclog 25710
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949  ax-addf 10950  ax-mulf 10951
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-iin 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-of 7533  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-er 8498  df-map 8617  df-pm 8618  df-ixp 8686  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-fsupp 9129  df-fi 9170  df-sup 9201  df-inf 9202  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-5 12039  df-6 12040  df-7 12041  df-8 12042  df-9 12043  df-n0 12234  df-z 12320  df-dec 12438  df-uz 12583  df-q 12689  df-rp 12731  df-xneg 12848  df-xadd 12849  df-xmul 12850  df-ioo 13083  df-ioc 13084  df-ico 13085  df-icc 13086  df-fz 13240  df-fzo 13383  df-fl 13512  df-mod 13590  df-seq 13722  df-exp 13783  df-fac 13988  df-bc 14017  df-hash 14045  df-shft 14778  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-limsup 15180  df-clim 15197  df-rlim 15198  df-sum 15398  df-ef 15777  df-sin 15779  df-cos 15780  df-pi 15782  df-struct 16848  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-mulr 16976  df-starv 16977  df-sca 16978  df-vsca 16979  df-ip 16980  df-tset 16981  df-ple 16982  df-ds 16984  df-unif 16985  df-hom 16986  df-cco 16987  df-rest 17133  df-topn 17134  df-0g 17152  df-gsum 17153  df-topgen 17154  df-pt 17155  df-prds 17158  df-xrs 17213  df-qtop 17218  df-imas 17219  df-xps 17221  df-mre 17295  df-mrc 17296  df-acs 17298  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-submnd 18431  df-mulg 18701  df-cntz 18923  df-cmn 19388  df-psmet 20589  df-xmet 20590  df-met 20591  df-bl 20592  df-mopn 20593  df-fbas 20594  df-fg 20595  df-cnfld 20598  df-top 22043  df-topon 22060  df-topsp 22082  df-bases 22096  df-cld 22170  df-ntr 22171  df-cls 22172  df-nei 22249  df-lp 22287  df-perf 22288  df-cn 22378  df-cnp 22379  df-haus 22466  df-cmp 22538  df-tx 22713  df-hmeo 22906  df-fil 22997  df-fm 23089  df-flim 23090  df-flf 23091  df-xms 23473  df-ms 23474  df-tms 23475  df-cncf 24041  df-limc 25030  df-dv 25031  df-log 25712
This theorem is referenced by:  selberglem2  26694
  Copyright terms: Public domain W3C validator