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

Theorem log2sumbnd 25524
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 12980 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (1...(⌊‘𝐴)) ∈ Fin)
2 elfznn 12577 . . . . . . . . . . . 12 (𝑛 ∈ (1...(⌊‘𝐴)) → 𝑛 ∈ ℕ)
32adantl 473 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℕ)
43nnrpd 12068 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → 𝑛 ∈ ℝ+)
54relogcld 24660 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → (log‘𝑛) ∈ ℝ)
65resqcld 13242 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑛 ∈ (1...(⌊‘𝐴))) → ((log‘𝑛)↑2) ∈ ℝ)
71, 6fsumrecl 14752 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) ∈ ℝ)
8 rpre 12036 . . . . . . . . 9 (𝐴 ∈ ℝ+𝐴 ∈ ℝ)
98adantr 472 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ)
10 relogcl 24613 . . . . . . . . . . 11 (𝐴 ∈ ℝ+ → (log‘𝐴) ∈ ℝ)
1110adantr 472 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log‘𝐴) ∈ ℝ)
1211resqcld 13242 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((log‘𝐴)↑2) ∈ ℝ)
13 2re 11346 . . . . . . . . . 10 2 ∈ ℝ
14 remulcl 10274 . . . . . . . . . . 11 ((2 ∈ ℝ ∧ (log‘𝐴) ∈ ℝ) → (2 · (log‘𝐴)) ∈ ℝ)
1513, 11, 14sylancr 581 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 · (log‘𝐴)) ∈ ℝ)
16 resubcl 10599 . . . . . . . . . 10 ((2 ∈ ℝ ∧ (2 · (log‘𝐴)) ∈ ℝ) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1713, 15, 16sylancr 581 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (2 − (2 · (log‘𝐴))) ∈ ℝ)
1812, 17readdcld 10323 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))) ∈ ℝ)
199, 18remulcld 10324 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))) ∈ ℝ)
207, 19resubcld 10712 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℝ)
2120recnd 10322 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ)
2221abscld 14462 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ)
23 resubcl 10599 . . . 4 (((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) ∈ ℝ ∧ 2 ∈ ℝ) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
2422, 13, 23sylancl 580 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ∈ ℝ)
25 2cn 11347 . . . . . 6 2 ∈ ℂ
2625negcli 10603 . . . . 5 -2 ∈ ℂ
27 subcl 10534 . . . . 5 (((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) ∈ ℂ ∧ -2 ∈ ℂ) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2821, 26, 27sylancl 580 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2) ∈ ℂ)
2928abscld 14462 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ∈ ℝ)
3025absnegi 14426 . . . . . 6 (abs‘-2) = (abs‘2)
31 0le2 11381 . . . . . . 7 0 ≤ 2
32 absid 14323 . . . . . . 7 ((2 ∈ ℝ ∧ 0 ≤ 2) → (abs‘2) = 2)
3313, 31, 32mp2an 683 . . . . . 6 (abs‘2) = 2
3430, 33eqtri 2787 . . . . 5 (abs‘-2) = 2
3534oveq2i 6853 . . . 4 ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) = ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2)
36 abs2dif 14359 . . . . 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 580 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − (abs‘-2)) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
3835, 37syl5eqbrr 4845 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)))
39 fveq2 6375 . . . . . . . . . . 11 (𝑥 = 𝐴 → (⌊‘𝑥) = (⌊‘𝐴))
4039oveq2d 6858 . . . . . . . . . 10 (𝑥 = 𝐴 → (1...(⌊‘𝑥)) = (1...(⌊‘𝐴)))
4140sumeq1d 14718 . . . . . . . . 9 (𝑥 = 𝐴 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2))
42 id 22 . . . . . . . . . 10 (𝑥 = 𝐴𝑥 = 𝐴)
43 fveq2 6375 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (log‘𝑥) = (log‘𝐴))
4443oveq1d 6857 . . . . . . . . . . 11 (𝑥 = 𝐴 → ((log‘𝑥)↑2) = ((log‘𝐴)↑2))
4543oveq2d 6858 . . . . . . . . . . . 12 (𝑥 = 𝐴 → (2 · (log‘𝑥)) = (2 · (log‘𝐴)))
4645oveq2d 6858 . . . . . . . . . . 11 (𝑥 = 𝐴 → (2 − (2 · (log‘𝑥))) = (2 − (2 · (log‘𝐴))))
4744, 46oveq12d 6860 . . . . . . . . . 10 (𝑥 = 𝐴 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))
4842, 47oveq12d 6860 . . . . . . . . 9 (𝑥 = 𝐴 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))
4941, 48oveq12d 6860 . . . . . . . 8 (𝑥 = 𝐴 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
50 eqid 2765 . . . . . . . 8 (𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))
51 ovex 6874 . . . . . . . 8 𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) ∈ V
5249, 50, 51fvmpt3i 6476 . . . . . . 7 (𝐴 ∈ ℝ+ → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
5352adantr 472 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) = (Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))))
54 1rp 12032 . . . . . . 7 1 ∈ ℝ+
55 fveq2 6375 . . . . . . . . . . . . . 14 (𝑥 = 1 → (⌊‘𝑥) = (⌊‘1))
56 1z 11654 . . . . . . . . . . . . . . 15 1 ∈ ℤ
57 flid 12817 . . . . . . . . . . . . . . 15 (1 ∈ ℤ → (⌊‘1) = 1)
5856, 57ax-mp 5 . . . . . . . . . . . . . 14 (⌊‘1) = 1
5955, 58syl6eq 2815 . . . . . . . . . . . . 13 (𝑥 = 1 → (⌊‘𝑥) = 1)
6059oveq2d 6858 . . . . . . . . . . . 12 (𝑥 = 1 → (1...(⌊‘𝑥)) = (1...1))
6160sumeq1d 14718 . . . . . . . . . . 11 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = Σ𝑛 ∈ (1...1)((log‘𝑛)↑2))
62 0cn 10285 . . . . . . . . . . . 12 0 ∈ ℂ
63 fveq2 6375 . . . . . . . . . . . . . . 15 (𝑛 = 1 → (log‘𝑛) = (log‘1))
64 log1 24623 . . . . . . . . . . . . . . 15 (log‘1) = 0
6563, 64syl6eq 2815 . . . . . . . . . . . . . 14 (𝑛 = 1 → (log‘𝑛) = 0)
6665sq0id 13164 . . . . . . . . . . . . 13 (𝑛 = 1 → ((log‘𝑛)↑2) = 0)
6766fsum1 14763 . . . . . . . . . . . 12 ((1 ∈ ℤ ∧ 0 ∈ ℂ) → Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0)
6856, 62, 67mp2an 683 . . . . . . . . . . 11 Σ𝑛 ∈ (1...1)((log‘𝑛)↑2) = 0
6961, 68syl6eq 2815 . . . . . . . . . 10 (𝑥 = 1 → Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) = 0)
70 id 22 . . . . . . . . . . . 12 (𝑥 = 1 → 𝑥 = 1)
71 fveq2 6375 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (log‘𝑥) = (log‘1))
7271, 64syl6eq 2815 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (log‘𝑥) = 0)
7372sq0id 13164 . . . . . . . . . . . . . 14 (𝑥 = 1 → ((log‘𝑥)↑2) = 0)
7472oveq2d 6858 . . . . . . . . . . . . . . . . 17 (𝑥 = 1 → (2 · (log‘𝑥)) = (2 · 0))
75 2t0e0 11447 . . . . . . . . . . . . . . . . 17 (2 · 0) = 0
7674, 75syl6eq 2815 . . . . . . . . . . . . . . . 16 (𝑥 = 1 → (2 · (log‘𝑥)) = 0)
7776oveq2d 6858 . . . . . . . . . . . . . . 15 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = (2 − 0))
7825subid1i 10607 . . . . . . . . . . . . . . 15 (2 − 0) = 2
7977, 78syl6eq 2815 . . . . . . . . . . . . . 14 (𝑥 = 1 → (2 − (2 · (log‘𝑥))) = 2)
8073, 79oveq12d 6860 . . . . . . . . . . . . 13 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = (0 + 2))
8125addid2i 10478 . . . . . . . . . . . . 13 (0 + 2) = 2
8280, 81syl6eq 2815 . . . . . . . . . . . 12 (𝑥 = 1 → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) = 2)
8370, 82oveq12d 6860 . . . . . . . . . . 11 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (1 · 2))
8425mulid2i 10299 . . . . . . . . . . 11 (1 · 2) = 2
8583, 84syl6eq 2815 . . . . . . . . . 10 (𝑥 = 1 → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = 2)
8669, 85oveq12d 6860 . . . . . . . . 9 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (0 − 2))
87 df-neg 10523 . . . . . . . . 9 -2 = (0 − 2)
8886, 87syl6eqr 2817 . . . . . . . 8 (𝑥 = 1 → (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = -2)
8988, 50, 51fvmpt3i 6476 . . . . . . 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 6860 . . . . 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 6379 . . . 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 12453 . . . . . 6 (0(,)+∞) = ℝ+
9493eqcomi 2774 . . . . 5 + = (0(,)+∞)
95 nnuz 11923 . . . . 5 ℕ = (ℤ‘1)
9656a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℤ)
97 1red 10294 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ)
98 pnfxr 10346 . . . . . 6 +∞ ∈ ℝ*
9998a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → +∞ ∈ ℝ*)
100 1re 10293 . . . . . . 7 1 ∈ ℝ
101 1nn0 11556 . . . . . . 7 1 ∈ ℕ0
102100, 101nn0addge1i 11588 . . . . . 6 1 ≤ (1 + 1)
103102a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ (1 + 1))
104 0red 10297 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 0 ∈ ℝ)
105 rpre 12036 . . . . . . 7 (𝑥 ∈ ℝ+𝑥 ∈ ℝ)
106105adantl 473 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ)
107 simpr 477 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℝ+)
108107relogcld 24660 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℝ)
109108resqcld 13242 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℝ)
110 remulcl 10274 . . . . . . . . 9 ((2 ∈ ℝ ∧ (log‘𝑥) ∈ ℝ) → (2 · (log‘𝑥)) ∈ ℝ)
11113, 108, 110sylancr 581 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℝ)
112 resubcl 10599 . . . . . . . 8 ((2 ∈ ℝ ∧ (2 · (log‘𝑥)) ∈ ℝ) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
11313, 111, 112sylancr 581 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℝ)
114109, 113readdcld 10323 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℝ)
115106, 114remulcld 10324 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) ∈ ℝ)
116 nnrp 12041 . . . . . 6 (𝑥 ∈ ℕ → 𝑥 ∈ ℝ+)
117116, 109sylan2 586 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℕ) → ((log‘𝑥)↑2) ∈ ℝ)
118 reelprrecn 10281 . . . . . . . 8 ℝ ∈ {ℝ, ℂ}
119118a1i 11 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ ∈ {ℝ, ℂ})
120106recnd 10322 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ∈ ℂ)
121 1red 10294 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 1 ∈ ℝ)
122 recn 10279 . . . . . . . . 9 (𝑥 ∈ ℝ → 𝑥 ∈ ℂ)
123122adantl 473 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 𝑥 ∈ ℂ)
124 1red 10294 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 1 ∈ ℝ)
125119dvmptid 24011 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 𝑥)) = (𝑥 ∈ ℝ ↦ 1))
126 rpssre 12035 . . . . . . . . 9 + ⊆ ℝ
127126a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ⊆ ℝ)
128 eqid 2765 . . . . . . . . 9 (TopOpen‘ℂfld) = (TopOpen‘ℂfld)
129128tgioo2 22885 . . . . . . . 8 (topGen‘ran (,)) = ((TopOpen‘ℂfld) ↾t ℝ)
130 iooretop 22848 . . . . . . . . . 10 (0(,)+∞) ∈ (topGen‘ran (,))
13193, 130eqeltrri 2841 . . . . . . . . 9 + ∈ (topGen‘ran (,))
132131a1i 11 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℝ+ ∈ (topGen‘ran (,)))
133119, 123, 124, 125, 127, 129, 128, 132dvmptres 24017 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+𝑥)) = (𝑥 ∈ ℝ+ ↦ 1))
134114recnd 10322 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))) ∈ ℂ)
135 resubcl 10599 . . . . . . . . 9 (((2 · (log‘𝑥)) ∈ ℝ ∧ 2 ∈ ℝ) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
136111, 13, 135sylancl 580 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℝ)
137136, 107rerpdivcld 12101 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) ∈ ℝ)
138109recnd 10322 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((log‘𝑥)↑2) ∈ ℂ)
139111recnd 10322 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (log‘𝑥)) ∈ ℂ)
140107rpreccld 12080 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℝ+)
141140rpcnd 12072 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 / 𝑥) ∈ ℂ)
142139, 141mulcld 10314 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) · (1 / 𝑥)) ∈ ℂ)
143 cnelprrecn 10282 . . . . . . . . . . 11 ℂ ∈ {ℝ, ℂ}
144143a1i 11 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ℂ ∈ {ℝ, ℂ})
145108recnd 10322 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (log‘𝑥) ∈ ℂ)
146 sqcl 13132 . . . . . . . . . . 11 (𝑦 ∈ ℂ → (𝑦↑2) ∈ ℂ)
147146adantl 473 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (𝑦↑2) ∈ ℂ)
148 simpr 477 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → 𝑦 ∈ ℂ)
149 mulcl 10273 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
15025, 148, 149sylancr 581 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑦 ∈ ℂ) → (2 · 𝑦) ∈ ℂ)
151 dvrelog 24674 . . . . . . . . . . 11 (ℝ D (log ↾ ℝ+)) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥))
152 relogf1o 24604 . . . . . . . . . . . . . . 15 (log ↾ ℝ+):ℝ+1-1-onto→ℝ
153 f1of 6320 . . . . . . . . . . . . . . 15 ((log ↾ ℝ+):ℝ+1-1-onto→ℝ → (log ↾ ℝ+):ℝ+⟶ℝ)
154152, 153mp1i 13 . . . . . . . . . . . . . 14 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+):ℝ+⟶ℝ)
155154feqmptd 6438 . . . . . . . . . . . . 13 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)))
156 fvres 6394 . . . . . . . . . . . . . 14 (𝑥 ∈ ℝ+ → ((log ↾ ℝ+)‘𝑥) = (log‘𝑥))
157156mpteq2ia 4899 . . . . . . . . . . . . 13 (𝑥 ∈ ℝ+ ↦ ((log ↾ ℝ+)‘𝑥)) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥))
158155, 157syl6eq 2815 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (log ↾ ℝ+) = (𝑥 ∈ ℝ+ ↦ (log‘𝑥)))
159158oveq2d 6858 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (log ↾ ℝ+)) = (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))))
160151, 159syl5reqr 2814 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (log‘𝑥))) = (𝑥 ∈ ℝ+ ↦ (1 / 𝑥)))
161 2nn 11345 . . . . . . . . . . . 12 2 ∈ ℕ
162 dvexp 24007 . . . . . . . . . . . 12 (2 ∈ ℕ → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
163161, 162mp1i 13 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))))
164 2m1e1 11405 . . . . . . . . . . . . . . 15 (2 − 1) = 1
165164oveq2i 6853 . . . . . . . . . . . . . 14 (𝑦↑(2 − 1)) = (𝑦↑1)
166 exp1 13073 . . . . . . . . . . . . . 14 (𝑦 ∈ ℂ → (𝑦↑1) = 𝑦)
167165, 166syl5eq 2811 . . . . . . . . . . . . 13 (𝑦 ∈ ℂ → (𝑦↑(2 − 1)) = 𝑦)
168167oveq2d 6858 . . . . . . . . . . . 12 (𝑦 ∈ ℂ → (2 · (𝑦↑(2 − 1))) = (2 · 𝑦))
169168mpteq2ia 4899 . . . . . . . . . . 11 (𝑦 ∈ ℂ ↦ (2 · (𝑦↑(2 − 1)))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦))
170163, 169syl6eq 2815 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℂ D (𝑦 ∈ ℂ ↦ (𝑦↑2))) = (𝑦 ∈ ℂ ↦ (2 · 𝑦)))
171 oveq1 6849 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (𝑦↑2) = ((log‘𝑥)↑2))
172 oveq2 6850 . . . . . . . . . 10 (𝑦 = (log‘𝑥) → (2 · 𝑦) = (2 · (log‘𝑥)))
173119, 144, 145, 140, 147, 150, 160, 170, 171, 172dvmptco 24026 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2))) = (𝑥 ∈ ℝ+ ↦ ((2 · (log‘𝑥)) · (1 / 𝑥))))
174113recnd 10322 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 − (2 · (log‘𝑥))) ∈ ℂ)
175 ovexd 6876 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (0 − (2 · (1 / 𝑥))) ∈ V)
176 2cnd 11350 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 2 ∈ ℂ)
177 0red 10297 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 0 ∈ ℝ)
178 2cnd 11350 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 2 ∈ ℂ)
179 0red 10297 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ) → 0 ∈ ℝ)
180 2cnd 11350 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℂ)
181119, 180dvmptc 24012 . . . . . . . . . . 11 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ ↦ 2)) = (𝑥 ∈ ℝ ↦ 0))
182119, 178, 179, 181, 127, 129, 128, 132dvmptres 24017 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ 2)) = (𝑥 ∈ ℝ+ ↦ 0))
183 mulcl 10273 . . . . . . . . . . 11 ((2 ∈ ℂ ∧ (1 / 𝑥) ∈ ℂ) → (2 · (1 / 𝑥)) ∈ ℂ)
18425, 141, 183sylancr 581 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (2 · (1 / 𝑥)) ∈ ℂ)
185119, 145, 140, 160, 180dvmptcmul 24018 . . . . . . . . . 10 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 · (log‘𝑥)))) = (𝑥 ∈ ℝ+ ↦ (2 · (1 / 𝑥))))
186119, 176, 177, 182, 139, 184, 185dvmptsub 24021 . . . . . . . . 9 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (2 − (2 · (log‘𝑥))))) = (𝑥 ∈ ℝ+ ↦ (0 − (2 · (1 / 𝑥)))))
187119, 138, 142, 173, 174, 175, 186dvmptadd 24014 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))))
188139, 176, 141subdird 10741 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
189136recnd 10322 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((2 · (log‘𝑥)) − 2) ∈ ℂ)
190 rpne0 12046 . . . . . . . . . . . 12 (𝑥 ∈ ℝ+𝑥 ≠ 0)
191190adantl 473 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → 𝑥 ≠ 0)
192189, 120, 191divrecd 11058 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) − 2) / 𝑥) = (((2 · (log‘𝑥)) − 2) · (1 / 𝑥)))
193 df-neg 10523 . . . . . . . . . . . 12 -(2 · (1 / 𝑥)) = (0 − (2 · (1 / 𝑥)))
194193oveq2i 6853 . . . . . . . . . . 11 (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))
195142, 184negsubd 10652 . . . . . . . . . . 11 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + -(2 · (1 / 𝑥))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
196194, 195syl5eqr 2813 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥)))) = (((2 · (log‘𝑥)) · (1 / 𝑥)) − (2 · (1 / 𝑥))))
197188, 192, 1963eqtr4rd 2810 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥)))) = (((2 · (log‘𝑥)) − 2) / 𝑥))
198197mpteq2dva 4903 . . . . . . . 8 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) · (1 / 𝑥)) + (0 − (2 · (1 / 𝑥))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) − 2) / 𝑥)))
199187, 198eqtrd 2799 . . . . . . 7 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))) = (𝑥 ∈ ℝ+ ↦ (((2 · (log‘𝑥)) − 2) / 𝑥)))
200119, 120, 121, 133, 134, 137, 199dvmptmul 24015 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥))))
201134mulid2d 10312 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))
202138, 139, 176subsub2d 10675 . . . . . . . . . 10 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) = (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))
203201, 202eqtr4d 2802 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → (1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) = (((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)))
204189, 120, 191divcan1d 11056 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥) = ((2 · (log‘𝑥)) − 2))
205203, 204oveq12d 6860 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥)) = ((((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) + ((2 · (log‘𝑥)) − 2)))
206138, 189npcand 10650 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((((log‘𝑥)↑2) − ((2 · (log‘𝑥)) − 2)) + ((2 · (log‘𝑥)) − 2)) = ((log‘𝑥)↑2))
207205, 206eqtrd 2799 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ 𝑥 ∈ ℝ+) → ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥)) = ((log‘𝑥)↑2))
208207mpteq2dva 4903 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (𝑥 ∈ ℝ+ ↦ ((1 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))) + ((((2 · (log‘𝑥)) − 2) / 𝑥) · 𝑥))) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2)))
209200, 208eqtrd 2799 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (ℝ D (𝑥 ∈ ℝ+ ↦ (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥))))))) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥)↑2)))
210 fveq2 6375 . . . . . 6 (𝑥 = 𝑛 → (log‘𝑥) = (log‘𝑛))
211210oveq1d 6857 . . . . 5 (𝑥 = 𝑛 → ((log‘𝑥)↑2) = ((log‘𝑛)↑2))
212 simp32 1267 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥𝑛)
213 simp2l 1256 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ+)
214 simp2r 1257 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ+)
215213, 214logled 24664 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (𝑥𝑛 ↔ (log‘𝑥) ≤ (log‘𝑛)))
216212, 215mpbid 223 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ≤ (log‘𝑛))
217213relogcld 24660 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑥) ∈ ℝ)
218214relogcld 24660 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘𝑛) ∈ ℝ)
219 simp31 1266 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑥)
220 logleb 24640 . . . . . . . . . 10 ((1 ∈ ℝ+𝑥 ∈ ℝ+) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
22154, 213, 220sylancr 581 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (1 ≤ 𝑥 ↔ (log‘1) ≤ (log‘𝑥)))
222219, 221mpbid 223 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → (log‘1) ≤ (log‘𝑥))
22364, 222syl5eqbrr 4845 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑥))
224214rpred 12070 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑛 ∈ ℝ)
225 1red 10294 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ∈ ℝ)
226213rpred 12070 . . . . . . . . 9 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 𝑥 ∈ ℝ)
227225, 226, 224, 219, 212letrd 10448 . . . . . . . 8 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 1 ≤ 𝑛)
228224, 227logge0d 24667 . . . . . . 7 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → 0 ≤ (log‘𝑛))
229217, 218, 223, 228le2sqd 13251 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥) ≤ (log‘𝑛) ↔ ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2)))
230216, 229mpbid 223 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+𝑛 ∈ ℝ+) ∧ (1 ≤ 𝑥𝑥𝑛𝑛 ≤ +∞)) → ((log‘𝑥)↑2) ≤ ((log‘𝑛)↑2))
231 relogcl 24613 . . . . . . 7 (𝑥 ∈ ℝ+ → (log‘𝑥) ∈ ℝ)
232231ad2antrl 719 . . . . . 6 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → (log‘𝑥) ∈ ℝ)
233232sqge0d 13243 . . . . 5 (((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) ∧ (𝑥 ∈ ℝ+ ∧ 1 ≤ 𝑥)) → 0 ≤ ((log‘𝑥)↑2))
23454a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ∈ ℝ+)
235 simpl 474 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ+)
236 1le1 10909 . . . . . 6 1 ≤ 1
237236a1i 11 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 1)
238 simpr 477 . . . . 5 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 1 ≤ 𝐴)
2399rexrd 10343 . . . . . 6 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 𝐴 ∈ ℝ*)
240 pnfge 12164 . . . . . 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 24088 . . . 4 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘(((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘𝐴) − ((𝑥 ∈ ℝ+ ↦ (Σ𝑛 ∈ (1...(⌊‘𝑥))((log‘𝑛)↑2) − (𝑥 · (((log‘𝑥)↑2) + (2 − (2 · (log‘𝑥)))))))‘1))) ≤ ((log‘𝐴)↑2))
24392, 242eqbrtrrd 4833 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → (abs‘((Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴)))))) − -2)) ≤ ((log‘𝐴)↑2))
24424, 29, 12, 38, 243letrd 10448 . 2 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → ((abs‘(Σ𝑛 ∈ (1...(⌊‘𝐴))((log‘𝑛)↑2) − (𝐴 · (((log‘𝐴)↑2) + (2 − (2 · (log‘𝐴))))))) − 2) ≤ ((log‘𝐴)↑2))
24513a1i 11 . . 3 ((𝐴 ∈ ℝ+ ∧ 1 ≤ 𝐴) → 2 ∈ ℝ)
24622, 245, 12lesubaddd 10878 . 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 223 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 197  wa 384  w3a 1107   = wceq 1652  wcel 2155  wne 2937  Vcvv 3350  wss 3732  {cpr 4336   class class class wbr 4809  cmpt 4888  ran crn 5278  cres 5279  wf 6064  1-1-ontowf1o 6067  cfv 6068  (class class class)co 6842  cc 10187  cr 10188  0cc0 10189  1c1 10190   + caddc 10192   · cmul 10194  +∞cpnf 10325  *cxr 10327  cle 10329  cmin 10520  -cneg 10521   / cdiv 10938  cn 11274  2c2 11327  cz 11624  +crp 12028  (,)cioo 12377  ...cfz 12533  cfl 12799  cexp 13067  abscabs 14261  Σcsu 14703  TopOpenctopn 16350  topGenctg 16366  fldccnfld 20019   D cdv 23918  logclog 24592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2069  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4930  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-inf2 8753  ax-cnex 10245  ax-resscn 10246  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-addrcl 10250  ax-mulcl 10251  ax-mulrcl 10252  ax-mulcom 10253  ax-addass 10254  ax-mulass 10255  ax-distr 10256  ax-i2m1 10257  ax-1ne0 10258  ax-1rid 10259  ax-rnegex 10260  ax-rrecex 10261  ax-cnre 10262  ax-pre-lttri 10263  ax-pre-lttrn 10264  ax-pre-ltadd 10265  ax-pre-mulgt0 10266  ax-pre-sup 10267  ax-addf 10268  ax-mulf 10269
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-fal 1666  df-ex 1875  df-nf 1879  df-sb 2062  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rmo 3063  df-rab 3064  df-v 3352  df-sbc 3597  df-csb 3692  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-tp 4339  df-op 4341  df-uni 4595  df-int 4634  df-iun 4678  df-iin 4679  df-br 4810  df-opab 4872  df-mpt 4889  df-tr 4912  df-id 5185  df-eprel 5190  df-po 5198  df-so 5199  df-fr 5236  df-se 5237  df-we 5238  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-pred 5865  df-ord 5911  df-on 5912  df-lim 5913  df-suc 5914  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076  df-isom 6077  df-riota 6803  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-of 7095  df-om 7264  df-1st 7366  df-2nd 7367  df-supp 7498  df-wrecs 7610  df-recs 7672  df-rdg 7710  df-1o 7764  df-2o 7765  df-oadd 7768  df-er 7947  df-map 8062  df-pm 8063  df-ixp 8114  df-en 8161  df-dom 8162  df-sdom 8163  df-fin 8164  df-fsupp 8483  df-fi 8524  df-sup 8555  df-inf 8556  df-oi 8622  df-card 9016  df-cda 9243  df-pnf 10330  df-mnf 10331  df-xr 10332  df-ltxr 10333  df-le 10334  df-sub 10522  df-neg 10523  df-div 10939  df-nn 11275  df-2 11335  df-3 11336  df-4 11337  df-5 11338  df-6 11339  df-7 11340  df-8 11341  df-9 11342  df-n0 11539  df-z 11625  df-dec 11741  df-uz 11887  df-q 11990  df-rp 12029  df-xneg 12146  df-xadd 12147  df-xmul 12148  df-ioo 12381  df-ioc 12382  df-ico 12383  df-icc 12384  df-fz 12534  df-fzo 12674  df-fl 12801  df-mod 12877  df-seq 13009  df-exp 13068  df-fac 13265  df-bc 13294  df-hash 13322  df-shft 14094  df-cj 14126  df-re 14127  df-im 14128  df-sqrt 14262  df-abs 14263  df-limsup 14489  df-clim 14506  df-rlim 14507  df-sum 14704  df-ef 15082  df-sin 15084  df-cos 15085  df-pi 15087  df-struct 16134  df-ndx 16135  df-slot 16136  df-base 16138  df-sets 16139  df-ress 16140  df-plusg 16229  df-mulr 16230  df-starv 16231  df-sca 16232  df-vsca 16233  df-ip 16234  df-tset 16235  df-ple 16236  df-ds 16238  df-unif 16239  df-hom 16240  df-cco 16241  df-rest 16351  df-topn 16352  df-0g 16370  df-gsum 16371  df-topgen 16372  df-pt 16373  df-prds 16376  df-xrs 16430  df-qtop 16435  df-imas 16436  df-xps 16438  df-mre 16514  df-mrc 16515  df-acs 16517  df-mgm 17510  df-sgrp 17552  df-mnd 17563  df-submnd 17604  df-mulg 17810  df-cntz 18015  df-cmn 18461  df-psmet 20011  df-xmet 20012  df-met 20013  df-bl 20014  df-mopn 20015  df-fbas 20016  df-fg 20017  df-cnfld 20020  df-top 20978  df-topon 20995  df-topsp 21017  df-bases 21030  df-cld 21103  df-ntr 21104  df-cls 21105  df-nei 21182  df-lp 21220  df-perf 21221  df-cn 21311  df-cnp 21312  df-haus 21399  df-cmp 21470  df-tx 21645  df-hmeo 21838  df-fil 21929  df-fm 22021  df-flim 22022  df-flf 22023  df-xms 22404  df-ms 22405  df-tms 22406  df-cncf 22960  df-limc 23921  df-dv 23922  df-log 24594
This theorem is referenced by:  selberglem2  25526
  Copyright terms: Public domain W3C validator