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

Theorem fsum0diag2 12261
Description: Two ways to express "the sum of  A ( j ,  k ) over the triangular region  0  <_  j, 
0  <_  k,  j  +  k  <_  N." (Contributed by Mario Carneiro, 21-Jul-2014.)
Hypotheses
Ref Expression
fsum0diag2.1  |-  ( x  =  k  ->  B  =  A )
fsum0diag2.2  |-  ( x  =  ( k  -  j )  ->  B  =  C )
fsum0diag2.3  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  k  e.  ( 0 ... ( N  -  j )
) ) )  ->  A  e.  CC )
Assertion
Ref Expression
fsum0diag2  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ k  e.  ( 0 ... ( N  -  j ) ) A  =  sum_ k  e.  ( 0 ... N
) sum_ j  e.  ( 0 ... k ) C )
Distinct variable groups:    j, k, x, N    ph, j, k    B, k    x, A    x, C
Allowed substitution hints:    ph( x)    A( j, k)    B( x, j)    C( j, k)

Proof of Theorem fsum0diag2
Dummy variable  n is distinct from all other variables.
StepHypRef Expression
1 fznn0sub2 10841 . . . . . . 7  |-  ( n  e.  ( 0 ... ( N  -  j
) )  ->  (
( N  -  j
)  -  n )  e.  ( 0 ... ( N  -  j
) ) )
21ad2antll 709 . . . . . 6  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  n  e.  ( 0 ... ( N  -  j )
) ) )  -> 
( ( N  -  j )  -  n
)  e.  ( 0 ... ( N  -  j ) ) )
3 fsum0diag2.3 . . . . . . . . . 10  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  k  e.  ( 0 ... ( N  -  j )
) ) )  ->  A  e.  CC )
43expr 598 . . . . . . . . 9  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  (
k  e.  ( 0 ... ( N  -  j ) )  ->  A  e.  CC )
)
54ralrimiv 2638 . . . . . . . 8  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  A. k  e.  ( 0 ... ( N  -  j )
) A  e.  CC )
6 fsum0diag2.1 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  A )
76eleq1d 2362 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  A  e.  CC ) )
87cbvralv 2777 . . . . . . . 8  |-  ( A. x  e.  ( 0 ... ( N  -  j ) ) B  e.  CC  <->  A. k  e.  ( 0 ... ( N  -  j )
) A  e.  CC )
95, 8sylibr 203 . . . . . . 7  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  A. x  e.  ( 0 ... ( N  -  j )
) B  e.  CC )
109adantrr 697 . . . . . 6  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  n  e.  ( 0 ... ( N  -  j )
) ) )  ->  A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC )
11 nfcsb1v 3126 . . . . . . . 8  |-  F/_ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B
1211nfel1 2442 . . . . . . 7  |-  F/ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B  e.  CC
13 csbeq1a 3102 . . . . . . . 8  |-  ( x  =  ( ( N  -  j )  -  n )  ->  B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
1413eleq1d 2362 . . . . . . 7  |-  ( x  =  ( ( N  -  j )  -  n )  ->  ( B  e.  CC  <->  [_ ( ( N  -  j )  -  n )  /  x ]_ B  e.  CC ) )
1512, 14rspc 2891 . . . . . 6  |-  ( ( ( N  -  j
)  -  n )  e.  ( 0 ... ( N  -  j
) )  ->  ( A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC  ->  [_ (
( N  -  j
)  -  n )  /  x ]_ B  e.  CC ) )
162, 10, 15sylc 56 . . . . 5  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  n  e.  ( 0 ... ( N  -  j )
) ) )  ->  [_ ( ( N  -  j )  -  n
)  /  x ]_ B  e.  CC )
1716fsum0diag 12256 . . . 4  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ n  e.  (
0 ... ( N  -  j ) ) [_ ( ( N  -  j )  -  n
)  /  x ]_ B  =  sum_ n  e.  ( 0 ... N
) sum_ j  e.  ( 0 ... ( N  -  n ) )
[_ ( ( N  -  j )  -  n )  /  x ]_ B )
18 nfcsb1v 3126 . . . . . . . . . 10  |-  F/_ x [_ k  /  x ]_ B
1918nfel1 2442 . . . . . . . . 9  |-  F/ x [_ k  /  x ]_ B  e.  CC
20 csbeq1a 3102 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  [_ k  /  x ]_ B )
2120eleq1d 2362 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  [_ k  /  x ]_ B  e.  CC ) )
2219, 21rspc 2891 . . . . . . . 8  |-  ( k  e.  ( 0 ... ( N  -  j
) )  ->  ( A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC  ->  [_ k  /  x ]_ B  e.  CC ) )
239, 22mpan9 455 . . . . . . 7  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  k  e.  ( 0 ... ( N  -  j )
) )  ->  [_ k  /  x ]_ B  e.  CC )
24 csbeq1 3097 . . . . . . 7  |-  ( k  =  ( ( 0  +  ( N  -  j ) )  -  n )  ->  [_ k  /  x ]_ B  = 
[_ ( ( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B )
2523, 24fsumrev2 12260 . . . . . 6  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  sum_ k  e.  ( 0 ... ( N  -  j )
) [_ k  /  x ]_ B  =  sum_ n  e.  ( 0 ... ( N  -  j
) ) [_ (
( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B
)
26 elfz3nn0 10839 . . . . . . . . . . . 12  |-  ( j  e.  ( 0 ... N )  ->  N  e.  NN0 )
2726ad2antlr 707 . . . . . . . . . . 11  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  N  e.  NN0 )
28 elfzelz 10814 . . . . . . . . . . . 12  |-  ( j  e.  ( 0 ... N )  ->  j  e.  ZZ )
2928ad2antlr 707 . . . . . . . . . . 11  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  j  e.  ZZ )
30 nn0cn 9991 . . . . . . . . . . . 12  |-  ( N  e.  NN0  ->  N  e.  CC )
31 zcn 10045 . . . . . . . . . . . 12  |-  ( j  e.  ZZ  ->  j  e.  CC )
32 subcl 9067 . . . . . . . . . . . 12  |-  ( ( N  e.  CC  /\  j  e.  CC )  ->  ( N  -  j
)  e.  CC )
3330, 31, 32syl2an 463 . . . . . . . . . . 11  |-  ( ( N  e.  NN0  /\  j  e.  ZZ )  ->  ( N  -  j
)  e.  CC )
3427, 29, 33syl2anc 642 . . . . . . . . . 10  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  ( N  -  j )  e.  CC )
35 addid2 9011 . . . . . . . . . 10  |-  ( ( N  -  j )  e.  CC  ->  (
0  +  ( N  -  j ) )  =  ( N  -  j ) )
3634, 35syl 15 . . . . . . . . 9  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  (
0  +  ( N  -  j ) )  =  ( N  -  j ) )
3736oveq1d 5889 . . . . . . . 8  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  (
( 0  +  ( N  -  j ) )  -  n )  =  ( ( N  -  j )  -  n ) )
3837csbeq1d 3100 . . . . . . 7  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  [_ (
( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
3938sumeq2dv 12192 . . . . . 6  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  sum_ n  e.  ( 0 ... ( N  -  j )
) [_ ( ( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B  =  sum_ n  e.  ( 0 ... ( N  -  j
) ) [_ (
( N  -  j
)  -  n )  /  x ]_ B
)
4025, 39eqtrd 2328 . . . . 5  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  sum_ k  e.  ( 0 ... ( N  -  j )
) [_ k  /  x ]_ B  =  sum_ n  e.  ( 0 ... ( N  -  j
) ) [_ (
( N  -  j
)  -  n )  /  x ]_ B
)
4140sumeq2dv 12192 . . . 4  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ k  e.  ( 0 ... ( N  -  j ) )
[_ k  /  x ]_ B  =  sum_ j  e.  ( 0 ... N ) sum_ n  e.  ( 0 ... ( N  -  j
) ) [_ (
( N  -  j
)  -  n )  /  x ]_ B
)
42 elfz3nn0 10839 . . . . . . . . . 10  |-  ( n  e.  ( 0 ... N )  ->  N  e.  NN0 )
4342adantl 452 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  N  e.  NN0 )
44 addid2 9011 . . . . . . . . 9  |-  ( N  e.  CC  ->  (
0  +  N )  =  N )
4543, 30, 443syl 18 . . . . . . . 8  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0  +  N )  =  N )
4645oveq1d 5889 . . . . . . 7  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
( 0  +  N
)  -  n )  =  ( N  -  n ) )
4746oveq2d 5890 . . . . . 6  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0 ... ( ( 0  +  N )  -  n ) )  =  ( 0 ... ( N  -  n )
) )
4846oveq1d 5889 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  n )  -  j ) )
4948adantr 451 . . . . . . . 8  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  n )  -  j ) )
5042ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  N  e.  NN0 )
51 elfzelz 10814 . . . . . . . . . 10  |-  ( n  e.  ( 0 ... N )  ->  n  e.  ZZ )
5251ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  n  e.  ZZ )
53 elfzelz 10814 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... ( N  -  n
) )  ->  j  e.  ZZ )
5453adantl 452 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  j  e.  ZZ )
55 zcn 10045 . . . . . . . . . 10  |-  ( n  e.  ZZ  ->  n  e.  CC )
56 sub32 9097 . . . . . . . . . 10  |-  ( ( N  e.  CC  /\  n  e.  CC  /\  j  e.  CC )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5730, 55, 31, 56syl3an 1224 . . . . . . . . 9  |-  ( ( N  e.  NN0  /\  n  e.  ZZ  /\  j  e.  ZZ )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5850, 52, 54, 57syl3anc 1182 . . . . . . . 8  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5949, 58eqtrd 2328 . . . . . . 7  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
6059csbeq1d 3100 . . . . . 6  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  [_ (
( ( 0  +  N )  -  n
)  -  j )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
6147, 60sumeq12rdv 12196 . . . . 5  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  sum_ j  e.  ( 0 ... (
( 0  +  N
)  -  n ) ) [_ ( ( ( 0  +  N
)  -  n )  -  j )  /  x ]_ B  =  sum_ j  e.  ( 0 ... ( N  -  n ) ) [_ ( ( N  -  j )  -  n
)  /  x ]_ B )
6261sumeq2dv 12192 . . . 4  |-  ( ph  -> 
sum_ n  e.  (
0 ... N ) sum_ j  e.  ( 0 ... ( ( 0  +  N )  -  n ) ) [_ ( ( ( 0  +  N )  -  n )  -  j
)  /  x ]_ B  =  sum_ n  e.  ( 0 ... N
) sum_ j  e.  ( 0 ... ( N  -  n ) )
[_ ( ( N  -  j )  -  n )  /  x ]_ B )
6317, 41, 623eqtr4d 2338 . . 3  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ k  e.  ( 0 ... ( N  -  j ) )
[_ k  /  x ]_ B  =  sum_ n  e.  ( 0 ... N ) sum_ j  e.  ( 0 ... (
( 0  +  N
)  -  n ) ) [_ ( ( ( 0  +  N
)  -  n )  -  j )  /  x ]_ B )
64 fzfid 11051 . . . . 5  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
0 ... k )  e. 
Fin )
65 elfzuz3 10811 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... k )  ->  k  e.  ( ZZ>= `  j )
)
6665adantl 452 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ( ZZ>= `  j )
)
67 elfzuz3 10811 . . . . . . . . . . 11  |-  ( k  e.  ( 0 ... N )  ->  N  e.  ( ZZ>= `  k )
)
6867adantl 452 . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  N  e.  ( ZZ>= `  k )
)
6968adantr 451 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  N  e.  ( ZZ>= `  k )
)
70 elfzuzb 10808 . . . . . . . . 9  |-  ( k  e.  ( j ... N )  <->  ( k  e.  ( ZZ>= `  j )  /\  N  e.  ( ZZ>=
`  k ) ) )
7166, 69, 70sylanbrc 645 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ( j ... N
) )
72 elfzelz 10814 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... k )  ->  j  e.  ZZ )
7372adantl 452 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  j  e.  ZZ )
74 elfzel2 10812 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... N )  ->  N  e.  ZZ )
7574ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  N  e.  ZZ )
76 elfzelz 10814 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... N )  ->  k  e.  ZZ )
7776ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ZZ )
78 fzsubel 10843 . . . . . . . . 9  |-  ( ( ( j  e.  ZZ  /\  N  e.  ZZ )  /\  ( k  e.  ZZ  /\  j  e.  ZZ ) )  -> 
( k  e.  ( j ... N )  <-> 
( k  -  j
)  e.  ( ( j  -  j ) ... ( N  -  j ) ) ) )
7973, 75, 77, 73, 78syl22anc 1183 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  e.  ( j ... N )  <->  ( k  -  j )  e.  ( ( j  -  j ) ... ( N  -  j )
) ) )
8071, 79mpbid 201 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  -  j )  e.  ( ( j  -  j ) ... ( N  -  j
) ) )
81 subid 9083 . . . . . . . . 9  |-  ( j  e.  CC  ->  (
j  -  j )  =  0 )
8273, 31, 813syl 18 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
j  -  j )  =  0 )
8382oveq1d 5889 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
( j  -  j
) ... ( N  -  j ) )  =  ( 0 ... ( N  -  j )
) )
8480, 83eleqtrd 2372 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  -  j )  e.  ( 0 ... ( N  -  j
) ) )
85 simpll 730 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  ph )
86 fzss2 10847 . . . . . . . . 9  |-  ( N  e.  ( ZZ>= `  k
)  ->  ( 0 ... k )  C_  ( 0 ... N
) )
8768, 86syl 15 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
0 ... k )  C_  ( 0 ... N
) )
8887sselda 3193 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  j  e.  ( 0 ... N
) )
8985, 88, 9syl2anc 642 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  A. x  e.  ( 0 ... ( N  -  j )
) B  e.  CC )
90 nfcsb1v 3126 . . . . . . . 8  |-  F/_ x [_ ( k  -  j
)  /  x ]_ B
9190nfel1 2442 . . . . . . 7  |-  F/ x [_ ( k  -  j
)  /  x ]_ B  e.  CC
92 csbeq1a 3102 . . . . . . . 8  |-  ( x  =  ( k  -  j )  ->  B  =  [_ ( k  -  j )  /  x ]_ B )
9392eleq1d 2362 . . . . . . 7  |-  ( x  =  ( k  -  j )  ->  ( B  e.  CC  <->  [_ ( k  -  j )  /  x ]_ B  e.  CC ) )
9491, 93rspc 2891 . . . . . 6  |-  ( ( k  -  j )  e.  ( 0 ... ( N  -  j
) )  ->  ( A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC  ->  [_ (
k  -  j )  /  x ]_ B  e.  CC ) )
9584, 89, 94sylc 56 . . . . 5  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  [_ (
k  -  j )  /  x ]_ B  e.  CC )
9664, 95fsumcl 12222 . . . 4  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  e.  CC )
97 oveq2 5882 . . . . 5  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
0 ... k )  =  ( 0 ... (
( 0  +  N
)  -  n ) ) )
98 oveq1 5881 . . . . . . 7  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
k  -  j )  =  ( ( ( 0  +  N )  -  n )  -  j ) )
9998csbeq1d 3100 . . . . . 6  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  [_ (
k  -  j )  /  x ]_ B  =  [_ ( ( ( 0  +  N )  -  n )  -  j )  /  x ]_ B )
10099adantr 451 . . . . 5  |-  ( ( k  =  ( ( 0  +  N )  -  n )  /\  j  e.  ( 0 ... k ) )  ->  [_ ( k  -  j )  /  x ]_ B  =  [_ (
( ( 0  +  N )  -  n
)  -  j )  /  x ]_ B
)
10197, 100sumeq12dv 12195 . . . 4  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  =  sum_ j  e.  ( 0 ... ( ( 0  +  N )  -  n ) ) [_ ( ( ( 0  +  N )  -  n )  -  j
)  /  x ]_ B )
10296, 101fsumrev2 12260 . . 3  |-  ( ph  -> 
sum_ k  e.  ( 0 ... N )
sum_ j  e.  ( 0 ... k )
[_ ( k  -  j )  /  x ]_ B  =  sum_ n  e.  ( 0 ... N ) sum_ j  e.  ( 0 ... (
( 0  +  N
)  -  n ) ) [_ ( ( ( 0  +  N
)  -  n )  -  j )  /  x ]_ B )
10363, 102eqtr4d 2331 . 2  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ k  e.  ( 0 ... ( N  -  j ) )
[_ k  /  x ]_ B  =  sum_ k  e.  ( 0 ... N ) sum_ j  e.  ( 0 ... k ) [_ ( k  -  j
)  /  x ]_ B )
104 vex 2804 . . . . . 6  |-  k  e. 
_V
105 nfcv 2432 . . . . . 6  |-  F/_ x A
106104, 105, 6csbief 3135 . . . . 5  |-  [_ k  /  x ]_ B  =  A
107106a1i 10 . . . 4  |-  ( ( j  e.  ( 0 ... N )  /\  k  e.  ( 0 ... ( N  -  j ) ) )  ->  [_ k  /  x ]_ B  =  A
)
108107sumeq2dv 12192 . . 3  |-  ( j  e.  ( 0 ... N )  ->  sum_ k  e.  ( 0 ... ( N  -  j )
) [_ k  /  x ]_ B  =  sum_ k  e.  ( 0 ... ( N  -  j ) ) A )
109108sumeq2i 12188 . 2  |-  sum_ j  e.  ( 0 ... N
) sum_ k  e.  ( 0 ... ( N  -  j ) )
[_ k  /  x ]_ B  =  sum_ j  e.  ( 0 ... N ) sum_ k  e.  ( 0 ... ( N  -  j ) ) A
110 ovex 5899 . . . . . 6  |-  ( k  -  j )  e. 
_V
111 nfcv 2432 . . . . . 6  |-  F/_ x C
112 fsum0diag2.2 . . . . . 6  |-  ( x  =  ( k  -  j )  ->  B  =  C )
113110, 111, 112csbief 3135 . . . . 5  |-  [_ (
k  -  j )  /  x ]_ B  =  C
114113a1i 10 . . . 4  |-  ( ( k  e.  ( 0 ... N )  /\  j  e.  ( 0 ... k ) )  ->  [_ ( k  -  j )  /  x ]_ B  =  C
)
115114sumeq2dv 12192 . . 3  |-  ( k  e.  ( 0 ... N )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  =  sum_ j  e.  ( 0 ... k ) C )
116115sumeq2i 12188 . 2  |-  sum_ k  e.  ( 0 ... N
) sum_ j  e.  ( 0 ... k )
[_ ( k  -  j )  /  x ]_ B  =  sum_ k  e.  ( 0 ... N ) sum_ j  e.  ( 0 ... k ) C
117103, 109, 1163eqtr3g 2351 1  |-  ( ph  -> 
sum_ j  e.  ( 0 ... N )
sum_ k  e.  ( 0 ... ( N  -  j ) ) A  =  sum_ k  e.  ( 0 ... N
) sum_ j  e.  ( 0 ... k ) C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696   A.wral 2556   [_csb 3094    C_ wss 3165   ` cfv 5271  (class class class)co 5874   CCcc 8751   0cc0 8753    + caddc 8756    - cmin 9053   NN0cn0 9981   ZZcz 10040   ZZ>=cuz 10246   ...cfz 10798   sum_csu 12174
This theorem is referenced by:  mertens  12358  plymullem1  19612
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
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-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-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-sup 7210  df-oi 7241  df-card 7588  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-n0 9982  df-z 10041  df-uz 10247  df-rp 10371  df-fz 10799  df-fzo 10887  df-seq 11063  df-exp 11121  df-hash 11354  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-clim 11978  df-sum 12175
  Copyright terms: Public domain W3C validator