ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fisumcom2 Unicode version

Theorem fisumcom2 11379
Description: Interchange order of summation. Note that  B ( j ) and 
D ( k ) are not necessarily constant expressions. (Contributed by Mario Carneiro, 28-Apr-2014.) (Revised by Mario Carneiro, 8-Apr-2016.) (Proof shortened by JJ, 2-Aug-2021.)
Hypotheses
Ref Expression
fsumcom2.1  |-  ( ph  ->  A  e.  Fin )
fsumcom2.2  |-  ( ph  ->  C  e.  Fin )
fsumcom2.3  |-  ( (
ph  /\  j  e.  A )  ->  B  e.  Fin )
fisumcom2.fi  |-  ( (
ph  /\  k  e.  C )  ->  D  e.  Fin )
fsumcom2.4  |-  ( ph  ->  ( ( j  e.  A  /\  k  e.  B )  <->  ( k  e.  C  /\  j  e.  D ) ) )
fsumcom2.5  |-  ( (
ph  /\  ( j  e.  A  /\  k  e.  B ) )  ->  E  e.  CC )
Assertion
Ref Expression
fisumcom2  |-  ( ph  -> 
sum_ j  e.  A  sum_ k  e.  B  E  =  sum_ k  e.  C  sum_ j  e.  D  E
)
Distinct variable groups:    j, k, A    C, j, k    ph, j,
k    B, k    D, j
Allowed substitution hints:    B( j)    D( k)    E( j, k)

Proof of Theorem fisumcom2
Dummy variables  m  n  x  y  z  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 4713 . . . . . . . . 9  |-  Rel  ( { j }  X.  B )
21rgenw 2521 . . . . . . . 8  |-  A. j  e.  A  Rel  ( { j }  X.  B
)
3 reliun 4725 . . . . . . . 8  |-  ( Rel  U_ j  e.  A  ( { j }  X.  B )  <->  A. j  e.  A  Rel  ( { j }  X.  B
) )
42, 3mpbir 145 . . . . . . 7  |-  Rel  U_ j  e.  A  ( {
j }  X.  B
)
5 relcnv 4982 . . . . . . 7  |-  Rel  `' U_ k  e.  C  ( { k }  X.  D )
6 ancom 264 . . . . . . . . . . . 12  |-  ( ( x  =  j  /\  y  =  k )  <->  ( y  =  k  /\  x  =  j )
)
7 vex 2729 . . . . . . . . . . . . 13  |-  x  e. 
_V
8 vex 2729 . . . . . . . . . . . . 13  |-  y  e. 
_V
97, 8opth 4215 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  =  <. j ,  k
>. 
<->  ( x  =  j  /\  y  =  k ) )
108, 7opth 4215 . . . . . . . . . . . 12  |-  ( <.
y ,  x >.  = 
<. k ,  j >.  <->  ( y  =  k  /\  x  =  j )
)
116, 9, 103bitr4i 211 . . . . . . . . . . 11  |-  ( <.
x ,  y >.  =  <. j ,  k
>. 
<-> 
<. y ,  x >.  = 
<. k ,  j >.
)
1211a1i 9 . . . . . . . . . 10  |-  ( ph  ->  ( <. x ,  y
>.  =  <. j ,  k >.  <->  <. y ,  x >.  =  <. k ,  j
>. ) )
13 fsumcom2.4 . . . . . . . . . 10  |-  ( ph  ->  ( ( j  e.  A  /\  k  e.  B )  <->  ( k  e.  C  /\  j  e.  D ) ) )
1412, 13anbi12d 465 . . . . . . . . 9  |-  ( ph  ->  ( ( <. x ,  y >.  =  <. j ,  k >.  /\  (
j  e.  A  /\  k  e.  B )
)  <->  ( <. y ,  x >.  =  <. k ,  j >.  /\  (
k  e.  C  /\  j  e.  D )
) ) )
15142exbidv 1856 . . . . . . . 8  |-  ( ph  ->  ( E. j E. k ( <. x ,  y >.  =  <. j ,  k >.  /\  (
j  e.  A  /\  k  e.  B )
)  <->  E. j E. k
( <. y ,  x >.  =  <. k ,  j
>.  /\  ( k  e.  C  /\  j  e.  D ) ) ) )
16 eliunxp 4743 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  U_ j  e.  A  ( { j }  X.  B )  <->  E. j E. k ( <. x ,  y >.  =  <. j ,  k >.  /\  (
j  e.  A  /\  k  e.  B )
) )
177, 8opelcnv 4786 . . . . . . . . 9  |-  ( <.
x ,  y >.  e.  `' U_ k  e.  C  ( { k }  X.  D )  <->  <. y ,  x >.  e.  U_ k  e.  C  ( {
k }  X.  D
) )
18 eliunxp 4743 . . . . . . . . 9  |-  ( <.
y ,  x >.  e. 
U_ k  e.  C  ( { k }  X.  D )  <->  E. k E. j ( <. y ,  x >.  =  <. k ,  j >.  /\  (
k  e.  C  /\  j  e.  D )
) )
19 excom 1652 . . . . . . . . 9  |-  ( E. k E. j (
<. y ,  x >.  = 
<. k ,  j >.  /\  ( k  e.  C  /\  j  e.  D
) )  <->  E. j E. k ( <. y ,  x >.  =  <. k ,  j >.  /\  (
k  e.  C  /\  j  e.  D )
) )
2017, 18, 193bitri 205 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  `' U_ k  e.  C  ( { k }  X.  D )  <->  E. j E. k ( <. y ,  x >.  =  <. k ,  j >.  /\  (
k  e.  C  /\  j  e.  D )
) )
2115, 16, 203bitr4g 222 . . . . . . 7  |-  ( ph  ->  ( <. x ,  y
>.  e.  U_ j  e.  A  ( { j }  X.  B )  <->  <. x ,  y >.  e.  `' U_ k  e.  C  ( { k }  X.  D ) ) )
224, 5, 21eqrelrdv 4700 . . . . . 6  |-  ( ph  ->  U_ j  e.  A  ( { j }  X.  B )  =  `' U_ k  e.  C  ( { k }  X.  D ) )
23 nfcv 2308 . . . . . . 7  |-  F/_ m
( { j }  X.  B )
24 nfcv 2308 . . . . . . . 8  |-  F/_ j { m }
25 nfcsb1v 3078 . . . . . . . 8  |-  F/_ j [_ m  /  j ]_ B
2624, 25nfxp 4631 . . . . . . 7  |-  F/_ j
( { m }  X.  [_ m  /  j ]_ B )
27 sneq 3587 . . . . . . . 8  |-  ( j  =  m  ->  { j }  =  { m } )
28 csbeq1a 3054 . . . . . . . 8  |-  ( j  =  m  ->  B  =  [_ m  /  j ]_ B )
2927, 28xpeq12d 4629 . . . . . . 7  |-  ( j  =  m  ->  ( { j }  X.  B )  =  ( { m }  X.  [_ m  /  j ]_ B ) )
3023, 26, 29cbviun 3903 . . . . . 6  |-  U_ j  e.  A  ( {
j }  X.  B
)  =  U_ m  e.  A  ( {
m }  X.  [_ m  /  j ]_ B
)
31 nfcv 2308 . . . . . . . 8  |-  F/_ n
( { k }  X.  D )
32 nfcv 2308 . . . . . . . . 9  |-  F/_ k { n }
33 nfcsb1v 3078 . . . . . . . . 9  |-  F/_ k [_ n  /  k ]_ D
3432, 33nfxp 4631 . . . . . . . 8  |-  F/_ k
( { n }  X.  [_ n  /  k ]_ D )
35 sneq 3587 . . . . . . . . 9  |-  ( k  =  n  ->  { k }  =  { n } )
36 csbeq1a 3054 . . . . . . . . 9  |-  ( k  =  n  ->  D  =  [_ n  /  k ]_ D )
3735, 36xpeq12d 4629 . . . . . . . 8  |-  ( k  =  n  ->  ( { k }  X.  D )  =  ( { n }  X.  [_ n  /  k ]_ D ) )
3831, 34, 37cbviun 3903 . . . . . . 7  |-  U_ k  e.  C  ( {
k }  X.  D
)  =  U_ n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
)
3938cnveqi 4779 . . . . . 6  |-  `' U_ k  e.  C  ( { k }  X.  D )  =  `' U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )
4022, 30, 393eqtr3g 2222 . . . . 5  |-  ( ph  ->  U_ m  e.  A  ( { m }  X.  [_ m  /  j ]_ B )  =  `' U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )
4140sumeq1d 11307 . . . 4  |-  ( ph  -> 
sum_ z  e.  U_  m  e.  A  ( { m }  X.  [_ m  /  j ]_ B ) [_ ( 2nd `  z )  / 
k ]_ [_ ( 1st `  z )  /  j ]_ E  =  sum_ z  e.  `'  U_ n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
) [_ ( 2nd `  z
)  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E )
42 vex 2729 . . . . . . . 8  |-  n  e. 
_V
43 vex 2729 . . . . . . . 8  |-  m  e. 
_V
4442, 43op1std 6116 . . . . . . 7  |-  ( w  =  <. n ,  m >.  ->  ( 1st `  w
)  =  n )
4544csbeq1d 3052 . . . . . 6  |-  ( w  =  <. n ,  m >.  ->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ ( 2nd `  w )  /  j ]_ E )
4642, 43op2ndd 6117 . . . . . . . 8  |-  ( w  =  <. n ,  m >.  ->  ( 2nd `  w
)  =  m )
4746csbeq1d 3052 . . . . . . 7  |-  ( w  =  <. n ,  m >.  ->  [_ ( 2nd `  w
)  /  j ]_ E  =  [_ m  / 
j ]_ E )
4847csbeq2dv 3071 . . . . . 6  |-  ( w  =  <. n ,  m >.  ->  [_ n  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
4945, 48eqtrd 2198 . . . . 5  |-  ( w  =  <. n ,  m >.  ->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
5043, 42op2ndd 6117 . . . . . . 7  |-  ( z  =  <. m ,  n >.  ->  ( 2nd `  z
)  =  n )
5150csbeq1d 3052 . . . . . 6  |-  ( z  =  <. m ,  n >.  ->  [_ ( 2nd `  z
)  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ ( 1st `  z )  /  j ]_ E )
5243, 42op1std 6116 . . . . . . . 8  |-  ( z  =  <. m ,  n >.  ->  ( 1st `  z
)  =  m )
5352csbeq1d 3052 . . . . . . 7  |-  ( z  =  <. m ,  n >.  ->  [_ ( 1st `  z
)  /  j ]_ E  =  [_ m  / 
j ]_ E )
5453csbeq2dv 3071 . . . . . 6  |-  ( z  =  <. m ,  n >.  ->  [_ n  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
5551, 54eqtrd 2198 . . . . 5  |-  ( z  =  <. m ,  n >.  ->  [_ ( 2nd `  z
)  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
56 fsumcom2.2 . . . . . 6  |-  ( ph  ->  C  e.  Fin )
57 snfig 6780 . . . . . . . . 9  |-  ( n  e.  _V  ->  { n }  e.  Fin )
5857elv 2730 . . . . . . . 8  |-  { n }  e.  Fin
59 fisumcom2.fi . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  C )  ->  D  e.  Fin )
6059ralrimiva 2539 . . . . . . . . 9  |-  ( ph  ->  A. k  e.  C  D  e.  Fin )
6133nfel1 2319 . . . . . . . . . 10  |-  F/ k
[_ n  /  k ]_ D  e.  Fin
6236eleq1d 2235 . . . . . . . . . 10  |-  ( k  =  n  ->  ( D  e.  Fin  <->  [_ n  / 
k ]_ D  e.  Fin ) )
6361, 62rspc 2824 . . . . . . . . 9  |-  ( n  e.  C  ->  ( A. k  e.  C  D  e.  Fin  ->  [_ n  /  k ]_ D  e.  Fin ) )
6460, 63mpan9 279 . . . . . . . 8  |-  ( (
ph  /\  n  e.  C )  ->  [_ n  /  k ]_ D  e.  Fin )
65 xpfi 6895 . . . . . . . 8  |-  ( ( { n }  e.  Fin  /\  [_ n  / 
k ]_ D  e.  Fin )  ->  ( { n }  X.  [_ n  / 
k ]_ D )  e. 
Fin )
6658, 64, 65sylancr 411 . . . . . . 7  |-  ( (
ph  /\  n  e.  C )  ->  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin )
6766ralrimiva 2539 . . . . . 6  |-  ( ph  ->  A. n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin )
68 disjsnxp 6205 . . . . . . 7  |- Disj  n  e.  C  ( { n }  X.  [_ n  / 
k ]_ D )
6968a1i 9 . . . . . 6  |-  ( ph  -> Disj  n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )
70 iunfidisj 6911 . . . . . 6  |-  ( ( C  e.  Fin  /\  A. n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin  /\ Disj  n  e.  C  ( { n }  X.  [_ n  /  k ]_ D
) )  ->  U_ n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
)  e.  Fin )
7156, 67, 69, 70syl3anc 1228 . . . . 5  |-  ( ph  ->  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin )
72 reliun 4725 . . . . . . 7  |-  ( Rel  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  <->  A. n  e.  C  Rel  ( { n }  X.  [_ n  /  k ]_ D
) )
73 relxp 4713 . . . . . . . 8  |-  Rel  ( { n }  X.  [_ n  /  k ]_ D )
7473a1i 9 . . . . . . 7  |-  ( n  e.  C  ->  Rel  ( { n }  X.  [_ n  /  k ]_ D ) )
7572, 74mprgbir 2524 . . . . . 6  |-  Rel  U_ n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
)
7675a1i 9 . . . . 5  |-  ( ph  ->  Rel  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )
77 csbeq1 3048 . . . . . . . 8  |-  ( m  =  ( 2nd `  w
)  ->  [_ m  / 
j ]_ E  =  [_ ( 2nd `  w )  /  j ]_ E
)
7877csbeq2dv 3071 . . . . . . 7  |-  ( m  =  ( 2nd `  w
)  ->  [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E  =  [_ ( 1st `  w )  / 
k ]_ [_ ( 2nd `  w )  /  j ]_ E )
7978eleq1d 2235 . . . . . 6  |-  ( m  =  ( 2nd `  w
)  ->  ( [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E  e.  CC  <->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  e.  CC )
)
80 csbeq1 3048 . . . . . . . 8  |-  ( n  =  ( 1st `  w
)  ->  [_ n  / 
k ]_ D  =  [_ ( 1st `  w )  /  k ]_ D
)
81 csbeq1 3048 . . . . . . . . 9  |-  ( n  =  ( 1st `  w
)  ->  [_ n  / 
k ]_ [_ m  / 
j ]_ E  =  [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E
)
8281eleq1d 2235 . . . . . . . 8  |-  ( n  =  ( 1st `  w
)  ->  ( [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC  <->  [_ ( 1st `  w
)  /  k ]_ [_ m  /  j ]_ E  e.  CC )
)
8380, 82raleqbidv 2673 . . . . . . 7  |-  ( n  =  ( 1st `  w
)  ->  ( A. m  e.  [_  n  / 
k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC  <->  A. m  e.  [_  ( 1st `  w )  /  k ]_ D [_ ( 1st `  w
)  /  k ]_ [_ m  /  j ]_ E  e.  CC )
)
84 simpl 108 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  ph )
8543, 42opelcnv 4786 . . . . . . . . . . . . . . 15  |-  ( <.
m ,  n >.  e.  `' U_ k  e.  C  ( { k }  X.  D )  <->  <. n ,  m >.  e.  U_ k  e.  C  ( {
k }  X.  D
) )
8633, 36opeliunxp2f 6206 . . . . . . . . . . . . . . 15  |-  ( <.
n ,  m >.  e. 
U_ k  e.  C  ( { k }  X.  D )  <->  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )
8785, 86sylbbr 135 . . . . . . . . . . . . . 14  |-  ( ( n  e.  C  /\  m  e.  [_ n  / 
k ]_ D )  ->  <. m ,  n >.  e.  `' U_ k  e.  C  ( { k }  X.  D ) )
8887adantl 275 . . . . . . . . . . . . 13  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  <. m ,  n >.  e.  `' U_ k  e.  C  ( { k }  X.  D ) )
8922adantr 274 . . . . . . . . . . . . 13  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  U_ j  e.  A  ( { j }  X.  B )  =  `' U_ k  e.  C  ( { k }  X.  D ) )
9088, 89eleqtrrd 2246 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  <. m ,  n >.  e. 
U_ j  e.  A  ( { j }  X.  B ) )
91 eliun 3870 . . . . . . . . . . . 12  |-  ( <.
m ,  n >.  e. 
U_ j  e.  A  ( { j }  X.  B )  <->  E. j  e.  A  <. m ,  n >.  e.  ( { j }  X.  B ) )
9290, 91sylib 121 . . . . . . . . . . 11  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  E. j  e.  A  <. m ,  n >.  e.  ( { j }  X.  B ) )
93 simpr 109 . . . . . . . . . . . . . . . 16  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  <. m ,  n >.  e.  ( { j }  X.  B ) )
94 opelxp 4634 . . . . . . . . . . . . . . . 16  |-  ( <.
m ,  n >.  e.  ( { j }  X.  B )  <->  ( m  e.  { j }  /\  n  e.  B )
)
9593, 94sylib 121 . . . . . . . . . . . . . . 15  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  ( m  e. 
{ j }  /\  n  e.  B )
)
9695simpld 111 . . . . . . . . . . . . . 14  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  m  e.  {
j } )
97 elsni 3594 . . . . . . . . . . . . . 14  |-  ( m  e.  { j }  ->  m  =  j )
9896, 97syl 14 . . . . . . . . . . . . 13  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  m  =  j )
99 simpl 108 . . . . . . . . . . . . 13  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  j  e.  A
)
10098, 99eqeltrd 2243 . . . . . . . . . . . 12  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  m  e.  A
)
101100rexlimiva 2578 . . . . . . . . . . 11  |-  ( E. j  e.  A  <. m ,  n >.  e.  ( { j }  X.  B )  ->  m  e.  A )
10292, 101syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  m  e.  A )
10325nfcri 2302 . . . . . . . . . . . 12  |-  F/ j  n  e.  [_ m  /  j ]_ B
10497equcomd 1695 . . . . . . . . . . . . . . . . 17  |-  ( m  e.  { j }  ->  j  =  m )
105104, 28syl 14 . . . . . . . . . . . . . . . 16  |-  ( m  e.  { j }  ->  B  =  [_ m  /  j ]_ B
)
106105eleq2d 2236 . . . . . . . . . . . . . . 15  |-  ( m  e.  { j }  ->  ( n  e.  B  <->  n  e.  [_ m  /  j ]_ B
) )
107106biimpa 294 . . . . . . . . . . . . . 14  |-  ( ( m  e.  { j }  /\  n  e.  B )  ->  n  e.  [_ m  /  j ]_ B )
10894, 107sylbi 120 . . . . . . . . . . . . 13  |-  ( <.
m ,  n >.  e.  ( { j }  X.  B )  ->  n  e.  [_ m  / 
j ]_ B )
109108a1i 9 . . . . . . . . . . . 12  |-  ( j  e.  A  ->  ( <. m ,  n >.  e.  ( { j }  X.  B )  ->  n  e.  [_ m  / 
j ]_ B ) )
110103, 109rexlimi 2576 . . . . . . . . . . 11  |-  ( E. j  e.  A  <. m ,  n >.  e.  ( { j }  X.  B )  ->  n  e.  [_ m  /  j ]_ B )
11192, 110syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  n  e.  [_ m  / 
j ]_ B )
112 fsumcom2.5 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  ( j  e.  A  /\  k  e.  B ) )  ->  E  e.  CC )
113112ralrimivva 2548 . . . . . . . . . . . . 13  |-  ( ph  ->  A. j  e.  A  A. k  e.  B  E  e.  CC )
114 nfcsb1v 3078 . . . . . . . . . . . . . . . 16  |-  F/_ j [_ m  /  j ]_ E
115114nfel1 2319 . . . . . . . . . . . . . . 15  |-  F/ j
[_ m  /  j ]_ E  e.  CC
11625, 115nfralxy 2504 . . . . . . . . . . . . . 14  |-  F/ j A. k  e.  [_  m  /  j ]_ B [_ m  /  j ]_ E  e.  CC
117 csbeq1a 3054 . . . . . . . . . . . . . . . 16  |-  ( j  =  m  ->  E  =  [_ m  /  j ]_ E )
118117eleq1d 2235 . . . . . . . . . . . . . . 15  |-  ( j  =  m  ->  ( E  e.  CC  <->  [_ m  / 
j ]_ E  e.  CC ) )
11928, 118raleqbidv 2673 . . . . . . . . . . . . . 14  |-  ( j  =  m  ->  ( A. k  e.  B  E  e.  CC  <->  A. k  e.  [_  m  /  j ]_ B [_ m  / 
j ]_ E  e.  CC ) )
120116, 119rspc 2824 . . . . . . . . . . . . 13  |-  ( m  e.  A  ->  ( A. j  e.  A  A. k  e.  B  E  e.  CC  ->  A. k  e.  [_  m  /  j ]_ B [_ m  /  j ]_ E  e.  CC ) )
121113, 120mpan9 279 . . . . . . . . . . . 12  |-  ( (
ph  /\  m  e.  A )  ->  A. k  e.  [_  m  /  j ]_ B [_ m  / 
j ]_ E  e.  CC )
122 nfcsb1v 3078 . . . . . . . . . . . . . 14  |-  F/_ k [_ n  /  k ]_ [_ m  /  j ]_ E
123122nfel1 2319 . . . . . . . . . . . . 13  |-  F/ k
[_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC
124 csbeq1a 3054 . . . . . . . . . . . . . 14  |-  ( k  =  n  ->  [_ m  /  j ]_ E  =  [_ n  /  k ]_ [_ m  /  j ]_ E )
125124eleq1d 2235 . . . . . . . . . . . . 13  |-  ( k  =  n  ->  ( [_ m  /  j ]_ E  e.  CC  <->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
)
126123, 125rspc 2824 . . . . . . . . . . . 12  |-  ( n  e.  [_ m  / 
j ]_ B  ->  ( A. k  e.  [_  m  /  j ]_ B [_ m  /  j ]_ E  e.  CC  ->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC ) )
127121, 126syl5com 29 . . . . . . . . . . 11  |-  ( (
ph  /\  m  e.  A )  ->  (
n  e.  [_ m  /  j ]_ B  ->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC ) )
128127impr 377 . . . . . . . . . 10  |-  ( (
ph  /\  ( m  e.  A  /\  n  e.  [_ m  /  j ]_ B ) )  ->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
12984, 102, 111, 128syl12anc 1226 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
130129ralrimivva 2548 . . . . . . . 8  |-  ( ph  ->  A. n  e.  C  A. m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
131130adantr 274 . . . . . . 7  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  ->  A. n  e.  C  A. m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
132 simpr 109 . . . . . . . . 9  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  ->  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  / 
k ]_ D ) )
133 eliun 3870 . . . . . . . . 9  |-  ( w  e.  U_ n  e.  C  ( { n }  X.  [_ n  / 
k ]_ D )  <->  E. n  e.  C  w  e.  ( { n }  X.  [_ n  /  k ]_ D ) )
134132, 133sylib 121 . . . . . . . 8  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  ->  E. n  e.  C  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )
135 xp1st 6133 . . . . . . . . . . . 12  |-  ( w  e.  ( { n }  X.  [_ n  / 
k ]_ D )  -> 
( 1st `  w
)  e.  { n } )
136135adantl 275 . . . . . . . . . . 11  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 1st `  w )  e. 
{ n } )
137 elsni 3594 . . . . . . . . . . 11  |-  ( ( 1st `  w )  e.  { n }  ->  ( 1st `  w
)  =  n )
138136, 137syl 14 . . . . . . . . . 10  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 1st `  w )  =  n )
139 simpl 108 . . . . . . . . . 10  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  n  e.  C )
140138, 139eqeltrd 2243 . . . . . . . . 9  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 1st `  w )  e.  C )
141140rexlimiva 2578 . . . . . . . 8  |-  ( E. n  e.  C  w  e.  ( { n }  X.  [_ n  / 
k ]_ D )  -> 
( 1st `  w
)  e.  C )
142134, 141syl 14 . . . . . . 7  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  -> 
( 1st `  w
)  e.  C )
14383, 131, 142rspcdva 2835 . . . . . 6  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  ->  A. m  e.  [_  ( 1st `  w )  / 
k ]_ D [_ ( 1st `  w )  / 
k ]_ [_ m  / 
j ]_ E  e.  CC )
144 xp2nd 6134 . . . . . . . . . 10  |-  ( w  e.  ( { n }  X.  [_ n  / 
k ]_ D )  -> 
( 2nd `  w
)  e.  [_ n  /  k ]_ D
)
145144adantl 275 . . . . . . . . 9  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 2nd `  w )  e. 
[_ n  /  k ]_ D )
146138csbeq1d 3052 . . . . . . . . 9  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  [_ ( 1st `  w )  / 
k ]_ D  =  [_ n  /  k ]_ D
)
147145, 146eleqtrrd 2246 . . . . . . . 8  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 2nd `  w )  e. 
[_ ( 1st `  w
)  /  k ]_ D )
148147rexlimiva 2578 . . . . . . 7  |-  ( E. n  e.  C  w  e.  ( { n }  X.  [_ n  / 
k ]_ D )  -> 
( 2nd `  w
)  e.  [_ ( 1st `  w )  / 
k ]_ D )
149134, 148syl 14 . . . . . 6  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  -> 
( 2nd `  w
)  e.  [_ ( 1st `  w )  / 
k ]_ D )
15079, 143, 149rspcdva 2835 . . . . 5  |-  ( (
ph  /\  w  e.  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )  ->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  e.  CC )
15149, 55, 71, 76, 150fsumcnv 11378 . . . 4  |-  ( ph  -> 
sum_ w  e.  U_  n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
) [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  sum_ z  e.  `'  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) [_ ( 2nd `  z )  / 
k ]_ [_ ( 1st `  z )  /  j ]_ E )
15241, 151eqtr4d 2201 . . 3  |-  ( ph  -> 
sum_ z  e.  U_  m  e.  A  ( { m }  X.  [_ m  /  j ]_ B ) [_ ( 2nd `  z )  / 
k ]_ [_ ( 1st `  z )  /  j ]_ E  =  sum_ w  e.  U_  n  e.  C  ( { n }  X.  [_ n  / 
k ]_ D ) [_ ( 1st `  w )  /  k ]_ [_ ( 2nd `  w )  / 
j ]_ E )
153 fsumcom2.1 . . . 4  |-  ( ph  ->  A  e.  Fin )
154 fsumcom2.3 . . . . . 6  |-  ( (
ph  /\  j  e.  A )  ->  B  e.  Fin )
155154ralrimiva 2539 . . . . 5  |-  ( ph  ->  A. j  e.  A  B  e.  Fin )
15625nfel1 2319 . . . . . 6  |-  F/ j
[_ m  /  j ]_ B  e.  Fin
15728eleq1d 2235 . . . . . 6  |-  ( j  =  m  ->  ( B  e.  Fin  <->  [_ m  / 
j ]_ B  e.  Fin ) )
158156, 157rspc 2824 . . . . 5  |-  ( m  e.  A  ->  ( A. j  e.  A  B  e.  Fin  ->  [_ m  /  j ]_ B  e.  Fin ) )
159155, 158mpan9 279 . . . 4  |-  ( (
ph  /\  m  e.  A )  ->  [_ m  /  j ]_ B  e.  Fin )
16055, 153, 159, 128fsum2d 11376 . . 3  |-  ( ph  -> 
sum_ m  e.  A  sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E  =  sum_ z  e.  U_  m  e.  A  ( { m }  X.  [_ m  / 
j ]_ B ) [_ ( 2nd `  z )  /  k ]_ [_ ( 1st `  z )  / 
j ]_ E )
16149, 56, 64, 129fsum2d 11376 . . 3  |-  ( ph  -> 
sum_ n  e.  C  sum_ m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E  =  sum_ w  e.  U_  n  e.  C  ( { n }  X.  [_ n  / 
k ]_ D ) [_ ( 1st `  w )  /  k ]_ [_ ( 2nd `  w )  / 
j ]_ E )
162152, 160, 1613eqtr4d 2208 . 2  |-  ( ph  -> 
sum_ m  e.  A  sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E  =  sum_ n  e.  C  sum_ m  e.  [_  n  /  k ]_ D [_ n  / 
k ]_ [_ m  / 
j ]_ E )
163 nfcv 2308 . . 3  |-  F/_ m sum_ k  e.  B  E
164 nfcv 2308 . . . . 5  |-  F/_ j
n
165164, 114nfcsb 3082 . . . 4  |-  F/_ j [_ n  /  k ]_ [_ m  /  j ]_ E
16625, 165nfsum 11298 . . 3  |-  F/_ j sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E
167 nfcv 2308 . . . . 5  |-  F/_ n E
168 nfcsb1v 3078 . . . . 5  |-  F/_ k [_ n  /  k ]_ E
169 csbeq1a 3054 . . . . 5  |-  ( k  =  n  ->  E  =  [_ n  /  k ]_ E )
170167, 168, 169cbvsumi 11303 . . . 4  |-  sum_ k  e.  B  E  =  sum_ n  e.  B  [_ n  /  k ]_ E
171117csbeq2dv 3071 . . . . . 6  |-  ( j  =  m  ->  [_ n  /  k ]_ E  =  [_ n  /  k ]_ [_ m  /  j ]_ E )
172171adantr 274 . . . . 5  |-  ( ( j  =  m  /\  n  e.  B )  ->  [_ n  /  k ]_ E  =  [_ n  /  k ]_ [_ m  /  j ]_ E
)
17328, 172sumeq12dv 11313 . . . 4  |-  ( j  =  m  ->  sum_ n  e.  B  [_ n  / 
k ]_ E  =  sum_ n  e.  [_  m  / 
j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E
)
174170, 173syl5eq 2211 . . 3  |-  ( j  =  m  ->  sum_ k  e.  B  E  =  sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E )
175163, 166, 174cbvsumi 11303 . 2  |-  sum_ j  e.  A  sum_ k  e.  B  E  =  sum_ m  e.  A  sum_ n  e.  [_  m  /  j ]_ B [_ n  / 
k ]_ [_ m  / 
j ]_ E
176 nfcv 2308 . . 3  |-  F/_ n sum_ j  e.  D  E
17733, 122nfsum 11298 . . 3  |-  F/_ k sum_ m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E
178 nfcv 2308 . . . . 5  |-  F/_ m E
179178, 114, 117cbvsumi 11303 . . . 4  |-  sum_ j  e.  D  E  =  sum_ m  e.  D  [_ m  /  j ]_ E
180124adantr 274 . . . . 5  |-  ( ( k  =  n  /\  m  e.  D )  ->  [_ m  /  j ]_ E  =  [_ n  /  k ]_ [_ m  /  j ]_ E
)
18136, 180sumeq12dv 11313 . . . 4  |-  ( k  =  n  ->  sum_ m  e.  D  [_ m  / 
j ]_ E  =  sum_ m  e.  [_  n  / 
k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E
)
182179, 181syl5eq 2211 . . 3  |-  ( k  =  n  ->  sum_ j  e.  D  E  =  sum_ m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E )
183176, 177, 182cbvsumi 11303 . 2  |-  sum_ k  e.  C  sum_ j  e.  D  E  =  sum_ n  e.  C  sum_ m  e.  [_  n  /  k ]_ D [_ n  / 
k ]_ [_ m  / 
j ]_ E
184162, 175, 1833eqtr4g 2224 1  |-  ( ph  -> 
sum_ j  e.  A  sum_ k  e.  B  E  =  sum_ k  e.  C  sum_ j  e.  D  E
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343   E.wex 1480    e. wcel 2136   A.wral 2444   E.wrex 2445   _Vcvv 2726   [_csb 3045   {csn 3576   <.cop 3579   U_ciun 3866  Disj wdisj 3959    X. cxp 4602   `'ccnv 4603   Rel wrel 4609   ` cfv 5188   1stc1st 6106   2ndc2nd 6107   Fincfn 6706   CCcc 7751   sum_csu 11294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871  ax-arch 7872  ax-caucvg 7873
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-disj 3960  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-isom 5197  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-irdg 6338  df-frec 6359  df-1o 6384  df-oadd 6388  df-er 6501  df-en 6707  df-dom 6708  df-fin 6709  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-3 8917  df-4 8918  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-fz 9945  df-fzo 10078  df-seqfrec 10381  df-exp 10455  df-ihash 10689  df-cj 10784  df-re 10785  df-im 10786  df-rsqrt 10940  df-abs 10941  df-clim 11220  df-sumdc 11295
This theorem is referenced by:  fsumcom  11380  fisum0diag  11382
  Copyright terms: Public domain W3C validator