Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-finsumval0 Structured version   Unicode version

Theorem bj-finsumval0 34764
Description: Value of a finite sum. (Contributed by BJ, 9-Jun-2019.)
Hypotheses
Ref Expression
bj-finsumval0.1  |-  ( ph  ->  A  e. CMnd )
bj-finsumval0.2  |-  ( ph  ->  I  e.  Fin )
bj-finsumval0.3  |-  ( ph  ->  B : I --> ( Base `  A ) )
Assertion
Ref Expression
bj-finsumval0  |-  ( ph  ->  ( A FinSum  B )  =  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) )
Distinct variable groups:    A, s,
f, m, n    B, f, m, n, s    f, I, n    ph, f, m, s
Allowed substitution hints:    ph( n)    I( m, s)

Proof of Theorem bj-finsumval0
Dummy variables  t  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ov 6299 . 2  |-  ( A FinSum  B )  =  ( FinSum  `  <. A ,  B >. )
2 df-bj-finsum 34763 . . . 4  |- FinSum  =  ( x  e.  { <. y ,  z >.  |  ( y  e. CMnd  /\  E. t  e.  Fin  z : t --> ( Base `  y
) ) }  |->  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) ) )
32a1i 11 . . 3  |-  ( ph  -> FinSum 
=  ( x  e. 
{ <. y ,  z
>.  |  ( y  e. CMnd  /\  E. t  e. 
Fin  z : t --> ( Base `  y
) ) }  |->  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) ) ) )
4 simpr 461 . . . . . . . . . 10  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  x  =  <. A ,  B >. )
54fveq2d 5876 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 1st `  x
)  =  ( 1st `  <. A ,  B >. ) )
6 bj-finsumval0.1 . . . . . . . . . . 11  |-  ( ph  ->  A  e. CMnd )
76adantr 465 . . . . . . . . . 10  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  A  e. CMnd )
8 bj-finsumval0.3 . . . . . . . . . . . 12  |-  ( ph  ->  B : I --> ( Base `  A ) )
9 bj-finsumval0.2 . . . . . . . . . . . 12  |-  ( ph  ->  I  e.  Fin )
10 fex 6146 . . . . . . . . . . . 12  |-  ( ( B : I --> ( Base `  A )  /\  I  e.  Fin )  ->  B  e.  _V )
118, 9, 10syl2anc 661 . . . . . . . . . . 11  |-  ( ph  ->  B  e.  _V )
1211adantr 465 . . . . . . . . . 10  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  B  e.  _V )
13 op1stg 6811 . . . . . . . . . 10  |-  ( ( A  e. CMnd  /\  B  e.  _V )  ->  ( 1st `  <. A ,  B >. )  =  A )
147, 12, 13syl2anc 661 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 1st `  <. A ,  B >. )  =  A )
155, 14eqtrd 2498 . . . . . . . 8  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 1st `  x
)  =  A )
164fveq2d 5876 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 2nd `  x
)  =  ( 2nd `  <. A ,  B >. ) )
17 op2ndg 6812 . . . . . . . . . 10  |-  ( ( A  e. CMnd  /\  B  e.  _V )  ->  ( 2nd `  <. A ,  B >. )  =  B )
187, 12, 17syl2anc 661 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 2nd `  <. A ,  B >. )  =  B )
1916, 18eqtrd 2498 . . . . . . . 8  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( 2nd `  x
)  =  B )
2019dmeqd 5215 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  dom  ( 2nd `  x )  =  dom  B )
21 fdm 5741 . . . . . . . . . . 11  |-  ( B : I --> ( Base `  A )  ->  dom  B  =  I )
228, 21syl 16 . . . . . . . . . 10  |-  ( ph  ->  dom  B  =  I )
2322adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  dom  B  =  I )
2420, 23eqtrd 2498 . . . . . . . 8  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  dom  ( 2nd `  x )  =  I )
25 f1oeq3 5815 . . . . . . . . . . . . . . 15  |-  ( dom  ( 2nd `  x
)  =  I  -> 
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  <->  f : ( 1 ... m ) -1-1-onto-> I ) )
2625biimpd 207 . . . . . . . . . . . . . 14  |-  ( dom  ( 2nd `  x
)  =  I  -> 
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  ->  f :
( 1 ... m
)
-1-1-onto-> I ) )
2726ad2antll 728 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  ->  f :
( 1 ... m
)
-1-1-onto-> I ) )
2827adantrd 468 . . . . . . . . . . . 12  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( (
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  ->  f :
( 1 ... m
)
-1-1-onto-> I ) )
2928adantr 465 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  ->  f :
( 1 ... m
)
-1-1-onto-> I ) )
30 eqidd 2458 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
1  =  1 )
31 simprl 756 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) ) )  ->  ( 1st `  x )  =  A )
3231fveq2d 5876 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) ) )  ->  ( +g  `  ( 1st `  x
) )  =  ( +g  `  A ) )
3332adantrr 716 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( +g  `  ( 1st `  x ) )  =  ( +g  `  A
) )
34 simprrl 765 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) ) )  ->  ( 2nd `  x )  =  B )
3534adantr 465 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) ) )  /\  n  e.  NN )  ->  ( 2nd `  x )  =  B )
3635fveq1d 5874 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) ) )  /\  n  e.  NN )  ->  (
( 2nd `  x
) `  ( f `  n ) )  =  ( B `  (
f `  n )
) )
3736mpteq2dva 4543 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) ) )  ->  (
n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) )  =  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) )
3837adantrr 716 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) )  =  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) )
3930, 33, 38seqeq123d 12118 . . . . . . . . . . . . . . . 16  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) )  =  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) )
40 simpr 461 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  m  e.  NN0 )
41 simprr 757 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  dom  ( 2nd `  x )  =  I )
4241adantr 465 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  dom  ( 2nd `  x )  =  I )
4340, 42jca 532 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
m  e.  NN0  /\  dom  ( 2nd `  x
)  =  I ) )
44 hashfz1 12421 . . . . . . . . . . . . . . . . . . . . 21  |-  ( m  e.  NN0  ->  ( # `  ( 1 ... m
) )  =  m )
4544eqcomd 2465 . . . . . . . . . . . . . . . . . . . 20  |-  ( m  e.  NN0  ->  m  =  ( # `  (
1 ... m ) ) )
4645ad2antrl 727 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  m  =  ( # `  ( 1 ... m ) ) )
47 fzfid 12085 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  m  e.  NN0 )  -> 
( 1 ... m
)  e.  Fin )
48 f1ofo 5829 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  ->  f :
( 1 ... m
) -onto-> dom  ( 2nd `  x
) )
4948adantr 465 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  m  e.  NN0 )  -> 
f : ( 1 ... m ) -onto-> dom  ( 2nd `  x
) )
50 fornex 6768 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( 1 ... m )  e.  Fin  ->  (
f : ( 1 ... m ) -onto-> dom  ( 2nd `  x
)  ->  dom  ( 2nd `  x )  e.  _V ) )
5147, 49, 50sylc 60 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  m  e.  NN0 )  ->  dom  ( 2nd `  x
)  e.  _V )
5247, 51jca 532 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  m  e.  NN0 )  -> 
( ( 1 ... m )  e.  Fin  /\ 
dom  ( 2nd `  x
)  e.  _V )
)
5352adantrr 716 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  ( (
1 ... m )  e. 
Fin  /\  dom  ( 2nd `  x )  e.  _V ) )
54 19.8a 1858 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  ->  E. f 
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x ) )
5554adantr 465 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  E. f 
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x ) )
56 hasheqf1oi 12426 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( 1 ... m
)  e.  Fin  /\  dom  ( 2nd `  x
)  e.  _V )  ->  ( E. f  f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  ->  ( # `  (
1 ... m ) )  =  ( # `  dom  ( 2nd `  x ) ) ) )
5753, 55, 56sylc 60 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  ( # `  (
1 ... m ) )  =  ( # `  dom  ( 2nd `  x ) ) )
5846, 57eqtrd 2498 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  m  =  ( # `  dom  ( 2nd `  x ) ) )
59 simprr 757 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  dom  ( 2nd `  x )  =  I )
6059fveq2d 5876 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  ( # `  dom  ( 2nd `  x ) )  =  ( # `  I ) )
6158, 60eqtrd 2498 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( m  e.  NN0  /\ 
dom  ( 2nd `  x
)  =  I ) )  ->  m  =  ( # `  I ) )
6243, 61sylan2 474 . . . . . . . . . . . . . . . 16  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  m  =  ( # `  I
) )
6339, 62fveq12d 5878 . . . . . . . . . . . . . . 15  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
(  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m )  =  (  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) `  ( # `  I ) ) )
6463eqeq2d 2471 . . . . . . . . . . . . . 14  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m )  <-> 
s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `
 n ) ) ) ) `  ( # `
 I ) ) ) )
