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

Theorem selberg2lem 21112
Description: Lemma for selberg2 21113. Equation 10.4.12 of [Shapiro], p. 420. (Contributed by Mario Carneiro, 23-May-2016.)
Assertion
Ref Expression
selberg2lem  |-  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) )  /  x ) )  e.  O ( 1 )
Distinct variable group:    x, n

Proof of Theorem selberg2lem
Dummy variable  m is distinct from all other variables.
StepHypRef Expression
1 rpre 10551 . . . . . . . . 9  |-  ( x  e.  RR+  ->  x  e.  RR )
2 chpcl 20775 . . . . . . . . 9  |-  ( x  e.  RR  ->  (ψ `  x )  e.  RR )
31, 2syl 16 . . . . . . . 8  |-  ( x  e.  RR+  ->  (ψ `  x )  e.  RR )
43recnd 9048 . . . . . . 7  |-  ( x  e.  RR+  ->  (ψ `  x )  e.  CC )
5 rprege0 10559 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  ( x  e.  RR  /\  0  <_  x ) )
6 flge0nn0 11153 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR  /\  0  <_  x )  -> 
( |_ `  x
)  e.  NN0 )
75, 6syl 16 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( |_
`  x )  e. 
NN0 )
8 nn0p1nn 10192 . . . . . . . . . . . 12  |-  ( ( |_ `  x )  e.  NN0  ->  ( ( |_ `  x )  +  1 )  e.  NN )
97, 8syl 16 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( ( |_ `  x )  +  1 )  e.  NN )
109nnrpd 10580 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( |_ `  x )  +  1 )  e.  RR+ )
1110relogcld 20386 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( log `  ( ( |_ `  x )  +  1 ) )  e.  RR )
1211recnd 9048 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( log `  ( ( |_ `  x )  +  1 ) )  e.  CC )
13 relogcl 20341 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( log `  x )  e.  RR )
1413recnd 9048 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( log `  x )  e.  CC )
1512, 14subcld 9344 . . . . . . 7  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  e.  CC )
164, 15mulcld 9042 . . . . . 6  |-  ( x  e.  RR+  ->  ( (ψ `  x )  x.  (
( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  e.  CC )
17 fzfid 11240 . . . . . . 7  |-  ( x  e.  RR+  ->  ( 1 ... ( |_ `  x ) )  e. 
Fin )
18 elfznn 11013 . . . . . . . . . 10  |-  ( n  e.  ( 1 ... ( |_ `  x
) )  ->  n  e.  NN )
1918adantl 453 . . . . . . . . 9  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  NN )
2019nnrpd 10580 . . . . . . . 8  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  RR+ )
21 1rp 10549 . . . . . . . . . . . . 13  |-  1  e.  RR+
22 rpaddcl 10565 . . . . . . . . . . . . 13  |-  ( ( n  e.  RR+  /\  1  e.  RR+ )  ->  (
n  +  1 )  e.  RR+ )
2321, 22mpan2 653 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( n  +  1 )  e.  RR+ )
2423relogcld 20386 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  ( log `  ( n  +  1 ) )  e.  RR )
25 relogcl 20341 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  ( log `  n )  e.  RR )
2624, 25resubcld 9398 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  ( ( log `  ( n  +  1 ) )  -  ( log `  n
) )  e.  RR )
27 rpre 10551 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  n  e.  RR )
28 chpcl 20775 . . . . . . . . . . 11  |-  ( n  e.  RR  ->  (ψ `  n )  e.  RR )
2927, 28syl 16 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  (ψ `  n )  e.  RR )
3026, 29remulcld 9050 . . . . . . . . 9  |-  ( n  e.  RR+  ->  ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  e.  RR )
3130recnd 9048 . . . . . . . 8  |-  ( n  e.  RR+  ->  ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  e.  CC )
3220, 31syl 16 . . . . . . 7  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  e.  CC )
3317, 32fsumcl 12455 . . . . . 6  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) )  e.  CC )
34 rpcnne0 10562 . . . . . 6  |-  ( x  e.  RR+  ->  ( x  e.  CC  /\  x  =/=  0 ) )
35 divsubdir 9643 . . . . . 6  |-  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  e.  CC  /\  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) )  e.  CC  /\  ( x  e.  CC  /\  x  =/=  0 ) )  ->  ( (
( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  /  x
)  =  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  /  x )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) ) )
3616, 33, 34, 35syl3anc 1184 . . . . 5  |-  ( x  e.  RR+  ->  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  /  x
)  =  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  /  x )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) ) )
374, 12mulcld 9042 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  e.  CC )
384, 14mulcld 9042 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( (ψ `  x )  x.  ( log `  x ) )  e.  CC )
3937, 38, 33sub32d 9376 . . . . . . 7  |-  ( x  e.  RR+  ->  ( ( ( (ψ `  x
)  x.  ( log `  ( ( |_ `  x )  +  1 ) ) )  -  ( (ψ `  x )  x.  ( log `  x
) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  =  ( ( ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  -  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  -  ( (ψ `  x )  x.  ( log `  x
) ) ) )
404, 12, 14subdid 9422 . . . . . . . 8  |-  ( x  e.  RR+  ->  ( (ψ `  x )  x.  (
( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  =  ( ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  -  ( (ψ `  x )  x.  ( log `  x ) ) ) )
4140oveq1d 6036 . . . . . . 7  |-  ( x  e.  RR+  ->  ( ( (ψ `  x )  x.  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  -  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  =  ( ( ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  -  ( (ψ `  x )  x.  ( log `  x ) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) ) )
42 fveq2 5669 . . . . . . . . . . 11  |-  ( m  =  n  ->  ( log `  m )  =  ( log `  n
) )
43 oveq1 6028 . . . . . . . . . . . 12  |-  ( m  =  n  ->  (
m  -  1 )  =  ( n  - 
1 ) )
4443fveq2d 5673 . . . . . . . . . . 11  |-  ( m  =  n  ->  (ψ `  ( m  -  1 ) )  =  (ψ `  ( n  -  1 ) ) )
4542, 44jca 519 . . . . . . . . . 10  |-  ( m  =  n  ->  (
( log `  m
)  =  ( log `  n )  /\  (ψ `  ( m  -  1 ) )  =  (ψ `  ( n  -  1 ) ) ) )
46 fveq2 5669 . . . . . . . . . . 11  |-  ( m  =  ( n  + 
1 )  ->  ( log `  m )  =  ( log `  (
n  +  1 ) ) )
47 oveq1 6028 . . . . . . . . . . . 12  |-  ( m  =  ( n  + 
1 )  ->  (
m  -  1 )  =  ( ( n  +  1 )  - 
1 ) )
4847fveq2d 5673 . . . . . . . . . . 11  |-  ( m  =  ( n  + 
1 )  ->  (ψ `  ( m  -  1 ) )  =  (ψ `  ( ( n  + 
1 )  -  1 ) ) )
4946, 48jca 519 . . . . . . . . . 10  |-  ( m  =  ( n  + 
1 )  ->  (
( log `  m
)  =  ( log `  ( n  +  1 ) )  /\  (ψ `  ( m  -  1 ) )  =  (ψ `  ( ( n  + 
1 )  -  1 ) ) ) )
50 fveq2 5669 . . . . . . . . . . . 12  |-  ( m  =  1  ->  ( log `  m )  =  ( log `  1
) )
51 log1 20348 . . . . . . . . . . . 12  |-  ( log `  1 )  =  0
5250, 51syl6eq 2436 . . . . . . . . . . 11  |-  ( m  =  1  ->  ( log `  m )  =  0 )
53 oveq1 6028 . . . . . . . . . . . . . 14  |-  ( m  =  1  ->  (
m  -  1 )  =  ( 1  -  1 ) )
54 1m1e0 10001 . . . . . . . . . . . . . 14  |-  ( 1  -  1 )  =  0
5553, 54syl6eq 2436 . . . . . . . . . . . . 13  |-  ( m  =  1  ->  (
m  -  1 )  =  0 )
5655fveq2d 5673 . . . . . . . . . . . 12  |-  ( m  =  1  ->  (ψ `  ( m  -  1 ) )  =  (ψ `  0 ) )
57 2pos 10015 . . . . . . . . . . . . 13  |-  0  <  2
58 0re 9025 . . . . . . . . . . . . . 14  |-  0  e.  RR
59 chpeq0 20860 . . . . . . . . . . . . . 14  |-  ( 0  e.  RR  ->  (
(ψ `  0 )  =  0  <->  0  <  2 ) )
6058, 59ax-mp 8 . . . . . . . . . . . . 13  |-  ( (ψ `  0 )  =  0  <->  0  <  2
)
6157, 60mpbir 201 . . . . . . . . . . . 12  |-  (ψ ` 
0 )  =  0
6256, 61syl6eq 2436 . . . . . . . . . . 11  |-  ( m  =  1  ->  (ψ `  ( m  -  1 ) )  =  0 )
6352, 62jca 519 . . . . . . . . . 10  |-  ( m  =  1  ->  (
( log `  m
)  =  0  /\  (ψ `  ( m  -  1 ) )  =  0 ) )
64 fveq2 5669 . . . . . . . . . . 11  |-  ( m  =  ( ( |_
`  x )  +  1 )  ->  ( log `  m )  =  ( log `  (
( |_ `  x
)  +  1 ) ) )
65 oveq1 6028 . . . . . . . . . . . 12  |-  ( m  =  ( ( |_
`  x )  +  1 )  ->  (
m  -  1 )  =  ( ( ( |_ `  x )  +  1 )  - 
1 ) )
6665fveq2d 5673 . . . . . . . . . . 11  |-  ( m  =  ( ( |_
`  x )  +  1 )  ->  (ψ `  ( m  -  1 ) )  =  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) )
6764, 66jca 519 . . . . . . . . . 10  |-  ( m  =  ( ( |_
`  x )  +  1 )  ->  (
( log `  m
)  =  ( log `  ( ( |_ `  x )  +  1 ) )  /\  (ψ `  ( m  -  1 ) )  =  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) ) )
68 nnuz 10454 . . . . . . . . . . 11  |-  NN  =  ( ZZ>= `  1 )
699, 68syl6eleq 2478 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( |_ `  x )  +  1 )  e.  ( ZZ>= `  1 )
)
70 elfznn 11013 . . . . . . . . . . . . . 14  |-  ( m  e.  ( 1 ... ( ( |_ `  x )  +  1 ) )  ->  m  e.  NN )
7170adantl 453 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  m  e.  NN )
7271nnrpd 10580 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  m  e.  RR+ )
7372relogcld 20386 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  ( log `  m )  e.  RR )
7473recnd 9048 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  ( log `  m )  e.  CC )
7571nnred 9948 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  m  e.  RR )
76 peano2rem 9300 . . . . . . . . . . . . 13  |-  ( m  e.  RR  ->  (
m  -  1 )  e.  RR )
7775, 76syl 16 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  (
m  -  1 )  e.  RR )
78 chpcl 20775 . . . . . . . . . . . 12  |-  ( ( m  -  1 )  e.  RR  ->  (ψ `  ( m  -  1 ) )  e.  RR )
7977, 78syl 16 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  (ψ `  ( m  -  1 ) )  e.  RR )
8079recnd 9048 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  m  e.  ( 1 ... (
( |_ `  x
)  +  1 ) ) )  ->  (ψ `  ( m  -  1 ) )  e.  CC )
8145, 49, 63, 67, 69, 74, 80fsumparts 12513 . . . . . . . . 9  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1..^ ( ( |_ `  x )  +  1 ) ) ( ( log `  n
)  x.  ( (ψ `  ( ( n  + 
1 )  -  1 ) )  -  (ψ `  ( n  -  1 ) ) ) )  =  ( ( ( ( log `  (
( |_ `  x
)  +  1 ) )  x.  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) )  -  ( 0  x.  0 ) )  -  sum_ n  e.  ( 1..^ ( ( |_ `  x
)  +  1 ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n
) )  x.  (ψ `  ( ( n  + 
1 )  -  1 ) ) ) ) )
827nn0zd 10306 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( |_
`  x )  e.  ZZ )
83 fzval3 11109 . . . . . . . . . . . 12  |-  ( ( |_ `  x )  e.  ZZ  ->  (
1 ... ( |_ `  x ) )  =  ( 1..^ ( ( |_ `  x )  +  1 ) ) )
8482, 83syl 16 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( 1 ... ( |_ `  x ) )  =  ( 1..^ ( ( |_ `  x )  +  1 ) ) )
8584eqcomd 2393 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( 1..^ ( ( |_ `  x )  +  1 ) )  =  ( 1 ... ( |_
`  x ) ) )
8619nncnd 9949 . . . . . . . . . . . . . . . . . 18  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  n  e.  CC )
87 ax-1cn 8982 . . . . . . . . . . . . . . . . . 18  |-  1  e.  CC
88 pncan 9244 . . . . . . . . . . . . . . . . . 18  |-  ( ( n  e.  CC  /\  1  e.  CC )  ->  ( ( n  + 
1 )  -  1 )  =  n )
8986, 87, 88sylancl 644 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
n  +  1 )  -  1 )  =  n )
90 npcan 9247 . . . . . . . . . . . . . . . . . 18  |-  ( ( n  e.  CC  /\  1  e.  CC )  ->  ( ( n  - 
1 )  +  1 )  =  n )
9186, 87, 90sylancl 644 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
n  -  1 )  +  1 )  =  n )
9289, 91eqtr4d 2423 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
n  +  1 )  -  1 )  =  ( ( n  - 
1 )  +  1 ) )
9392fveq2d 5673 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
( n  +  1 )  -  1 ) )  =  (ψ `  ( ( n  - 
1 )  +  1 ) ) )
94 nnm1nn0 10194 . . . . . . . . . . . . . . . . 17  |-  ( n  e.  NN  ->  (
n  -  1 )  e.  NN0 )
9519, 94syl 16 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( n  -  1 )  e. 
NN0 )
96 chpp1 20806 . . . . . . . . . . . . . . . 16  |-  ( ( n  -  1 )  e.  NN0  ->  (ψ `  ( ( n  - 
1 )  +  1 ) )  =  ( (ψ `  ( n  -  1 ) )  +  (Λ `  (
( n  -  1 )  +  1 ) ) ) )
9795, 96syl 16 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
( n  -  1 )  +  1 ) )  =  ( (ψ `  ( n  -  1 ) )  +  (Λ `  ( ( n  - 
1 )  +  1 ) ) ) )
9891fveq2d 5673 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  (
( n  -  1 )  +  1 ) )  =  (Λ `  n
) )
9998oveq2d 6037 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (ψ `  ( n  -  1 ) )  +  (Λ `  ( ( n  - 
1 )  +  1 ) ) )  =  ( (ψ `  (
n  -  1 ) )  +  (Λ `  n
) ) )
10093, 97, 993eqtrd 2424 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
( n  +  1 )  -  1 ) )  =  ( (ψ `  ( n  -  1 ) )  +  (Λ `  n ) ) )
101100oveq1d 6036 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (ψ `  ( ( n  + 
1 )  -  1 ) )  -  (ψ `  ( n  -  1 ) ) )  =  ( ( (ψ `  ( n  -  1
) )  +  (Λ `  n ) )  -  (ψ `  ( n  - 
1 ) ) ) )
10295nn0red 10208 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( n  -  1 )  e.  RR )
103 chpcl 20775 . . . . . . . . . . . . . . . 16  |-  ( ( n  -  1 )  e.  RR  ->  (ψ `  ( n  -  1 ) )  e.  RR )
104102, 103syl 16 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
n  -  1 ) )  e.  RR )
105104recnd 9048 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
n  -  1 ) )  e.  CC )
106 vmacl 20769 . . . . . . . . . . . . . . . 16  |-  ( n  e.  NN  ->  (Λ `  n )  e.  RR )
10719, 106syl 16 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  RR )
108107recnd 9048 . . . . . . . . . . . . . 14  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (Λ `  n
)  e.  CC )
109105, 108pncan2d 9346 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
(ψ `  ( n  -  1 ) )  +  (Λ `  n
) )  -  (ψ `  ( n  -  1 ) ) )  =  (Λ `  n )
)
110101, 109eqtrd 2420 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (ψ `  ( ( n  + 
1 )  -  1 ) )  -  (ψ `  ( n  -  1 ) ) )  =  (Λ `  n )
)
111110oveq2d 6037 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( ( log `  n )  x.  ( (ψ `  (
( n  +  1 )  -  1 ) )  -  (ψ `  ( n  -  1
) ) ) )  =  ( ( log `  n )  x.  (Λ `  n ) ) )
11220relogcld 20386 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  RR )
113112recnd 9048 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( log `  n )  e.  CC )
114108, 113mulcomd 9043 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (Λ `  n )  x.  ( log `  n ) )  =  ( ( log `  n )  x.  (Λ `  n ) ) )
115111, 114eqtr4d 2423 . . . . . . . . . 10  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( ( log `  n )  x.  ( (ψ `  (
( n  +  1 )  -  1 ) )  -  (ψ `  ( n  -  1
) ) ) )  =  ( (Λ `  n
)  x.  ( log `  n ) ) )
11685, 115sumeq12rdv 12429 . . . . . . . . 9  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1..^ ( ( |_ `  x )  +  1 ) ) ( ( log `  n
)  x.  ( (ψ `  ( ( n  + 
1 )  -  1 ) )  -  (ψ `  ( n  -  1 ) ) ) )  =  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( (Λ `  n
)  x.  ( log `  n ) ) )
1177nn0cnd 10209 . . . . . . . . . . . . . . . . 17  |-  ( x  e.  RR+  ->  ( |_
`  x )  e.  CC )
118 pncan 9244 . . . . . . . . . . . . . . . . 17  |-  ( ( ( |_ `  x
)  e.  CC  /\  1  e.  CC )  ->  ( ( ( |_
`  x )  +  1 )  -  1 )  =  ( |_
`  x ) )
119117, 87, 118sylancl 644 . . . . . . . . . . . . . . . 16  |-  ( x  e.  RR+  ->  ( ( ( |_ `  x
)  +  1 )  -  1 )  =  ( |_ `  x
) )
120119fveq2d 5673 . . . . . . . . . . . . . . 15  |-  ( x  e.  RR+  ->  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) )  =  (ψ `  ( |_ `  x
) ) )
121 chpfl 20801 . . . . . . . . . . . . . . . 16  |-  ( x  e.  RR  ->  (ψ `  ( |_ `  x
) )  =  (ψ `  x ) )
1221, 121syl 16 . . . . . . . . . . . . . . 15  |-  ( x  e.  RR+  ->  (ψ `  ( |_ `  x ) )  =  (ψ `  x ) )
123120, 122eqtrd 2420 . . . . . . . . . . . . . 14  |-  ( x  e.  RR+  ->  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) )  =  (ψ `  x ) )
124123oveq2d 6037 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  x.  (ψ `  (
( ( |_ `  x )  +  1 )  -  1 ) ) )  =  ( ( log `  (
( |_ `  x
)  +  1 ) )  x.  (ψ `  x ) ) )
12512, 4mulcomd 9043 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  x.  (ψ `  x
) )  =  ( (ψ `  x )  x.  ( log `  (
( |_ `  x
)  +  1 ) ) ) )
126124, 125eqtrd 2420 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  x.  (ψ `  (
( ( |_ `  x )  +  1 )  -  1 ) ) )  =  ( (ψ `  x )  x.  ( log `  (
( |_ `  x
)  +  1 ) ) ) )
127 0cn 9018 . . . . . . . . . . . . . 14  |-  0  e.  CC
128127mul01i 9189 . . . . . . . . . . . . 13  |-  ( 0  x.  0 )  =  0
129128a1i 11 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( 0  x.  0 )  =  0 )
130126, 129oveq12d 6039 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( ( ( log `  (
( |_ `  x
)  +  1 ) )  x.  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) )  -  ( 0  x.  0 ) )  =  ( ( (ψ `  x
)  x.  ( log `  ( ( |_ `  x )  +  1 ) ) )  - 
0 ) )
13137subid1d 9333 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( ( (ψ `  x )  x.  ( log `  (
( |_ `  x
)  +  1 ) ) )  -  0 )  =  ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) ) )
132130, 131eqtrd 2420 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( ( log `  (
( |_ `  x
)  +  1 ) )  x.  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) )  -  ( 0  x.  0 ) )  =  ( (ψ `  x )  x.  ( log `  (
( |_ `  x
)  +  1 ) ) ) )
13389fveq2d 5673 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  (ψ `  (
( n  +  1 )  -  1 ) )  =  (ψ `  n ) )
134133oveq2d 6037 . . . . . . . . . . 11  |-  ( ( x  e.  RR+  /\  n  e.  ( 1 ... ( |_ `  x ) ) )  ->  ( (
( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  ( (
n  +  1 )  -  1 ) ) )  =  ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )
13585, 134sumeq12rdv 12429 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1..^ ( ( |_ `  x )  +  1 ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  (
( n  +  1 )  -  1 ) ) )  =  sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )
136132, 135oveq12d 6039 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( ( ( ( log `  (
( |_ `  x
)  +  1 ) )  x.  (ψ `  ( ( ( |_
`  x )  +  1 )  -  1 ) ) )  -  ( 0  x.  0 ) )  -  sum_ n  e.  ( 1..^ ( ( |_ `  x
)  +  1 ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n
) )  x.  (ψ `  ( ( n  + 
1 )  -  1 ) ) ) )  =  ( ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  -  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) ) )
13781, 116, 1363eqtr3d 2428 . . . . . . . 8  |-  ( x  e.  RR+  ->  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( log `  n ) )  =  ( ( (ψ `  x )  x.  ( log `  ( ( |_
`  x )  +  1 ) ) )  -  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) ) )
138137oveq1d 6036 . . . . . . 7  |-  ( x  e.  RR+  ->  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( (Λ `  n )  x.  ( log `  n ) )  -  ( (ψ `  x )  x.  ( log `  x ) ) )  =  ( ( ( (ψ `  x
)  x.  ( log `  ( ( |_ `  x )  +  1 ) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) ) )
13939, 41, 1383eqtr4d 2430 . . . . . 6  |-  ( x  e.  RR+  ->  ( ( (ψ `  x )  x.  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  -  sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  =  ( sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( (Λ `  n
)  x.  ( log `  n ) )  -  ( (ψ `  x )  x.  ( log `  x
) ) ) )
140139oveq1d 6036 . . . . 5  |-  ( x  e.  RR+  ->  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  -  sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  /  x
)  =  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) )  /  x ) )
141 div23 9630 . . . . . . 7  |-  ( ( (ψ `  x )  e.  CC  /\  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  e.  CC  /\  ( x  e.  CC  /\  x  =/=  0 ) )  ->  ( (
(ψ `  x )  x.  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  /  x )  =  ( ( (ψ `  x )  /  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) ) )
1424, 15, 34, 141syl3anc 1184 . . . . . 6  |-  ( x  e.  RR+  ->  ( ( (ψ `  x )  x.  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  /  x )  =  ( ( (ψ `  x )  /  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) ) )
143142oveq1d 6036 . . . . 5  |-  ( x  e.  RR+  ->  ( ( ( (ψ `  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  /  x )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) )  =  ( ( ( (ψ `  x
)  /  x )  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) ) )
14436, 140, 1433eqtr3rd 2429 . . . 4  |-  ( x  e.  RR+  ->  ( ( ( (ψ `  x
)  /  x )  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) )  =  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) )  /  x ) )
145144mpteq2ia 4233 . . 3  |-  ( x  e.  RR+  |->  ( ( ( (ψ `  x
)  /  x )  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) )  -  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x ) ) )  =  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) )  /  x ) )
146 ovex 6046 . . . . 5  |-  ( ( (ψ `  x )  /  x )  x.  (
( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  e.  _V
147146a1i 11 . . . 4  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( ( (ψ `  x )  /  x )  x.  (
( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  e.  _V )
148 ovex 6046 . . . . 5  |-  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x )  e.  _V
149148a1i 11 . . . 4  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( sum_ n  e.  ( 1 ... ( |_ `  x
) ) ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  /  x )  e.  _V )
150 reex 9015 . . . . . . . 8  |-  RR  e.  _V
151 rpssre 10555 . . . . . . . 8  |-  RR+  C_  RR
152150, 151ssexi 4290 . . . . . . 7  |-  RR+  e.  _V
153152a1i 11 . . . . . 6  |-  (  T. 
->  RR+  e.  _V )
154 ovex 6046 . . . . . . 7  |-  ( (ψ `  x )  /  x
)  e.  _V
155154a1i 11 . . . . . 6  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( (ψ `  x )  /  x
)  e.  _V )
15615adantl 453 . . . . . 6  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  e.  CC )
157 eqidd 2389 . . . . . 6  |-  (  T. 
->  ( x  e.  RR+  |->  ( (ψ `  x )  /  x ) )  =  ( x  e.  RR+  |->  ( (ψ `  x )  /  x ) ) )
158 eqidd 2389 . . . . . 6  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  =  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) ) )
159153, 155, 156, 157, 158offval2 6262 . . . . 5  |-  (  T. 
->  ( ( x  e.  RR+  |->  ( (ψ `  x )  /  x
) )  o F  x.  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) ) )  =  ( x  e.  RR+  |->  ( ( (ψ `  x )  /  x )  x.  (
( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) ) ) )
160 chpo1ub 21042 . . . . . 6  |-  ( x  e.  RR+  |->  ( (ψ `  x )  /  x
) )  e.  O
( 1 )
16158a1i 11 . . . . . . . 8  |-  (  T. 
->  0  e.  RR )
162 1re 9024 . . . . . . . . 9  |-  1  e.  RR
163162a1i 11 . . . . . . . 8  |-  (  T. 
->  1  e.  RR )
164 divrcnv 12560 . . . . . . . . 9  |-  ( 1  e.  CC  ->  (
x  e.  RR+  |->  ( 1  /  x ) )  ~~> r  0 )
16587, 164mp1i 12 . . . . . . . 8  |-  (  T. 
->  ( x  e.  RR+  |->  ( 1  /  x
) )  ~~> r  0 )
166 rpreccl 10568 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( 1  /  x )  e.  RR+ )
167166rpred 10581 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( 1  /  x )  e.  RR )
168167adantl 453 . . . . . . . 8  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( 1  /  x )  e.  RR )
16911, 13resubcld 9398 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  e.  RR )
170169adantl 453 . . . . . . . 8  |-  ( (  T.  /\  x  e.  RR+ )  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  e.  RR )
171 rpaddcl 10565 . . . . . . . . . . . . 13  |-  ( ( x  e.  RR+  /\  1  e.  RR+ )  ->  (
x  +  1 )  e.  RR+ )
17221, 171mpan2 653 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( x  +  1 )  e.  RR+ )
173172relogcld 20386 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( log `  ( x  +  1 ) )  e.  RR )
174173, 13resubcld 9398 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( log `  ( x  +  1 ) )  -  ( log `  x
) )  e.  RR )
1757nn0red 10208 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  ( |_
`  x )  e.  RR )
176162a1i 11 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  1  e.  RR )
177 flle 11136 . . . . . . . . . . . . . 14  |-  ( x  e.  RR  ->  ( |_ `  x )  <_  x )
1781, 177syl 16 . . . . . . . . . . . . 13  |-  ( x  e.  RR+  ->  ( |_
`  x )  <_  x )
179175, 1, 176, 178leadd1dd 9573 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( ( |_ `  x )  +  1 )  <_ 
( x  +  1 ) )
18010, 172logled 20390 . . . . . . . . . . . 12  |-  ( x  e.  RR+  ->  ( ( ( |_ `  x
)  +  1 )  <_  ( x  + 
1 )  <->  ( log `  ( ( |_ `  x )  +  1 ) )  <_  ( log `  ( x  + 
1 ) ) ) )
181179, 180mpbid 202 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( log `  ( ( |_ `  x )  +  1 ) )  <_  ( log `  ( x  + 
1 ) ) )
18211, 173, 13, 181lesub1dd 9575 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  <_  (
( log `  (
x  +  1 ) )  -  ( log `  x ) ) )
183 logdifbnd 20700 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( ( log `  ( x  +  1 ) )  -  ( log `  x
) )  <_  (
1  /  x ) )
184169, 174, 167, 182, 183letrd 9160 . . . . . . . . 9  |-  ( x  e.  RR+  ->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) )  <_  (
1  /  x ) )
185184ad2antrl 709 . . . . . . . 8  |-  ( (  T.  /\  ( x  e.  RR+  /\  1  <_  x ) )  -> 
( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) )  <_ 
( 1  /  x
) )
186 fllep1 11138 . . . . . . . . . . . 12  |-  ( x  e.  RR  ->  x  <_  ( ( |_ `  x )  +  1 ) )
1871, 186syl 16 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  x  <_ 
( ( |_ `  x )  +  1 ) )
188 logleb 20366 . . . . . . . . . . . 12  |-  ( ( x  e.  RR+  /\  (
( |_ `  x
)  +  1 )  e.  RR+ )  ->  (
x  <_  ( ( |_ `  x )  +  1 )  <->  ( log `  x )  <_  ( log `  ( ( |_
`  x )  +  1 ) ) ) )
18910, 188mpdan 650 . . . . . . . . . . 11  |-  ( x  e.  RR+  ->  ( x  <_  ( ( |_
`  x )  +  1 )  <->  ( log `  x )  <_  ( log `  ( ( |_
`  x )  +  1 ) ) ) )
190187, 189mpbid 202 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( log `  x )  <_  ( log `  ( ( |_
`  x )  +  1 ) ) )
19111, 13subge0d 9549 . . . . . . . . . 10  |-  ( x  e.  RR+  ->  ( 0  <_  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) )  <-> 
( log `  x
)  <_  ( log `  ( ( |_ `  x )  +  1 ) ) ) )
192190, 191mpbird 224 . . . . . . . . 9  |-  ( x  e.  RR+  ->  0  <_ 
( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )
193192ad2antrl 709 . . . . . . . 8  |-  ( (  T.  /\  ( x  e.  RR+  /\  1  <_  x ) )  -> 
0  <_  ( ( log `  ( ( |_
`  x )  +  1 ) )  -  ( log `  x ) ) )
194161, 163, 165, 168, 170, 185, 193rlimsqz2 12372 . . . . . . 7  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  ~~> r  0 )
195 rlimo1 12338 . . . . . . 7  |-  ( ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  ~~> r  0  ->  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) )  e.  O ( 1 ) )
196194, 195syl 16 . . . . . 6  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( log `  (
( |_ `  x
)  +  1 ) )  -  ( log `  x ) ) )  e.  O ( 1 ) )
197 o1mul 12336 . . . . . 6  |-  ( ( ( x  e.  RR+  |->  ( (ψ `  x )  /  x ) )  e.  O ( 1 )  /\  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) )  e.  O ( 1 ) )  -> 
( ( x  e.  RR+  |->  ( (ψ `  x )  /  x
) )  o F  x.  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) ) )  e.  O
( 1 ) )
198160, 196, 197sylancr 645 . . . . 5  |-  (  T. 
->  ( ( x  e.  RR+  |->  ( (ψ `  x )  /  x
) )  o F  x.  ( x  e.  RR+  |->  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x ) ) ) )  e.  O
( 1 ) )
199159, 198eqeltrrd 2463 . . . 4  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( (ψ `  x )  /  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) ) )  e.  O ( 1 ) )
200 nnrp 10554 . . . . . . . . 9  |-  ( m  e.  NN  ->  m  e.  RR+ )
201200ssriv 3296 . . . . . . . 8  |-  NN  C_  RR+
202201a1i 11 . . . . . . 7  |-  (  T. 
->  NN  C_  RR+ )
203202sselda 3292 . . . . . 6  |-  ( (  T.  /\  n  e.  NN )  ->  n  e.  RR+ )
204203, 31syl 16 . . . . 5  |-  ( (  T.  /\  n  e.  NN )  ->  (
( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  e.  CC )
205 chpo1ub 21042 . . . . . . . 8  |-  ( n  e.  RR+  |->  ( (ψ `  n )  /  n
) )  e.  O
( 1 )
206205a1i 11 . . . . . . 7  |-  (  T. 
->  ( n  e.  RR+  |->  ( (ψ `  n )  /  n ) )  e.  O ( 1 ) )
207 rerpdivcl 10572 . . . . . . . . 9  |-  ( ( (ψ `  n )  e.  RR  /\  n  e.  RR+ )  ->  ( (ψ `  n )  /  n
)  e.  RR )
20829, 207mpancom 651 . . . . . . . 8  |-  ( n  e.  RR+  ->  ( (ψ `  n )  /  n
)  e.  RR )
209208adantl 453 . . . . . . 7  |-  ( (  T.  /\  n  e.  RR+ )  ->  ( (ψ `  n )  /  n
)  e.  RR )
21031adantl 453 . . . . . . 7  |-  ( (  T.  /\  n  e.  RR+ )  ->  ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  e.  CC )
211 rpreccl 10568 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  ( 1  /  n )  e.  RR+ )
212211rpred 10581 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  ( 1  /  n )  e.  RR )
213 chpge0 20777 . . . . . . . . . . 11  |-  ( n  e.  RR  ->  0  <_  (ψ `  n )
)
21427, 213syl 16 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  0  <_ 
(ψ `  n )
)
215 logdifbnd 20700 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  ( ( log `  ( n  +  1 ) )  -  ( log `  n
) )  <_  (
1  /  n ) )
21626, 212, 29, 214, 215lemul1ad 9883 . . . . . . . . 9  |-  ( n  e.  RR+  ->  ( ( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
)  <_  ( (
1  /  n )  x.  (ψ `  n
) ) )
21727lep1d 9875 . . . . . . . . . . . . 13  |-  ( n  e.  RR+  ->  n  <_ 
( n  +  1 ) )
218 logleb 20366 . . . . . . . . . . . . . 14  |-  ( ( n  e.  RR+  /\  (
n  +  1 )  e.  RR+ )  ->  (
n  <_  ( n  +  1 )  <->  ( log `  n )  <_  ( log `  ( n  + 
1 ) ) ) )
21923, 218mpdan 650 . . . . . . . . . . . . 13  |-  ( n  e.  RR+  ->  ( n  <_  ( n  + 
1 )  <->  ( log `  n )  <_  ( log `  ( n  + 
1 ) ) ) )
220217, 219mpbid 202 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( log `  n )  <_  ( log `  ( n  + 
1 ) ) )
22124, 25subge0d 9549 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( 0  <_  ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  <-> 
( log `  n
)  <_  ( log `  ( n  +  1 ) ) ) )
222220, 221mpbird 224 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  0  <_ 
( ( log `  (
n  +  1 ) )  -  ( log `  n ) ) )
22326, 29, 222, 214mulge0d 9536 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  0  <_ 
( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )
22430, 223absidd 12153 . . . . . . . . 9  |-  ( n  e.  RR+  ->  ( abs `  ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  =  ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )
225 rpregt0 10558 . . . . . . . . . . . 12  |-  ( n  e.  RR+  ->  ( n  e.  RR  /\  0  <  n ) )
226 divge0 9812 . . . . . . . . . . . 12  |-  ( ( ( (ψ `  n
)  e.  RR  /\  0  <_  (ψ `  n
) )  /\  (
n  e.  RR  /\  0  <  n ) )  ->  0  <_  (
(ψ `  n )  /  n ) )
22729, 214, 225, 226syl21anc 1183 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  0  <_ 
( (ψ `  n
)  /  n ) )
228208, 227absidd 12153 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  ( abs `  ( (ψ `  n
)  /  n ) )  =  ( (ψ `  n )  /  n
) )
22929recnd 9048 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  (ψ `  n )  e.  CC )
230 rpcn 10553 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  n  e.  CC )
231 rpne0 10560 . . . . . . . . . . 11  |-  ( n  e.  RR+  ->  n  =/=  0 )
232229, 230, 231divrec2d 9727 . . . . . . . . . 10  |-  ( n  e.  RR+  ->  ( (ψ `  n )  /  n
)  =  ( ( 1  /  n )  x.  (ψ `  n
) ) )
233228, 232eqtrd 2420 . . . . . . . . 9  |-  ( n  e.  RR+  ->  ( abs `  ( (ψ `  n
)  /  n ) )  =  ( ( 1  /  n )  x.  (ψ `  n
) ) )
234216, 224, 2333brtr4d 4184 . . . . . . . 8  |-  ( n  e.  RR+  ->  ( abs `  ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  <_ 
( abs `  (
(ψ `  n )  /  n ) ) )
235234ad2antrl 709 . . . . . . 7  |-  ( (  T.  /\  ( n  e.  RR+  /\  1  <_  n ) )  -> 
( abs `  (
( ( log `  (
n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n )
) )  <_  ( abs `  ( (ψ `  n )  /  n
) ) )
236163, 206, 209, 210, 235o1le 12374 . . . . . 6  |-  (  T. 
->  ( n  e.  RR+  |->  ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  e.  O ( 1 ) )
237202, 236o1res2 12285 . . . . 5  |-  (  T. 
->  ( n  e.  NN  |->  ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) ) )  e.  O ( 1 ) )
238204, 237o1fsum 12520 . . . 4  |-  (  T. 
->  ( x  e.  RR+  |->  ( sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) )  /  x
) )  e.  O
( 1 ) )
239147, 149, 199, 238o1sub2 12347 . . 3  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( ( (ψ `  x )  /  x
)  x.  ( ( log `  ( ( |_ `  x )  +  1 ) )  -  ( log `  x
) ) )  -  ( sum_ n  e.  ( 1 ... ( |_
`  x ) ) ( ( ( log `  ( n  +  1 ) )  -  ( log `  n ) )  x.  (ψ `  n
) )  /  x
) ) )  e.  O ( 1 ) )
240145, 239syl5eqelr 2473 . 2  |-  (  T. 
->  ( x  e.  RR+  |->  ( ( sum_ n  e.  ( 1 ... ( |_ `  x ) ) ( (Λ `  n
)  x.  ( log `  n ) )  -  ( (ψ `  x )  x.  ( log `  x
) ) )  /  x ) )  e.  O ( 1 ) )
241240trud 1329 1  |-  ( x  e.  RR+  |->  ( (
sum_ n  e.  (
1 ... ( |_ `  x ) ) ( (Λ `  n )  x.  ( log `  n
) )  -  (
(ψ `  x )  x.  ( log `  x
) ) )  /  x ) )  e.  O ( 1 )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    /\ wa 359    T. wtru 1322    = wceq 1649    e. wcel 1717    =/= wne 2551   _Vcvv 2900    C_ wss 3264   class class class wbr 4154    e. cmpt 4208   ` cfv 5395  (class class class)co 6021    o Fcof 6243   CCcc 8922   RRcr 8923   0cc0 8924   1c1 8925    + caddc 8927    x. cmul 8929    < clt 9054    <_ cle 9055    - cmin 9224    / cdiv 9610   NNcn 9933   2c2 9982   NN0cn0 10154   ZZcz 10215   ZZ>=cuz 10421   RR+crp 10545   ...cfz 10976  ..^cfzo 11066   |_cfl 11129   abscabs 11967    ~~> r crli 12207   O (
1 )co1 12208   sum_csu 12407   logclog 20320  Λcvma 20742  ψcchp 20743
This theorem is referenced by:  selberg2  21113  selberg3lem2  21120
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-rep 4262  ax-sep 4272  ax-nul 4280  ax-pow 4319  ax-pr 4345  ax-un 4642  ax-inf2 7530  ax-cnex 8980  ax-resscn 8981  ax-1cn 8982  ax-icn 8983  ax-addcl 8984  ax-addrcl 8985  ax-mulcl 8986  ax-mulrcl 8987  ax-mulcom 8988  ax-addass 8989  ax-mulass 8990  ax-distr 8991  ax-i2m1 8992  ax-1ne0 8993  ax-1rid 8994  ax-rnegex 8995  ax-rrecex 8996  ax-cnre 8997  ax-pre-lttri 8998  ax-pre-lttrn 8999  ax-pre-ltadd 9000  ax-pre-mulgt0 9001  ax-pre-sup 9002  ax-addf 9003  ax-mulf 9004
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-nel 2554  df-ral 2655  df-rex 2656  df-reu 2657  df-rmo 2658  df-rab 2659  df-v 2902  df-sbc 3106  df-csb 3196  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-pss 3280  df-nul 3573  df-if 3684  df-pw 3745  df-sn 3764  df-pr 3765  df-tp 3766  df-op 3767  df-uni 3959  df-int 3994  df-iun 4038  df-iin 4039  df-br 4155  df-opab 4209  df-mpt 4210  df-tr 4245  df-eprel 4436  df-id 4440  df-po 4445  df-so 4446  df-fr 4483  df-se 4484  df-we 4485  df-ord 4526  df-on 4527  df-lim 4528  df-suc 4529  df-om 4787  df-xp 4825  df-rel 4826  df-cnv 4827  df-co 4828  df-dm 4829  df-rn 4830  df-res 4831  df-ima 4832  df-iota 5359  df-fun 5397  df-fn 5398  df-f 5399  df-f1 5400  df-fo 5401  df-f1o 5402  df-fv 5403  df-isom 5404  df-ov 6024  df-oprab 6025  df-mpt2 6026  df-of 6245  df-1st 6289  df-2nd 6290  df-riota 6486  df-recs 6570  df-rdg 6605  df-1o 6661  df-2o 6662  df-oadd 6665  df-er 6842  df-map 6957  df-pm 6958  df-ixp 7001  df-en 7047  df-dom 7048  df-sdom 7049  df-fin 7050  df-fi 7352  df-sup 7382  df-oi 7413  df-card 7760  df-cda 7982  df-pnf 9056  df-mnf 9057  df-xr 9058  df-ltxr 9059  df-le 9060  df-sub 9226  df-neg 9227  df-div 9611  df-nn 9934  df-2 9991  df-3 9992  df-4 9993  df-5 9994  df-6 9995  df-7 9996  df-8 9997  df-9 9998  df-10 9999  df-n0 10155  df-z 10216  df-dec 10316  df-uz 10422  df-q 10508  df-rp 10546  df-xneg 10643  df-xadd 10644  df-xmul 10645  df-ioo 10853  df-ioc 10854  df-ico 10855  df-icc 10856  df-fz 10977  df-fzo 11067  df-fl 11130  df-mod 11179  df-seq 11252  df-exp 11311  df-fac 11495  df-bc 11522  df-hash 11547  df-shft 11810  df-cj 11832  df-re 11833  df-im 11834  df-sqr 11968  df-abs 11969  df-limsup 12193  df-clim 12210  df-rlim 12211  df-o1 12212  df-lo1 12213  df-sum 12408  df-ef 12598  df-e 12599  df-sin 12600  df-cos 12601  df-pi 12603  df-dvds 12781  df-gcd 12935  df-prm 13008  df-pc 13139  df-struct 13399  df-ndx 13400  df-slot 13401  df-base 13402  df-sets 13403  df-ress 13404  df-plusg 13470  df-mulr 13471  df-starv 13472  df-sca 13473  df-vsca 13474  df-tset 13476  df-ple 13477  df-ds 13479  df-unif 13480  df-hom 13481  df-cco 13482  df-rest 13578  df-topn 13579  df-topgen 13595  df-pt 13596  df-prds 13599  df-xrs 13654  df-0g 13655  df-gsum 13656  df-qtop 13661  df-imas 13662  df-xps 13664  df-mre 13739  df-mrc 13740  df-acs 13742  df-mnd 14618  df-submnd 14667  df-mulg 14743  df-cntz 15044  df-cmn 15342  df-xmet 16620  df-met 16621  df-bl 16622  df-mopn 16623  df-fbas 16624  df-fg 16625  df-cnfld 16628  df-top 16887  df-bases 16889  df-topon 16890  df-topsp 16891  df-cld 17007  df-ntr 17008  df-cls 17009  df-nei 17086  df-lp 17124  df-perf 17125  df-cn 17214  df-cnp 17215  df-haus 17302  df-tx 17516  df-hmeo 17709  df-fil 17800  df-fm 17892  df-flim 17893  df-flf 17894  df-xms 18260  df-ms 18261  df-tms 18262  df-cncf 18780  df-limc 19621  df-dv 19622  df-log 20322  df-cxp 20323  df-cht 20747  df-vma 20748  df-chp 20749  df-ppi 20750
  Copyright terms: Public domain W3C validator