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

Theorem selberg 20624
Description: Selberg's symmetry formula. The statement has many forms, and this one is equivalent to the statement that  sum_
n  <_  x , Λ ( n ) log n  +  sum_ m  x.  n  <_  x , Λ ( m )Λ ( n )  =  2 x log x  +  O
( x ). Equation 10.4.10 of [Shapiro], p. 419. (Contributed by Mario Carneiro, 23-May-2016.)
Assertion
Ref Expression
selberg  |-  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( ( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )  e.  O
( 1 )
Distinct variable group:    x, n

Proof of Theorem selberg
StepHypRef Expression
1 fveq2 5423 . . . . . . . . . . . . 13  |-  ( n  =  d  ->  (Λ `  n )  =  (Λ `  d ) )
2 oveq2 5765 . . . . . . . . . . . . . 14  |-  ( n  =  d  ->  (
x  /  n )  =  ( x  / 
d ) )
32fveq2d 5427 . . . . . . . . . . . . 13  |-  ( n  =  d  ->  (ψ `  ( x  /  n
) )  =  (ψ `  ( x  /  d
) ) )
41, 3oveq12d 5775 . . . . . . . . . . . 12  |-  ( n  =  d  ->  (
(Λ `  n )  x.  (ψ `  ( x  /  n ) ) )  =  ( (Λ `  d
)  x.  (ψ `  ( x  /  d
) ) ) )
54cbvsumv 12099 . . . . . . . . . . 11  |-  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  = 
sum_ d  e.  ( 1 ... ( |_
`  x ) ) ( (Λ `  d
)  x.  (ψ `  ( x  /  d
) ) )
6 fzfid 10966 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( 1 ... ( |_ `  ( x  /  d
) ) )  e. 
Fin )
7 elfznn 10750 . . . . . . . . . . . . . . . . 17  |-  ( d  e.  ( 1 ... ( |_ `  x
) )  ->  d  e.  NN )
87adantl 454 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  d  e.  NN )
9 vmacl 20283 . . . . . . . . . . . . . . . 16  |-  ( d  e.  NN  ->  (Λ `  d )  e.  RR )
108, 9syl 17 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  d
)  e.  RR )
1110recnd 8794 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  d
)  e.  CC )
12 elfznn 10750 . . . . . . . . . . . . . . . . 17  |-  ( m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) )  ->  m  e.  NN )
1312adantl 454 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  m  e.  NN )
14 vmacl 20283 . . . . . . . . . . . . . . . 16  |-  ( m  e.  NN  ->  (Λ `  m )  e.  RR )
1513, 14syl 17 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  m
)  e.  RR )
1615recnd 8794 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  m
)  e.  CC )
176, 11, 16fsummulc2 12176 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  d )  x.  sum_ m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) ) (Λ `  m
) )  =  sum_ m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) ) ( (Λ `  d )  x.  (Λ `  m ) ) )
187nnrpd 10321 . . . . . . . . . . . . . . . . 17  |-  ( d  e.  ( 1 ... ( |_ `  x
) )  ->  d  e.  RR+ )
19 rpdivcl 10308 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  d  e.  RR+ )  ->  (
x  /  d )  e.  RR+ )
2018, 19sylan2 462 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  d )  e.  RR+ )
2120rpred 10322 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  d )  e.  RR )
22 chpval 20287 . . . . . . . . . . . . . . 15  |-  ( ( x  /  d )  e.  RR  ->  (ψ `  ( x  /  d
) )  =  sum_ m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) ) (Λ `  m
) )
2321, 22syl 17 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  d ) )  =  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) (Λ `  m )
)
2423oveq2d 5773 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  d )  x.  (ψ `  ( x  /  d
) ) )  =  ( (Λ `  d
)  x.  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) (Λ `  m )
) )
2513nncnd 9695 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  m  e.  CC )
267ad2antlr 710 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  e.  NN )
2726nncnd 9695 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  e.  CC )
2826nnne0d 9723 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  =/=  0 )
2925, 27, 28divcan3d 9474 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( (
d  x.  m )  /  d )  =  m )
3029fveq2d 5427 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  (
( d  x.  m
)  /  d ) )  =  (Λ `  m
) )
3130oveq2d 5773 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( (Λ `  d )  x.  (Λ `  ( ( d  x.  m )  /  d
) ) )  =  ( (Λ `  d
)  x.  (Λ `  m
) ) )
3231sumeq2dv 12106 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) ( (Λ `  d
)  x.  (Λ `  (
( d  x.  m
)  /  d ) ) )  =  sum_ m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) ) ( (Λ `  d )  x.  (Λ `  m ) ) )
3317, 24, 323eqtr4d 2298 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  d )  x.  (ψ `  ( x  /  d
) ) )  = 
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( (Λ `  d )  x.  (Λ `  ( (
d  x.  m )  /  d ) ) ) )
3433sumeq2dv 12106 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  sum_ d  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  d
)  x.  (ψ `  ( x  /  d
) ) )  = 
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( (Λ `  d )  x.  (Λ `  ( (
d  x.  m )  /  d ) ) ) )
355, 34syl5eq 2300 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  = 
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( (Λ `  d )  x.  (Λ `  ( (
d  x.  m )  /  d ) ) ) )
36 oveq1 5764 . . . . . . . . . . . . 13  |-  ( n  =  ( d  x.  m )  ->  (
n  /  d )  =  ( ( d  x.  m )  / 
d ) )
3736fveq2d 5427 . . . . . . . . . . . 12  |-  ( n  =  ( d  x.  m )  ->  (Λ `  ( n  /  d
) )  =  (Λ `  ( ( d  x.  m )  /  d
) ) )
3837oveq2d 5773 . . . . . . . . . . 11  |-  ( n  =  ( d  x.  m )  ->  (
(Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  =  ( (Λ `  d )  x.  (Λ `  ( ( d  x.  m )  /  d
) ) ) )
39 rpre 10292 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  x  e.  RR )
40 ssrab2 3200 . . . . . . . . . . . . . . . . 17  |-  { y  e.  NN  |  y 
||  n }  C_  NN
41 simprr 736 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  { y  e.  NN  |  y 
||  n } )
4240, 41sseldi 3120 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  NN )
4342anassrs 632 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  d  e.  NN )
4443, 9syl 17 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  (Λ `  d
)  e.  RR )
45 elfznn 10750 . . . . . . . . . . . . . . . . . 18  |-  ( n  e.  ( 1 ... ( |_ `  x
) )  ->  n  e.  NN )
4645adantl 454 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  NN )
47 dvdsdivcl 20348 . . . . . . . . . . . . . . . . 17  |-  ( ( n  e.  NN  /\  d  e.  { y  e.  NN  |  y  ||  n } )  ->  (
n  /  d )  e.  { y  e.  NN  |  y  ||  n } )
4846, 47sylan 459 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( n  /  d )  e. 
{ y  e.  NN  |  y  ||  n }
)
4940, 48sseldi 3120 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( n  /  d )  e.  NN )
50 vmacl 20283 . . . . . . . . . . . . . . 15  |-  ( ( n  /  d )  e.  NN  ->  (Λ `  ( n  /  d
) )  e.  RR )
5149, 50syl 17 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  (Λ `  (
n  /  d ) )  e.  RR )
5244, 51remulcld 8796 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  e.  RR )
5352recnd 8794 . . . . . . . . . . . 12  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  e.  CC )
5453anasss 631 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  e.  CC )
5538, 39, 54dvdsflsumcom 20355 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) )
sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  =  sum_ d  e.  ( 1 ... ( |_ `  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( (Λ `  d )  x.  (Λ `  ( (
d  x.  m )  /  d ) ) ) )
5635, 55eqtr4d 2291 . . . . . . . . 9  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  = 
sum_ n  e.  (
1 ... ( |_ `  x ) ) sum_ d  e.  { y  e.  NN  |  y  ||  n }  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) ) )
5756oveq1d 5772 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( (Λ `  n )  x.  (ψ `  ( x  /  n
) ) )  + 
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) ) )  =  ( sum_ n  e.  ( 1 ... ( |_
`  x ) )
sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  +  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( log `  n ) ) ) )
58 fzfid 10966 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( 1 ... ( |_ `  x ) )  e. 
Fin )
59 vmacl 20283 . . . . . . . . . . . 12  |-  ( n  e.  NN  ->  (Λ `  n )  e.  RR )
6046, 59syl 17 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  RR )
6160recnd 8794 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  CC )
6245nnrpd 10321 . . . . . . . . . . . . . 14  |-  ( n  e.  ( 1 ... ( |_ `  x
) )  ->  n  e.  RR+ )
63 rpdivcl 10308 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  n  e.  RR+ )  ->  (
x  /  n )  e.  RR+ )
6462, 63sylan2 462 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  n )  e.  RR+ )
6564rpred 10322 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  n )  e.  RR )
66 chpcl 20289 . . . . . . . . . . . 12  |-  ( ( x  /  n )  e.  RR  ->  (ψ `  ( x  /  n
) )  e.  RR )
6765, 66syl 17 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  n ) )  e.  RR )
6867recnd 8794 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  n ) )  e.  CC )
6961, 68mulcld 8788 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (ψ `  ( x  /  n
) ) )  e.  CC )
7046nnrpd 10321 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  RR+ )
71 relogcl 19859 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( log `  n )  e.  RR )
7270, 71syl 17 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  RR )
7372recnd 8794 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  CC )
7461, 73mulcld 8788 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  ( log `  n ) )  e.  CC )
7558, 69, 74fsumadd 12141 . . . . . . . 8  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) )  =  ( sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  + 
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) ) ) )
76 fzfid 10966 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( 1 ... n )  e. 
Fin )
77 sgmss 20271 . . . . . . . . . . . . 13  |-  ( n  e.  NN  ->  { y  e.  NN  |  y 
||  n }  C_  ( 1 ... n
) )
7846, 77syl 17 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  { y  e.  NN  |  y  ||  n }  C_  ( 1 ... n ) )
79 ssfi 7016 . . . . . . . . . . . 12  |-  ( ( ( 1 ... n
)  e.  Fin  /\  { y  e.  NN  | 
y  ||  n }  C_  ( 1 ... n
) )  ->  { y  e.  NN  |  y 
||  n }  e.  Fin )
8076, 78, 79syl2anc 645 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  { y  e.  NN  |  y  ||  n }  e.  Fin )
8180, 52fsumrecl 12137 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ d  e. 
{ y  e.  NN  |  y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  e.  RR )
8281recnd 8794 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ d  e. 
{ y  e.  NN  |  y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  e.  CC )
8358, 82, 74fsumadd 12141 . . . . . . . 8  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  +  ( (Λ `  n )  x.  ( log `  n ) ) )  =  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) sum_ d  e.  { y  e.  NN  |  y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  +  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( log `  n ) ) ) )
8457, 75, 833eqtr4d 2298 . . . . . . 7  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) )  =  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  +  ( (Λ `  n )  x.  ( log `  n ) ) ) )
8573, 68addcomd 8947 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( ( log `  n )  +  (ψ `  ( x  /  n ) ) )  =  ( (ψ `  ( x  /  n
) )  +  ( log `  n ) ) )
8685oveq2d 5773 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  =  ( (Λ `  n
)  x.  ( (ψ `  ( x  /  n
) )  +  ( log `  n ) ) ) )
8761, 68, 73adddid 8792 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
(ψ `  ( x  /  n ) )  +  ( log `  n
) ) )  =  ( ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
8886, 87eqtrd 2288 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  =  ( ( (Λ `  n )  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
8988sumeq2dv 12106 . . . . . . 7  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( ( log `  n )  +  (ψ `  (
x  /  n ) ) ) )  = 
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
90 logsqvma2 20619 . . . . . . . . 9  |-  ( n  e.  NN  ->  sum_ d  e.  { y  e.  NN  |  y  ||  n } 
( ( mmu `  d )  x.  (
( log `  (
n  /  d ) ) ^ 2 ) )  =  ( sum_ d  e.  { y  e.  NN  |  y  ||  n }  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
9146, 90syl 17 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ d  e. 
{ y  e.  NN  |  y  ||  n } 
( ( mmu `  d )  x.  (
( log `  (
n  /  d ) ) ^ 2 ) )  =  ( sum_ d  e.  { y  e.  NN  |  y  ||  n }  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
9291sumeq2dv 12106 . . . . . . 7  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) )
sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( ( mmu `  d )  x.  (
( log `  (
n  /  d ) ) ^ 2 ) )  =  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  +  ( (Λ `  n )  x.  ( log `  n ) ) ) )
9384, 89, 923eqtr4d 2298 . . . . . 6  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( ( log `  n )  +  (ψ `  (
x  /  n ) ) ) )  = 
sum_ n  e.  (
1 ... ( |_ `  x ) ) sum_ d  e.  { y  e.  NN  |  y  ||  n }  ( (
mmu `  d )  x.  ( ( log `  (
n  /  d ) ) ^ 2 ) ) )
9436fveq2d 5427 . . . . . . . . 9  |-  ( n  =  ( d  x.  m )  ->  ( log `  ( n  / 
d ) )  =  ( log `  (
( d  x.  m
)  /  d ) ) )
9594oveq1d 5772 . . . . . . . 8  |-  ( n  =  ( d  x.  m )  ->  (
( log `  (
n  /  d ) ) ^ 2 )  =  ( ( log `  ( ( d  x.  m )  /  d
) ) ^ 2 ) )
9695oveq2d 5773 . . . . . . 7  |-  ( n  =  ( d  x.  m )  ->  (
( mmu `  d
)  x.  ( ( log `  ( n  /  d ) ) ^ 2 ) )  =  ( ( mmu `  d )  x.  (
( log `  (
( d  x.  m
)  /  d ) ) ^ 2 ) ) )
97 mucl 20306 . . . . . . . . . 10  |-  ( d  e.  NN  ->  (
mmu `  d )  e.  ZZ )
9842, 97syl 17 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( mmu `  d
)  e.  ZZ )
9998zcnd 10050 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( mmu `  d
)  e.  CC )
10062ad2antrl 711 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  ->  n  e.  RR+ )
10142nnrpd 10321 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  RR+ )
102100, 101rpdivcld 10339 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( n  /  d
)  e.  RR+ )
103 relogcl 19859 . . . . . . . . . . 11  |-  ( ( n  /  d )  e.  RR+  ->  ( log `  ( n  /  d
) )  e.  RR )
104103recnd 8794 . . . . . . . . . 10  |-  ( ( n  /  d )  e.  RR+  ->  ( log `  ( n  /  d
) )  e.  CC )
105102, 104syl 17 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( log `  (
n  /  d ) )  e.  CC )
106105sqcld 11174 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( ( log `  (
n  /  d ) ) ^ 2 )  e.  CC )
10799, 106mulcld 8788 . . . . . . 7  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( ( mmu `  d )  x.  (
( log `  (
n  /  d ) ) ^ 2 ) )  e.  CC )
10896, 39, 107dvdsflsumcom 20355 . . . . . 6  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) )
sum_ d  e.  {
y  e.  NN  | 
y  ||  n } 
( ( mmu `  d )  x.  (
( log `  (
n  /  d ) ) ^ 2 ) )  =  sum_ d  e.  ( 1 ... ( |_ `  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  ( ( d  x.  m )  /  d ) ) ^ 2 ) ) )
10929fveq2d 5427 . . . . . . . . . 10  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( log `  ( ( d  x.  m )  /  d
) )  =  ( log `  m ) )
110109oveq1d 5772 . . . . . . . . 9  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( ( log `  ( ( d  x.  m )  / 
d ) ) ^
2 )  =  ( ( log `  m
) ^ 2 ) )
111110oveq2d 5773 . . . . . . . 8  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( (
mmu `  d )  x.  ( ( log `  (
( d  x.  m
)  /  d ) ) ^ 2 ) )  =  ( ( mmu `  d )  x.  ( ( log `  m ) ^ 2 ) ) )
112111sumeq2dv 12106 . . . . . . 7  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) ( ( mmu `  d )  x.  (
( log `  (
( d  x.  m
)  /  d ) ) ^ 2 ) )  =  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) ( ( mmu `  d )  x.  (
( log `  m
) ^ 2 ) ) )
113112sumeq2dv 12106 . . . . . 6  |-  ( x  e.  RR+  ->  sum_ d  e.  ( 1 ... ( |_ `  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  ( ( d  x.  m )  /  d ) ) ^ 2 ) )  =  sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) ) )
11493, 108, 1133eqtrd 2292 . . . . 5  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( ( log `  n )  +  (ψ `  (
x  /  n ) ) ) )  = 
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) ) )
115114oveq1d 5772 . . . 4  |-  ( x  e.  RR+  ->  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( (Λ `  n )  x.  (
( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  /  x )  =  ( sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) )  /  x ) )
116115oveq1d 5772 . . 3  |-  ( x  e.  RR+  ->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( ( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  /  x )  -  ( 2  x.  ( log `  x ) ) )  =  ( (
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )
117116mpteq2ia 4042 . 2  |-  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( ( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )  =  ( x  e.  RR+  |->  ( (
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )
118 eqid 2256 . . 3  |-  ( ( ( ( log `  (
x  /  d ) ) ^ 2 )  +  ( 2  -  ( 2  x.  ( log `  ( x  / 
d ) ) ) ) )  /  d
)  =  ( ( ( ( log `  (
x  /  d ) ) ^ 2 )  +  ( 2  -  ( 2  x.  ( log `  ( x  / 
d ) ) ) ) )  /  d
)
119118selberglem2 20622 . 2  |-  ( x  e.  RR+  |->  ( (
sum_ d  e.  ( 1 ... ( |_
`  x ) )
sum_ m  e.  (
1 ... ( |_ `  ( x  /  d
) ) ) ( ( mmu `  d
)  x.  ( ( log `  m ) ^ 2 ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )  e.  O
( 1 )
120117, 119eqeltri 2326 1  |-  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( ( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  /  x )  -  ( 2  x.  ( log `  x ) ) ) )  e.  O
( 1 )
Colors of variables: wff set class
Syntax hints:    /\ wa 360    = wceq 1619    e. wcel 1621   {crab 2519    C_ wss 3094   class class class wbr 3963    e. cmpt 4017   ` cfv 4638  (class class class)co 5757   Fincfn 6796   CCcc 8668   RRcr 8669   1c1 8671    + caddc 8673    x. cmul 8675    - cmin 8970    / cdiv 9356   NNcn 9679   2c2 9728   ZZcz 9956   RR+crp 10286   ...cfz 10713   |_cfl 10855   ^cexp 11035   O ( 1 )co1 11890   sum_csu 12088    || cdivides 12458   logclog 19839  Λcvma 20256  ψcchp 20257   mmucmu 20259
This theorem is referenced by:  selbergb  20625  selberg2  20627  selbergs  20650
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-rep 4071  ax-sep 4081  ax-nul 4089  ax-pow 4126  ax-pr 4152  ax-un 4449  ax-inf2 7275  ax-cnex 8726  ax-resscn 8727  ax-1cn 8728  ax-icn 8729  ax-addcl 8730  ax-addrcl 8731  ax-mulcl 8732  ax-mulrcl 8733  ax-mulcom 8734  ax-addass 8735  ax-mulass 8736  ax-distr 8737  ax-i2m1 8738  ax-1ne0 8739  ax-1rid 8740  ax-rnegex 8741  ax-rrecex 8742  ax-cnre 8743  ax-pre-lttri 8744  ax-pre-lttrn 8745  ax-pre-ltadd 8746  ax-pre-mulgt0 8747  ax-pre-sup 8748  ax-addf 8749  ax-mulf 8750
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-nel 2422  df-ral 2520  df-rex 2521  df-reu 2522  df-rab 2523  df-v 2742  df-sbc 2936  df-csb 3024  df-dif 3097  df-un 3099  df-in 3101  df-ss 3108  df-pss 3110  df-nul 3398  df-if 3507  df-pw 3568  df-sn 3587  df-pr 3588  df-tp 3589  df-op 3590  df-uni 3769  df-int 3804  df-iun 3848  df-iin 3849  df-disj 3935  df-br 3964  df-opab 4018  df-mpt 4019  df-tr 4054  df-eprel 4242  df-id 4246  df-po 4251  df-so 4252  df-fr 4289  df-se 4290  df-we 4291  df-ord 4332  df-on 4333  df-lim 4334  df-suc 4335  df-om 4594  df-xp 4640  df-rel 4641  df-cnv 4642  df-co 4643  df-dm 4644  df-rn 4645  df-res 4646  df-ima 4647  df-fun 4648  df-fn 4649  df-f 4650  df-f1 4651  df-fo 4652  df-f1o 4653  df-fv 4654  df-isom 4655  df-ov 5760  df-oprab 5761  df-mpt2 5762  df-of 5977  df-1st 6021  df-2nd 6022  df-iota 6190  df-riota 6237  df-recs 6321  df-rdg 6356  df-1o 6412  df-2o 6413  df-oadd 6416  df-er 6593  df-map 6707  df-pm 6708  df-ixp 6751  df-en 6797  df-dom 6798  df-sdom 6799  df-fin 6800  df-fi 7098  df-sup 7127  df-oi 7158  df-card 7505  df-cda 7727  df-pnf 8802  df-mnf 8803  df-xr 8804  df-ltxr 8805  df-le 8806  df-sub 8972  df-neg 8973  df-div 9357  df-n 9680  df-2 9737  df-3 9738  df-4 9739  df-5 9740  df-6 9741  df-7 9742  df-8 9743  df-9 9744  df-10 9745  df-n0 9898  df-z 9957  df-dec 10057  df-uz 10163  df-q 10249  df-rp 10287  df-xneg 10384  df-xadd 10385  df-xmul 10386  df-ioo 10591  df-ioc 10592  df-ico 10593  df-icc 10594  df-fz 10714  df-fzo 10802  df-fl 10856  df-mod 10905  df-seq 10978  df-exp 11036  df-fac 11220  df-bc 11247  df-hash 11269  df-shft 11492  df-cj 11514  df-re 11515  df-im 11516  df-sqr 11650  df-abs 11651  df-limsup 11875  df-clim 11892  df-rlim 11893  df-o1 11894  df-lo1 11895  df-sum 12089  df-ef 12276  df-e 12277  df-sin 12278  df-cos 12279  df-pi 12281  df-divides 12459  df-gcd 12613  df-prime 12686  df-pc 12817  df-struct 13077  df-ndx 13078  df-slot 13079  df-base 13080  df-sets 13081  df-ress 13082  df-plusg 13148  df-mulr 13149  df-starv 13150  df-sca 13151  df-vsca 13152  df-tset 13154  df-ple 13155  df-ds 13157  df-hom 13159  df-cco 13160  df-rest 13254  df-topn 13255  df-topgen 13271  df-pt 13272  df-prds 13275  df-xrs 13330  df-0g 13331  df-gsum 13332  df-qtop 13337  df-imas 13338  df-xps 13340  df-mre 13415  df-mrc 13416  df-acs 13418  df-mnd 14294  df-submnd 14343  df-mulg 14419  df-cntz 14720  df-cmn 15018  df-xmet 16300  df-met 16301  df-bl 16302  df-mopn 16303  df-cnfld 16305  df-top 16563  df-bases 16565  df-topon 16566  df-topsp 16567  df-cld 16683  df-ntr 16684  df-cls 16685  df-nei 16762  df-lp 16795  df-perf 16796  df-cn 16884  df-cnp 16885  df-haus 16970  df-cmp 17041  df-tx 17184  df-hmeo 17373  df-fbas 17447  df-fg 17448  df-fil 17468  df-fm 17560  df-flim 17561  df-flf 17562  df-xms 17812  df-ms 17813  df-tms 17814  df-cncf 18309  df-limc 19143  df-dv 19144  df-log 19841  df-cxp 19842  df-em 20214  df-vma 20262  df-chp 20263  df-mu 20265
  Copyright terms: Public domain W3C validator