6564biimpd 207 . . . . . . . . . . . . 13  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m )  ->  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) )
6665impancom 440 . . . . . . . . . . . 12  |-  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  ->  ( (
( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  s  =  (  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) `  ( # `  I ) ) ) )
6766com12 31 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  ->  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) )
6829, 67jcad 533 . . . . . . . . . 10  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  ->  ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) `  ( # `  I ) ) ) ) )
6925biimprd 223 . . . . . . . . . . . . . 14  |-  ( dom  ( 2nd `  x
)  =  I  -> 
( f : ( 1 ... m ) -1-1-onto-> I  ->  f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
) ) )
7069ad2antll 728 . . . . . . . . . . . . 13  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( f : ( 1 ... m ) -1-1-onto-> I  ->  f : ( 1 ... m
)
-1-1-onto-> dom  ( 2nd `  x
) ) )
7170adantr 465 . . . . . . . . . . . 12  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
f : ( 1 ... m ) -1-1-onto-> I  -> 
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x ) ) )
7271adantrd 468 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) )  -> 
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x ) ) )
73 eqidd 2458 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
1  =  1 )
74 simpl 457 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( 1st `  x )  =  A )
75 tru 1399 . . . . . . . . . . . . . . . . . . . . 21  |- T.
7674, 75jctir 538 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( ( 1st `  x )  =  A  /\ T.  ) )
7776ad2antrl 727 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( ( 1st `  x
)  =  A  /\ T.  ) )
78 simpl 457 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( 1st `  x
)  =  A  /\ T.  )  ->  ( 1st `  x )  =  A )
7978eqcomd 2465 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( 1st `  x
)  =  A  /\ T.  )  ->  A  =  ( 1st `  x
) )
8077, 79syl 16 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  A  =  ( 1st `  x ) )
8180fveq2d 5876 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( +g  `  A )  =  ( +g  `  ( 1st `  x ) ) )
82 simpl 457 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I )  ->  ( 2nd `  x
)  =  B )
8382eqcomd 2465 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I )  ->  B  =  ( 2nd `  x ) )
8483ad2antll 728 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) ) )  ->  B  =  ( 2nd `  x
) )
8584adantr 465 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) ) )  /\  n  e.  NN )  ->  B  =  ( 2nd `  x ) )
8685fveq1d 5874 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) ) )  /\  n  e.  NN )  ->  ( B `  (
f `  n )
)  =  ( ( 2nd `  x ) `
 ( f `  n ) ) )
