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

Theorem log2sumbnd 26597
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 13621 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (1...(⌊‘𝐴)) ∈ Fin)
2 elfznn 13214 . . . . . . . . . . . 12 (𝑛 ∈ (1...(⌊‘𝐴)) → 𝑛 ∈ ℕ)
32adantl 481 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℕ)
43nnrpd 12699 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℝ+)
54relogcld 25683 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → (log‘𝑛) ∈ ℝ)
65resqcld 13893 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → ((log‘𝑛)↑2) ∈ ℝ)
71, 6fsumrecl 15374 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) ∈ ℝ)
8 rpre 12667 . . . . . . . . 9 (𝐴 ∈ ℝ+𝐴 ∈ ℝ)
98adantr 480 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ)
10 relogcl 25636 . . . . . . . . . . 11 (𝐴 ∈ ℝ+ → (log‘𝐴) ∈ ℝ)
1110adantr 480 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log‘𝐴) ∈ ℝ)
1211resqcld 13893 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((log‘𝐴)↑2) ∈ ℝ)
13 2re 11977 . . . . . . . . . 10 2 ∈ ℝ
14 remulcl 10887 . . . . . . . . . . 11 ((2 ∈ ℝ ∧ (log‘𝐴) ∈ ℝ) → (2 · (log‘𝐴)) ∈ ℝ)
1513, 11, 14sylancr 586 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 · (log‘𝐴)) ∈ ℝ)
16 resubcl 11215 . . . . . . . . . 10 ((2 ∈ ℝ ∧ (2 · (log‘𝐴)) ∈ ℝ) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1713, 15, 16sylancr 586 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1812, 17readdcld 10935 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))) ∈ ℝ)
199, 18remulcld 10936 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))) ∈ ℝ)
207, 19resubcld 11333 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℝ)
2120recnd 10934 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ)
2221abscld 15076 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ)
23 resubcl 11215 . . . 4 (((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ ∧ 2 ∈ ℝ) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
2422, 13, 23sylancl 585 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
25 2cn 11978 . . . . . 6 2 ∈ ℂ
2625negcli 11219 . . . . 5 -2 ∈ ℂ
27 subcl 11150 . . . . 5 (((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ ∧ -2 ∈ ℂ) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2821, 26, 27sylancl 585 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2928abscld 15076 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ∈ ℝ)
3025absnegi 15040 . . . . . 6 (abs‘-2) = (abs‘2)
31 0le2 12005 . . . . . . 7 0 ≤ 2
32 absid 14936 . . . . . . 7 ((2 ∈ ℝ ∧ 0 ≤ 2) → (abs‘2) = 2)
3313, 31, 32mp2an 688 . . . . . 6 (abs‘2) = 2
3430, 33eqtri 2766 . . . . 5 (abs‘-2) = 2
3534oveq2i 7266 . . . 4 ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) = ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2)
36 abs2dif 14972 . . . . 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 585 . . . 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 5106 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
39 fveq2 6756 . . . . . . . . . . 11 (𝑥 = 𝐴 → (⌊‘𝑥) = (⌊‘𝐴))
4039oveq2d 7271 . . . . . . . . . 10 (𝑥 = 𝐴 → (1...(⌊‘𝑥)) = (1...(⌊‘𝐴)))
4140sumeq1d 15341 . . . . . . . . 9 (𝑥 = 𝐴 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2))
42 id 22 . . . . . . . . . 10 (𝑥 = 𝐴𝑥 = 𝐴)
43 fveq2 6756 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (log‘𝑥) = (log‘𝐴))
4443oveq1d 7270 . . . . . . . . . . 11 (𝑥 = 𝐴 → ((log‘𝑥)↑2) = ((log‘𝐴)↑2))
4543oveq2d 7271 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (2 · (log‘𝑥)) = (2 · (log‘𝐴)))
4645oveq2d 7271 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2 − (2 · (log‘𝑥))) = (2 − (2 · (log‘𝐴))))
4744, 46oveq12d 7273 . . . . . . . . . 10 (𝑥 = 𝐴 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))
4842, 47oveq12d 7273 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))
4941, 48oveq12d 7273 . . . . . . . 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 7288 . . . . . . . 8 𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) ∈ V
5249, 50, 51fvmpt3i 6862 . . . . . . 7 (𝐴 ∈ ℝ+ → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
5352adantr 480 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
54 1rp 12663 . . . . . . 7 1 ∈ ℝ+
55 fveq2 6756 . . . . . . . . . . . . . 14 (𝑥 = 1 → (⌊‘𝑥) = (⌊‘1))
56 1z 12280 . . . . . . . . . . . . . . 15 1 ∈ ℤ
57 flid 13456 . . . . . . . . . . . . . . 15 (1 ∈ ℤ → (⌊‘1) = 1)
5856, 57ax-mp 5 . . . . . . . . . . . . . 14 (⌊‘1) = 1
5955, 58eqtrdi 2795 . . . . . . . . . . . . 13 (𝑥 = 1 → (⌊‘𝑥) = 1)
6059oveq2d 7271 . . . . . . . . . . . 12 (𝑥 = 1 → (1...(⌊‘𝑥)) = (1...1))
6160sumeq1d 15341 . . . . . . . . . . 11 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...1)((log‘𝑛)↑2))
62 0cn 10898 . . . . . . . . . . . 12 0 ∈ ℂ
63 fveq2 6756 . . . . . . . . . . . . . . 15 (𝑛 = 1 → (log‘𝑛) = (log‘1))
64 log1 25646 . . . . . . . . . . . . . . 15 (log‘1) = 0
6563, 64eqtrdi 2795 . . . . . . . . . . . . . 14 (𝑛 = 1 → (log‘𝑛) = 0)
6665sq0id 13839 . . . . . . . . . . . . 13 (𝑛 = 1 → ((log‘𝑛)↑2) = 0)
6766fsum1 15387 . . . . . . . . . . . 12 ((1 ∈ ℤ ∧ 0 ∈ ℂ) → Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0)
6856, 62, 67mp2an 688 . . . . . . . . . . 11 Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0
6961, 68eqtrdi 2795 . . . . . . . . . 10 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = 0)
70 id 22 . . . . . . . . . . . 12 (𝑥 = 1 → 𝑥 = 1)
71 fveq2 6756 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (log‘𝑥) = (log‘1))
7271, 64eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (log‘𝑥) = 0)
7372sq0id 13839 . . . . . . . . . . . . . 14 (𝑥 = 1 → ((log‘𝑥)↑2) = 0)
7472oveq2d 7271 . . . . . . . . . . . . . . . . 17 (𝑥 = 1 → (2 · (log‘𝑥)) = (2 · 0))
75 2t0e0 12072 . . . . . . . . . . . . . . . . 17 (2 · 0) = 0
7674, 75eqtrdi 2795 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (2 · (log‘𝑥)) = 0)
7776oveq2d 7271 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = (2 − 0))
7825subid1i 11223 . . . . . . . . . . . . . . 15 (2 − 0) = 2
7977, 78eqtrdi 2795 . . . . . . . . . . . . . 14 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = 2)
8073, 79oveq12d 7273 . . . . . . . . . . . . 13 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (0 + 2))
8125addid2i 11093 . . . . . . . . . . . . 13 (0 + 2) = 2
8280, 81eqtrdi 2795 . . . . . . . . . . . 12 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = 2)
8370, 82oveq12d 7273 . . . . . . . . . . 11 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (1 · 2))
8425mulid2i 10911 . . . . . . . . . . 11 (1 · 2) = 2
8583, 84eqtrdi 2795 . . . . . . . . . 10 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = 2)
8669, 85oveq12d 7273 . . . . . . . . 9 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (0 − 2))
87 df-neg 11138 . . . . . . . . 9 -2 = (0 − 2)
8886, 87eqtr4di 2797 . . . . . . . 8 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = -2)
8988, 50, 51fvmpt3i 6862 . . . . . . 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 7273 . . . . 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 6760 . . . 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 13086 . . . . . 6 (0(,)+∞) = ℝ+
9493eqcomi 2747 . . . . 5 + = (0(,)+∞)
95 nnuz 12550 . . . . 5 ℕ = (ℤ‘1)
9656a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℤ)
97 1red 10907 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ)
98 pnfxr 10960 . . . . . 6 +∞ ∈ ℝ*
9998a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → +∞ ∈ ℝ*)
100 1re 10906 . . . . . . 7 1 ∈ ℝ
101 1nn0 12179 . . . . . . 7 1 ∈ ℕ0
102100, 101nn0addge1i 12211 . . . . . 6 1 ≤ (1 + 1)
103102a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ (1 + 1))
104 0red 10909 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 0 ∈ ℝ)
105 rpre 12667 . . . . . . 7 (𝑥 ∈ ℝ+𝑥 ∈ ℝ)
106105adantl 481 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ)
107 simpr 484 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ+)
108107relogcld 25683 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℝ)
109108resqcld 13893 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℝ)
110 remulcl 10887 . . . . . . . . 9 ((2 ∈ ℝ ∧ (log‘𝑥) ∈ ℝ) → (2 · (log‘𝑥)) ∈ ℝ)
11113, 108, 110sylancr 586 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℝ)
112 resubcl 11215 . . . . . . . 8 ((2 ∈ ℝ ∧ (2 · (log‘𝑥)) ∈ ℝ) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
11313, 111, 112sylancr 586 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
114109, 113readdcld 10935 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℝ)
115106, 114remulcld 10936 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) ∈ ℝ)
116 nnrp 12670 . . . . . 6 (𝑥 ∈ ℕ → 𝑥 ∈ ℝ+)
117116, 109sylan2 592 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℕ) → ((log‘𝑥)↑2) ∈ ℝ)
118 reelprrecn 10894 . . . . . . . 8 ℝ ∈ {ℝ, ℂ}
119118a1i 11 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ ∈ {ℝ, ℂ})
120106recnd 10934 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℂ)
121 1red 10907 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 1 ∈ ℝ)
122 recn 10892 . . . . . . . . 9 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
123122adantl 481 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 𝑥 ∈ ℂ)
124 1red 10907 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 1 ∈ ℝ)
125119dvmptid 25026 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 𝑥)) = (𝑥 ∈ ℝ ↦ 1))
126 rpssre 12666 . . . . . . . . 9 + ⊆ ℝ
127126a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ⊆ ℝ)
128 eqid 2738 . . . . . . . . 9 (TopOpen‘ℂfld) = (TopOpen‘ℂfld)
129128tgioo2 23872 . . . . . . . 8 (topGen‘ran (,)) = ((TopOpen‘ℂfld) ↾t ℝ)
130 iooretop 23835 . . . . . . . . . 10 (0(,)+∞) ∈ (topGen‘ran (,))
13193, 130eqeltrri 2836 . . . . . . . . 9 + ∈ (topGen‘ran (,))
132131a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ∈ (topGen‘ran (,)))
133119, 123, 124, 125, 127, 129, 128, 132dvmptres 25032 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+𝑥)) = (𝑥 ∈ ℝ+ ↦ 1))
134114recnd 10934 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℂ)
135 resubcl 11215 . . . . . . . . 9 (((2 · (log‘𝑥)) ∈ ℝ ∧ 2 ∈ ℝ) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
136111, 13, 135sylancl 585 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
137136, 107rerpdivcld 12732 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) ∈ ℝ)
138109recnd 10934 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℂ)
139111recnd 10934 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℂ)
140107rpreccld 12711 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℝ+)
141140rpcnd 12703 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℂ)
142139, 141mulcld 10926 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) · (1 / 𝑥)) ∈ ℂ)
143 cnelprrecn 10895 . . . . . . . . . . 11 ℂ ∈ {ℝ, ℂ}
144143a1i 11 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℂ ∈ {ℝ, ℂ})
145108recnd 10934 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℂ)
146 sqcl 13766 . . . . . . . . . . 11 (𝑦 ∈ ℂ → (𝑦↑2) ∈ ℂ)
147146adantl 481 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (𝑦↑2) ∈ ℂ)
148 simpr 484 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → 𝑦 ∈ ℂ)
149 mulcl 10886 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
15025, 148, 149sylancr 586 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
151 relogf1o 25627 . . . . . . . . . . . . . . 15 (log ↾ ℝ+):ℝ+1-1-onto→ℝ
152 f1of 6700 . . . . . . . . . . . . . . 15 ((log ↾ ℝ+):ℝ+1-1-onto→ℝ → (log ↾ ℝ+):ℝ+⟶ℝ)
153151, 152mp1i 13 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+):ℝ+⟶ℝ)
154153feqmptd 6819 . . . . . . . . . . . . 13 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)))
155 fvres 6775 . . . . . . . . . . . . . 14 (𝑥 ∈ ℝ+ → ((log ↾ ℝ+)‘𝑥) = (log‘𝑥))
156155mpteq2ia 5173 . . . . . . . . . . . . 13 (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥))
157154, 156eqtrdi 2795 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥)))
158157oveq2d 7271 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (log ↾ ℝ+)) = (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))))
159 dvrelog 25697 . . . . . . . . . . 11 (ℝ D (log ↾ ℝ+)) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥))
160158, 159eqtr3di 2794 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥)))
161 2nn 11976 . . . . . . . . . . . 12 2 ∈ ℕ
162 dvexp 25022 . . . . . . . . . . . 12 (2 ∈ ℕ → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
163161, 162mp1i 13 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
164 2m1e1 12029 . . . . . . . . . . . . . . 15 (2 − 1) = 1
165164oveq2i 7266 . . . . . . . . . . . . . 14 (𝑦↑(2 − 1)) = (𝑦↑1)
166 exp1 13716 . . . . . . . . . . . . . 14 (𝑦 ∈ ℂ → (𝑦↑1) = 𝑦)
167165, 166syl5eq 2791 . . . . . . . . . . . . 13 (𝑦 ∈ ℂ → (𝑦↑(2 − 1)) = 𝑦)
168167oveq2d 7271 . . . . . . . . . . . 12 (𝑦 ∈ ℂ → (2 · (𝑦↑(2 − 1))) = (2 · 𝑦))
169168mpteq2ia 5173 . . . . . . . . . . 11 (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦))
170163, 169eqtrdi 2795 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦)))
171 oveq1 7262 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (𝑦↑2) = ((log‘𝑥)↑2))
172 oveq2 7263 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (2 · 𝑦) = (2 · (log‘𝑥)))
173119, 144, 145, 140, 147, 150, 160, 170, 171, 172dvmptco 25041 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2))) = (𝑥 ∈ ℝ+ ↦ ((2 · (log‘𝑥)) · (1 / 𝑥))))
174113recnd 10934 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℂ)
175 ovexd 7290 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (0 − (2 · (1 / 𝑥))) ∈ V)
176 2cnd 11981 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 2 ∈ ℂ)
177 0red 10909 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 0 ∈ ℝ)
178 2cnd 11981 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 2 ∈ ℂ)
179 0red 10909 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 0 ∈ ℝ)
180 2cnd 11981 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℂ)
181119, 180dvmptc 25027 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 2)) = (𝑥 ∈ ℝ ↦ 0))
182119, 178, 179, 181, 127, 129, 128, 132dvmptres 25032 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ 2)) = (𝑥 ∈ ℝ+ ↦ 0))
183 mulcl 10886 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ (1 / 𝑥) ∈ ℂ) → (2 · (1 / 𝑥)) ∈ ℂ)
18425, 141, 183sylancr 586 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (1 / 𝑥)) ∈ ℂ)
185119, 145, 140, 160, 180dvmptcmul 25033 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 · (log‘𝑥)))) = (𝑥 ∈ ℝ+ ↦ (2 · (1 / 𝑥))))
186119, 176, 177, 182, 139, 184, 185dvmptsub 25036 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 − (2 · (log‘𝑥))))) = (𝑥 ∈ ℝ+ ↦ (0 − (2 · (1 / 𝑥)))))
187119, 138, 142, 173, 174, 175, 186dvmptadd 25029 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))))
188139, 176, 141subdird 11362 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
189136recnd 10934 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℂ)
190 rpne0 12675 . . . . . . . . . . . 12 (𝑥 ∈ ℝ+𝑥 ≠ 0)
191190adantl 481 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ≠ 0)
192189, 120, 191divrecd 11684 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) = (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)))
193 df-neg 11138 . . . . . . . . . . . 12 -(2 · (1 / 𝑥)) = (0 − (2 · (1 / 𝑥)))
194193oveq2i 7266 . . . . . . . . . . 11 (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))
195142, 184negsubd 11268 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
196194, 195eqtr3id 2793 . . . . . . . . . 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 5170 . . . . . . . 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 25030 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥))))
201134mulid2d 10924 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))
202138, 139, 176subsub2d 11291 . . . . . . . . . 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 11682 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥) = ((2 · (log‘𝑥)) − 2))
205203, 204oveq12d 7273 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥)) = ((((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) + ((2 · (log‘𝑥)) − 2)))
206138, 189npcand 11266 . . . . . . . 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 5170 . . . . . 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 6756 . . . . . 6 (𝑥 = 𝑛 → (log‘𝑥) = (log‘𝑛))
211210oveq1d 7270 . . . . 5 (𝑥 = 𝑛 → ((log‘𝑥)↑2) = ((log‘𝑛)↑2))
212 simp32 1208 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥𝑛)
213 simp2l 1197 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ+)
214 simp2r 1198 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ+)
215213, 214logled 25687 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (𝑥𝑛 ↔ (log‘𝑥) ≤ (log‘𝑛)))
216212, 215mpbid 231 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ≤ (log‘𝑛))
217213relogcld 25683 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ∈ ℝ)
218214relogcld 25683 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑛) ∈ ℝ)
219 simp31 1207 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑥)
220 logleb 25663 . . . . . . . . . 10 ((1 ∈ ℝ+𝑥 ∈ ℝ+) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
22154, 213, 220sylancr 586 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
222219, 221mpbid 231 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘1) ≤ (log‘𝑥))
22364, 222eqbrtrrid 5106 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑥))
224214rpred 12701 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ)
225 1red 10907 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ∈ ℝ)
226213rpred 12701 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ)
227225, 226, 224, 219, 212letrd 11062 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑛)
228224, 227logge0d 25690 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑛))
229217, 218, 223, 228le2sqd 13902 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥) ≤ (log‘𝑛) ↔ ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2)))
230216, 229mpbid 231 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2))
231 relogcl 25636 . . . . . . 7 (𝑥 ∈ ℝ+ → (log‘𝑥) ∈ ℝ)
232231ad2antrl 724 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → (log‘𝑥) ∈ ℝ)
233232sqge0d 13894 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → 0 ≤ ((log‘𝑥)↑2))
23454a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ+)
235 simpl 482 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ+)
236 1le1 11533 . . . . . 6 1 ≤ 1
237236a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 1)
238 simpr 484 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 𝐴)
2399rexrd 10956 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ*)
240 pnfge 12795 . . . . . 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 25103 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) − ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1))) ≤ ((log‘𝐴)↑2))
24392, 242eqbrtrrd 5094 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ≤ ((log‘𝐴)↑2))
24424, 29, 12, 38, 243letrd 11062 . 2 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ ((log‘𝐴)↑2))
24513a1i 11 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℝ)
24622, 245, 12lesubaddd 11502 . 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 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  wss 3883  {cpr 4560   class class class wbr 5070  cmpt 5153  ran crn 5581  cres 5582  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  cc 10800  cr 10801  0cc0 10802  1c1 10803   + caddc 10805   · cmul 10807  +∞cpnf 10937  *cxr 10939  cle 10941  cmin 11135  -cneg 11136   / cdiv 11562  cn 11903  2c2 11958  cz 12249  +crp 12659  (,)cioo 13008  ...cfz 13168  cfl 13438  cexp 13710  abscabs 14873  Σcsu 15325  TopOpenctopn 17049  topGenctg 17065  fldccnfld 20510   D cdv 24932  logclog 25615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880  ax-addf 10881  ax-mulf 10882
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-supp 7949  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-er 8456  df-map 8575  df-pm 8576  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-fi 9100  df-sup 9131  df-inf 9132  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-q 12618  df-rp 12660  df-xneg 12777  df-xadd 12778  df-xmul 12779  df-ioo 13012  df-ioc 13013  df-ico 13014  df-icc 13015  df-fz 13169  df-fzo 13312  df-fl 13440  df-mod 13518  df-seq 13650  df-exp 13711  df-fac 13916  df-bc 13945  df-hash 13973  df-shft 14706  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-limsup 15108  df-clim 15125  df-rlim 15126  df-sum 15326  df-ef 15705  df-sin 15707  df-cos 15708  df-pi 15710  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-mulr 16902  df-starv 16903  df-sca 16904  df-vsca 16905  df-ip 16906  df-tset 16907  df-ple 16908  df-ds 16910  df-unif 16911  df-hom 16912  df-cco 16913  df-rest 17050  df-topn 17051  df-0g 17069  df-gsum 17070  df-topgen 17071  df-pt 17072  df-prds 17075  df-xrs 17130  df-qtop 17135  df-imas 17136  df-xps 17138  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-submnd 18346  df-mulg 18616  df-cntz 18838  df-cmn 19303  df-psmet 20502  df-xmet 20503  df-met 20504  df-bl 20505  df-mopn 20506  df-fbas 20507  df-fg 20508  df-cnfld 20511  df-top 21951  df-topon 21968  df-topsp 21990  df-bases 22004  df-cld 22078  df-ntr 22079  df-cls 22080  df-nei 22157  df-lp 22195  df-perf 22196  df-cn 22286  df-cnp 22287  df-haus 22374  df-cmp 22446  df-tx 22621  df-hmeo 22814  df-fil 22905  df-fm 22997  df-flim 22998  df-flf 22999  df-xms 23381  df-ms 23382  df-tms 23383  df-cncf 23947  df-limc 24935  df-dv 24936  df-log 25617
This theorem is referenced by:  selberglem2  26599
  Copyright terms: Public domain W3C validator