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

Theorem fsum0diag2 12245
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 10825 . . . . . . 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 2625 . . . . . . . 8  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  A. k  e.  ( 0 ... ( N  -  j )
) A  e.  CC )
6 fsum0diag2.1 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  A )
76eleq1d 2349 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  A  e.  CC ) )
87cbvralv 2764 . . . . . . . 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 3113 . . . . . . . 8  |-  F/_ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B
1211nfel1 2429 . . . . . . 7  |-  F/ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B  e.  CC
13 csbeq1a 3089 . . . . . . . 8  |-  ( x  =  ( ( N  -  j )  -  n )  ->  B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
1413eleq1d 2349 . . . . . . 7  |-  ( x  =  ( ( N  -  j )  -  n )  ->  ( B  e.  CC  <->  [_ ( ( N  -  j )  -  n )  /  x ]_ B  e.  CC ) )
1512, 14rspc 2878 . . . . . 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 12240 . . . 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 3113 . . . . . . . . . 10  |-  F/_ x [_ k  /  x ]_ B
1918nfel1 2429 . . . . . . . . 9  |-  F/ x [_ k  /  x ]_ B  e.  CC
20 csbeq1a 3089 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  [_ k  /  x ]_ B )
2120eleq1d 2349 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  [_ k  /  x ]_ B  e.  CC ) )
2219, 21rspc 2878 . . . . . . . 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 3084 . . . . . . 7  |-  ( k  =  ( ( 0  +  ( N  -  j ) )  -  n )  ->  [_ k  /  x ]_ B  = 
[_ ( ( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B )
2523, 24fsumrev2 12244 . . . . . 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 10823 . . . . . . . . . . . 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 10798 . . . . . . . . . . . 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 9975 . . . . . . . . . . . 12  |-  ( N  e.  NN0  ->  N  e.  CC )
31 zcn 10029 . . . . . . . . . . . 12  |-  ( j  e.  ZZ  ->  j  e.  CC )
32 subcl 9051 . . . . . . . . . . . 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 8995 . . . . . . . . . 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 5873 . . . . . . . 8  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  (
( 0  +  ( N  -  j ) )  -  n )  =  ( ( N  -  j )  -  n ) )
3837csbeq1d 3087 . . . . . . 7  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  [_ (
( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
3938sumeq2dv 12176 . . . . . 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 2315 . . . . 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 12176 . . . 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 10823 . . . . . . . . . 10  |-  ( n  e.  ( 0 ... N )  ->  N  e.  NN0 )
4342adantl 452 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  N  e.  NN0 )
44 addid2 8995 . . . . . . . . 9  |-  ( N  e.  CC  ->  (
0  +  N )  =  N )
4543, 30, 443syl 18 . . . . . . . 8  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0  +  N )  =  N )
4645oveq1d 5873 . . . . . . 7  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
( 0  +  N
)  -  n )  =  ( N  -  n ) )
4746oveq2d 5874 . . . . . 6  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0 ... ( ( 0  +  N )  -  n ) )  =  ( 0 ... ( N  -  n )
) )
4846oveq1d 5873 . . . . . . . . 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 10798 . . . . . . . . . 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 10798 . . . . . . . . . 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 10029 . . . . . . . . . 10  |-  ( n  e.  ZZ  ->  n  e.  CC )
56 sub32 9081 . . . . . . . . . 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 2315 . . . . . . 7  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
6059csbeq1d 3087 . . . . . 6  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  [_ (
( ( 0  +  N )  -  n
)  -  j )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
6147, 60sumeq12rdv 12180 . . . . 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 12176 . . . 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 2325 . . 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 11035 . . . . 5  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
0 ... k )  e. 
Fin )
65 elfzuz3 10795 . . . . . . . . . 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 10795 . . . . . . . . . . 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 10792 . . . . . . . . 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 10798 . . . . . . . . . 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 10796 . . . . . . . . . 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 10798 . . . . . . . . . 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 10827 . . . . . . . . 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 9067 . . . . . . . . 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 5873 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
( j  -  j
) ... ( N  -  j ) )  =  ( 0 ... ( N  -  j )
) )
8480, 83eleqtrd 2359 . . . . . 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 10831 . . . . . . . . 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 3180 . . . . . . 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 3113 . . . . . . . 8  |-  F/_ x [_ ( k  -  j
)  /  x ]_ B
9190nfel1 2429 . . . . . . 7  |-  F/ x [_ ( k  -  j
)  /  x ]_ B  e.  CC
92 csbeq1a 3089 . . . . . . . 8  |-  ( x  =  ( k  -  j )  ->  B  =  [_ ( k  -  j )  /  x ]_ B )
9392eleq1d 2349 . . . . . . 7  |-  ( x  =  ( k  -  j )  ->  ( B  e.  CC  <->  [_ ( k  -  j )  /  x ]_ B  e.  CC ) )
9491, 93rspc 2878 . . . . . 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 12206 . . . 4  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  e.  CC )
97 oveq2 5866 . . . . 5  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
0 ... k )  =  ( 0 ... (
( 0  +  N
)  -  n ) ) )
98 oveq1 5865 . . . . . . 7  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
k  -  j )  =  ( ( ( 0  +  N )  -  n )  -  j ) )
9998csbeq1d 3087 . . . . . 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 12179 . . . 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 12244 . . 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 2318 . 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 2791 . . . . . 6  |-  k  e. 
_V
105 nfcv 2419 . . . . . 6  |-  F/_ x A
106104, 105, 6csbief 3122 . . . . 5  |-  [_ k  /  x ]_ B  =  A
107106a1i 10 . . . 4  |-  ( ( j  e.  ( 0 ... N )  /\  k  e.  ( 0 ... ( N  -  j ) ) )  ->  [_ k  /  x ]_ B  =  A
)
108107sumeq2dv 12176 . . 3  |-  ( j  e.  ( 0 ... N )  ->  sum_ k  e.  ( 0 ... ( N  -  j )
) [_ k  /  x ]_ B  =  sum_ k  e.  ( 0 ... ( N  -  j ) ) A )
109108sumeq2i 12172 . 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 5883 . . . . . 6  |-  ( k  -  j )  e. 
_V
111 nfcv 2419 . . . . . 6  |-  F/_ x C
112 fsum0diag2.2 . . . . . 6  |-  ( x  =  ( k  -  j )  ->  B  =  C )
113110, 111, 112csbief 3122 . . . . 5  |-  [_ (
k  -  j )  /  x ]_ B  =  C
114113a1i 10 . . . 4  |-  ( ( k  e.  ( 0 ... N )  /\  j  e.  ( 0 ... k ) )  ->  [_ ( k  -  j )  /  x ]_ B  =  C
)
115114sumeq2dv 12176 . . 3  |-  ( k  e.  ( 0 ... N )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  =  sum_ j  e.  ( 0 ... k ) C )
116115sumeq2i 12172 . 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 2338 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 1623    e. wcel 1684   A.wral 2543   [_csb 3081    C_ wss 3152   ` cfv 5255  (class class class)co 5858   CCcc 8735   0cc0 8737    + caddc 8740    - cmin 9037   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230   ...cfz 10782   sum_csu 12158
This theorem is referenced by:  mertens  12342  plymullem1  19596
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
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-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-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-oi 7225  df-card 7572  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-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-fz 10783  df-fzo 10871  df-seq 11047  df-exp 11105  df-hash 11338  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-clim 11962  df-sum 12159
  Copyright terms: Public domain W3C validator