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

Theorem selberg 25282
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 6229 . . . . . . . . . . . . 13 (𝑛 = 𝑑 → (Λ‘𝑛) = (Λ‘𝑑))
2 oveq2 6698 . . . . . . . . . . . . . 14 (𝑛 = 𝑑 → (𝑥 / 𝑛) = (𝑥 / 𝑑))
32fveq2d 6233 . . . . . . . . . . . . 13 (𝑛 = 𝑑 → (ψ‘(𝑥 / 𝑛)) = (ψ‘(𝑥 / 𝑑)))
41, 3oveq12d 6708 . . . . . . . . . . . 12 (𝑛 = 𝑑 → ((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))))
54cbvsumv 14470 . . . . . . . . . . 11 Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑑 ∈ (1...(⌊‘𝑥))((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑)))
6 fzfid 12812 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (1...(⌊‘(𝑥 / 𝑑))) ∈ Fin)
7 elfznn 12408 . . . . . . . . . . . . . . . . 17 (𝑑 ∈ (1...(⌊‘𝑥)) → 𝑑 ∈ ℕ)
87adantl 481 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → 𝑑 ∈ ℕ)
9 vmacl 24889 . . . . . . . . . . . . . . . 16 (𝑑 ∈ ℕ → (Λ‘𝑑) ∈ ℝ)
108, 9syl 17 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑑) ∈ ℝ)
1110recnd 10106 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑑) ∈ ℂ)
12 elfznn 12408 . . . . . . . . . . . . . . . . 17 (𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑))) → 𝑚 ∈ ℕ)
1312adantl 481 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑚 ∈ ℕ)
14 vmacl 24889 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ → (Λ‘𝑚) ∈ ℝ)
1513, 14syl 17 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘𝑚) ∈ ℝ)
1615recnd 10106 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘𝑚) ∈ ℂ)
176, 11, 16fsummulc2 14560 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘𝑚)))
187nnrpd 11908 . . . . . . . . . . . . . . . . 17 (𝑑 ∈ (1...(⌊‘𝑥)) → 𝑑 ∈ ℝ+)
19 rpdivcl 11894 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+𝑑 ∈ ℝ+) → (𝑥 / 𝑑) ∈ ℝ+)
2018, 19sylan2 490 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑑) ∈ ℝ+)
2120rpred 11910 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑑) ∈ ℝ)
22 chpval 24893 . . . . . . . . . . . . . . 15 ((𝑥 / 𝑑) ∈ ℝ → (ψ‘(𝑥 / 𝑑)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚))
2321, 22syl 17 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑑)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚))
2423oveq2d 6706 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = ((Λ‘𝑑) · Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))(Λ‘𝑚)))
2513nncnd 11074 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑚 ∈ ℂ)
267ad2antlr 763 . . . . . . . . . . . . . . . . . 18 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ∈ ℕ)
2726nncnd 11074 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ∈ ℂ)
2826nnne0d 11103 . . . . . . . . . . . . . . . . 17 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → 𝑑 ≠ 0)
2925, 27, 28divcan3d 10844 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((𝑑 · 𝑚) / 𝑑) = 𝑚)
3029fveq2d 6233 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (Λ‘((𝑑 · 𝑚) / 𝑑)) = (Λ‘𝑚))
3130oveq2d 6706 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))) = ((Λ‘𝑑) · (Λ‘𝑚)))
3231sumeq2dv 14477 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘𝑚)))
3317, 24, 323eqtr4d 2695 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
3433sumeq2dv 14477 . . . . . . . . . . 11 (𝑥 ∈ ℝ+ → Σ𝑑 ∈ (1...(⌊‘𝑥))((Λ‘𝑑) · (ψ‘(𝑥 / 𝑑))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
355, 34syl5eq 2697 . . . . . . . . . 10 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
36 oveq1 6697 . . . . . . . . . . . . 13 (𝑛 = (𝑑 · 𝑚) → (𝑛 / 𝑑) = ((𝑑 · 𝑚) / 𝑑))
3736fveq2d 6233 . . . . . . . . . . . 12 (𝑛 = (𝑑 · 𝑚) → (Λ‘(𝑛 / 𝑑)) = (Λ‘((𝑑 · 𝑚) / 𝑑)))
3837oveq2d 6706 . . . . . . . . . . 11 (𝑛 = (𝑑 · 𝑚) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) = ((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
39 rpre 11877 . . . . . . . . . . 11 (𝑥 ∈ ℝ+𝑥 ∈ ℝ)
40 ssrab2 3720 . . . . . . . . . . . . . . . . 17 {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ ℕ
41 simprr 811 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4240, 41sseldi 3634 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ ℕ)
4342anassrs 681 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → 𝑑 ∈ ℕ)
4443, 9syl 17 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (Λ‘𝑑) ∈ ℝ)
45 elfznn 12408 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (1...(⌊‘𝑥)) → 𝑛 ∈ ℕ)
4645adantl 481 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → 𝑛 ∈ ℕ)
47 dvdsdivcl 15085 . . . . . . . . . . . . . . . . 17 ((𝑛 ∈ ℕ ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4846, 47sylan 487 . . . . . . . . . . . . . . . 16 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})
4940, 48sseldi 3634 . . . . . . . . . . . . . . 15 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (𝑛 / 𝑑) ∈ ℕ)
50 vmacl 24889 . . . . . . . . . . . . . . 15 ((𝑛 / 𝑑) ∈ ℕ → (Λ‘(𝑛 / 𝑑)) ∈ ℝ)
5149, 50syl 17 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → (Λ‘(𝑛 / 𝑑)) ∈ ℝ)
5244, 51remulcld 10108 . . . . . . . . . . . . 13 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℝ)
5352recnd 10106 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛}) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
5453anasss 680 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
5538, 39, 54dvdsflsumcom 24959 . . . . . . . . . 10 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((Λ‘𝑑) · (Λ‘((𝑑 · 𝑚) / 𝑑))))
5635, 55eqtr4d 2688 . . . . . . . . 9 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) = Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))))
5756oveq1d 6705 . . . . . . . 8 (𝑥 ∈ ℝ+ → (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
58 fzfid 12812 . . . . . . . . 9 (𝑥 ∈ ℝ+ → (1...(⌊‘𝑥)) ∈ Fin)
59 vmacl 24889 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → (Λ‘𝑛) ∈ ℝ)
6046, 59syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑛) ∈ ℝ)
6160recnd 10106 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (Λ‘𝑛) ∈ ℂ)
6245nnrpd 11908 . . . . . . . . . . . . . 14 (𝑛 ∈ (1...(⌊‘𝑥)) → 𝑛 ∈ ℝ+)
63 rpdivcl 11894 . . . . . . . . . . . . . 14 ((𝑥 ∈ ℝ+𝑛 ∈ ℝ+) → (𝑥 / 𝑛) ∈ ℝ+)
6462, 63sylan2 490 . . . . . . . . . . . . 13 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑛) ∈ ℝ+)
6564rpred 11910 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (𝑥 / 𝑛) ∈ ℝ)
66 chpcl 24895 . . . . . . . . . . . 12 ((𝑥 / 𝑛) ∈ ℝ → (ψ‘(𝑥 / 𝑛)) ∈ ℝ)
6765, 66syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑛)) ∈ ℝ)
6867recnd 10106 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (ψ‘(𝑥 / 𝑛)) ∈ ℂ)
6961, 68mulcld 10098 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) ∈ ℂ)
7046nnrpd 11908 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → 𝑛 ∈ ℝ+)
71 relogcl 24367 . . . . . . . . . . . 12 (𝑛 ∈ ℝ+ → (log‘𝑛) ∈ ℝ)
7270, 71syl 17 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (log‘𝑛) ∈ ℝ)
7372recnd 10106 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (log‘𝑛) ∈ ℂ)
7461, 73mulcld 10098 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · (log‘𝑛)) ∈ ℂ)
7558, 69, 74fsumadd 14514 . . . . . . . 8 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
76 fzfid 12812 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → (1...𝑛) ∈ Fin)
77 dvdsssfz1 15087 . . . . . . . . . . . . 13 (𝑛 ∈ ℕ → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ (1...𝑛))
7846, 77syl 17 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ (1...𝑛))
79 ssfi 8221 . . . . . . . . . . . 12 (((1...𝑛) ∈ Fin ∧ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ⊆ (1...𝑛)) → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ∈ Fin)
8076, 78, 79syl2anc 694 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → {𝑦 ∈ ℕ ∣ 𝑦𝑛} ∈ Fin)
8180, 52fsumrecl 14509 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℝ)
8281recnd 10106 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) ∈ ℂ)
8358, 82, 74fsumadd 14514 . . . . . . . 8 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))) = (Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · (log‘𝑛))))
8457, 75, 833eqtr4d 2695 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))) = Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
8573, 68addcomd 10276 . . . . . . . . . 10 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((log‘𝑛) + (ψ‘(𝑥 / 𝑛))) = ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛)))
8685oveq2d 6706 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = ((Λ‘𝑛) · ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛))))
8761, 68, 73adddid 10102 . . . . . . . . 9 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((ψ‘(𝑥 / 𝑛)) + (log‘𝑛))) = (((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
8886, 87eqtrd 2685 . . . . . . . 8 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → ((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = (((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
8988sumeq2dv 14477 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑛 ∈ (1...(⌊‘𝑥))(((Λ‘𝑛) · (ψ‘(𝑥 / 𝑛))) + ((Λ‘𝑛) · (log‘𝑛))))
90 logsqvma2 25277 . . . . . . . . 9 (𝑛 ∈ ℕ → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = (Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
9146, 90syl 17 . . . . . . . 8 ((𝑥 ∈ ℝ+𝑛 ∈ (1...(⌊‘𝑥))) → Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = (Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
9291sumeq2dv 14477 . . . . . . 7 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = Σ𝑛 ∈ (1...(⌊‘𝑥))(Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((Λ‘𝑑) · (Λ‘(𝑛 / 𝑑))) + ((Λ‘𝑛) · (log‘𝑛))))
9384, 89, 923eqtr4d 2695 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)))
9436fveq2d 6233 . . . . . . . . 9 (𝑛 = (𝑑 · 𝑚) → (log‘(𝑛 / 𝑑)) = (log‘((𝑑 · 𝑚) / 𝑑)))
9594oveq1d 6705 . . . . . . . 8 (𝑛 = (𝑑 · 𝑚) → ((log‘(𝑛 / 𝑑))↑2) = ((log‘((𝑑 · 𝑚) / 𝑑))↑2))
9695oveq2d 6706 . . . . . . 7 (𝑛 = (𝑑 · 𝑚) → ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = ((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)))
97 mucl 24912 . . . . . . . . . 10 (𝑑 ∈ ℕ → (μ‘𝑑) ∈ ℤ)
9842, 97syl 17 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (μ‘𝑑) ∈ ℤ)
9998zcnd 11521 . . . . . . . 8 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (μ‘𝑑) ∈ ℂ)
10062ad2antrl 764 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑛 ∈ ℝ+)
10142nnrpd 11908 . . . . . . . . . . 11 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → 𝑑 ∈ ℝ+)
102100, 101rpdivcld 11927 . . . . . . . . . 10 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (𝑛 / 𝑑) ∈ ℝ+)
103 relogcl 24367 . . . . . . . . . . 11 ((𝑛 / 𝑑) ∈ ℝ+ → (log‘(𝑛 / 𝑑)) ∈ ℝ)
104103recnd 10106 . . . . . . . . . 10 ((𝑛 / 𝑑) ∈ ℝ+ → (log‘(𝑛 / 𝑑)) ∈ ℂ)
105102, 104syl 17 . . . . . . . . 9 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → (log‘(𝑛 / 𝑑)) ∈ ℂ)
106105sqcld 13046 . . . . . . . 8 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((log‘(𝑛 / 𝑑))↑2) ∈ ℂ)
10799, 106mulcld 10098 . . . . . . 7 ((𝑥 ∈ ℝ+ ∧ (𝑛 ∈ (1...(⌊‘𝑥)) ∧ 𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛})) → ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) ∈ ℂ)
10896, 39, 107dvdsflsumcom 24959 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))Σ𝑑 ∈ {𝑦 ∈ ℕ ∣ 𝑦𝑛} ((μ‘𝑑) · ((log‘(𝑛 / 𝑑))↑2)) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)))
10929fveq2d 6233 . . . . . . . . . 10 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → (log‘((𝑑 · 𝑚) / 𝑑)) = (log‘𝑚))
110109oveq1d 6705 . . . . . . . . 9 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((log‘((𝑑 · 𝑚) / 𝑑))↑2) = ((log‘𝑚)↑2))
111110oveq2d 6706 . . . . . . . 8 (((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) ∧ 𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))) → ((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = ((μ‘𝑑) · ((log‘𝑚)↑2)))
112111sumeq2dv 14477 . . . . . . 7 ((𝑥 ∈ ℝ+𝑑 ∈ (1...(⌊‘𝑥))) → Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
113112sumeq2dv 14477 . . . . . 6 (𝑥 ∈ ℝ+ → Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘((𝑑 · 𝑚) / 𝑑))↑2)) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
11493, 108, 1133eqtrd 2689 . . . . 5 (𝑥 ∈ ℝ+ → Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) = Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)))
115114oveq1d 6705 . . . 4 (𝑥 ∈ ℝ+ → (Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) = (Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥))
116115oveq1d 6705 . . 3 (𝑥 ∈ ℝ+ → ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥))) = ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥))))
117116mpteq2ia 4773 . 2 (𝑥 ∈ ℝ+ ↦ ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥)))) = (𝑥 ∈ ℝ+ ↦ ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥))))
118 eqid 2651 . . 3 ((((log‘(𝑥 / 𝑑))↑2) + (2 − (2 · (log‘(𝑥 / 𝑑))))) / 𝑑) = ((((log‘(𝑥 / 𝑑))↑2) + (2 − (2 · (log‘(𝑥 / 𝑑))))) / 𝑑)
119118selberglem2 25280 . 2 (𝑥 ∈ ℝ+ ↦ ((Σ𝑑 ∈ (1...(⌊‘𝑥))Σ𝑚 ∈ (1...(⌊‘(𝑥 / 𝑑)))((μ‘𝑑) · ((log‘𝑚)↑2)) / 𝑥) − (2 · (log‘𝑥)))) ∈ 𝑂(1)
120117, 119eqeltri 2726 1 (𝑥 ∈ ℝ+ ↦ ((Σ𝑛 ∈ (1...(⌊‘𝑥))((Λ‘𝑛) · ((log‘𝑛) + (ψ‘(𝑥 / 𝑛)))) / 𝑥) − (2 · (log‘𝑥)))) ∈ 𝑂(1)
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1523  wcel 2030  {crab 2945  wss 3607   class class class wbr 4685  cmpt 4762  cfv 5926  (class class class)co 6690  Fincfn 7997  cc 9972  cr 9973  1c1 9975   + caddc 9977   · cmul 9979  cmin 10304   / cdiv 10722  cn 11058  2c2 11108  cz 11415  +crp 11870  ...cfz 12364  cfl 12631  cexp 12900  𝑂(1)co1 14261  Σcsu 14460  cdvds 15027  logclog 24346  Λcvma 24863  ψcchp 24864  μcmu 24866
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051  ax-pre-sup 10052  ax-addf 10053  ax-mulf 10054
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-fal 1529  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-iin 4555  df-disj 4653  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-isom 5935  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-of 6939  df-om 7108  df-1st 7210  df-2nd 7211  df-supp 7341  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-2o 7606  df-oadd 7609  df-er 7787  df-map 7901  df-pm 7902  df-ixp 7951  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-fsupp 8317  df-fi 8358  df-sup 8389  df-inf 8390  df-oi 8456  df-card 8803  df-cda 9028  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-div 10723  df-nn 11059  df-2 11117  df-3 11118  df-4 11119  df-5 11120  df-6 11121  df-7 11122  df-8 11123  df-9 11124  df-n0 11331  df-xnn0 11402  df-z 11416  df-dec 11532  df-uz 11726  df-q 11827  df-rp 11871  df-xneg 11984  df-xadd 11985  df-xmul 11986  df-ioo 12217  df-ioc 12218  df-ico 12219  df-icc 12220  df-fz 12365  df-fzo 12505  df-fl 12633  df-mod 12709  df-seq 12842  df-exp 12901  df-fac 13101  df-bc 13130  df-hash 13158  df-shft 13851  df-cj 13883  df-re 13884  df-im 13885  df-sqrt 14019  df-abs 14020  df-limsup 14246  df-clim 14263  df-rlim 14264  df-o1 14265  df-lo1 14266  df-sum 14461  df-ef 14842  df-e 14843  df-sin 14844  df-cos 14845  df-pi 14847  df-dvds 15028  df-gcd 15264  df-prm 15433  df-pc 15589  df-struct 15906  df-ndx 15907  df-slot 15908  df-base 15910  df-sets 15911  df-ress 15912  df-plusg 16001  df-mulr 16002  df-starv 16003  df-sca 16004  df-vsca 16005  df-ip 16006  df-tset 16007  df-ple 16008  df-ds 16011  df-unif 16012  df-hom 16013  df-cco 16014  df-rest 16130  df-topn 16131  df-0g 16149  df-gsum 16150  df-topgen 16151  df-pt 16152  df-prds 16155  df-xrs 16209  df-qtop 16214  df-imas 16215  df-xps 16217  df-mre 16293  df-mrc 16294  df-acs 16296  df-mgm 17289  df-sgrp 17331  df-mnd 17342  df-submnd 17383  df-mulg 17588  df-cntz 17796  df-cmn 18241  df-psmet 19786  df-xmet 19787  df-met 19788  df-bl 19789  df-mopn 19790  df-fbas 19791  df-fg 19792  df-cnfld 19795  df-top 20747  df-topon 20764  df-topsp 20785  df-bases 20798  df-cld 20871  df-ntr 20872  df-cls 20873  df-nei 20950  df-lp 20988  df-perf 20989  df-cn 21079  df-cnp 21080  df-haus 21167  df-cmp 21238  df-tx 21413  df-hmeo 21606  df-fil 21697  df-fm 21789  df-flim 21790  df-flf 21791  df-xms 22172  df-ms 22173  df-tms 22174  df-cncf 22728  df-limc 23675  df-dv 23676  df-log 24348  df-cxp 24349  df-em 24764  df-vma 24869  df-chp 24870  df-mu 24872
This theorem is referenced by:  selbergb  25283  selberg2  25285  selbergs  25308
  Copyright terms: Public domain W3C validator