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

Theorem xpcomco 6801
Description: Composition with the bijection of xpcomf1o 6800 swaps the arguments to a mapping. (Contributed by Mario Carneiro, 30-May-2015.)
Hypotheses
Ref Expression
xpcomf1o.1  |-  F  =  ( x  e.  ( A  X.  B ) 
|->  U. `' { x } )
xpcomco.1  |-  G  =  ( y  e.  B ,  z  e.  A  |->  C )
Assertion
Ref Expression
xpcomco  |-  ( G  o.  F )  =  ( z  e.  A ,  y  e.  B  |->  C )
Distinct variable groups:    x, y, z, A    x, B, y, z    y, F, z
Allowed substitution hints:    C( x, y, z)    F( x)    G( x, y, z)

Proof of Theorem xpcomco
Dummy variables  v  u  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpcomf1o.1 . . . . . . . . . 10  |-  F  =  ( x  e.  ( A  X.  B ) 
|->  U. `' { x } )
21xpcomf1o 6800 . . . . . . . . 9  |-  F :
( A  X.  B
)
-1-1-onto-> ( B  X.  A
)
3 f1ofun 5442 . . . . . . . . 9  |-  ( F : ( A  X.  B ) -1-1-onto-> ( B  X.  A
)  ->  Fun  F )
4 funbrfv2b 5539 . . . . . . . . 9  |-  ( Fun 
F  ->  ( u F w  <->  ( u  e. 
dom  F  /\  ( F `  u )  =  w ) ) )
52, 3, 4mp2b 8 . . . . . . . 8  |-  ( u F w  <->  ( u  e.  dom  F  /\  ( F `  u )  =  w ) )
6 ancom 264 . . . . . . . 8  |-  ( ( u  e.  dom  F  /\  ( F `  u
)  =  w )  <-> 
( ( F `  u )  =  w  /\  u  e.  dom  F ) )
7 eqcom 2172 . . . . . . . . 9  |-  ( ( F `  u )  =  w  <->  w  =  ( F `  u ) )
8 f1odm 5444 . . . . . . . . . . 11  |-  ( F : ( A  X.  B ) -1-1-onto-> ( B  X.  A
)  ->  dom  F  =  ( A  X.  B
) )
92, 8ax-mp 5 . . . . . . . . . 10  |-  dom  F  =  ( A  X.  B )
109eleq2i 2237 . . . . . . . . 9  |-  ( u  e.  dom  F  <->  u  e.  ( A  X.  B
) )
117, 10anbi12i 457 . . . . . . . 8  |-  ( ( ( F `  u
)  =  w  /\  u  e.  dom  F )  <-> 
( w  =  ( F `  u )  /\  u  e.  ( A  X.  B ) ) )
125, 6, 113bitri 205 . . . . . . 7  |-  ( u F w  <->  ( w  =  ( F `  u )  /\  u  e.  ( A  X.  B
) ) )
1312anbi1i 455 . . . . . 6  |-  ( ( u F w  /\  w G v )  <->  ( (
w  =  ( F `
 u )  /\  u  e.  ( A  X.  B ) )  /\  w G v ) )
14 anass 399 . . . . . 6  |-  ( ( ( w  =  ( F `  u )  /\  u  e.  ( A  X.  B ) )  /\  w G v )  <->  ( w  =  ( F `  u )  /\  (
u  e.  ( A  X.  B )  /\  w G v ) ) )
1513, 14bitri 183 . . . . 5  |-  ( ( u F w  /\  w G v )  <->  ( w  =  ( F `  u )  /\  (
u  e.  ( A  X.  B )  /\  w G v ) ) )
1615exbii 1598 . . . 4  |-  ( E. w ( u F w  /\  w G v )  <->  E. w
( w  =  ( F `  u )  /\  ( u  e.  ( A  X.  B
)  /\  w G
v ) ) )
17 vex 2733 . . . . . . 7  |-  u  e. 
_V
181mptfvex 5579 . . . . . . 7  |-  ( ( A. x U. `' { x }  e.  _V  /\  u  e.  _V )  ->  ( F `  u )  e.  _V )
1917, 18mpan2 423 . . . . . 6  |-  ( A. x U. `' { x }  e.  _V  ->  ( F `  u )  e.  _V )
20 vex 2733 . . . . . . . . 9  |-  x  e. 
_V
2120snex 4169 . . . . . . . 8  |-  { x }  e.  _V
2221cnvex 5147 . . . . . . 7  |-  `' {
x }  e.  _V
2322uniex 4420 . . . . . 6  |-  U. `' { x }  e.  _V
2419, 23mpg 1444 . . . . 5  |-  ( F `
 u )  e. 
_V
25 breq1 3990 . . . . . 6  |-  ( w  =  ( F `  u )  ->  (
w G v  <->  ( F `  u ) G v ) )
2625anbi2d 461 . . . . 5  |-  ( w  =  ( F `  u )  ->  (
( u  e.  ( A  X.  B )  /\  w G v )  <->  ( u  e.  ( A  X.  B
)  /\  ( F `  u ) G v ) ) )
2724, 26ceqsexv 2769 . . . 4  |-  ( E. w ( w  =  ( F `  u
)  /\  ( u  e.  ( A  X.  B
)  /\  w G
v ) )  <->  ( u  e.  ( A  X.  B
)  /\  ( F `  u ) G v ) )
28 elxp 4626 . . . . . 6  |-  ( u  e.  ( A  X.  B )  <->  E. z E. y ( u  = 
<. z ,  y >.  /\  ( z  e.  A  /\  y  e.  B
) ) )
2928anbi1i 455 . . . . 5  |-  ( ( u  e.  ( A  X.  B )  /\  ( F `  u ) G v )  <->  ( E. z E. y ( u  =  <. z ,  y
>.  /\  ( z  e.  A  /\  y  e.  B ) )  /\  ( F `  u ) G v ) )
30 nfcv 2312 . . . . . . 7  |-  F/_ z
( F `  u
)
31 xpcomco.1 . . . . . . . 8  |-  G  =  ( y  e.  B ,  z  e.  A  |->  C )
32 nfmpo2 5919 . . . . . . . 8  |-  F/_ z
( y  e.  B ,  z  e.  A  |->  C )
3331, 32nfcxfr 2309 . . . . . . 7  |-  F/_ z G
34 nfcv 2312 . . . . . . 7  |-  F/_ z
v
3530, 33, 34nfbr 4033 . . . . . 6  |-  F/ z ( F `  u
) G v
363519.41 1679 . . . . 5  |-  ( E. z ( E. y
( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  /\  ( F `  u ) G v )  <->  ( E. z E. y ( u  = 
<. z ,  y >.  /\  ( z  e.  A  /\  y  e.  B
) )  /\  ( F `  u ) G v ) )
37 nfcv 2312 . . . . . . . . 9  |-  F/_ y
( F `  u
)
38 nfmpo1 5918 . . . . . . . . . 10  |-  F/_ y
( y  e.  B ,  z  e.  A  |->  C )
3931, 38nfcxfr 2309 . . . . . . . . 9  |-  F/_ y G
40 nfcv 2312 . . . . . . . . 9  |-  F/_ y
v
4137, 39, 40nfbr 4033 . . . . . . . 8  |-  F/ y ( F `  u
) G v
424119.41 1679 . . . . . . 7  |-  ( E. y ( ( u  =  <. z ,  y
>.  /\  ( z  e.  A  /\  y  e.  B ) )  /\  ( F `  u ) G v )  <->  ( E. y ( u  = 
<. z ,  y >.  /\  ( z  e.  A  /\  y  e.  B
) )  /\  ( F `  u ) G v ) )
43 anass 399 . . . . . . . . 9  |-  ( ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  /\  ( F `  u ) G v )  <->  ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  ( F `  u ) G v ) ) )
44 fveq2 5494 . . . . . . . . . . . . . 14  |-  ( u  =  <. z ,  y
>.  ->  ( F `  u )  =  ( F `  <. z ,  y >. )
)
45 opelxpi 4641 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  A  /\  y  e.  B )  -> 
<. z ,  y >.  e.  ( A  X.  B
) )
46 sneq 3592 . . . . . . . . . . . . . . . . . . 19  |-  ( x  =  <. z ,  y
>.  ->  { x }  =  { <. z ,  y
>. } )
4746cnveqd 4785 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  <. z ,  y
>.  ->  `' { x }  =  `' { <. z ,  y >. } )
4847unieqd 3805 . . . . . . . . . . . . . . . . 17  |-  ( x  =  <. z ,  y
>.  ->  U. `' { x }  =  U. `' { <. z ,  y >. } )
49 vex 2733 . . . . . . . . . . . . . . . . . 18  |-  z  e. 
_V
50 vex 2733 . . . . . . . . . . . . . . . . . 18  |-  y  e. 
_V
51 opswapg 5095 . . . . . . . . . . . . . . . . . 18  |-  ( ( z  e.  _V  /\  y  e.  _V )  ->  U. `' { <. z ,  y >. }  =  <. y ,  z >.
)
5249, 50, 51mp2an 424 . . . . . . . . . . . . . . . . 17  |-  U. `' { <. z ,  y
>. }  =  <. y ,  z >.
5348, 52eqtrdi 2219 . . . . . . . . . . . . . . . 16  |-  ( x  =  <. z ,  y
>.  ->  U. `' { x }  =  <. y ,  z >. )
5450, 49opex 4212 . . . . . . . . . . . . . . . 16  |-  <. y ,  z >.  e.  _V
5553, 1, 54fvmpt 5571 . . . . . . . . . . . . . . 15  |-  ( <.
z ,  y >.  e.  ( A  X.  B
)  ->  ( F `  <. z ,  y
>. )  =  <. y ,  z >. )
5645, 55syl 14 . . . . . . . . . . . . . 14  |-  ( ( z  e.  A  /\  y  e.  B )  ->  ( F `  <. z ,  y >. )  =  <. y ,  z
>. )
5744, 56sylan9eq 2223 . . . . . . . . . . . . 13  |-  ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  ->  ( F `  u )  =  <. y ,  z >. )
5857breq1d 3997 . . . . . . . . . . . 12  |-  ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  ->  ( ( F `  u ) G v  <->  <. y ,  z >. G v ) )
59 df-br 3988 . . . . . . . . . . . . . . . 16  |-  ( <.
y ,  z >. G v  <->  <. <. y ,  z >. ,  v
>.  e.  G )
60 df-mpo 5856 . . . . . . . . . . . . . . . . . 18  |-  ( y  e.  B ,  z  e.  A  |->  C )  =  { <. <. y ,  z >. ,  v
>.  |  ( (
y  e.  B  /\  z  e.  A )  /\  v  =  C
) }
6131, 60eqtri 2191 . . . . . . . . . . . . . . . . 17  |-  G  =  { <. <. y ,  z
>. ,  v >.  |  ( ( y  e.  B  /\  z  e.  A )  /\  v  =  C ) }
6261eleq2i 2237 . . . . . . . . . . . . . . . 16  |-  ( <. <. y ,  z >. ,  v >.  e.  G  <->  <. <. y ,  z >. ,  v >.  e.  { <. <. y ,  z
>. ,  v >.  |  ( ( y  e.  B  /\  z  e.  A )  /\  v  =  C ) } )
63 oprabid 5883 . . . . . . . . . . . . . . . 16  |-  ( <. <. y ,  z >. ,  v >.  e.  { <. <. y ,  z
>. ,  v >.  |  ( ( y  e.  B  /\  z  e.  A )  /\  v  =  C ) }  <->  ( (
y  e.  B  /\  z  e.  A )  /\  v  =  C
) )
6459, 62, 633bitri 205 . . . . . . . . . . . . . . 15  |-  ( <.
y ,  z >. G v  <->  ( (
y  e.  B  /\  z  e.  A )  /\  v  =  C
) )
6564baib 914 . . . . . . . . . . . . . 14  |-  ( ( y  e.  B  /\  z  e.  A )  ->  ( <. y ,  z
>. G v  <->  v  =  C ) )
6665ancoms 266 . . . . . . . . . . . . 13  |-  ( ( z  e.  A  /\  y  e.  B )  ->  ( <. y ,  z
>. G v  <->  v  =  C ) )
6766adantl 275 . . . . . . . . . . . 12  |-  ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  ->  ( <. y ,  z >. G v  <-> 
v  =  C ) )
6858, 67bitrd 187 . . . . . . . . . . 11  |-  ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  ->  ( ( F `  u ) G v  <->  v  =  C ) )
6968pm5.32da 449 . . . . . . . . . 10  |-  ( u  =  <. z ,  y
>.  ->  ( ( ( z  e.  A  /\  y  e.  B )  /\  ( F `  u
) G v )  <-> 
( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) )
7069pm5.32i 451 . . . . . . . . 9  |-  ( ( u  =  <. z ,  y >.  /\  (
( z  e.  A  /\  y  e.  B
)  /\  ( F `  u ) G v ) )  <->  ( u  =  <. z ,  y
>.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) )
7143, 70bitri 183 . . . . . . . 8  |-  ( ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  /\  ( F `  u ) G v )  <->  ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) )
7271exbii 1598 . . . . . . 7  |-  ( E. y ( ( u  =  <. z ,  y
>.  /\  ( z  e.  A  /\  y  e.  B ) )  /\  ( F `  u ) G v )  <->  E. y
( u  =  <. z ,  y >.  /\  (
( z  e.  A  /\  y  e.  B
)  /\  v  =  C ) ) )
7342, 72bitr3i 185 . . . . . 6  |-  ( ( E. y ( u  =  <. z ,  y
>.  /\  ( z  e.  A  /\  y  e.  B ) )  /\  ( F `  u ) G v )  <->  E. y
( u  =  <. z ,  y >.  /\  (
( z  e.  A  /\  y  e.  B
)  /\  v  =  C ) ) )
7473exbii 1598 . . . . 5  |-  ( E. z ( E. y
( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  /\  ( F `  u ) G v )  <->  E. z E. y
( u  =  <. z ,  y >.  /\  (
( z  e.  A  /\  y  e.  B
)  /\  v  =  C ) ) )
7529, 36, 743bitr2i 207 . . . 4  |-  ( ( u  e.  ( A  X.  B )  /\  ( F `  u ) G v )  <->  E. z E. y ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) )
7616, 27, 753bitri 205 . . 3  |-  ( E. w ( u F w  /\  w G v )  <->  E. z E. y ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) )
7776opabbii 4054 . 2  |-  { <. u ,  v >.  |  E. w ( u F w  /\  w G v ) }  =  { <. u ,  v
>.  |  E. z E. y ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) }
78 df-co 4618 . 2  |-  ( G  o.  F )  =  { <. u ,  v
>.  |  E. w
( u F w  /\  w G v ) }
79 df-mpo 5856 . . 3  |-  ( z  e.  A ,  y  e.  B  |->  C )  =  { <. <. z ,  y >. ,  v
>.  |  ( (
z  e.  A  /\  y  e.  B )  /\  v  =  C
) }
80 dfoprab2 5898 . . 3  |-  { <. <.
z ,  y >. ,  v >.  |  ( ( z  e.  A  /\  y  e.  B
)  /\  v  =  C ) }  =  { <. u ,  v
>.  |  E. z E. y ( u  = 
<. z ,  y >.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) }
8179, 80eqtri 2191 . 2  |-  ( z  e.  A ,  y  e.  B  |->  C )  =  { <. u ,  v >.  |  E. z E. y ( u  =  <. z ,  y
>.  /\  ( ( z  e.  A  /\  y  e.  B )  /\  v  =  C ) ) }
8277, 78, 813eqtr4i 2201 1  |-  ( G  o.  F )  =  ( z  e.  A ,  y  e.  B  |->  C )
Colors of variables: wff set class
Syntax hints:    /\ wa 103    <-> wb 104   A.wal 1346    = wceq 1348   E.wex 1485    e. wcel 2141   _Vcvv 2730   {csn 3581   <.cop 3584   U.cuni 3794   class class class wbr 3987   {copab 4047    |-> cmpt 4048    X. cxp 4607   `'ccnv 4608   dom cdm 4609    o. ccom 4613   Fun wfun 5190   -1-1-onto->wf1o 5195   ` cfv 5196   {coprab 5852    e. cmpo 5853
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4105  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-br 3988  df-opab 4049  df-mpt 4050  df-id 4276  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-oprab 5855  df-mpo 5856  df-1st 6117  df-2nd 6118
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator