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

Theorem fsum0diag2 12558
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 11078 . . . . . . 7  |-  ( n  e.  ( 0 ... ( N  -  j
) )  ->  (
( N  -  j
)  -  n )  e.  ( 0 ... ( N  -  j
) ) )
21ad2antll 710 . . . . . 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 599 . . . . . . . . 9  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  (
k  e.  ( 0 ... ( N  -  j ) )  ->  A  e.  CC )
)
54ralrimiv 2780 . . . . . . . 8  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  A. k  e.  ( 0 ... ( N  -  j )
) A  e.  CC )
6 fsum0diag2.1 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  A )
76eleq1d 2501 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  A  e.  CC ) )
87cbvralv 2924 . . . . . . . 8  |-  ( A. x  e.  ( 0 ... ( N  -  j ) ) B  e.  CC  <->  A. k  e.  ( 0 ... ( N  -  j )
) A  e.  CC )
95, 8sylibr 204 . . . . . . 7  |-  ( (
ph  /\  j  e.  ( 0 ... N
) )  ->  A. x  e.  ( 0 ... ( N  -  j )
) B  e.  CC )
109adantrr 698 . . . . . 6  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  n  e.  ( 0 ... ( N  -  j )
) ) )  ->  A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC )
11 nfcsb1v 3275 . . . . . . . 8  |-  F/_ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B
1211nfel1 2581 . . . . . . 7  |-  F/ x [_ ( ( N  -  j )  -  n
)  /  x ]_ B  e.  CC
13 csbeq1a 3251 . . . . . . . 8  |-  ( x  =  ( ( N  -  j )  -  n )  ->  B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
1413eleq1d 2501 . . . . . . 7  |-  ( x  =  ( ( N  -  j )  -  n )  ->  ( B  e.  CC  <->  [_ ( ( N  -  j )  -  n )  /  x ]_ B  e.  CC ) )
1512, 14rspc 3038 . . . . . 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 58 . . . . 5  |-  ( (
ph  /\  ( j  e.  ( 0 ... N
)  /\  n  e.  ( 0 ... ( N  -  j )
) ) )  ->  [_ ( ( N  -  j )  -  n
)  /  x ]_ B  e.  CC )
1716fsum0diag 12553 . . . 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 3275 . . . . . . . . . 10  |-  F/_ x [_ k  /  x ]_ B
1918nfel1 2581 . . . . . . . . 9  |-  F/ x [_ k  /  x ]_ B  e.  CC
20 csbeq1a 3251 . . . . . . . . . 10  |-  ( x  =  k  ->  B  =  [_ k  /  x ]_ B )
2120eleq1d 2501 . . . . . . . . 9  |-  ( x  =  k  ->  ( B  e.  CC  <->  [_ k  /  x ]_ B  e.  CC ) )
2219, 21rspc 3038 . . . . . . . 8  |-  ( k  e.  ( 0 ... ( N  -  j
) )  ->  ( A. x  e.  (
0 ... ( N  -  j ) ) B  e.  CC  ->  [_ k  /  x ]_ B  e.  CC ) )
239, 22mpan9 456 . . . . . . 7  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  k  e.  ( 0 ... ( N  -  j )
) )  ->  [_ k  /  x ]_ B  e.  CC )
24 csbeq1 3246 . . . . . . 7  |-  ( k  =  ( ( 0  +  ( N  -  j ) )  -  n )  ->  [_ k  /  x ]_ B  = 
[_ ( ( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B )
2523, 24fsumrev2 12557 . . . . . 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 11076 . . . . . . . . . . . 12  |-  ( j  e.  ( 0 ... N )  ->  N  e.  NN0 )
2726ad2antlr 708 . . . . . . . . . . 11  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  N  e.  NN0 )
28 elfzelz 11051 . . . . . . . . . . . 12  |-  ( j  e.  ( 0 ... N )  ->  j  e.  ZZ )
2928ad2antlr 708 . . . . . . . . . . 11  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  j  e.  ZZ )
30 nn0cn 10223 . . . . . . . . . . . 12  |-  ( N  e.  NN0  ->  N  e.  CC )
31 zcn 10279 . . . . . . . . . . . 12  |-  ( j  e.  ZZ  ->  j  e.  CC )
32 subcl 9297 . . . . . . . . . . . 12  |-  ( ( N  e.  CC  /\  j  e.  CC )  ->  ( N  -  j
)  e.  CC )
3330, 31, 32syl2an 464 . . . . . . . . . . 11  |-  ( ( N  e.  NN0  /\  j  e.  ZZ )  ->  ( N  -  j
)  e.  CC )
3427, 29, 33syl2anc 643 . . . . . . . . . 10  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  ( N  -  j )  e.  CC )
35 addid2 9241 . . . . . . . . . 10  |-  ( ( N  -  j )  e.  CC  ->  (
0  +  ( N  -  j ) )  =  ( N  -  j ) )
3634, 35syl 16 . . . . . . . . 9  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  (
0  +  ( N  -  j ) )  =  ( N  -  j ) )
3736oveq1d 6088 . . . . . . . 8  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  (
( 0  +  ( N  -  j ) )  -  n )  =  ( ( N  -  j )  -  n ) )
3837csbeq1d 3249 . . . . . . 7  |-  ( ( ( ph  /\  j  e.  ( 0 ... N
) )  /\  n  e.  ( 0 ... ( N  -  j )
) )  ->  [_ (
( 0  +  ( N  -  j ) )  -  n )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
3938sumeq2dv 12489 . . . . . 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 2467 . . . . 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 12489 . . . 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 11076 . . . . . . . . . 10  |-  ( n  e.  ( 0 ... N )  ->  N  e.  NN0 )
4342adantl 453 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  N  e.  NN0 )
44 addid2 9241 . . . . . . . . 9  |-  ( N  e.  CC  ->  (
0  +  N )  =  N )
4543, 30, 443syl 19 . . . . . . . 8  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0  +  N )  =  N )
4645oveq1d 6088 . . . . . . 7  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
( 0  +  N
)  -  n )  =  ( N  -  n ) )
4746oveq2d 6089 . . . . . 6  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
0 ... ( ( 0  +  N )  -  n ) )  =  ( 0 ... ( N  -  n )
) )
4846oveq1d 6088 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  ( 0 ... N
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  n )  -  j ) )
4948adantr 452 . . . . . . . 8  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  n )  -  j ) )
5042ad2antlr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  N  e.  NN0 )
51 elfzelz 11051 . . . . . . . . . 10  |-  ( n  e.  ( 0 ... N )  ->  n  e.  ZZ )
5251ad2antlr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  n  e.  ZZ )
53 elfzelz 11051 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... ( N  -  n
) )  ->  j  e.  ZZ )
5453adantl 453 . . . . . . . . 9  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  j  e.  ZZ )
55 zcn 10279 . . . . . . . . . 10  |-  ( n  e.  ZZ  ->  n  e.  CC )
56 sub32 9327 . . . . . . . . . 10  |-  ( ( N  e.  CC  /\  n  e.  CC  /\  j  e.  CC )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5730, 55, 31, 56syl3an 1226 . . . . . . . . 9  |-  ( ( N  e.  NN0  /\  n  e.  ZZ  /\  j  e.  ZZ )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5850, 52, 54, 57syl3anc 1184 . . . . . . . 8  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( N  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
5949, 58eqtrd 2467 . . . . . . 7  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  (
( ( 0  +  N )  -  n
)  -  j )  =  ( ( N  -  j )  -  n ) )
6059csbeq1d 3249 . . . . . 6  |-  ( ( ( ph  /\  n  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... ( N  -  n )
) )  ->  [_ (
( ( 0  +  N )  -  n
)  -  j )  /  x ]_ B  =  [_ ( ( N  -  j )  -  n )  /  x ]_ B )
6147, 60sumeq12rdv 12493 . . . . 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 12489 . . . 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 2477 . . 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 11304 . . . . 5  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
0 ... k )  e. 
Fin )
65 elfzuz3 11048 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... k )  ->  k  e.  ( ZZ>= `  j )
)
6665adantl 453 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ( ZZ>= `  j )
)
67 elfzuz3 11048 . . . . . . . . . . 11  |-  ( k  e.  ( 0 ... N )  ->  N  e.  ( ZZ>= `  k )
)
6867adantl 453 . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  N  e.  ( ZZ>= `  k )
)
6968adantr 452 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  N  e.  ( ZZ>= `  k )
)
70 elfzuzb 11045 . . . . . . . . 9  |-  ( k  e.  ( j ... N )  <->  ( k  e.  ( ZZ>= `  j )  /\  N  e.  ( ZZ>=
`  k ) ) )
7166, 69, 70sylanbrc 646 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ( j ... N
) )
72 elfzelz 11051 . . . . . . . . . 10  |-  ( j  e.  ( 0 ... k )  ->  j  e.  ZZ )
7372adantl 453 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  j  e.  ZZ )
74 elfzel2 11049 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... N )  ->  N  e.  ZZ )
7574ad2antlr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  N  e.  ZZ )
76 elfzelz 11051 . . . . . . . . . 10  |-  ( k  e.  ( 0 ... N )  ->  k  e.  ZZ )
7776ad2antlr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  k  e.  ZZ )
78 fzsubel 11080 . . . . . . . . 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 1185 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  e.  ( j ... N )  <->  ( k  -  j )  e.  ( ( j  -  j ) ... ( N  -  j )
) ) )
8071, 79mpbid 202 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  -  j )  e.  ( ( j  -  j ) ... ( N  -  j
) ) )
81 subid 9313 . . . . . . . . 9  |-  ( j  e.  CC  ->  (
j  -  j )  =  0 )
8273, 31, 813syl 19 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
j  -  j )  =  0 )
8382oveq1d 6088 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
( j  -  j
) ... ( N  -  j ) )  =  ( 0 ... ( N  -  j )
) )
8480, 83eleqtrd 2511 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  (
k  -  j )  e.  ( 0 ... ( N  -  j
) ) )
85 simpll 731 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  ph )
86 fzss2 11084 . . . . . . . . 9  |-  ( N  e.  ( ZZ>= `  k
)  ->  ( 0 ... k )  C_  ( 0 ... N
) )
8768, 86syl 16 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  (
0 ... k )  C_  ( 0 ... N
) )
8887sselda 3340 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  j  e.  ( 0 ... N
) )
8985, 88, 9syl2anc 643 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  A. x  e.  ( 0 ... ( N  -  j )
) B  e.  CC )
90 nfcsb1v 3275 . . . . . . . 8  |-  F/_ x [_ ( k  -  j
)  /  x ]_ B
9190nfel1 2581 . . . . . . 7  |-  F/ x [_ ( k  -  j
)  /  x ]_ B  e.  CC
92 csbeq1a 3251 . . . . . . . 8  |-  ( x  =  ( k  -  j )  ->  B  =  [_ ( k  -  j )  /  x ]_ B )
9392eleq1d 2501 . . . . . . 7  |-  ( x  =  ( k  -  j )  ->  ( B  e.  CC  <->  [_ ( k  -  j )  /  x ]_ B  e.  CC ) )
9491, 93rspc 3038 . . . . . 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 58 . . . . 5  |-  ( ( ( ph  /\  k  e.  ( 0 ... N
) )  /\  j  e.  ( 0 ... k
) )  ->  [_ (
k  -  j )  /  x ]_ B  e.  CC )
9664, 95fsumcl 12519 . . . 4  |-  ( (
ph  /\  k  e.  ( 0 ... N
) )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  e.  CC )
97 oveq2 6081 . . . . 5  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
0 ... k )  =  ( 0 ... (
( 0  +  N
)  -  n ) ) )
98 oveq1 6080 . . . . . . 7  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  (
k  -  j )  =  ( ( ( 0  +  N )  -  n )  -  j ) )
9998csbeq1d 3249 . . . . . 6  |-  ( k  =  ( ( 0  +  N )  -  n )  ->  [_ (
k  -  j )  /  x ]_ B  =  [_ ( ( ( 0  +  N )  -  n )  -  j )  /  x ]_ B )
10099adantr 452 . . . . 5  |-  ( ( k  =  ( ( 0  +  N )  -  n )  /\  j  e.  ( 0 ... k ) )  ->  [_ ( k  -  j )  /  x ]_ B  =  [_ (
( ( 0  +  N )  -  n
)  -  j )  /  x ]_ B
)
10197, 100sumeq12dv 12492 . . . 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 12557 . . 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 2470 . 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 2951 . . . . . 6  |-  k  e. 
_V
105 nfcv 2571 . . . . . 6  |-  F/_ x A
106104, 105, 6csbief 3284 . . . . 5  |-  [_ k  /  x ]_ B  =  A
107106a1i 11 . . . 4  |-  ( ( j  e.  ( 0 ... N )  /\  k  e.  ( 0 ... ( N  -  j ) ) )  ->  [_ k  /  x ]_ B  =  A
)
108107sumeq2dv 12489 . . 3  |-  ( j  e.  ( 0 ... N )  ->  sum_ k  e.  ( 0 ... ( N  -  j )
) [_ k  /  x ]_ B  =  sum_ k  e.  ( 0 ... ( N  -  j ) ) A )
109108sumeq2i 12485 . 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 6098 . . . . . 6  |-  ( k  -  j )  e. 
_V
111 nfcv 2571 . . . . . 6  |-  F/_ x C
112 fsum0diag2.2 . . . . . 6  |-  ( x  =  ( k  -  j )  ->  B  =  C )
113110, 111, 112csbief 3284 . . . . 5  |-  [_ (
k  -  j )  /  x ]_ B  =  C
114113a1i 11 . . . 4  |-  ( ( k  e.  ( 0 ... N )  /\  j  e.  ( 0 ... k ) )  ->  [_ ( k  -  j )  /  x ]_ B  =  C
)
115114sumeq2dv 12489 . . 3  |-  ( k  e.  ( 0 ... N )  ->  sum_ j  e.  ( 0 ... k
) [_ ( k  -  j )  /  x ]_ B  =  sum_ j  e.  ( 0 ... k ) C )
116115sumeq2i 12485 . 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 2490 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 177    /\ wa 359    = wceq 1652    e. wcel 1725   A.wral 2697   [_csb 3243    C_ wss 3312   ` cfv 5446  (class class class)co 6073   CCcc 8980   0cc0 8982    + caddc 8985    - cmin 9283   NN0cn0 10213   ZZcz 10274   ZZ>=cuz 10480   ...cfz 11035   sum_csu 12471
This theorem is referenced by:  mertens  12655  plymullem1  20125
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-inf2 7588  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059  ax-pre-sup 9060
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-se 4534  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-isom 5455  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-oadd 6720  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-sup 7438  df-oi 7471  df-card 7818  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-div 9670  df-nn 9993  df-2 10050  df-3 10051  df-n0 10214  df-z 10275  df-uz 10481  df-rp 10605  df-fz 11036  df-fzo 11128  df-seq 11316  df-exp 11375  df-hash 11611  df-cj 11896  df-re 11897  df-im 11898  df-sqr 12032  df-abs 12033  df-clim 12274  df-sum 12472
  Copyright terms: Public domain W3C validator