8786adantlrr 720 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  (
( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 ) )  /\  n  e.  NN )  ->  ( B `  (
f `  n )
)  =  ( ( 2nd `  x ) `
 ( f `  n ) ) )
8887mpteq2dva 4543 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( n  e.  NN  |->  ( B `  ( f `
 n ) ) )  =  ( n  e.  NN  |->  ( ( 2nd `  x ) `
 ( f `  n ) ) ) )
8973, 81, 88seqeq123d 12118 . . . . . . . . . . . . . . . 16  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `
 n ) ) ) )  =  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) )
9071com12 31 . . . . . . . . . . . . . . . . . . 19  |-  ( f : ( 1 ... m ) -1-1-onto-> I  ->  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
) ) )
9190imp 429 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x ) )
92 simprr 757 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  m  e.  NN0 )
9341ad2antrl 727 . . . . . . . . . . . . . . . . . 18  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  dom  ( 2nd `  x
)  =  I )
9491, 92, 93, 61syl12anc 1226 . . . . . . . . . . . . . . . . 17  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  ->  m  =  ( # `  I
) )
9594eqcomd 2465 . . . . . . . . . . . . . . . 16  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( # `  I )  =  m )
9689, 95fveq12d 5878 . . . . . . . . . . . . . . 15  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
(  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) )  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )
9796eqeq2d 2471 . . . . . . . . . . . . . 14  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) )  <->  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) )
9897biimpd 207 . . . . . . . . . . . . 13  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  ( ( ( 1st `  x )  =  A  /\  ( ( 2nd `  x )  =  B  /\  dom  ( 2nd `  x )  =  I ) )  /\  m  e.  NN0 ) )  -> 
( s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) )  ->  s  =  (  seq 1
( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x ) `  (
f `  n )
) ) ) `  m ) ) )
9998impancom 440 . . . . . . . . . . . 12  |-  ( ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `
 n ) ) ) ) `  ( # `
 I ) ) )  ->  ( (
( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  s  =  (  seq 1
( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x ) `  (
f `  n )
) ) ) `  m ) ) )
10099com12 31 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) )  -> 
s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) )
10172, 100jcad 533 . . . . . . . . . 10  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) )  -> 
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) ) )
10268, 101impbid 191 . . . . . . . . 9  |-  ( ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) )
103102ex 434 . . . . . . . 8  |-  ( ( ( 1st `  x
)  =  A  /\  ( ( 2nd `  x
)  =  B  /\  dom  ( 2nd `  x
)  =  I ) )  ->  ( m  e.  NN0  ->  ( (
f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) ) )
10415, 19, 24, 103syl12anc 1226 . . . . . . 7  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( m  e. 
NN0  ->  ( ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) ) )
105104imp 429 . . . . . 6  |-  ( ( ( ph  /\  x  =  <. A ,  B >. )  /\  m  e. 
NN0 )  ->  (
( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) )
106105exbidv 1715 . . . . 5  |-  ( ( ( ph  /\  x  =  <. A ,  B >. )  /\  m  e. 
NN0 )  ->  ( E. f ( f : ( 1 ... m
)
-1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  E. f ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) `  ( # `  I ) ) ) ) )
107106rexbidva 2965 . . . 4  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( E. m  e.  NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> dom  ( 2nd `  x )  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x
) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) )  <->  E. m  e.  NN0  E. f ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) )
108107iotabidv 5578 . . 3  |-  ( (
ph  /\  x  =  <. A ,  B >. )  ->  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m
)
-1-1-onto-> dom  ( 2nd `  x
)  /\  s  =  (  seq 1 ( ( +g  `  ( 1st `  x ) ) ,  ( n  e.  NN  |->  ( ( 2nd `  x
) `  ( f `  n ) ) ) ) `  m ) ) )  =  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `
 n ) ) ) ) `  ( # `
 I ) ) ) ) )
