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

Theorem logsqvma 20707
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
Dummy variable  k is distinct from all other variables.
StepHypRef Expression
1 fzfid 11051 . . . 4  |-  ( N  e.  NN  ->  (
1 ... N )  e. 
Fin )
2 sgmss 20360 . . . 4  |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  C_  ( 1 ... N ) )
3 ssfi 7099 . . . 4  |-  ( ( ( 1 ... N
)  e.  Fin  /\  { x  e.  NN  |  x  ||  N }  C_  ( 1 ... N
) )  ->  { x  e.  NN  |  x  ||  N }  e.  Fin )
41, 2, 3syl2anc 642 . . 3  |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  e.  Fin )
5 fzfid 11051 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... d )  e. 
Fin )
6 ssrab2 3271 . . . . . . . 8  |-  { x  e.  NN  |  x  ||  N }  C_  NN
76sseli 3189 . . . . . . 7  |-  ( d  e.  { x  e.  NN  |  x  ||  N }  ->  d  e.  NN )
87adantl 452 . . . . . 6  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  d  e.  NN )
9 sgmss 20360 . . . . . 6  |-  ( d  e.  NN  ->  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d ) )
108, 9syl 15 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d ) )
11 ssfi 7099 . . . . 5  |-  ( ( ( 1 ... d
)  e.  Fin  /\  { x  e.  NN  |  x  ||  d }  C_  ( 1 ... d
) )  ->  { x  e.  NN  |  x  ||  d }  e.  Fin )
125, 10, 11syl2anc 642 . . . 4  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  d }  e.  Fin )
13 breq1 4042 . . . . . . . . . . 11  |-  ( x  =  u  ->  (
x  ||  d  <->  u  ||  d
) )
1413elrab 2936 . . . . . . . . . 10  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  <->  ( u  e.  NN  /\  u  ||  d ) )
1514simplbi 446 . . . . . . . . 9  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  ->  u  e.  NN )
1615ad2antll 709 . . . . . . . 8  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  ->  u  e.  NN )
17 vmacl 20372 . . . . . . . 8  |-  ( u  e.  NN  ->  (Λ `  u )  e.  RR )
1816, 17syl 15 . . . . . . 7  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
(Λ `  u )  e.  RR )
1914simprbi 450 . . . . . . . . . 10  |-  ( u  e.  { x  e.  NN  |  x  ||  d }  ->  u  ||  d )
2019ad2antll 709 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  ->  u  ||  d )
217ad2antrl 708 . . . . . . . . . 10  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
d  e.  NN )
22 nndivdvds 12553 . . . . . . . . . 10  |-  ( ( d  e.  NN  /\  u  e.  NN )  ->  ( u  ||  d  <->  ( d  /  u )  e.  NN ) )
2321, 16, 22syl2anc 642 . . . . . . . . 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 201 . . . . . . . 8  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
( d  /  u
)  e.  NN )
25 vmacl 20372 . . . . . . . 8  |-  ( ( d  /  u )  e.  NN  ->  (Λ `  ( d  /  u
) )  e.  RR )
2624, 25syl 15 . . . . . . 7  |-  ( ( N  e.  NN  /\  ( d  e.  {
x  e.  NN  |  x  ||  N }  /\  u  e.  { x  e.  NN  |  x  ||  d } ) )  -> 
(Λ `  ( d  /  u ) )  e.  RR )
2718, 26remulcld 8879 . . . . . 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 8877 . . . . 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 629 . . . 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 12222 . . 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 20372 . . . . . 6  |-  ( d  e.  NN  ->  (Λ `  d )  e.  RR )
328, 31syl 15 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  d )  e.  RR )
338nnrpd 10405 . . . . . 6  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  d  e.  RR+ )
3433relogcld 19990 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  d )  e.  RR )
3532, 34remulcld 8879 . . . 4  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  RR )
3635recnd 8877 . . 3  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  CC )
374, 30, 36fsumadd 12227 . 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 19 . . . . 5  |-  ( N  e.  NN  ->  N  e.  NN )
39 oveq1 5881 . . . . . . 7  |-  ( d  =  ( u  x.  k )  ->  (
d  /  u )  =  ( ( u  x.  k )  /  u ) )
4039fveq2d 5545 . . . . . 6  |-  ( d  =  ( u  x.  k )  ->  (Λ `  ( d  /  u
) )  =  (Λ `  ( ( u  x.  k )  /  u
) ) )
4140oveq2d 5890 . . . . 5  |-  ( d  =  ( u  x.  k )  ->  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  =  ( (Λ `  u
)  x.  (Λ `  (
( u  x.  k
)  /  u ) ) ) )
4238, 41, 28fsumdvdscom 20441 . . . 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 3271 . . . . . . . . . . . . 13  |-  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  NN
44 simpr 447 . . . . . . . . . . . . 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 3191 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  NN )
4645nncnd 9778 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  CC )
47 simpr 447 . . . . . . . . . . . . . 14  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  { x  e.  NN  |  x  ||  N }
)
486, 47sseldi 3191 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  NN )
4948nncnd 9778 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  CC )
5049adantr 451 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  u  e.  CC )
5148nnne0d 9806 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  =/=  0 )
5251adantr 451 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  u  =/=  0 )
5346, 50, 52divcan3d 9557 . . . . . . . . . 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 5545 . . . . . . . . 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 12192 . . . . . . . 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 20437 . . . . . . . . . 10  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e. 
{ x  e.  NN  |  x  ||  N }
)
576, 56sseldi 3191 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e.  NN )
58 vmasum 20471 . . . . . . . . 9  |-  ( ( N  /  u )  e.  NN  ->  sum_ k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) }  (Λ `  k )  =  ( log `  ( N  /  u ) ) )
5957, 58syl 15 . . . . . . . 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 10379 . . . . . . . . . 10  |-  ( N  e.  NN  ->  N  e.  RR+ )
6160adantr 451 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  N  e.  RR+ )
6248nnrpd 10405 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  RR+ )
6361, 62relogdivd 19993 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  ( N  /  u ) )  =  ( ( log `  N
)  -  ( log `  u ) ) )
6455, 59, 633eqtrd 2332 . . . . . . 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 5890 . . . . . 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 11051 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... ( N  /  u ) )  e. 
Fin )
67 sgmss 20360 . . . . . . . . 9  |-  ( ( N  /  u )  e.  NN  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  (
1 ... ( N  /  u ) ) )
6857, 67syl 15 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  C_  (
1 ... ( N  /  u ) ) )
69 ssfi 7099 . . . . . . . 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 642 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  { x  e.  NN  |  x  ||  ( N  /  u
) }  e.  Fin )
7148, 17syl 15 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  u )  e.  RR )
7271recnd 8877 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  u )  e.  CC )
73 vmacl 20372 . . . . . . . . . 10  |-  ( k  e.  NN  ->  (Λ `  k )  e.  RR )
7445, 73syl 15 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  k
)  e.  RR )
7574recnd 8877 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  k
)  e.  CC )
7654, 75eqeltrd 2370 . . . . . . 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 12262 . . . . . 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 19948 . . . . . . . . 9  |-  ( N  e.  RR+  ->  ( log `  N )  e.  RR )
7978recnd 8877 . . . . . . . 8  |-  ( N  e.  RR+  ->  ( log `  N )  e.  CC )
8061, 79syl 15 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  N )  e.  CC )
8162relogcld 19990 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  RR )
8281recnd 8877 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  CC )
8372, 80, 82subdid 9251 . . . . . 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 2336 . . . . 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 12192 . . . 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 8871 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  N
) )  e.  CC )
8772, 82mulcld 8871 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  u
) )  e.  CC )
884, 86, 87fsumsub 12266 . . . . 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 15 . . . . . . . 8  |-  ( N  e.  NN  ->  ( log `  N )  e.  CC )
9089sqvald 11258 . . . . . . 7  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  =  ( ( log `  N )  x.  ( log `  N ) ) )
91 vmasum 20471 . . . . . . . 8  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
(Λ `  u )  =  ( log `  N
) )
9291oveq1d 5889 . . . . . . 7  |-  ( N  e.  NN  ->  ( sum_ u  e.  { x  e.  NN  |  x  ||  N }  (Λ `  u
)  x.  ( log `  N ) )  =  ( ( log `  N
)  x.  ( log `  N ) ) )
934, 89, 72fsummulc1 12263 . . . . . . 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 2335 . . . . . 6  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  u )  x.  ( log `  N
) )  =  ( ( log `  N
) ^ 2 ) )
95 fveq2 5541 . . . . . . . . 9  |-  ( u  =  d  ->  (Λ `  u )  =  (Λ `  d ) )
96 fveq2 5541 . . . . . . . . 9  |-  ( u  =  d  ->  ( log `  u )  =  ( log `  d
) )
9795, 96oveq12d 5892 . . . . . . . 8  |-  ( u  =  d  ->  (
(Λ `  u )  x.  ( log `  u
) )  =  ( (Λ `  d )  x.  ( log `  d
) ) )
9897cbvsumv 12185 . . . . . . 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 10 . . . . . 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 5892 . . . . 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 2328 . . . 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 2332 . . 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 5889 . 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 11259 . . 3  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  e.  CC )
1054, 36fsumcl 12222 . . 3  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) )  e.  CC )
106104, 105npcand 9177 . 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 2332 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 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696    =/= wne 2459   {crab 2560    C_ wss 3165   class class class wbr 4039   ` cfv 5271  (class class class)co 5874   Fincfn 6879   CCcc 8751   RRcr 8752   0cc0 8753   1c1 8754    + caddc 8756    x. cmul 8758    - cmin 9053    / cdiv 9439   NNcn 9762   2c2 9811   RR+crp 10370   ...cfz 10798   ^cexp 11120   sum_csu 12174    || cdivides 12547   logclog 19928  Λcvma 20345
This theorem is referenced by:  logsqvma2  20708
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-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-sum 12175  df-ef 12365  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-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-vma 20351
  Copyright terms: Public domain W3C validator