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

Theorem logsqvma 20523
Description: A formula for  log ^
2 ( N ) in terms of the primes. Equation 10.4.6 of [Shapiro], p. 418. (Contributed by Mario Carneiro, 13-May-2016.)
Assertion
Ref Expression
logsqvma  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( sum_ u  e.  {
x  e.  NN  |  x  ||  d }  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  +  ( (Λ `  d
)  x.  ( log `  d ) ) )  =  ( ( log `  N ) ^ 2 ) )
Distinct variable group:    u, d, x, N

Proof of Theorem logsqvma
StepHypRef Expression
1 fzfid 10913 . . . 4  |-  ( N  e.  NN  ->  (
1 ... N )  e. 
Fin )
2 sgmss 20176 . . . 4  |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  C_  ( 1 ... N ) )
3 ssfi 6968 . . . 4  |-  ( ( ( 1 ... N
)  e.  Fin  /\  { x  e.  NN  |  x  ||  N }  C_  ( 1 ... N
) )  ->  { x  e.  NN  |  x  ||  N }  e.  Fin )
41, 2, 3syl2anc 645 . . 3  |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  e.  Fin )
5 fzfid 10913 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... d )  e. 
Fin )
6 ssrab2 3179 . . . . . . . 8  |-  { x  e.  NN  |  x  ||  N }  C_  NN
76sseli 3099 . . . . . . 7  |-  ( d  e.  { x  e.  NN  |  x  ||  N }  ->  d  e.  NN )
87adantl 454 . . . . . 6  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  d  e.  NN )
9 sgmss 20176 . . . . . 6  |-  ( d  e.  NN  ->  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d ) )
108, 9syl 17 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d ) )
11 ssfi 6968 . . . . 5  |-  ( ( ( 1 ... d
)  e.  Fin  /\  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d
) )  ->  { x  e.  NN  |  x  ||  d }  e.  Fin )
125, 10, 11syl2anc 645 . . . 4  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  d }  e.  Fin )
13 breq1 3923 . . . . . . . . . . 11  |-  ( x  =  u  ->  (
x  ||  d  <->  u  ||  d
) )
1413elrab 2860 . . . . . . . . . 10  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  <->  ( u  e.  NN  /\  u  ||  d ) )
1514simplbi 448 . . . . . . . . 9  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  ->  u  e.  NN )
1615ad2antll 712 . . . . . . . 8  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  ->  u  e.  NN )
17 vmacl 20188 . . . . . . . 8  |-  ( u  e.  NN  ->  (Λ `  u )  e.  RR )
1816, 17syl 17 . . . . . . 7  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
(Λ `  u )  e.  RR )
1914simprbi 452 . . . . . . . . . 10  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  ->  u  ||  d )
2019ad2antll 712 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  ->  u  ||  d )
217ad2antrl 711 . . . . . . . . . 10  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
d  e.  NN )
22 nndivdivides 12411 . . . . . . . . . 10  |-  ( ( d  e.  NN  /\  u  e.  NN )  ->  ( u  ||  d  <->  ( d  /  u )  e.  NN ) )
2321, 16, 22syl2anc 645 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
( u  ||  d  <->  ( d  /  u )  e.  NN ) )
2420, 23mpbid 203 . . . . . . . 8  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
( d  /  u
)  e.  NN )
25 vmacl 20188 . . . . . . . 8  |-  ( ( d  /  u )  e.  NN  ->  (Λ `  ( d  /  u
) )  e.  RR )
2624, 25syl 17 . . . . . . 7  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
(Λ `  ( d  /  u ) )  e.  RR )
2718, 26remulcld 8743 . . . . . 6  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
( (Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  e.  RR )
2827recnd 8741 . . . . 5  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
( (Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  e.  CC )
2928anassrs 632 . . . 4  |-  ( ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  /\  u  e.  { x  e.  NN  |  x  ||  d } )  ->  ( (Λ `  u )  x.  (Λ `  ( d  /  u
) ) )  e.  CC )
3012, 29fsumcl 12083 . . 3  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  sum_ u  e.  { x  e.  NN  |  x  ||  d }  ( (Λ `  u
)  x.  (Λ `  (
d  /  u ) ) )  e.  CC )
31 vmacl 20188 . . . . . 6  |-  ( d  e.  NN  ->  (Λ `  d )  e.  RR )
328, 31syl 17 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  d )  e.  RR )
338nnrpd 10268 . . . . . 6  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  d  e.  RR+ )
3433relogcld 19806 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  d )  e.  RR )
3532, 34remulcld 8743 . . . 4  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  RR )
3635recnd 8741 . . 3  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  CC )
374, 30, 36fsumadd 12088 . 2  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( sum_ u  e.  {
x  e.  NN  |  x  ||  d }  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  +  ( (Λ `  d
)  x.  ( log `  d ) ) )  =  ( sum_ d  e.  { x  e.  NN  |  x  ||  N } sum_ u  e.  { x  e.  NN  |  x  ||  d }  ( (Λ `  u )  x.  (Λ `  ( d  /  u
) ) )  + 
sum_ d  e.  {
x  e.  NN  |  x  ||  N }  (
(Λ `  d )  x.  ( log `  d
) ) ) )
38 id 21 . . . . 5  |-  ( N  e.  NN  ->  N  e.  NN )
39 oveq1 5717 . . . . . . 7  |-  ( d  =  ( u  x.  k )  ->  (
d  /  u )  =  ( ( u  x.  k )  /  u ) )
4039fveq2d 5381 . . . . . 6  |-  ( d  =  ( u  x.  k )  ->  (Λ `  ( d  /  u
) )  =  (Λ `  ( ( u  x.  k )  /  u
) ) )
4140oveq2d 5726 . . . . 5  |-  ( d  =  ( u  x.  k )  ->  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  =  ( (Λ `  u
)  x.  (Λ `  (
( u  x.  k
)  /  u ) ) ) )
4238, 41, 28fsumdvdscom 20257 . . . 4  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } sum_ u  e.  { x  e.  NN  |  x  ||  d }  ( (Λ `  u )  x.  (Λ `  ( d  /  u
) ) )  = 
sum_ u  e.  { x  e.  NN  |  x  ||  N } sum_ k  e.  {
x  e.  NN  |  x  ||  ( N  /  u ) }  (
(Λ `  u )  x.  (Λ `  ( (
u  x.  k )  /  u ) ) ) )
43 ssrab2 3179 . . . . . . . . . . . . 13  |-  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  NN
44 simpr 449 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )
4543, 44sseldi 3101 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  NN )
4645nncnd 9642 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  CC )
47 simpr 449 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  { x  e.  NN  |  x  ||  N }
)
486, 47sseldi 3101 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  NN )
4948nncnd 9642 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  CC )
5049adantr 453 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  u  e.  CC )
5148nnne0d 9670 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  =/=  0 )
5251adantr 453 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  u  =/=  0 )
5346, 50, 52divcan3d 9421 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  ( (
u  x.  k )  /  u )  =  k )
5453fveq2d 5381 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  (
( u  x.  k
)  /  u ) )  =  (Λ `  k
) )
5554sumeq2dv 12053 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  ( (
u  x.  k )  /  u ) )  =  sum_ k  e.  {
x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  k ) )
56 dvdsdivcl 20253 . . . . . . . . . 10  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e. 
{ x  e.  NN  |  x  ||  N }
)
576, 56sseldi 3101 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e.  NN )
58 vmasum 20287 . . . . . . . . 9  |-  ( ( N  /  u )  e.  NN  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  k )  =  ( log `  ( N  /  u ) ) )
5957, 58syl 17 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  k )  =  ( log `  ( N  /  u ) ) )
60 nnrp 10242 . . . . . . . . . 10  |-  ( N  e.  NN  ->  N  e.  RR+ )
6160adantr 453 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  N  e.  RR+ )
6248nnrpd 10268 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  RR+ )
6361, 62relogdivd 19809 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  ( N  /  u ) )  =  ( ( log `  N
)  -  ( log `  u ) ) )
6455, 59, 633eqtrd 2289 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  ( (
u  x.  k )  /  u ) )  =  ( ( log `  N )  -  ( log `  u ) ) )
6564oveq2d 5726 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x. 
sum_ k  e.  {
x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  ( ( u  x.  k )  /  u
) ) )  =  ( (Λ `  u
)  x.  ( ( log `  N )  -  ( log `  u
) ) ) )
66 fzfid 10913 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... ( N  /  u ) )  e. 
Fin )
67 sgmss 20176 . . . . . . . . 9  |-  ( ( N  /  u )  e.  NN  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  (
1 ... ( N  /  u ) ) )
6857, 67syl 17 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  (
1 ... ( N  /  u ) ) )
69 ssfi 6968 . . . . . . . 8  |-  ( ( ( 1 ... ( N  /  u ) )  e.  Fin  /\  {
x  e.  NN  |  x  ||  ( N  /  u ) }  C_  ( 1 ... ( N  /  u ) ) )  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  e.  Fin )
7066, 68, 69syl2anc 645 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  e.  Fin )
7148, 17syl 17 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  u )  e.  RR )
7271recnd 8741 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  u )  e.  CC )
73 vmacl 20188 . . . . . . . . . 10  |-  ( k  e.  NN  ->  (Λ `  k )  e.  RR )
7445, 73syl 17 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  k
)  e.  RR )
7574recnd 8741 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  k
)  e.  CC )
7654, 75eqeltrd 2327 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  (
( u  x.  k
)  /  u ) )  e.  CC )
7770, 72, 76fsummulc2 12123 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x. 
sum_ k  e.  {
x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  ( ( u  x.  k )  /  u
) ) )  = 
sum_ k  e.  {
x  e.  NN  |  x  ||  ( N  /  u ) }  (
(Λ `  u )  x.  (Λ `  ( (
u  x.  k )  /  u ) ) ) )
78 relogcl 19764 . . . . . . . . 9  |-  ( N  e.  RR+  ->  ( log `  N )  e.  RR )
7978recnd 8741 . . . . . . . 8  |-  ( N  e.  RR+  ->  ( log `  N )  e.  CC )
8061, 79syl 17 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  N )  e.  CC )
8162relogcld 19806 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  RR )
8281recnd 8741 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  CC )
8372, 80, 82subdid 9115 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( ( log `  N
)  -  ( log `  u ) ) )  =  ( ( (Λ `  u )  x.  ( log `  N ) )  -  ( (Λ `  u
)  x.  ( log `  u ) ) ) )
8465, 77, 833eqtr3d 2293 . . . . 5  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  ( (Λ `  u
)  x.  (Λ `  (
( u  x.  k
)  /  u ) ) )  =  ( ( (Λ `  u
)  x.  ( log `  N ) )  -  ( (Λ `  u )  x.  ( log `  u
) ) ) )
8584sumeq2dv 12053 . . . 4  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u
) }  ( (Λ `  u )  x.  (Λ `  ( ( u  x.  k )  /  u
) ) )  = 
sum_ u  e.  { x  e.  NN  |  x  ||  N }  ( (
(Λ `  u )  x.  ( log `  N
) )  -  (
(Λ `  u )  x.  ( log `  u
) ) ) )
8672, 80mulcld 8735 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  N
) )  e.  CC )
8772, 82mulcld 8735 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  u
) )  e.  CC )
884, 86, 87fsumsub 12127 . . . . 5  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( ( (Λ `  u
)  x.  ( log `  N ) )  -  ( (Λ `  u )  x.  ( log `  u
) ) )  =  ( sum_ u  e.  {
x  e.  NN  |  x  ||  N }  (
(Λ `  u )  x.  ( log `  N
) )  -  sum_ u  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  u )  x.  ( log `  u ) ) ) )
8960, 79syl 17 . . . . . . . 8  |-  ( N  e.  NN  ->  ( log `  N )  e.  CC )
9089sqvald 11120 . . . . . . 7  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  =  ( ( log `  N )  x.  ( log `  N ) ) )
91 vmasum 20287 . . . . . . . 8  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
(Λ `  u )  =  ( log `  N
) )
9291oveq1d 5725 . . . . . . 7  |-  ( N  e.  NN  ->  ( sum_ u  e.  { x  e.  NN  |  x  ||  N }  (Λ `  u
)  x.  ( log `  N ) )  =  ( ( log `  N
)  x.  ( log `  N ) ) )
934, 89, 72fsummulc1 12124 . . . . . . 7  |-  ( N  e.  NN  ->  ( sum_ u  e.  { x  e.  NN  |  x  ||  N }  (Λ `  u
)  x.  ( log `  N ) )  = 
sum_ u  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  u )  x.  ( log `  N ) ) )
9490, 92, 933eqtr2rd 2292 . . . . . 6  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  u )  x.  ( log `  N
) )  =  ( ( log `  N
) ^ 2 ) )
95 fveq2 5377 . . . . . . . . 9  |-  ( u  =  d  ->  (Λ `  u )  =  (Λ `  d ) )
96 fveq2 5377 . . . . . . . . 9  |-  ( u  =  d  ->  ( log `  u )  =  ( log `  d
) )
9795, 96oveq12d 5728 . . . . . . . 8  |-  ( u  =  d  ->  (
(Λ `  u )  x.  ( log `  u
) )  =  ( (Λ `  d )  x.  ( log `  d
) ) )
9897cbvsumv 12046 . . . . . . 7  |-  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  u )  x.  ( log `  u
) )  =  sum_ d  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  d )  x.  ( log `  d ) )
9998a1i 12 . . . . . 6  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  u )  x.  ( log `  u
) )  =  sum_ d  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  d )  x.  ( log `  d ) ) )
10094, 99oveq12d 5728 . . . . 5  |-  ( N  e.  NN  ->  ( sum_ u  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  u )  x.  ( log `  N ) )  -  sum_ u  e.  {
x  e.  NN  |  x  ||  N }  (
(Λ `  u )  x.  ( log `  u
) ) )  =  ( ( ( log `  N ) ^ 2 )  -  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) ) ) )
10188, 100eqtrd 2285 . . . 4  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( ( (Λ `  u
)  x.  ( log `  N ) )  -  ( (Λ `  u )  x.  ( log `  u
) ) )  =  ( ( ( log `  N ) ^ 2 )  -  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) ) ) )
10242, 85, 1013eqtrd 2289 . . 3  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } sum_ u  e.  { x  e.  NN  |  x  ||  d }  ( (Λ `  u )  x.  (Λ `  ( d  /  u
) ) )  =  ( ( ( log `  N ) ^ 2 )  -  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) ) ) )
103102oveq1d 5725 . 2  |-  ( N  e.  NN  ->  ( sum_ d  e.  { x  e.  NN  |  x  ||  N } sum_ u  e.  {
x  e.  NN  |  x  ||  d }  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  +  sum_ d  e.  {
x  e.  NN  |  x  ||  N }  (
(Λ `  d )  x.  ( log `  d
) ) )  =  ( ( ( ( log `  N ) ^ 2 )  -  sum_ d  e.  { x  e.  NN  |  x  ||  N }  ( (Λ `  d )  x.  ( log `  d ) ) )  +  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) ) ) )
10489sqcld 11121 . . 3  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  e.  CC )
1054, 36fsumcl 12083 . . 3  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) )  e.  CC )
106104, 105npcand 9041 . 2  |-  ( N  e.  NN  ->  (
( ( ( log `  N ) ^ 2 )  -  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) ) )  + 
sum_ d  e.  {
x  e.  NN  |  x  ||  N }  (
(Λ `  d )  x.  ( log `  d
) ) )  =  ( ( log `  N
) ^ 2 ) )
10737, 103, 1063eqtrd 2289 1  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( sum_ u  e.  {
x  e.  NN  |  x  ||  d }  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  +  ( (Λ `  d
)  x.  ( log `  d ) ) )  =  ( ( log `  N ) ^ 2 ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    /\ wa 360    = wceq 1619    e. wcel 1621    =/= wne 2412   {crab 2512    C_ wss 3078   class class class wbr 3920   ` cfv 4592  (class class class)co 5710   Fincfn 6749   CCcc 8615   RRcr 8616   0cc0 8617   1c1 8618    + caddc 8620    x. cmul 8622    - cmin 8917    / cdiv 9303   NNcn 9626   2c2 9675   RR+crp 10233   ...cfz 10660   ^cexp 10982   sum_csu 12035    || cdivides 12405   logclog 19744  Λcvma 20161
This theorem is referenced by:  logsqvma2  20524
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 1926  ax-ext 2234  ax-rep 4028  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403  ax-inf2 7226  ax-cnex 8673  ax-resscn 8674  ax-1cn 8675  ax-icn 8676  ax-addcl 8677  ax-addrcl 8678  ax-mulcl 8679  ax-mulrcl 8680  ax-mulcom 8681  ax-addass 8682  ax-mulass 8683  ax-distr 8684  ax-i2m1 8685  ax-1ne0 8686  ax-1rid 8687  ax-rnegex 8688  ax-rrecex 8689  ax-cnre 8690  ax-pre-lttri 8691  ax-pre-lttrn 8692  ax-pre-ltadd 8693  ax-pre-mulgt0 8694  ax-pre-sup 8695  ax-addf 8696  ax-mulf 8697
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 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-nel 2415  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-iin 3806  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-se 4246  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-isom 4609  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-of 5930  df-1st 5974  df-2nd 5975  df-iota 6143  df-riota 6190  df-recs 6274  df-rdg 6309  df-1o 6365  df-2o 6366  df-oadd 6369  df-er 6546  df-map 6660  df-pm 6661  df-ixp 6704  df-en 6750  df-dom 6751  df-sdom 6752  df-fin 6753  df-fi 7049  df-sup 7078  df-oi 7109  df-card 7456  df-cda 7678  df-pnf 8749  df-mnf 8750  df-xr 8751  df-ltxr 8752  df-le 8753  df-sub 8919  df-neg 8920  df-div 9304  df-n 9627  df-2 9684  df-3 9685  df-4 9686  df-5 9687  df-6 9688  df-7 9689  df-8 9690  df-9 9691  df-10 9692  df-n0 9845  df-z 9904  df-dec 10004  df-uz 10110  df-q 10196  df-rp 10234  df-xneg 10331  df-xadd 10332  df-xmul 10333  df-ioo 10538  df-ioc 10539  df-ico 10540  df-icc 10541  df-fz 10661  df-fzo 10749  df-fl 10803  df-mod 10852  df-seq 10925  df-exp 10983  df-fac 11167  df-bc 11194  df-hash 11216  df-shft 11439  df-cj 11461  df-re 11462  df-im 11463  df-sqr 11597  df-abs 11598  df-limsup 11822  df-clim 11839  df-rlim 11840  df-sum 12036  df-ef 12223  df-sin 12225  df-cos 12226  df-pi 12228  df-divides 12406  df-gcd 12560  df-prime 12633  df-pc 12764  df-struct 13024  df-ndx 13025  df-slot 13026  df-base 13027  df-sets 13028  df-ress 13029  df-plusg 13095  df-mulr 13096  df-starv 13097  df-sca 13098  df-vsca 13099  df-tset 13101  df-ple 13102  df-ds 13104  df-hom 13106  df-cco 13107  df-rest 13201  df-topn 13202  df-topgen 13218  df-pt 13219  df-prds 13222  df-xrs 13277  df-0g 13278  df-gsum 13279  df-qtop 13284  df-imas 13285  df-xps 13287  df-mre 13361  df-mrc 13362  df-acs 13363  df-mnd 14202  df-submnd 14251  df-mulg 14327  df-cntz 14628  df-cmn 14926  df-xmet 16205  df-met 16206  df-bl 16207  df-mopn 16208  df-cnfld 16210  df-top 16468  df-bases 16470  df-topon 16471  df-topsp 16472  df-cld 16588  df-ntr 16589  df-cls 16590  df-nei 16667  df-lp 16700  df-perf 16701  df-cn 16789  df-cnp 16790  df-haus 16875  df-tx 17089  df-hmeo 17278  df-fbas 17352  df-fg 17353  df-fil 17373  df-fm 17465  df-flim 17466  df-flf 17467  df-xms 17717  df-ms 17718  df-tms 17719  df-cncf 18214  df-limc 19048  df-dv 19049  df-log 19746  df-vma 20167
  Copyright terms: Public domain W3C validator