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

Theorem selberg 26601
Description: Selberg's symmetry formula. The statement has many forms, and this one is equivalent to the statement that Σ𝑛𝑥, Λ(𝑛)log𝑛 + Σ𝑚 · 𝑛𝑥, Λ(𝑚)Λ(𝑛) = 2𝑥log𝑥 + 𝑂(𝑥). Equation 10.4.10 of [Shapiro], p. 419. (Contributed by Mario Carneiro, 23-May-2016.)
Assertion
Ref Expression
selberg (𝑥 ∈ ℝ+ ↦ ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥)))) ∈ 𝑂(1)
Distinct variable group:   𝑥,𝑛

Proof of Theorem selberg
Dummy variables 𝑑 𝑚 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6756 . . . . . . . . . . . . 13 (𝑛 = 𝑑 → (Λ‘𝑛) = (Λ‘𝑑))
2 oveq2 7263 . . . . . . . . . . . . . 14 (𝑛 = 𝑑 → (𝑥 / 𝑛) = (𝑥 / 𝑑))
32fveq2d 6760 . . . . . . . . . . . . 13 (𝑛 = 𝑑 → (ψ‘(𝑥 / 𝑛)) = (ψ‘(𝑥 / 𝑑)))
41, 3oveq12d 7273 . . . . . . . . . . . 12 (𝑛 = 𝑑 → ((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))))
54cbvsumv 15336 . . . . . . . . . . 11 Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑑 ∈ (1...(⌊‘𝑥))((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑)))
6 fzfid 13621 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (1...(⌊‘(𝑥 / 𝑑))) ∈ Fin)
7 elfznn 13214 . . . . . . . . . . . . . . . . 17 (𝑑 ∈ (1...(⌊‘𝑥)) → 𝑑 ∈ ℕ)
87adantl 481 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → 𝑑 ∈ ℕ)
9 vmacl 26172 . . . . . . . . . . . . . . . 16 (𝑑 ∈ ℕ → (Λ‘𝑑) ∈ ℝ)
108, 9syl 17 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑑) ∈ ℝ)
1110recnd 10934 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑑) ∈ ℂ)
12 elfznn 13214 . . . . . . . . . . . . . . . . 17 (𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑))) → 𝑚 ∈ ℕ)
1312adantl 481 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑚 ∈ ℕ)
14 vmacl 26172 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ → (Λ‘𝑚) ∈ ℝ)
1513, 14syl 17 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘𝑚) ∈ ℝ)
1615recnd 10934 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘𝑚) ∈ ℂ)
176, 11, 16fsummulc2 15424 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘𝑚)))
187nnrpd 12699 . . . . . . . . . . . . . . . . 17 (𝑑 ∈ (1...(⌊‘𝑥)) → 𝑑 ∈ ℝ+)
19 rpdivcl 12684 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+𝑑 ∈ ℝ+) → (𝑥 / 𝑑) ∈ ℝ+)
2018, 19sylan2 592 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑑) ∈ ℝ+)
2120rpred 12701 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑑) ∈ ℝ)
22 chpval 26176 . . . . . . . . . . . . . . 15 ((𝑥 / 𝑑) ∈ ℝ → (ψ‘(𝑥 / 𝑑)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚))
2321, 22syl 17 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑑)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚))
2423oveq2d 7271 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = ((Λ‘𝑑) · Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚)))
2513nncnd 11919 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑚 ∈ ℂ)
267ad2antlr 723 . . . . . . . . . . . . . . . . . 18 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ∈ ℕ)
2726nncnd 11919 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ∈ ℂ)
2826nnne0d 11953 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ≠ 0)
2925, 27, 28divcan3d 11686 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((𝑑 · 𝑚) / 𝑑) = 𝑚)
3029fveq2d 6760 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘((𝑑 · 𝑚) / 𝑑)) = (Λ‘𝑚))
3130oveq2d 7271 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))) = ((Λ‘𝑑) · (Λ‘𝑚)))
3231sumeq2dv 15343 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘𝑚)))
3317, 24, 323eqtr4d 2788 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
3433sumeq2dv 15343 . . . . . . . . . . 11 (𝑥 ∈ ℝ+ → Σ𝑑 ∈ (1...(⌊‘𝑥))((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
355, 34syl5eq 2791 . . . . . . . . . 10 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
36 fvoveq1 7278 . . . . . . . . . . . 12 (𝑛 = (𝑑 · 𝑚) → (Λ‘(𝑛 / 𝑑)) = (Λ‘((𝑑 · 𝑚) / 𝑑)))
3736oveq2d 7271 . . . . . . . . . . 11 (𝑛 = (𝑑 · 𝑚) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) = ((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
38 rpre 12667 . . . . . . . . . . 11 (𝑥 ∈ ℝ+𝑥 ∈ ℝ)
39 ssrab2 4009 . . . . . . . . . . . . . . . . 17 {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ ℕ
40 simprr 769 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4139, 40sselid 3915 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ ℕ)
4241anassrs 467 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → 𝑑 ∈ ℕ)
4342, 9syl 17 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (Λ‘𝑑) ∈ ℝ)
44 elfznn 13214 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (1...(⌊‘𝑥)) → 𝑛 ∈ ℕ)
4544adantl 481 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → 𝑛 ∈ ℕ)
46 dvdsdivcl 15953 . . . . . . . . . . . . . . . . 17 ((𝑛 ∈ ℕ ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4745, 46sylan 579 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4839, 47sselid 3915 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ ℕ)
49 vmacl 26172 . . . . . . . . . . . . . . 15 ((𝑛 / 𝑑) ∈ ℕ → (Λ‘(𝑛 / 𝑑)) ∈ ℝ)
5048, 49syl 17 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (Λ‘(𝑛 / 𝑑)) ∈ ℝ)
5143, 50remulcld 10936 . . . . . . . . . . . . 13 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℝ)
5251recnd 10934 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
5352anasss 466 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
5437, 38, 53dvdsflsumcom 26242 . . . . . . . . . 10 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
5535, 54eqtr4d 2781 . . . . . . . . 9 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))))
5655oveq1d 7270 . . . . . . . 8 (𝑥 ∈ ℝ+ → (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
57 fzfid 13621 . . . . . . . . 9 (𝑥 ∈ ℝ+ → (1...(⌊‘𝑥)) ∈ Fin)
58 vmacl 26172 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → (Λ‘𝑛) ∈ ℝ)
5945, 58syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑛) ∈ ℝ)
6059recnd 10934 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑛) ∈ ℂ)
6144nnrpd 12699 . . . . . . . . . . . . . 14 (𝑛 ∈ (1...(⌊‘𝑥)) → 𝑛 ∈ ℝ+)
62 rpdivcl 12684 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑛 ∈ ℝ+) → (𝑥 / 𝑛) ∈ ℝ+)
6361, 62sylan2 592 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑛) ∈ ℝ+)
6463rpred 12701 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑛) ∈ ℝ)
65 chpcl 26178 . . . . . . . . . . . 12 ((𝑥 / 𝑛) ∈ ℝ → (ψ‘(𝑥 / 𝑛)) ∈ ℝ)
6664, 65syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑛)) ∈ ℝ)
6766recnd 10934 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑛)) ∈ ℂ)
6860, 67mulcld 10926 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) ∈ ℂ)
6945nnrpd 12699 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → 𝑛 ∈ ℝ+)
70 relogcl 25636 . . . . . . . . . . . 12 (𝑛 ∈ ℝ+ → (log‘𝑛) ∈ ℝ)
7169, 70syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (log‘𝑛) ∈ ℝ)
7271recnd 10934 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (log‘𝑛) ∈ ℂ)
7360, 72mulcld 10926 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · (log‘𝑛)) ∈ ℂ)
7457, 68, 73fsumadd 15380 . . . . . . . 8 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
75 fzfid 13621 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (1...𝑛) ∈ Fin)
76 dvdsssfz1 15955 . . . . . . . . . . . . 13 (𝑛 ∈ ℕ → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ (1...𝑛))
7745, 76syl 17 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ (1...𝑛))
7875, 77ssfid 8971 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ∈ Fin)
7978, 51fsumrecl 15374 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℝ)
8079recnd 10934 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
8157, 80, 73fsumadd 15380 . . . . . . . 8 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
8256, 74, 813eqtr4d 2788 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))) = Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
8372, 67addcomd 11107 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((log‘𝑛) + (ψ‘(𝑥 / 𝑛))) = ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛)))
8483oveq2d 7271 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = ((Λ‘𝑛) · ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛))))
8560, 67, 72adddid 10930 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛))) = (((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
8684, 85eqtrd 2778 . . . . . . . 8 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = (((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
8786sumeq2dv 15343 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
88 logsqvma2 26596 . . . . . . . . 9 (𝑛 ∈ ℕ → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = (Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
8945, 88syl 17 . . . . . . . 8 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = (Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
9089sumeq2dv 15343 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
9182, 87, 903eqtr4d 2788 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)))
92 fvoveq1 7278 . . . . . . . . 9 (𝑛 = (𝑑 · 𝑚) → (log‘(𝑛 / 𝑑)) = (log‘((𝑑 · 𝑚) / 𝑑)))
9392oveq1d 7270 . . . . . . . 8 (𝑛 = (𝑑 · 𝑚) → ((log‘(𝑛 / 𝑑))↑2) = ((log‘((𝑑 · 𝑚) / 𝑑))↑2))
9493oveq2d 7271 . . . . . . 7 (𝑛 = (𝑑 · 𝑚) → ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = ((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)))
95 mucl 26195 . . . . . . . . . 10 (𝑑 ∈ ℕ → (μ‘𝑑) ∈ ℤ)
9641, 95syl 17 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (μ‘𝑑) ∈ ℤ)
9796zcnd 12356 . . . . . . . 8 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (μ‘𝑑) ∈ ℂ)
9861ad2antrl 724 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑛 ∈ ℝ+)
9941nnrpd 12699 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ ℝ+)
10098, 99rpdivcld 12718 . . . . . . . . . 10 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (𝑛 / 𝑑) ∈ ℝ+)
101 relogcl 25636 . . . . . . . . . . 11 ((𝑛 / 𝑑) ∈ ℝ+ → (log‘(𝑛 / 𝑑)) ∈ ℝ)
102101recnd 10934 . . . . . . . . . 10 ((𝑛 / 𝑑) ∈ ℝ+ → (log‘(𝑛 / 𝑑)) ∈ ℂ)
103100, 102syl 17 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (log‘(𝑛 / 𝑑)) ∈ ℂ)
104103sqcld 13790 . . . . . . . 8 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((log‘(𝑛 / 𝑑))↑2) ∈ ℂ)
10597, 104mulcld 10926 . . . . . . 7 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) ∈ ℂ)
10694, 38, 105dvdsflsumcom 26242 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)))
10729fveq2d 6760 . . . . . . . . . 10 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (log‘((𝑑 · 𝑚) / 𝑑)) = (log‘𝑚))
108107oveq1d 7270 . . . . . . . . 9 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((log‘((𝑑 · 𝑚) / 𝑑))↑2) = ((log‘𝑚)↑2))
109108oveq2d 7271 . . . . . . . 8 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = ((μ‘𝑑) · ((log‘𝑚)↑2)))
110109sumeq2dv 15343 . . . . . . 7 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
111110sumeq2dv 15343 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
11291, 106, 1113eqtrd 2782 . . . . 5 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
113112oveq1d 7270 . . . 4 (𝑥 ∈ ℝ+ → (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) = (Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥))
114113oveq1d 7270 . . 3 (𝑥 ∈ ℝ+ → ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥))) = ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥))))
115114mpteq2ia 5173 . 2 (𝑥 ∈ ℝ+ ↦ ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥)))) = (𝑥 ∈ ℝ+ ↦ ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥))))
116 eqid 2738 . . 3 ((((log‘(𝑥 / 𝑑))↑2) + (2 − (2 · (log‘(𝑥 / 𝑑))))) / 𝑑) = ((((log‘(𝑥 / 𝑑))↑2) + (2 − (2 · (log‘(𝑥 / 𝑑))))) / 𝑑)
117116selberglem2 26599 . 2 (𝑥 ∈ ℝ+ ↦ ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥)))) ∈ 𝑂(1)
118115, 117eqeltri 2835 1 (𝑥 ∈ ℝ+ ↦ ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥)))) ∈ 𝑂(1)
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wcel 2108  {crab 3067  wss 3883   class class class wbr 5070  cmpt 5153  cfv 6418  (class class class)co 7255  cc 10800  cr 10801  1c1 10803   + caddc 10805   · cmul 10807  cmin 11135   / cdiv 11562  cn 11903  2c2 11958  cz 12249  +crp 12659  ...cfz 13168  cfl 13438  cexp 13710  𝑂(1)co1 15123  Σcsu 15325  cdvds 15891  logclog 25615  Λcvma 26146  ψcchp 26147  μcmu 26149
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-disj 5036  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-oadd 8271  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-dju 9590  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-xnn0 12236  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-o1 15127  df-lo1 15128  df-sum 15326  df-ef 15705  df-e 15706  df-sin 15707  df-cos 15708  df-tan 15709  df-pi 15710  df-dvds 15892  df-gcd 16130  df-prm 16305  df-pc 16466  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-ulm 25441  df-log 25617  df-cxp 25618  df-atan 25922  df-em 26047  df-vma 26152  df-chp 26153  df-mu 26155
This theorem is referenced by:  selbergb  26602  selberg2  26604  selbergs  26627
  Copyright terms: Public domain W3C validator