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

Theorem logsqvma 20691
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 11035 . . . 4  |-  ( N  e.  NN  ->  (
1 ... N )  e. 
Fin )
2 sgmss 20344 . . . 4  |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  C_  ( 1 ... N ) )
3 ssfi 7083 . . . 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 11035 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... d )  e. 
Fin )
6 ssrab2 3258 . . . . . . . 8  |-  { x  e.  NN  |  x  ||  N }  C_  NN
76sseli 3176 . . . . . . 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 20344 . . . . . 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 7083 . . . . 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 4026 . . . . . . . . . . 11  |-  ( x  =  u  ->  (
x  ||  d  <->  u  ||  d
) )
1413elrab 2923 . . . . . . . . . 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 20356 . . . . . . . 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 12537 . . . . . . . . . 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 20356 . . . . . . . 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 8863 . . . . . 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 8861 . . . . 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 12206 . . 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 20356 . . . . . 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 10389 . . . . . 6  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  d  e.  RR+ )
3433relogcld 19974 . . . . 5  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  d )  e.  RR )
3532, 34remulcld 8863 . . . 4  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  RR )
3635recnd 8861 . . 3  |-  ( ( N  e.  NN  /\  d  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  d )  x.  ( log `  d
) )  e.  CC )
374, 30, 36fsumadd 12211 . 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 5865 . . . . . . 7  |-  ( d  =  ( u  x.  k )  ->  (
d  /  u )  =  ( ( u  x.  k )  /  u ) )
4039fveq2d 5529 . . . . . 6  |-  ( d  =  ( u  x.  k )  ->  (Λ `  ( d  /  u
) )  =  (Λ `  ( ( u  x.  k )  /  u
) ) )
4140oveq2d 5874 . . . . 5  |-  ( d  =  ( u  x.  k )  ->  (
(Λ `  u )  x.  (Λ `  ( d  /  u ) ) )  =  ( (Λ `  u
)  x.  (Λ `  (
( u  x.  k
)  /  u ) ) ) )
4238, 41, 28fsumdvdscom 20425 . . . 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 3258 . . . . . . . . . . . . 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 3178 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  k  e.  NN )
4645nncnd 9762 . . . . . . . . . . 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 3178 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  NN )
4948nncnd 9762 . . . . . . . . . . . 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 9790 . . . . . . . . . . . 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 9541 . . . . . . . . . 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 5529 . . . . . . . . 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 12176 . . . . . . . 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 20421 . . . . . . . . . 10  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e. 
{ x  e.  NN  |  x  ||  N }
)
576, 56sseldi 3178 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( N  /  u )  e.  NN )
58 vmasum 20455 . . . . . . . . 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 10363 . . . . . . . . . 10  |-  ( N  e.  NN  ->  N  e.  RR+ )
6160adantr 451 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  N  e.  RR+ )
6248nnrpd 10389 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  u  e.  RR+ )
6361, 62relogdivd 19977 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  ( N  /  u ) )  =  ( ( log `  N
)  -  ( log `  u ) ) )
6455, 59, 633eqtrd 2319 . . . . . . 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 5874 . . . . . 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 11035 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
1 ... ( N  /  u ) )  e. 
Fin )
67 sgmss 20344 . . . . . . . . 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 7083 . . . . . . . 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 8861 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (Λ `  u )  e.  CC )
73 vmacl 20356 . . . . . . . . . 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 8861 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  /\  k  e.  { x  e.  NN  |  x  ||  ( N  /  u ) } )  ->  (Λ `  k
)  e.  CC )
7654, 75eqeltrd 2357 . . . . . . 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 12246 . . . . . 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 19932 . . . . . . . . 9  |-  ( N  e.  RR+  ->  ( log `  N )  e.  RR )
7978recnd 8861 . . . . . . . 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 19974 . . . . . . . 8  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  RR )
8281recnd 8861 . . . . . . 7  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  ( log `  u )  e.  CC )
8372, 80, 82subdid 9235 . . . . . 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 2323 . . . . 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 12176 . . . 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 8855 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  N
) )  e.  CC )
8772, 82mulcld 8855 . . . . . 6  |-  ( ( N  e.  NN  /\  u  e.  { x  e.  NN  |  x  ||  N } )  ->  (
(Λ `  u )  x.  ( log `  u
) )  e.  CC )
884, 86, 87fsumsub 12250 . . . . 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 11242 . . . . . . 7  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  =  ( ( log `  N )  x.  ( log `  N ) ) )
91 vmasum 20455 . . . . . . . 8  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
(Λ `  u )  =  ( log `  N
) )
9291oveq1d 5873 . . . . . . 7  |-  ( N  e.  NN  ->  ( sum_ u  e.  { x  e.  NN  |  x  ||  N }  (Λ `  u
)  x.  ( log `  N ) )  =  ( ( log `  N
)  x.  ( log `  N ) ) )
934, 89, 72fsummulc1 12247 . . . . . . 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 2322 . . . . . 6  |-  ( N  e.  NN  ->  sum_ u  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  u )  x.  ( log `  N
) )  =  ( ( log `  N
) ^ 2 ) )
95 fveq2 5525 . . . . . . . . 9  |-  ( u  =  d  ->  (Λ `  u )  =  (Λ `  d ) )
96 fveq2 5525 . . . . . . . . 9  |-  ( u  =  d  ->  ( log `  u )  =  ( log `  d
) )
9795, 96oveq12d 5876 . . . . . . . 8  |-  ( u  =  d  ->  (
(Λ `  u )  x.  ( log `  u
) )  =  ( (Λ `  d )  x.  ( log `  d
) ) )
9897cbvsumv 12169 . . . . . . 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 5876 . . . . 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 2315 . . . 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 2319 . . 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 5873 . 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 11243 . . 3  |-  ( N  e.  NN  ->  (
( log `  N
) ^ 2 )  e.  CC )
1054, 36fsumcl 12206 . . 3  |-  ( N  e.  NN  ->  sum_ d  e.  { x  e.  NN  |  x  ||  N } 
( (Λ `  d )  x.  ( log `  d
) )  e.  CC )
106104, 105npcand 9161 . 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 2319 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 1623    e. wcel 1684    =/= wne 2446   {crab 2547    C_ wss 3152   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   Fincfn 6863   CCcc 8735   RRcr 8736   0cc0 8737   1c1 8738    + caddc 8740    x. cmul 8742    - cmin 9037    / cdiv 9423   NNcn 9746   2c2 9795   RR+crp 10354   ...cfz 10782   ^cexp 11104   sum_csu 12158    || cdivides 12531   logclog 19912  Λcvma 20329
This theorem is referenced by:  logsqvma2  20692
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815  ax-addf 8816  ax-mulf 8817
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-iin 3908  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-se 4353  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-isom 5264  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-of 6078  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-2o 6480  df-oadd 6483  df-er 6660  df-map 6774  df-pm 6775  df-ixp 6818  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-fi 7165  df-sup 7194  df-oi 7225  df-card 7572  df-cda 7794  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-4 9806  df-5 9807  df-6 9808  df-7 9809  df-8 9810  df-9 9811  df-10 9812  df-n0 9966  df-z 10025  df-dec 10125  df-uz 10231  df-q 10317  df-rp 10355  df-xneg 10452  df-xadd 10453  df-xmul 10454  df-ioo 10660  df-ioc 10661  df-ico 10662  df-icc 10663  df-fz 10783  df-fzo 10871  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-fac 11289  df-bc 11316  df-hash 11338  df-shft 11562  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-limsup 11945  df-clim 11962  df-rlim 11963  df-sum 12159  df-ef 12349  df-sin 12351  df-cos 12352  df-pi 12354  df-dvds 12532  df-gcd 12686  df-prm 12759  df-pc 12890  df-struct 13150  df-ndx 13151  df-slot 13152  df-base 13153  df-sets 13154  df-ress 13155  df-plusg 13221  df-mulr 13222  df-starv 13223  df-sca 13224  df-vsca 13225  df-tset 13227  df-ple 13228  df-ds 13230  df-hom 13232  df-cco 13233  df-rest 13327  df-topn 13328  df-topgen 13344  df-pt 13345  df-prds 13348  df-xrs 13403  df-0g 13404  df-gsum 13405  df-qtop 13410  df-imas 13411  df-xps 13413  df-mre 13488  df-mrc 13489  df-acs 13491  df-mnd 14367  df-submnd 14416  df-mulg 14492  df-cntz 14793  df-cmn 15091  df-xmet 16373  df-met 16374  df-bl 16375  df-mopn 16376  df-cnfld 16378  df-top 16636  df-bases 16638  df-topon 16639  df-topsp 16640  df-cld 16756  df-ntr 16757  df-cls 16758  df-nei 16835  df-lp 16868  df-perf 16869  df-cn 16957  df-cnp 16958  df-haus 17043  df-tx 17257  df-hmeo 17446  df-fbas 17520  df-fg 17521  df-fil 17541  df-fm 17633  df-flim 17634  df-flf 17635  df-xms 17885  df-ms 17886  df-tms 17887  df-cncf 18382  df-limc 19216  df-dv 19217  df-log 19914  df-vma 20335
  Copyright terms: Public domain W3C validator