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

Theorem cnvf1olem 6219
Description: Lemma for cnvf1o 6220. (Contributed by Mario Carneiro, 27-Apr-2014.)
Assertion
Ref Expression
cnvf1olem  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  -> 
( C  e.  `' A  /\  B  =  U. `' { C } ) )

Proof of Theorem cnvf1olem
StepHypRef Expression
1 simprr 531 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  C  =  U. `' { B } )
2 1st2nd 6176 . . . . . . . 8  |-  ( ( Rel  A  /\  B  e.  A )  ->  B  =  <. ( 1st `  B
) ,  ( 2nd `  B ) >. )
32adantrr 479 . . . . . . 7  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  B  =  <. ( 1st `  B ) ,  ( 2nd `  B )
>. )
43sneqd 3604 . . . . . 6  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  { B }  =  { <. ( 1st `  B
) ,  ( 2nd `  B ) >. } )
54cnveqd 4799 . . . . 5  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  `' { B }  =  `' { <. ( 1st `  B
) ,  ( 2nd `  B ) >. } )
65unieqd 3818 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  U. `' { B }  =  U. `' { <. ( 1st `  B
) ,  ( 2nd `  B ) >. } )
7 1stexg 6162 . . . . . 6  |-  ( B  e.  A  ->  ( 1st `  B )  e. 
_V )
8 2ndexg 6163 . . . . . 6  |-  ( B  e.  A  ->  ( 2nd `  B )  e. 
_V )
9 opswapg 5111 . . . . . 6  |-  ( ( ( 1st `  B
)  e.  _V  /\  ( 2nd `  B )  e.  _V )  ->  U. `' { <. ( 1st `  B
) ,  ( 2nd `  B ) >. }  =  <. ( 2nd `  B
) ,  ( 1st `  B ) >. )
107, 8, 9syl2anc 411 . . . . 5  |-  ( B  e.  A  ->  U. `' { <. ( 1st `  B
) ,  ( 2nd `  B ) >. }  =  <. ( 2nd `  B
) ,  ( 1st `  B ) >. )
1110ad2antrl 490 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  U. `' { <. ( 1st `  B
) ,  ( 2nd `  B ) >. }  =  <. ( 2nd `  B
) ,  ( 1st `  B ) >. )
121, 6, 113eqtrd 2214 . . 3  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  C  =  <. ( 2nd `  B ) ,  ( 1st `  B )
>. )
13 simprl 529 . . . . 5  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  B  e.  A )
143, 13eqeltrrd 2255 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  <. ( 1st `  B
) ,  ( 2nd `  B ) >.  e.  A
)
15 opelcnvg 4803 . . . . . 6  |-  ( ( ( 2nd `  B
)  e.  _V  /\  ( 1st `  B )  e.  _V )  -> 
( <. ( 2nd `  B
) ,  ( 1st `  B ) >.  e.  `' A 
<-> 
<. ( 1st `  B
) ,  ( 2nd `  B ) >.  e.  A
) )
168, 7, 15syl2anc 411 . . . . 5  |-  ( B  e.  A  ->  ( <. ( 2nd `  B
) ,  ( 1st `  B ) >.  e.  `' A 
<-> 
<. ( 1st `  B
) ,  ( 2nd `  B ) >.  e.  A
) )
1716ad2antrl 490 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  -> 
( <. ( 2nd `  B
) ,  ( 1st `  B ) >.  e.  `' A 
<-> 
<. ( 1st `  B
) ,  ( 2nd `  B ) >.  e.  A
) )
1814, 17mpbird 167 . . 3  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  <. ( 2nd `  B
) ,  ( 1st `  B ) >.  e.  `' A )
1912, 18eqeltrd 2254 . 2  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  C  e.  `' A
)
20 opswapg 5111 . . . . . 6  |-  ( ( ( 2nd `  B
)  e.  _V  /\  ( 1st `  B )  e.  _V )  ->  U. `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. }  =  <. ( 1st `  B
) ,  ( 2nd `  B ) >. )
218, 7, 20syl2anc 411 . . . . 5  |-  ( B  e.  A  ->  U. `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. }  =  <. ( 1st `  B
) ,  ( 2nd `  B ) >. )
2221eqcomd 2183 . . . 4  |-  ( B  e.  A  ->  <. ( 1st `  B ) ,  ( 2nd `  B
) >.  =  U. `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. } )
2322ad2antrl 490 . . 3  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  <. ( 1st `  B
) ,  ( 2nd `  B ) >.  =  U. `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. } )
2412sneqd 3604 . . . . 5  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  { C }  =  { <. ( 2nd `  B
) ,  ( 1st `  B ) >. } )
2524cnveqd 4799 . . . 4  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  `' { C }  =  `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. } )
2625unieqd 3818 . . 3  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  U. `' { C }  =  U. `' { <. ( 2nd `  B
) ,  ( 1st `  B ) >. } )
2723, 3, 263eqtr4d 2220 . 2  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  ->  B  =  U. `' { C } )
2819, 27jca 306 1  |-  ( ( Rel  A  /\  ( B  e.  A  /\  C  =  U. `' { B } ) )  -> 
( C  e.  `' A  /\  B  =  U. `' { C } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1353    e. wcel 2148   _Vcvv 2737   {csn 3591   <.cop 3594   U.cuni 3807   `'ccnv 4622   Rel wrel 4628   ` cfv 5212   1stc1st 6133   2ndc2nd 6134
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4118  ax-pow 4171  ax-pr 4206  ax-un 4430
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-rex 2461  df-v 2739  df-sbc 2963  df-un 3133  df-in 3135  df-ss 3142  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-uni 3808  df-br 4001  df-opab 4062  df-mpt 4063  df-id 4290  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-fo 5218  df-fv 5220  df-1st 6135  df-2nd 6136
This theorem is referenced by:  cnvf1o  6220
  Copyright terms: Public domain W3C validator