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

Theorem fisumcom2 11346
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 4697 . . . . . . . . 9  |-  Rel  ( { j }  X.  B )
21rgenw 2512 . . . . . . . 8  |-  A. j  e.  A  Rel  ( { j }  X.  B
)
3 reliun 4709 . . . . . . . 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 4966 . . . . . . 7  |-  Rel  `' U_ k  e.  C  ( { k }  X.  D )
6 ancom 264 . . . . . . . . . . . 12  |-  ( ( x  =  j  /\  y  =  k )  <->  ( y  =  k  /\  x  =  j )
)
7 vex 2715 . . . . . . . . . . . . 13  |-  x  e. 
_V
8 vex 2715 . . . . . . . . . . . . 13  |-  y  e. 
_V
97, 8opth 4199 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  =  <. j ,  k
>. 
<->  ( x  =  j  /\  y  =  k ) )
108, 7opth 4199 . . . . . . . . . . . 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 1848 . . . . . . . 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 4727 . . . . . . . 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 4770 . . . . . . . . 9  |-  ( <.
x ,  y >.  e.  `' U_ k  e.  C  ( { k }  X.  D )  <->  <. y ,  x >.  e.  U_ k  e.  C  ( {
k }  X.  D
) )
18 eliunxp 4727 . . . . . . . . 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 1644 . . . . . . . . 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 4684 . . . . . 6  |-  ( ph  ->  U_ j  e.  A  ( { j }  X.  B )  =  `' U_ k  e.  C  ( { k }  X.  D ) )
23 nfcv 2299 . . . . . . 7  |-  F/_ m
( { j }  X.  B )
24 nfcv 2299 . . . . . . . 8  |-  F/_ j { m }
25 nfcsb1v 3064 . . . . . . . 8  |-  F/_ j [_ m  /  j ]_ B
2624, 25nfxp 4615 . . . . . . 7  |-  F/_ j
( { m }  X.  [_ m  /  j ]_ B )
27 sneq 3572 . . . . . . . 8  |-  ( j  =  m  ->  { j }  =  { m } )
28 csbeq1a 3040 . . . . . . . 8  |-  ( j  =  m  ->  B  =  [_ m  /  j ]_ B )
2927, 28xpeq12d 4613 . . . . . . 7  |-  ( j  =  m  ->  ( { j }  X.  B )  =  ( { m }  X.  [_ m  /  j ]_ B ) )
3023, 26, 29cbviun 3888 . . . . . 6  |-  U_ j  e.  A  ( {
j }  X.  B
)  =  U_ m  e.  A  ( {
m }  X.  [_ m  /  j ]_ B
)
31 nfcv 2299 . . . . . . . 8  |-  F/_ n
( { k }  X.  D )
32 nfcv 2299 . . . . . . . . 9  |-  F/_ k { n }
33 nfcsb1v 3064 . . . . . . . . 9  |-  F/_ k [_ n  /  k ]_ D
3432, 33nfxp 4615 . . . . . . . 8  |-  F/_ k
( { n }  X.  [_ n  /  k ]_ D )
35 sneq 3572 . . . . . . . . 9  |-  ( k  =  n  ->  { k }  =  { n } )
36 csbeq1a 3040 . . . . . . . . 9  |-  ( k  =  n  ->  D  =  [_ n  /  k ]_ D )
3735, 36xpeq12d 4613 . . . . . . . 8  |-  ( k  =  n  ->  ( { k }  X.  D )  =  ( { n }  X.  [_ n  /  k ]_ D ) )
3831, 34, 37cbviun 3888 . . . . . . 7  |-  U_ k  e.  C  ( {
k }  X.  D
)  =  U_ n  e.  C  ( {
n }  X.  [_ n  /  k ]_ D
)
3938cnveqi 4763 . . . . . 6  |-  `' U_ k  e.  C  ( { k }  X.  D )  =  `' U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )
4022, 30, 393eqtr3g 2213 . . . . 5  |-  ( ph  ->  U_ m  e.  A  ( { m }  X.  [_ m  /  j ]_ B )  =  `' U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D ) )
4140sumeq1d 11274 . . . 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 2715 . . . . . . . 8  |-  n  e. 
_V
43 vex 2715 . . . . . . . 8  |-  m  e. 
_V
4442, 43op1std 6098 . . . . . . 7  |-  ( w  =  <. n ,  m >.  ->  ( 1st `  w
)  =  n )
4544csbeq1d 3038 . . . . . 6  |-  ( w  =  <. n ,  m >.  ->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ ( 2nd `  w )  /  j ]_ E )
4642, 43op2ndd 6099 . . . . . . . 8  |-  ( w  =  <. n ,  m >.  ->  ( 2nd `  w
)  =  m )
4746csbeq1d 3038 . . . . . . 7  |-  ( w  =  <. n ,  m >.  ->  [_ ( 2nd `  w
)  /  j ]_ E  =  [_ m  / 
j ]_ E )
4847csbeq2dv 3057 . . . . . 6  |-  ( w  =  <. n ,  m >.  ->  [_ n  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
4945, 48eqtrd 2190 . . . . 5  |-  ( w  =  <. n ,  m >.  ->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
5043, 42op2ndd 6099 . . . . . . 7  |-  ( z  =  <. m ,  n >.  ->  ( 2nd `  z
)  =  n )
5150csbeq1d 3038 . . . . . 6  |-  ( z  =  <. m ,  n >.  ->  [_ ( 2nd `  z
)  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ ( 1st `  z )  /  j ]_ E )
5243, 42op1std 6098 . . . . . . . 8  |-  ( z  =  <. m ,  n >.  ->  ( 1st `  z
)  =  m )
5352csbeq1d 3038 . . . . . . 7  |-  ( z  =  <. m ,  n >.  ->  [_ ( 1st `  z
)  /  j ]_ E  =  [_ m  / 
j ]_ E )
5453csbeq2dv 3057 . . . . . 6  |-  ( z  =  <. m ,  n >.  ->  [_ n  /  k ]_ [_ ( 1st `  z
)  /  j ]_ E  =  [_ n  / 
k ]_ [_ m  / 
j ]_ E )
5551, 54eqtrd 2190 . . . . 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 6761 . . . . . . . . 9  |-  ( n  e.  _V  ->  { n }  e.  Fin )
5857elv 2716 . . . . . . . 8  |-  { n }  e.  Fin
59 fisumcom2.fi . . . . . . . . . 10  |-  ( (
ph  /\  k  e.  C )  ->  D  e.  Fin )
6059ralrimiva 2530 . . . . . . . . 9  |-  ( ph  ->  A. k  e.  C  D  e.  Fin )
6133nfel1 2310 . . . . . . . . . 10  |-  F/ k
[_ n  /  k ]_ D  e.  Fin
6236eleq1d 2226 . . . . . . . . . 10  |-  ( k  =  n  ->  ( D  e.  Fin  <->  [_ n  / 
k ]_ D  e.  Fin ) )
6361, 62rspc 2810 . . . . . . . . 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 6876 . . . . . . . 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 2530 . . . . . 6  |-  ( ph  ->  A. n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin )
68 disjsnxp 6186 . . . . . . 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 6892 . . . . . 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 1220 . . . . 5  |-  ( ph  ->  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  e.  Fin )
72 reliun 4709 . . . . . . 7  |-  ( Rel  U_ n  e.  C  ( { n }  X.  [_ n  /  k ]_ D )  <->  A. n  e.  C  Rel  ( { n }  X.  [_ n  /  k ]_ D
) )
73 relxp 4697 . . . . . . . 8  |-  Rel  ( { n }  X.  [_ n  /  k ]_ D )
7473a1i 9 . . . . . . 7  |-  ( n  e.  C  ->  Rel  ( { n }  X.  [_ n  /  k ]_ D ) )
7572, 74mprgbir 2515 . . . . . 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 3034 . . . . . . . 8  |-  ( m  =  ( 2nd `  w
)  ->  [_ m  / 
j ]_ E  =  [_ ( 2nd `  w )  /  j ]_ E
)
7877csbeq2dv 3057 . . . . . . 7  |-  ( m  =  ( 2nd `  w
)  ->  [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E  =  [_ ( 1st `  w )  / 
k ]_ [_ ( 2nd `  w )  /  j ]_ E )
7978eleq1d 2226 . . . . . 6  |-  ( m  =  ( 2nd `  w
)  ->  ( [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E  e.  CC  <->  [_ ( 1st `  w
)  /  k ]_ [_ ( 2nd `  w
)  /  j ]_ E  e.  CC )
)
80 csbeq1 3034 . . . . . . . 8  |-  ( n  =  ( 1st `  w
)  ->  [_ n  / 
k ]_ D  =  [_ ( 1st `  w )  /  k ]_ D
)
81 csbeq1 3034 . . . . . . . . 9  |-  ( n  =  ( 1st `  w
)  ->  [_ n  / 
k ]_ [_ m  / 
j ]_ E  =  [_ ( 1st `  w )  /  k ]_ [_ m  /  j ]_ E
)
8281eleq1d 2226 . . . . . . . 8  |-  ( n  =  ( 1st `  w
)  ->  ( [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC  <->  [_ ( 1st `  w
)  /  k ]_ [_ m  /  j ]_ E  e.  CC )
)
8380, 82raleqbidv 2664 . . . . . . 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 4770 . . . . . . . . . . . . . . 15  |-  ( <.
m ,  n >.  e.  `' U_ k  e.  C  ( { k }  X.  D )  <->  <. n ,  m >.  e.  U_ k  e.  C  ( {
k }  X.  D
) )
8633, 36opeliunxp2f 6187 . . . . . . . . . . . . . . 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 2237 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  <. m ,  n >.  e. 
U_ j  e.  A  ( { j }  X.  B ) )
91 eliun 3855 . . . . . . . . . . . 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 4618 . . . . . . . . . . . . . . . 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 3579 . . . . . . . . . . . . . 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 2234 . . . . . . . . . . . 12  |-  ( ( j  e.  A  /\  <.
m ,  n >.  e.  ( { j }  X.  B ) )  ->  m  e.  A
)
101100rexlimiva 2569 . . . . . . . . . . 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 2293 . . . . . . . . . . . 12  |-  F/ j  n  e.  [_ m  /  j ]_ B
10497equcomd 1687 . . . . . . . . . . . . . . . . 17  |-  ( m  e.  { j }  ->  j  =  m )
105104, 28syl 14 . . . . . . . . . . . . . . . 16  |-  ( m  e.  { j }  ->  B  =  [_ m  /  j ]_ B
)
106105eleq2d 2227 . . . . . . . . . . . . . . 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 2567 . . . . . . . . . . 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 2539 . . . . . . . . . . . . 13  |-  ( ph  ->  A. j  e.  A  A. k  e.  B  E  e.  CC )
114 nfcsb1v 3064 . . . . . . . . . . . . . . . 16  |-  F/_ j [_ m  /  j ]_ E
115114nfel1 2310 . . . . . . . . . . . . . . 15  |-  F/ j
[_ m  /  j ]_ E  e.  CC
11625, 115nfralxy 2495 . . . . . . . . . . . . . 14  |-  F/ j A. k  e.  [_  m  /  j ]_ B [_ m  /  j ]_ E  e.  CC
117 csbeq1a 3040 . . . . . . . . . . . . . . . 16  |-  ( j  =  m  ->  E  =  [_ m  /  j ]_ E )
118117eleq1d 2226 . . . . . . . . . . . . . . 15  |-  ( j  =  m  ->  ( E  e.  CC  <->  [_ m  / 
j ]_ E  e.  CC ) )
11928, 118raleqbidv 2664 . . . . . . . . . . . . . 14  |-  ( j  =  m  ->  ( A. k  e.  B  E  e.  CC  <->  A. k  e.  [_  m  /  j ]_ B [_ m  / 
j ]_ E  e.  CC ) )
120116, 119rspc 2810 . . . . . . . . . . . . 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 3064 . . . . . . . . . . . . . 14  |-  F/_ k [_ n  /  k ]_ [_ m  /  j ]_ E
123122nfel1 2310 . . . . . . . . . . . . 13  |-  F/ k
[_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC
124 csbeq1a 3040 . . . . . . . . . . . . . 14  |-  ( k  =  n  ->  [_ m  /  j ]_ E  =  [_ n  /  k ]_ [_ m  /  j ]_ E )
125124eleq1d 2226 . . . . . . . . . . . . 13  |-  ( k  =  n  ->  ( [_ m  /  j ]_ E  e.  CC  <->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
)
126123, 125rspc 2810 . . . . . . . . . . . 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 1218 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  C  /\  m  e.  [_ n  /  k ]_ D ) )  ->  [_ n  /  k ]_ [_ m  /  j ]_ E  e.  CC )
130129ralrimivva 2539 . . . . . . . 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 3855 . . . . . . . . 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 6115 . . . . . . . . . . . 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 3579 . . . . . . . . . . 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 2234 . . . . . . . . 9  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 1st `  w )  e.  C )
141140rexlimiva 2569 . . . . . . . 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 2821 . . . . . 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 6116 . . . . . . . . . 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 3038 . . . . . . . . 9  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  [_ ( 1st `  w )  / 
k ]_ D  =  [_ n  /  k ]_ D
)
147145, 146eleqtrrd 2237 . . . . . . . 8  |-  ( ( n  e.  C  /\  w  e.  ( {
n }  X.  [_ n  /  k ]_ D
) )  ->  ( 2nd `  w )  e. 
[_ ( 1st `  w
)  /  k ]_ D )
148147rexlimiva 2569 . . . . . . 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 2821 . . . . 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 11345 . . . 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 2193 . . 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 2530 . . . . 5  |-  ( ph  ->  A. j  e.  A  B  e.  Fin )
15625nfel1 2310 . . . . . 6  |-  F/ j
[_ m  /  j ]_ B  e.  Fin
15728eleq1d 2226 . . . . . 6  |-  ( j  =  m  ->  ( B  e.  Fin  <->  [_ m  / 
j ]_ B  e.  Fin ) )
158156, 157rspc 2810 . . . . 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 11343 . . 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 11343 . . 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 2200 . 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 2299 . . 3  |-  F/_ m sum_ k  e.  B  E
164 nfcv 2299 . . . . 5  |-  F/_ j
n
165164, 114nfcsb 3068 . . . 4  |-  F/_ j [_ n  /  k ]_ [_ m  /  j ]_ E
16625, 165nfsum 11265 . . 3  |-  F/_ j sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E
167 nfcv 2299 . . . . 5  |-  F/_ n E
168 nfcsb1v 3064 . . . . 5  |-  F/_ k [_ n  /  k ]_ E
169 csbeq1a 3040 . . . . 5  |-  ( k  =  n  ->  E  =  [_ n  /  k ]_ E )
170167, 168, 169cbvsumi 11270 . . . 4  |-  sum_ k  e.  B  E  =  sum_ n  e.  B  [_ n  /  k ]_ E
171117csbeq2dv 3057 . . . . . 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 11280 . . . 4  |-  ( j  =  m  ->  sum_ n  e.  B  [_ n  / 
k ]_ E  =  sum_ n  e.  [_  m  / 
j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E
)
174170, 173syl5eq 2202 . . 3  |-  ( j  =  m  ->  sum_ k  e.  B  E  =  sum_ n  e.  [_  m  /  j ]_ B [_ n  /  k ]_ [_ m  /  j ]_ E )
175163, 166, 174cbvsumi 11270 . 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 2299 . . 3  |-  F/_ n sum_ j  e.  D  E
17733, 122nfsum 11265 . . 3  |-  F/_ k sum_ m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E
178 nfcv 2299 . . . . 5  |-  F/_ m E
179178, 114, 117cbvsumi 11270 . . . 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 11280 . . . 4  |-  ( k  =  n  ->  sum_ m  e.  D  [_ m  / 
j ]_ E  =  sum_ m  e.  [_  n  / 
k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E
)
182179, 181syl5eq 2202 . . 3  |-  ( k  =  n  ->  sum_ j  e.  D  E  =  sum_ m  e.  [_  n  /  k ]_ D [_ n  /  k ]_ [_ m  /  j ]_ E )
183176, 177, 182cbvsumi 11270 . 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 2215 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 1335   E.wex 1472    e. wcel 2128   A.wral 2435   E.wrex 2436   _Vcvv 2712   [_csb 3031   {csn 3561   <.cop 3564   U_ciun 3851  Disj wdisj 3944    X. cxp 4586   `'ccnv 4587   Rel wrel 4593   ` cfv 5172   1stc1st 6088   2ndc2nd 6089   Fincfn 6687   CCcc 7732   sum_csu 11261
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4081  ax-sep 4084  ax-nul 4092  ax-pow 4137  ax-pr 4171  ax-un 4395  ax-setind 4498  ax-iinf 4549  ax-cnex 7825  ax-resscn 7826  ax-1cn 7827  ax-1re 7828  ax-icn 7829  ax-addcl 7830  ax-addrcl 7831  ax-mulcl 7832  ax-mulrcl 7833  ax-addcom 7834  ax-mulcom 7835  ax-addass 7836  ax-mulass 7837  ax-distr 7838  ax-i2m1 7839  ax-0lt1 7840  ax-1rid 7841  ax-0id 7842  ax-rnegex 7843  ax-precex 7844  ax-cnre 7845  ax-pre-ltirr 7846  ax-pre-ltwlin 7847  ax-pre-lttrn 7848  ax-pre-apti 7849  ax-pre-ltadd 7850  ax-pre-mulgt0 7851  ax-pre-mulext 7852  ax-arch 7853  ax-caucvg 7854
This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rmo 2443  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3396  df-if 3507  df-pw 3546  df-sn 3567  df-pr 3568  df-op 3570  df-uni 3775  df-int 3810  df-iun 3853  df-disj 3945  df-br 3968  df-opab 4028  df-mpt 4029  df-tr 4065  df-id 4255  df-po 4258  df-iso 4259  df-iord 4328  df-on 4330  df-ilim 4331  df-suc 4333  df-iom 4552  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-iota 5137  df-fun 5174  df-fn 5175  df-f 5176  df-f1 5177  df-fo 5178  df-f1o 5179  df-fv 5180  df-isom 5181  df-riota 5782  df-ov 5829  df-oprab 5830  df-mpo 5831  df-1st 6090  df-2nd 6091  df-recs 6254  df-irdg 6319  df-frec 6340  df-1o 6365  df-oadd 6369  df-er 6482  df-en 6688  df-dom 6689  df-fin 6690  df-pnf 7916  df-mnf 7917  df-xr 7918  df-ltxr 7919  df-le 7920  df-sub 8052  df-neg 8053  df-reap 8454  df-ap 8461  df-div 8550  df-inn 8839  df-2 8897  df-3 8898  df-4 8899  df-n0 9096  df-z 9173  df-uz 9445  df-q 9535  df-rp 9567  df-fz 9919  df-fzo 10051  df-seqfrec 10354  df-exp 10428  df-ihash 10661  df-cj 10753  df-re 10754  df-im 10755  df-rsqrt 10909  df-abs 10910  df-clim 11187  df-sumdc 11262
This theorem is referenced by:  fsumcom  11347  fisum0diag  11349
  Copyright terms: Public domain W3C validator