109 eleq1 2529 . . . . . . . . . 10  |-  ( t  =  I  ->  (
t  e.  Fin  <->  I  e.  Fin ) )
110 feq2 5720 . . . . . . . . . 10  |-  ( t  =  I  ->  ( B : t --> ( Base `  A )  <->  B :
I --> ( Base `  A
) ) )
111109, 110anbi12d 710 . . . . . . . . 9  |-  ( t  =  I  ->  (
( t  e.  Fin  /\  B : t --> (
Base `  A )
)  <->  ( I  e. 
Fin  /\  B :
I --> ( Base `  A
) ) ) )
112111ceqsexgv 3232 . . . . . . . 8  |-  ( I  e.  Fin  ->  ( E. t ( t  =  I  /\  ( t  e.  Fin  /\  B : t --> ( Base `  A ) ) )  <-> 
( I  e.  Fin  /\  B : I --> ( Base `  A ) ) ) )
1139, 112syl 16 . . . . . . 7  |-  ( ph  ->  ( E. t ( t  =  I  /\  ( t  e.  Fin  /\  B : t --> (
Base `  A )
) )  <->  ( I  e.  Fin  /\  B :
I --> ( Base `  A
) ) ) )
1149, 8, 113mpbir2and 922 . . . . . 6  |-  ( ph  ->  E. t ( t  =  I  /\  (
t  e.  Fin  /\  B : t --> ( Base `  A ) ) ) )
115 exsimpr 1679 . . . . . 6  |-  ( E. t ( t  =  I  /\  ( t  e.  Fin  /\  B : t --> ( Base `  A ) ) )  ->  E. t ( t  e.  Fin  /\  B : t --> ( Base `  A ) ) )
116114, 115syl 16 . . . . 5  |-  ( ph  ->  E. t ( t  e.  Fin  /\  B : t --> ( Base `  A ) ) )
117 df-rex 2813 . . . . 5  |-  ( E. t  e.  Fin  B : t --> ( Base `  A )  <->  E. t
( t  e.  Fin  /\  B : t --> (
Base `  A )
) )
118116, 117sylibr 212 . . . 4  |-  ( ph  ->  E. t  e.  Fin  B : t --> ( Base `  A ) )
119 eleq1 2529 . . . . . . 7  |-  ( y  =  A  ->  (
y  e. CMnd  <->  A  e. CMnd ) )
120 fveq2 5872 . . . . . . . . 9  |-  ( y  =  A  ->  ( Base `  y )  =  ( Base `  A
) )
121120feq3d 5725 . . . . . . . 8  |-  ( y  =  A  ->  (
z : t --> (
Base `  y )  <->  z : t --> ( Base `  A ) ) )
122121rexbidv 2968 . . . . . . 7  |-  ( y  =  A  ->  ( E. t  e.  Fin  z : t --> ( Base `  y )  <->  E. t  e.  Fin  z : t --> ( Base `  A
) ) )
123119, 122anbi12d 710 . . . . . 6  |-  ( y  =  A  ->  (
( y  e. CMnd  /\  E. t  e.  Fin  z : t --> ( Base `  y ) )  <->  ( A  e. CMnd  /\  E. t  e. 
Fin  z : t --> ( Base `  A
) ) ) )
124 feq1 5719 . . . . . . . 8  |-  ( z  =  B  ->  (
z : t --> (
Base `  A )  <->  B : t --> ( Base `  A ) ) )
125124rexbidv 2968 . . . . . . 7  |-  ( z  =  B  ->  ( E. t  e.  Fin  z : t --> ( Base `  A )  <->  E. t  e.  Fin  B : t --> ( Base `  A
) ) )
126125anbi2d 703 . . . . . 6  |-  ( z  =  B  ->  (
( A  e. CMnd  /\  E. t  e.  Fin  z : t --> ( Base `  A ) )  <->  ( A  e. CMnd  /\  E. t  e. 
Fin  B : t --> ( Base `  A
) ) ) )
127123, 126opelopabg 4774 . . . . 5  |-  ( ( A  e. CMnd  /\  B  e.  _V )  ->  ( <. A ,  B >.  e. 
{ <. y ,  z
>.  |  ( y  e. CMnd  /\  E. t  e. 
Fin  z : t --> ( Base `  y
) ) }  <->  ( A  e. CMnd  /\  E. t  e. 
Fin  B : t --> ( Base `  A
) ) ) )
1286, 11, 127syl2anc 661 . . . 4  |-  ( ph  ->  ( <. A ,  B >.  e.  { <. y ,  z >.  |  ( y  e. CMnd  /\  E. t  e.  Fin  z : t --> ( Base `  y
) ) }  <->  ( A  e. CMnd  /\  E. t  e. 
Fin  B : t --> ( Base `  A
) ) ) )
1296, 118, 128mpbir2and 922 . . 3  |-  ( ph  -> 
<. A ,  B >.  e. 
{ <. y ,  z
>.  |  ( y  e. CMnd  /\  E. t  e. 
Fin  z : t --> ( Base `  y
) ) } )
130 iotaex 5574 . . . 4  |-  ( iota s E. m  e. 
NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1
( ( +g  `  A
) ,  ( n  e.  NN  |->  ( B `
 ( f `  n ) ) ) ) `  ( # `  I ) ) ) )  e.  _V
131130a1i 11 . . 3  |-  ( ph  ->  ( iota s E. m  e.  NN0  E. f
( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) )  e.  _V )
1323, 108, 129, 131fvmptd 5961 . 2  |-  ( ph  ->  ( FinSum  `  <. A ,  B >. )  =  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m ) -1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `
 n ) ) ) ) `  ( # `
 I ) ) ) ) )
