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

Theorem chpval2 20457
Description: Express the second Chebyshev function directly as a sum over the primes less than  A (instead of indirectly through the von Mangoldt function). (Contributed by Mario Carneiro, 8-Apr-2016.)
Assertion
Ref Expression
chpval2  |-  ( A  e.  RR  ->  (ψ `  A )  =  sum_ p  e.  ( ( 0 [,] A )  i^i 
Prime ) ( ( log `  p )  x.  ( |_ `  ( ( log `  A )  /  ( log `  p ) ) ) ) )
Distinct variable group:    A, p

Proof of Theorem chpval2
Dummy variables  k  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 chpval 20360 . 2  |-  ( A  e.  RR  ->  (ψ `  A )  =  sum_ n  e.  ( 1 ... ( |_ `  A
) ) (Λ `  n
) )
2 fveq2 5525 . . 3  |-  ( n  =  ( p ^
k )  ->  (Λ `  n )  =  (Λ `  ( p ^ k
) ) )
3 id 19 . . 3  |-  ( A  e.  RR  ->  A  e.  RR )
4 elfznn 10819 . . . . . 6  |-  ( n  e.  ( 1 ... ( |_ `  A
) )  ->  n  e.  NN )
54adantl 452 . . . . 5  |-  ( ( A  e.  RR  /\  n  e.  ( 1 ... ( |_ `  A ) ) )  ->  n  e.  NN )
6 vmacl 20356 . . . . 5  |-  ( n  e.  NN  ->  (Λ `  n )  e.  RR )
75, 6syl 15 . . . 4  |-  ( ( A  e.  RR  /\  n  e.  ( 1 ... ( |_ `  A ) ) )  ->  (Λ `  n )  e.  RR )
87recnd 8861 . . 3  |-  ( ( A  e.  RR  /\  n  e.  ( 1 ... ( |_ `  A ) ) )  ->  (Λ `  n )  e.  CC )
9 simprr 733 . . 3  |-  ( ( A  e.  RR  /\  ( n  e.  (
1 ... ( |_ `  A ) )  /\  (Λ `  n )  =  0 ) )  -> 
(Λ `  n )  =  0 )
102, 3, 8, 9fsumvma2 20453 . 2  |-  ( A  e.  RR  ->  sum_ n  e.  ( 1 ... ( |_ `  A ) ) (Λ `  n )  =  sum_ p  e.  ( ( 0 [,] A
)  i^i  Prime ) sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) (Λ `  (
p ^ k ) ) )
11 inss2 3390 . . . . . . 7  |-  ( ( 0 [,] A )  i^i  Prime )  C_  Prime
12 simpr 447 . . . . . . 7  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  p  e.  ( (
0 [,] A )  i^i  Prime ) )
1311, 12sseldi 3178 . . . . . 6  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  p  e.  Prime )
14 elfznn 10819 . . . . . 6  |-  ( k  e.  ( 1 ... ( |_ `  (
( log `  A
)  /  ( log `  p ) ) ) )  ->  k  e.  NN )
15 vmappw 20354 . . . . . 6  |-  ( ( p  e.  Prime  /\  k  e.  NN )  ->  (Λ `  ( p ^ k
) )  =  ( log `  p ) )
1613, 14, 15syl2an 463 . . . . 5  |-  ( ( ( A  e.  RR  /\  p  e.  ( ( 0 [,] A )  i^i  Prime ) )  /\  k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )  ->  (Λ `  ( p ^ k
) )  =  ( log `  p ) )
1716sumeq2dv 12176 . . . 4  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) (Λ `  (
p ^ k ) )  =  sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A )  /  ( log `  p ) ) ) ) ( log `  p ) )
18 fzfid 11035 . . . . . 6  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( 1 ... ( |_ `  ( ( log `  A )  /  ( log `  p ) ) ) )  e.  Fin )
19 prmuz2 12776 . . . . . . . . 9  |-  ( p  e.  Prime  ->  p  e.  ( ZZ>= `  2 )
)
20 eluzelre 10239 . . . . . . . . . 10  |-  ( p  e.  ( ZZ>= `  2
)  ->  p  e.  RR )
21 eluz2b2 10290 . . . . . . . . . . 11  |-  ( p  e.  ( ZZ>= `  2
)  <->  ( p  e.  NN  /\  1  < 
p ) )
2221simprbi 450 . . . . . . . . . 10  |-  ( p  e.  ( ZZ>= `  2
)  ->  1  <  p )
2320, 22rplogcld 19980 . . . . . . . . 9  |-  ( p  e.  ( ZZ>= `  2
)  ->  ( log `  p )  e.  RR+ )
2419, 23syl 15 . . . . . . . 8  |-  ( p  e.  Prime  ->  ( log `  p )  e.  RR+ )
2513, 24syl 15 . . . . . . 7  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( log `  p
)  e.  RR+ )
2625rpcnd 10392 . . . . . 6  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( log `  p
)  e.  CC )
27 fsumconst 12252 . . . . . 6  |-  ( ( ( 1 ... ( |_ `  ( ( log `  A )  /  ( log `  p ) ) ) )  e.  Fin  /\  ( log `  p
)  e.  CC )  ->  sum_ k  e.  ( 1 ... ( |_
`  ( ( log `  A )  /  ( log `  p ) ) ) ) ( log `  p )  =  ( ( # `  (
1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )  x.  ( log `  p ) ) )
2818, 26, 27syl2anc 642 . . . . 5  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) ( log `  p
)  =  ( (
# `  ( 1 ... ( |_ `  (
( log `  A
)  /  ( log `  p ) ) ) ) )  x.  ( log `  p ) ) )
29 ppisval 20341 . . . . . . . . . . . . . 14  |-  ( A  e.  RR  ->  (
( 0 [,] A
)  i^i  Prime )  =  ( ( 2 ... ( |_ `  A
) )  i^i  Prime ) )
30 inss1 3389 . . . . . . . . . . . . . . 15  |-  ( ( 2 ... ( |_
`  A ) )  i^i  Prime )  C_  (
2 ... ( |_ `  A ) )
3130a1i 10 . . . . . . . . . . . . . 14  |-  ( A  e.  RR  ->  (
( 2 ... ( |_ `  A ) )  i^i  Prime )  C_  (
2 ... ( |_ `  A ) ) )
3229, 31eqsstrd 3212 . . . . . . . . . . . . 13  |-  ( A  e.  RR  ->  (
( 0 [,] A
)  i^i  Prime )  C_  ( 2 ... ( |_ `  A ) ) )
3332sselda 3180 . . . . . . . . . . . 12  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  p  e.  ( 2 ... ( |_ `  A ) ) )
34 elfzuz2 10801 . . . . . . . . . . . 12  |-  ( p  e.  ( 2 ... ( |_ `  A
) )  ->  ( |_ `  A )  e.  ( ZZ>= `  2 )
)
3533, 34syl 15 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( |_ `  A
)  e.  ( ZZ>= ` 
2 ) )
36 simpl 443 . . . . . . . . . . . 12  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  A  e.  RR )
37 0re 8838 . . . . . . . . . . . . . 14  |-  0  e.  RR
3837a1i 10 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  0  e.  RR )
39 2re 9815 . . . . . . . . . . . . . 14  |-  2  e.  RR
4039a1i 10 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  2  e.  RR )
41 2pos 9828 . . . . . . . . . . . . . 14  |-  0  <  2
4241a1i 10 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  0  <  2 )
43 eluzle 10240 . . . . . . . . . . . . . . 15  |-  ( ( |_ `  A )  e.  ( ZZ>= `  2
)  ->  2  <_  ( |_ `  A ) )
44 2z 10054 . . . . . . . . . . . . . . . 16  |-  2  e.  ZZ
45 flge 10937 . . . . . . . . . . . . . . . 16  |-  ( ( A  e.  RR  /\  2  e.  ZZ )  ->  ( 2  <_  A  <->  2  <_  ( |_ `  A ) ) )
4644, 45mpan2 652 . . . . . . . . . . . . . . 15  |-  ( A  e.  RR  ->  (
2  <_  A  <->  2  <_  ( |_ `  A ) ) )
4743, 46syl5ibr 212 . . . . . . . . . . . . . 14  |-  ( A  e.  RR  ->  (
( |_ `  A
)  e.  ( ZZ>= ` 
2 )  ->  2  <_  A ) )
4847imp 418 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  2  <_  A )
4938, 40, 36, 42, 48ltletrd 8976 . . . . . . . . . . . 12  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  0  <  A )
5036, 49elrpd 10388 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  A  e.  RR+ )
5135, 50syldan 456 . . . . . . . . . 10  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  A  e.  RR+ )
5251relogcld 19974 . . . . . . . . 9  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( log `  A
)  e.  RR )
5352, 25rerpdivcld 10417 . . . . . . . 8  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( ( log `  A
)  /  ( log `  p ) )  e.  RR )
54 1re 8837 . . . . . . . . . . . . . 14  |-  1  e.  RR
5554a1i 10 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  1  e.  RR )
56 1lt2 9886 . . . . . . . . . . . . . 14  |-  1  <  2
5756a1i 10 . . . . . . . . . . . . 13  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  1  <  2 )
5855, 40, 36, 57, 48ltletrd 8976 . . . . . . . . . . . 12  |-  ( ( A  e.  RR  /\  ( |_ `  A )  e.  ( ZZ>= `  2
) )  ->  1  <  A )
5935, 58syldan 456 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
1  <  A )
60 rplogcl 19958 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  1  <  A )  -> 
( log `  A
)  e.  RR+ )
6159, 60syldan 456 . . . . . . . . . 10  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( log `  A
)  e.  RR+ )
6261, 25rpdivcld 10407 . . . . . . . . 9  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( ( log `  A
)  /  ( log `  p ) )  e.  RR+ )
6362rpge0d 10394 . . . . . . . 8  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
0  <_  ( ( log `  A )  / 
( log `  p
) ) )
64 flge0nn0 10948 . . . . . . . 8  |-  ( ( ( ( log `  A
)  /  ( log `  p ) )  e.  RR  /\  0  <_ 
( ( log `  A
)  /  ( log `  p ) ) )  ->  ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) )  e.  NN0 )
6553, 63, 64syl2anc 642 . . . . . . 7  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( |_ `  (
( log `  A
)  /  ( log `  p ) ) )  e.  NN0 )
66 hashfz1 11345 . . . . . . 7  |-  ( ( |_ `  ( ( log `  A )  /  ( log `  p
) ) )  e. 
NN0  ->  ( # `  (
1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )  =  ( |_ `  ( ( log `  A )  /  ( log `  p
) ) ) )
6765, 66syl 15 . . . . . 6  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( # `  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )  =  ( |_ `  ( ( log `  A )  /  ( log `  p
) ) ) )
6867oveq1d 5873 . . . . 5  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( ( # `  (
1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )  x.  ( log `  p ) )  =  ( ( |_
`  ( ( log `  A )  /  ( log `  p ) ) )  x.  ( log `  p ) ) )
6965nn0cnd 10020 . . . . . 6  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( |_ `  (
( log `  A
)  /  ( log `  p ) ) )  e.  CC )
7069, 26mulcomd 8856 . . . . 5  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  -> 
( ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) )  x.  ( log `  p
) )  =  ( ( log `  p
)  x.  ( |_
`  ( ( log `  A )  /  ( log `  p ) ) ) ) )
7128, 68, 703eqtrd 2319 . . . 4  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) ( log `  p
)  =  ( ( log `  p )  x.  ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )
7217, 71eqtrd 2315 . . 3  |-  ( ( A  e.  RR  /\  p  e.  ( (
0 [,] A )  i^i  Prime ) )  ->  sum_ k  e.  ( 1 ... ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) (Λ `  (
p ^ k ) )  =  ( ( log `  p )  x.  ( |_ `  ( ( log `  A
)  /  ( log `  p ) ) ) ) )
7372sumeq2dv 12176 . 2  |-  ( A  e.  RR  ->  sum_ p  e.  ( ( 0 [,] A )  i^i  Prime )
sum_ k  e.  ( 1 ... ( |_
`  ( ( log `  A )  /  ( log `  p ) ) ) ) (Λ `  (
p ^ k ) )  =  sum_ p  e.  ( ( 0 [,] A )  i^i  Prime ) ( ( log `  p
)  x.  ( |_
`  ( ( log `  A )  /  ( log `  p ) ) ) ) )
741, 10, 733eqtrd 2319 1  |-  ( A  e.  RR  ->  (ψ `  A )  =  sum_ p  e.  ( ( 0 [,] A )  i^i 
Prime ) ( ( log `  p )  x.  ( |_ `  ( ( log `  A )  /  ( log `  p ) ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684    i^i cin 3151    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    x. cmul 8742    < clt 8867    <_ cle 8868    / cdiv 9423   NNcn 9746   2c2 9795   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230   RR+crp 10354   [,]cicc 10659   ...cfz 10782   |_cfl 10924   ^cexp 11104   #chash 11337   sum_csu 12158   Primecprime 12758   logclog 19912  Λcvma 20329  ψcchp 20330
This theorem is referenced by:  chpchtsum  20458  chpub  20459
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  df-chp 20336
  Copyright terms: Public domain W3C validator