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

Theorem selberg 20713
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
Dummy variables  d  m  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 5541 . . . . . . . . . . . . 13  |-  ( n  =  d  ->  (Λ `  n )  =  (Λ `  d ) )
2 oveq2 5882 . . . . . . . . . . . . . 14  |-  ( n  =  d  ->  (
x  /  n )  =  ( x  / 
d ) )
32fveq2d 5545 . . . . . . . . . . . . 13  |-  ( n  =  d  ->  (ψ `  ( x  /  n
) )  =  (ψ `  ( x  /  d
) ) )
41, 3oveq12d 5892 . . . . . . . . . . . 12  |-  ( n  =  d  ->  (
(Λ `  n )  x.  (ψ `  ( x  /  n ) ) )  =  ( (Λ `  d
)  x.  (ψ `  ( x  /  d
) ) ) )
54cbvsumv 12185 . . . . . . . . . . 11  |-  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  = 
sum_ d  e.  ( 1 ... ( |_
`  x ) ) ( (Λ `  d
)  x.  (ψ `  ( x  /  d
) ) )
6 fzfid 11051 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( 1 ... ( |_ `  ( x  /  d
) ) )  e. 
Fin )
7 elfznn 10835 . . . . . . . . . . . . . . . . 17  |-  ( d  e.  ( 1 ... ( |_ `  x
) )  ->  d  e.  NN )
87adantl 452 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  d  e.  NN )
9 vmacl 20372 . . . . . . . . . . . . . . . 16  |-  ( d  e.  NN  ->  (Λ `  d )  e.  RR )
108, 9syl 15 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  d
)  e.  RR )
1110recnd 8877 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  d
)  e.  CC )
12 elfznn 10835 . . . . . . . . . . . . . . . . 17  |-  ( m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) )  ->  m  e.  NN )
1312adantl 452 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  m  e.  NN )
14 vmacl 20372 . . . . . . . . . . . . . . . 16  |-  ( m  e.  NN  ->  (Λ `  m )  e.  RR )
1513, 14syl 15 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  m
)  e.  RR )
1615recnd 8877 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  m
)  e.  CC )
176, 11, 16fsummulc2 12262 . . . . . . . . . . . . 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 10405 . . . . . . . . . . . . . . . . 17  |-  ( d  e.  ( 1 ... ( |_ `  x
) )  ->  d  e.  RR+ )
19 rpdivcl 10392 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  d  e.  RR+ )  ->  (
x  /  d )  e.  RR+ )
2018, 19sylan2 460 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  d )  e.  RR+ )
2120rpred 10406 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  d )  e.  RR )
22 chpval 20376 . . . . . . . . . . . . . . 15  |-  ( ( x  /  d )  e.  RR  ->  (ψ `  ( x  /  d
) )  =  sum_ m  e.  ( 1 ... ( |_ `  (
x  /  d ) ) ) (Λ `  m
) )
2321, 22syl 15 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  d ) )  =  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) (Λ `  m )
)
2423oveq2d 5890 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  d )  x.  (ψ `  ( x  /  d
) ) )  =  ( (Λ `  d
)  x.  sum_ m  e.  ( 1 ... ( |_ `  ( x  / 
d ) ) ) (Λ `  m )
) )
2513nncnd 9778 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  m  e.  CC )
267ad2antlr 707 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  e.  NN )
2726nncnd 9778 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  e.  CC )
2826nnne0d 9806 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  d  =/=  0 )
2925, 27, 28divcan3d 9557 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( (
d  x.  m )  /  d )  =  m )
3029fveq2d 5545 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  (Λ `  (
( d  x.  m
)  /  d ) )  =  (Λ `  m
) )
3130oveq2d 5890 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( (Λ `  d )  x.  (Λ `  ( ( d  x.  m )  /  d
) ) )  =  ( (Λ `  d
)  x.  (Λ `  m
) ) )
3231sumeq2dv 12192 . . . . . . . . . . . . 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 2338 . . . . . . . . . . . 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 12192 . . . . . . . . . . 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 2340 . . . . . . . . . 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 5881 . . . . . . . . . . . . 13  |-  ( n  =  ( d  x.  m )  ->  (
n  /  d )  =  ( ( d  x.  m )  / 
d ) )
3736fveq2d 5545 . . . . . . . . . . . 12  |-  ( n  =  ( d  x.  m )  ->  (Λ `  ( n  /  d
) )  =  (Λ `  ( ( d  x.  m )  /  d
) ) )
3837oveq2d 5890 . . . . . . . . . . 11  |-  ( n  =  ( d  x.  m )  ->  (
(Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  =  ( (Λ `  d )  x.  (Λ `  ( ( d  x.  m )  /  d
) ) ) )
39 rpre 10376 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  x  e.  RR )
40 ssrab2 3271 . . . . . . . . . . . . . . . . 17  |-  { y  e.  NN  |  y 
||  n }  C_  NN
41 simprr 733 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  { y  e.  NN  |  y 
||  n } )
4240, 41sseldi 3191 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  NN )
4342anassrs 629 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  d  e.  NN )
4443, 9syl 15 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  (Λ `  d
)  e.  RR )
45 elfznn 10835 . . . . . . . . . . . . . . . . . 18  |-  ( n  e.  ( 1 ... ( |_ `  x
) )  ->  n  e.  NN )
4645adantl 452 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  NN )
47 dvdsdivcl 20437 . . . . . . . . . . . . . . . . 17  |-  ( ( n  e.  NN  /\  d  e.  { y  e.  NN  |  y  ||  n } )  ->  (
n  /  d )  e.  { y  e.  NN  |  y  ||  n } )
4846, 47sylan 457 . . . . . . . . . . . . . . . 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 3191 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( n  /  d )  e.  NN )
50 vmacl 20372 . . . . . . . . . . . . . . 15  |-  ( ( n  /  d )  e.  NN  ->  (Λ `  ( n  /  d
) )  e.  RR )
5149, 50syl 15 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  (Λ `  (
n  /  d ) )  e.  RR )
5244, 51remulcld 8879 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  e.  RR )
5352recnd 8877 . . . . . . . . . . . 12  |-  ( ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  /\  d  e.  {
y  e.  NN  | 
y  ||  n }
)  ->  ( (Λ `  d )  x.  (Λ `  ( n  /  d
) ) )  e.  CC )
5453anasss 628 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  e.  CC )
5538, 39, 54dvdsflsumcom 20444 . . . . . . . . . 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 2331 . . . . . . . . 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 5889 . . . . . . . 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 11051 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( 1 ... ( |_ `  x ) )  e. 
Fin )
59 vmacl 20372 . . . . . . . . . . . 12  |-  ( n  e.  NN  ->  (Λ `  n )  e.  RR )
6046, 59syl 15 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  RR )
6160recnd 8877 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  CC )
6245nnrpd 10405 . . . . . . . . . . . . . 14  |-  ( n  e.  ( 1 ... ( |_ `  x
) )  ->  n  e.  RR+ )
63 rpdivcl 10392 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  n  e.  RR+ )  ->  (
x  /  n )  e.  RR+ )
6462, 63sylan2 460 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  n )  e.  RR+ )
6564rpred 10406 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( x  /  n )  e.  RR )
66 chpcl 20378 . . . . . . . . . . . 12  |-  ( ( x  /  n )  e.  RR  ->  (ψ `  ( x  /  n
) )  e.  RR )
6765, 66syl 15 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  n ) )  e.  RR )
6867recnd 8877 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
x  /  n ) )  e.  CC )
6961, 68mulcld 8871 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (ψ `  ( x  /  n
) ) )  e.  CC )
7046nnrpd 10405 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  RR+ )
71 relogcl 19948 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( log `  n )  e.  RR )
7270, 71syl 15 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  RR )
7372recnd 8877 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  CC )
7461, 73mulcld 8871 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  ( log `  n ) )  e.  CC )
7558, 69, 74fsumadd 12227 . . . . . . . 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 11051 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( 1 ... n )  e. 
Fin )
77 sgmss 20360 . . . . . . . . . . . . 13  |-  ( n  e.  NN  ->  { y  e.  NN  |  y 
||  n }  C_  ( 1 ... n
) )
7846, 77syl 15 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  { y  e.  NN  |  y  ||  n }  C_  ( 1 ... n ) )
79 ssfi 7099 . . . . . . . . . . . 12  |-  ( ( ( 1 ... n
)  e.  Fin  /\  { y  e.  NN  | 
y  ||  n }  C_  ( 1 ... n
) )  ->  { y  e.  NN  |  y 
||  n }  e.  Fin )
8076, 78, 79syl2anc 642 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  { y  e.  NN  |  y  ||  n }  e.  Fin )
8180, 52fsumrecl 12223 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  sum_ d  e. 
{ y  e.  NN  |  y  ||  n } 
( (Λ `  d )  x.  (Λ `  ( n  /  d ) ) )  e.  RR )
8281recnd 8877 . . . . . . . . 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 12227 . . . . . . . 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 2338 . . . . . . 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 9030 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( ( log `  n )  +  (ψ `  ( x  /  n ) ) )  =  ( (ψ `  ( x  /  n
) )  +  ( log `  n ) ) )
8685oveq2d 5890 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  =  ( (Λ `  n
)  x.  ( (ψ `  ( x  /  n
) )  +  ( log `  n ) ) ) )
8761, 68, 73adddid 8875 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
(ψ `  ( x  /  n ) )  +  ( log `  n
) ) )  =  ( ( (Λ `  n
)  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
8886, 87eqtrd 2328 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  (
( log `  n
)  +  (ψ `  ( x  /  n
) ) ) )  =  ( ( (Λ `  n )  x.  (ψ `  ( x  /  n
) ) )  +  ( (Λ `  n
)  x.  ( log `  n ) ) ) )
8988sumeq2dv 12192 . . . . . . 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 20708 . . . . . . . . 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 15 . . . . . . . 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 12192 . . . . . . 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 2338 . . . . . 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 5545 . . . . . . . . 9  |-  ( n  =  ( d  x.  m )  ->  ( log `  ( n  / 
d ) )  =  ( log `  (
( d  x.  m
)  /  d ) ) )
9594oveq1d 5889 . . . . . . . 8  |-  ( n  =  ( d  x.  m )  ->  (
( log `  (
n  /  d ) ) ^ 2 )  =  ( ( log `  ( ( d  x.  m )  /  d
) ) ^ 2 ) )
9695oveq2d 5890 . . . . . . 7  |-  ( n  =  ( d  x.  m )  ->  (
( mmu `  d
)  x.  ( ( log `  ( n  /  d ) ) ^ 2 ) )  =  ( ( mmu `  d )  x.  (
( log `  (
( d  x.  m
)  /  d ) ) ^ 2 ) ) )
97 mucl 20395 . . . . . . . . . 10  |-  ( d  e.  NN  ->  (
mmu `  d )  e.  ZZ )
9842, 97syl 15 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( mmu `  d
)  e.  ZZ )
9998zcnd 10134 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( mmu `  d
)  e.  CC )
10062ad2antrl 708 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  ->  n  e.  RR+ )
10142nnrpd 10405 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
d  e.  RR+ )
102100, 101rpdivcld 10423 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( n  /  d
)  e.  RR+ )
103 relogcl 19948 . . . . . . . . . . 11  |-  ( ( n  /  d )  e.  RR+  ->  ( log `  ( n  /  d
) )  e.  RR )
104103recnd 8877 . . . . . . . . . 10  |-  ( ( n  /  d )  e.  RR+  ->  ( log `  ( n  /  d
) )  e.  CC )
105102, 104syl 15 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( log `  (
n  /  d ) )  e.  CC )
106105sqcld 11259 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  (
n  e.  ( 1 ... ( |_ `  x ) )  /\  d  e.  { y  e.  NN  |  y  ||  n } ) )  -> 
( ( log `  (
n  /  d ) ) ^ 2 )  e.  CC )
10799, 106mulcld 8871 . . . . . . 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 20444 . . . . . 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 5545 . . . . . . . . . 10  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( log `  ( ( d  x.  m )  /  d
) )  =  ( log `  m ) )
110109oveq1d 5889 . . . . . . . . 9  |-  ( ( ( x  e.  RR+  /\  d  e.  ( 1 ... ( |_ `  x ) ) )  /\  m  e.  ( 1 ... ( |_
`  ( x  / 
d ) ) ) )  ->  ( ( log `  ( ( d  x.  m )  / 
d ) ) ^
2 )  =  ( ( log `  m
) ^ 2 ) )
111110oveq2d 5890 . . . . . . . 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 12192 . . . . . . 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 12192 . . . . . 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 2332 . . . . 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 5889 . . . 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 5889 . . 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 4118 . 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 2296 . . 3  |-  ( ( ( ( log `  (
x  /  d ) ) ^ 2 )  +  ( 2  -  ( 2  x.  ( log `  ( x  / 
d ) ) ) ) )  /  d
)  =  ( ( ( ( log `  (
x  /  d ) ) ^ 2 )  +  ( 2  -  ( 2  x.  ( log `  ( x  / 
d ) ) ) ) )  /  d
)
119118selberglem2 20711 . 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 2366 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 358    = wceq 1632    e. wcel 1696   {crab 2560    C_ wss 3165   class class class wbr 4039    e. cmpt 4093   ` cfv 5271  (class class class)co 5874   Fincfn 6879   CCcc 8751   RRcr 8752   1c1 8754    + caddc 8756    x. cmul 8758    - cmin 9053    / cdiv 9439   NNcn 9762   2c2 9811   ZZcz 10040   RR+crp 10370   ...cfz 10798   |_cfl 10940   ^cexp 11120   O ( 1 )co1 11976   sum_csu 12174    || cdivides 12547   logclog 19928  Λcvma 20345  ψcchp 20346   mmucmu 20348
This theorem is referenced by:  selbergb  20714  selberg2  20716  selbergs  20739
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-inf2 7358  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831  ax-addf 8832  ax-mulf 8833
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-iin 3924  df-disj 4010  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-of 6094  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-2o 6496  df-oadd 6499  df-er 6676  df-map 6790  df-pm 6791  df-ixp 6834  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-fi 7181  df-sup 7210  df-oi 7241  df-card 7588  df-cda 7810  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-3 9821  df-4 9822  df-5 9823  df-6 9824  df-7 9825  df-8 9826  df-9 9827  df-10 9828  df-n0 9982  df-z 10041  df-dec 10141  df-uz 10247  df-q 10333  df-rp 10371  df-xneg 10468  df-xadd 10469  df-xmul 10470  df-ioo 10676  df-ioc 10677  df-ico 10678  df-icc 10679  df-fz 10799  df-fzo 10887  df-fl 10941  df-mod 10990  df-seq 11063  df-exp 11121  df-fac 11305  df-bc 11332  df-hash 11354  df-shft 11578  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-limsup 11961  df-clim 11978  df-rlim 11979  df-o1 11980  df-lo1 11981  df-sum 12175  df-ef 12365  df-e 12366  df-sin 12367  df-cos 12368  df-pi 12370  df-dvds 12548  df-gcd 12702  df-prm 12775  df-pc 12906  df-struct 13166  df-ndx 13167  df-slot 13168  df-base 13169  df-sets 13170  df-ress 13171  df-plusg 13237  df-mulr 13238  df-starv 13239  df-sca 13240  df-vsca 13241  df-tset 13243  df-ple 13244  df-ds 13246  df-hom 13248  df-cco 13249  df-rest 13343  df-topn 13344  df-topgen 13360  df-pt 13361  df-prds 13364  df-xrs 13419  df-0g 13420  df-gsum 13421  df-qtop 13426  df-imas 13427  df-xps 13429  df-mre 13504  df-mrc 13505  df-acs 13507  df-mnd 14383  df-submnd 14432  df-mulg 14508  df-cntz 14809  df-cmn 15107  df-xmet 16389  df-met 16390  df-bl 16391  df-mopn 16392  df-cnfld 16394  df-top 16652  df-bases 16654  df-topon 16655  df-topsp 16656  df-cld 16772  df-ntr 16773  df-cls 16774  df-nei 16851  df-lp 16884  df-perf 16885  df-cn 16973  df-cnp 16974  df-haus 17059  df-cmp 17130  df-tx 17273  df-hmeo 17462  df-fbas 17536  df-fg 17537  df-fil 17557  df-fm 17649  df-flim 17650  df-flf 17651  df-xms 17901  df-ms 17902  df-tms 17903  df-cncf 18398  df-limc 19232  df-dv 19233  df-log 19930  df-cxp 19931  df-em 20303  df-vma 20351  df-chp 20352  df-mu 20354
  Copyright terms: Public domain W3C validator