1331, 132syl5eq 2510 1  |-  ( ph  ->  ( A FinSum  B )  =  ( iota s E. m  e.  NN0  E. f ( f : ( 1 ... m
)
-1-1-onto-> I  /\  s  =  (  seq 1 ( ( +g  `  A ) ,  ( n  e.  NN  |->  ( B `  ( f `  n
) ) ) ) `
 ( # `  I
) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1395   T. wtru 1396   E.wex 1613    e. wcel 1819   E.wrex 2808   _Vcvv 3109   <.cop 4038   {copab 4514    |-> cmpt 4515   dom cdm 5008   iotacio 5555   -->wf 5590   -onto->wfo 5592   -1-1-onto->wf1o 5593   ` cfv 5594  (class class class)co 6296   1stc1st 6797   2ndc2nd 6798   Fincfn 7535   1c1 9510   NNcn 10556   NN0cn0 10816   ...cfz 11697    seqcseq 12109   #chash 12407   Basecbs 14643   +g cplusg 14711  CMndccmn 16924   FinSum cfinsum 34762
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-8 1821  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-rep 4568  ax-sep 4578  ax-nul 4586  ax-pow 4634  ax-pr 4695  ax-un 6591  ax-cnex 9565  ax-resscn 9566  ax-1cn 9567  ax-icn 9568  ax-addcl 9569  ax-addrcl 9570  ax-mulcl 9571  ax-mulrcl 9572  ax-mulcom 9573  ax-addass 9574  ax-mulass 9575  ax-distr 9576  ax-i2m1 9577  ax-1ne0 9578  ax-1rid 9579  ax-rnegex 9580  ax-rrecex 9581  ax-cnre 9582  ax-pre-lttri 9583  ax-pre-lttrn 9584  ax-pre-ltadd 9585  ax-pre-mulgt0 9586
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1398  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-nel 2655  df-ral 2812  df-rex 2813  df-reu 2814  df-rab 2816  df-v 3111  df-sbc 3328  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-pss 3487  df-nul 3794  df-if 3945  df-pw 4017  df-sn 4033  df-pr 4035  df-tp 4037  df-op 4039  df-uni 4252  df-int 4289  df-iun 4334  df-br 4457  df-opab 4516  df-mpt 4517  df-tr 4551  df-eprel 4800  df-id 4804  df-po 4809  df-so 4810  df-fr 4847  df-we 4849  df-ord 4890  df-on 4891  df-lim 4892  df-suc 4893  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-dm 5018  df-rn 5019  df-res 5020  df-ima 5021  df-iota 5557  df-fun 5596  df-fn 5597  df-f 5598  df-f1 5599  df-fo 5600  df-f1o 5601  df-fv 5602  df-riota 6258  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-om 6700  df-1st 6799  df-2nd 6800  df-recs 7060  df-rdg 7094  df-1o 7148  df-er 7329  df-en 7536  df-dom 7537  df-sdom 7538  df-fin 7539  df-card 8337  df-pnf 9647  df-mnf 9648  df-xr 9649  df-ltxr 9650  df-le 9651  df-sub 9826  df-neg 9827  df-nn 10557  df-n0 10817  df-z 10886  df-uz 11107  df-fz 11698  df-seq 12110  df-hash 12408  df-bj-finsum 34763
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator