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

Theorem xpcomco 6804
Description: Composition with the bijection of xpcomf1o 6803 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 6803 . . . . . . . . 9  |-  F :
( A  X.  B
)
-1-1-onto-> ( B  X.  A
)
3 f1ofun 5444 . . . . . . . . 9  |-  ( F : ( A  X.  B ) -1-1-onto-> ( B  X.  A
)  ->  Fun  F )
4 funbrfv2b 5541 . . . . . . . . 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 5446 . . . . . . . . . . 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 5581 . . . . . . 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 4171 . . . . . . . 8  |-  { x }  e.  _V
2221cnvex 5149 . . . . . . 7  |-  `' {
x }  e.  _V
2322uniex 4422 . . . . . 6  |-  U. `' { x }  e.  _V
2419, 23mpg 1444 . . . . 5  |-  ( F `
 u )  e. 
_V
25 breq1 3992 . . . . . 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 4628 . . . . . 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 5921 . . . . . . . 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 4035 . . . . . 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 5920 . . . . . . . . . 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 4035 . . . . . . . 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 5496 . . . . . . . . . . . . . 14  |-  ( u  =  <. z ,  y
>.  ->  ( F `  u )  =  ( F `  <. z ,  y >. )
)
45 opelxpi 4643 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  A  /\  y  e.  B )  -> 
<. z ,  y >.  e.  ( A  X.  B
) )
46 sneq 3594 . . . . . . . . . . . . . . . . . . 19  |-  ( x  =  <. z ,  y
>.  ->  { x }  =  { <. z ,  y
>. } )
4746cnveqd 4787 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  <. z ,  y
>.  ->  `' { x }  =  `' { <. z ,  y >. } )
4847unieqd 3807 . . . . . . . . . . . . . . . . 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 5097 . . . . . . . . . . . . . . . . . 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 4214 . . . . . . . . . . . . . . . 16  |-  <. y ,  z >.  e.  _V
5553, 1, 54fvmpt 5573 . . . . . . . . . . . . . . 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 3999 . . . . . . . . . . . 12  |-  ( ( u  =  <. z ,  y >.  /\  (
z  e.  A  /\  y  e.  B )
)  ->  ( ( F `  u ) G v  <->  <. y ,  z >. G v ) )
59 df-br 3990 . . . . . . . . . . . . . . . 16  |-  ( <.
y ,  z >. G v  <->  <. <. y ,  z >. ,  v
>.  e.  G )
60 df-mpo 5858 . . . . . . . . . . . . . . . . . 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 5885 . . . . . . . . . . . . . . . 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 4056 . 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 4620 . 2  |-  ( G  o.  F )  =  { <. u ,  v
>.  |  E. w
( u F w  /\  w G v ) }
79 df-mpo 5858 . . 3  |-  ( z  e.  A ,  y  e.  B  |->  C )  =  { <. <. z ,  y >. ,  v
>.  |  ( (
z  e.  A  /\  y  e.  B )  /\  v  =  C
) }
80 dfoprab2 5900 . . 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 3583   <.cop 3586   U.cuni 3796   class class class wbr 3989   {copab 4049    |-> cmpt 4050    X. cxp 4609   `'ccnv 4610   dom cdm 4611    o. ccom 4615   Fun wfun 5192   -1-1-onto->wf1o 5197   ` cfv 5198   {coprab 5854    e. cmpo 5855
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 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521
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 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator