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

Theorem mapsncnv 6784
Description: Expression for the inverse of the canonical map between a set and its set of singleton functions. (Contributed by Stefan O'Rear, 21-Mar-2015.)
Hypotheses
Ref Expression
mapsncnv.s  |-  S  =  { X }
mapsncnv.b  |-  B  e. 
_V
mapsncnv.x  |-  X  e. 
_V
mapsncnv.f  |-  F  =  ( x  e.  ( B  ^m  S ) 
|->  ( x `  X
) )
Assertion
Ref Expression
mapsncnv  |-  `' F  =  ( y  e.  B  |->  ( S  X.  { y } ) )
Distinct variable groups:    x, B, y   
x, S, y    y, X
Allowed substitution hints:    F( x, y)    X( x)

Proof of Theorem mapsncnv
StepHypRef Expression
1 elmapi 6759 . . . . . . . . 9  |-  ( x  e.  ( B  ^m  { X } )  ->  x : { X } --> B )
2 mapsncnv.x . . . . . . . . . 10  |-  X  e. 
_V
32snid 3664 . . . . . . . . 9  |-  X  e. 
{ X }
4 ffvelcdm 5715 . . . . . . . . 9  |-  ( ( x : { X }
--> B  /\  X  e. 
{ X } )  ->  ( x `  X )  e.  B
)
51, 3, 4sylancl 413 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  -> 
( x `  X
)  e.  B )
6 eqid 2205 . . . . . . . . 9  |-  { X }  =  { X }
7 mapsncnv.b . . . . . . . . 9  |-  B  e. 
_V
86, 7, 2mapsnconst 6783 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  ->  x  =  ( { X }  X.  { ( x `  X ) } ) )
95, 8jca 306 . . . . . . 7  |-  ( x  e.  ( B  ^m  { X } )  -> 
( ( x `  X )  e.  B  /\  x  =  ( { X }  X.  {
( x `  X
) } ) ) )
10 eleq1 2268 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
y  e.  B  <->  ( x `  X )  e.  B
) )
11 sneq 3644 . . . . . . . . . 10  |-  ( y  =  ( x `  X )  ->  { y }  =  { ( x `  X ) } )
1211xpeq2d 4700 . . . . . . . . 9  |-  ( y  =  ( x `  X )  ->  ( { X }  X.  {
y } )  =  ( { X }  X.  { ( x `  X ) } ) )
1312eqeq2d 2217 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
x  =  ( { X }  X.  {
y } )  <->  x  =  ( { X }  X.  { ( x `  X ) } ) ) )
1410, 13anbi12d 473 . . . . . . 7  |-  ( y  =  ( x `  X )  ->  (
( y  e.  B  /\  x  =  ( { X }  X.  {
y } ) )  <-> 
( ( x `  X )  e.  B  /\  x  =  ( { X }  X.  {
( x `  X
) } ) ) ) )
159, 14syl5ibrcom 157 . . . . . 6  |-  ( x  e.  ( B  ^m  { X } )  -> 
( y  =  ( x `  X )  ->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) ) )
1615imp 124 . . . . 5  |-  ( ( x  e.  ( B  ^m  { X }
)  /\  y  =  ( x `  X
) )  ->  (
y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
17 fconst6g 5476 . . . . . . . . 9  |-  ( y  e.  B  ->  ( { X }  X.  {
y } ) : { X } --> B )
182snex 4230 . . . . . . . . . 10  |-  { X }  e.  _V
197, 18elmap 6766 . . . . . . . . 9  |-  ( ( { X }  X.  { y } )  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } ) : { X } --> B )
2017, 19sylibr 134 . . . . . . . 8  |-  ( y  e.  B  ->  ( { X }  X.  {
y } )  e.  ( B  ^m  { X } ) )
21 vex 2775 . . . . . . . . . . 11  |-  y  e. 
_V
2221fvconst2 5802 . . . . . . . . . 10  |-  ( X  e.  { X }  ->  ( ( { X }  X.  { y } ) `  X )  =  y )
233, 22mp1i 10 . . . . . . . . 9  |-  ( y  e.  B  ->  (
( { X }  X.  { y } ) `
 X )  =  y )
2423eqcomd 2211 . . . . . . . 8  |-  ( y  e.  B  ->  y  =  ( ( { X }  X.  {
y } ) `  X ) )
2520, 24jca 306 . . . . . . 7  |-  ( y  e.  B  ->  (
( { X }  X.  { y } )  e.  ( B  ^m  { X } )  /\  y  =  ( ( { X }  X.  {
y } ) `  X ) ) )
26 eleq1 2268 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } )  e.  ( B  ^m  { X } ) ) )
27 fveq1 5577 . . . . . . . . 9  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x `  X )  =  ( ( { X }  X.  { y } ) `
 X ) )
2827eqeq2d 2217 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( y  =  ( x `  X )  <->  y  =  ( ( { X }  X.  { y } ) `  X ) ) )
2926, 28anbi12d 473 . . . . . . 7  |-  ( x  =  ( { X }  X.  { y } )  ->  ( (
x  e.  ( B  ^m  { X }
)  /\  y  =  ( x `  X
) )  <->  ( ( { X }  X.  {
y } )  e.  ( B  ^m  { X } )  /\  y  =  ( ( { X }  X.  {
y } ) `  X ) ) ) )
3025, 29syl5ibrcom 157 . . . . . 6  |-  ( y  e.  B  ->  (
x  =  ( { X }  X.  {
y } )  -> 
( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) ) )
3130imp 124 . . . . 5  |-  ( ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) )  -> 
( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) )
3216, 31impbii 126 . . . 4  |-  ( ( x  e.  ( B  ^m  { X }
)  /\  y  =  ( x `  X
) )  <->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
33 mapsncnv.s . . . . . . 7  |-  S  =  { X }
3433oveq2i 5957 . . . . . 6  |-  ( B  ^m  S )  =  ( B  ^m  { X } )
3534eleq2i 2272 . . . . 5  |-  ( x  e.  ( B  ^m  S )  <->  x  e.  ( B  ^m  { X } ) )
3635anbi1i 458 . . . 4  |-  ( ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) )  <->  ( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) )
3733xpeq1i 4696 . . . . . 6  |-  ( S  X.  { y } )  =  ( { X }  X.  {
y } )
3837eqeq2i 2216 . . . . 5  |-  ( x  =  ( S  X.  { y } )  <-> 
x  =  ( { X }  X.  {
y } ) )
3938anbi2i 457 . . . 4  |-  ( ( y  e.  B  /\  x  =  ( S  X.  { y } ) )  <->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
4032, 36, 393bitr4i 212 . . 3  |-  ( ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) )  <->  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) )
4140opabbii 4112 . 2  |-  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) ) }  =  { <. y ,  x >.  |  (
y  e.  B  /\  x  =  ( S  X.  { y } ) ) }
42 mapsncnv.f . . . . 5  |-  F  =  ( x  e.  ( B  ^m  S ) 
|->  ( x `  X
) )
43 df-mpt 4108 . . . . 5  |-  ( x  e.  ( B  ^m  S )  |->  ( x `
 X ) )  =  { <. x ,  y >.  |  ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) ) }
4442, 43eqtri 2226 . . . 4  |-  F  =  { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4544cnveqi 4854 . . 3  |-  `' F  =  `' { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
46 cnvopab 5085 . . 3  |-  `' { <. x ,  y >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4745, 46eqtri 2226 . 2  |-  `' F  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
48 df-mpt 4108 . 2  |-  ( y  e.  B  |->  ( S  X.  { y } ) )  =  { <. y ,  x >.  |  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) }
4941, 47, 483eqtr4i 2236 1  |-  `' F  =  ( y  e.  B  |->  ( S  X.  { y } ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 104    = wceq 1373    e. wcel 2176   _Vcvv 2772   {csn 3633   {copab 4105    |-> cmpt 4106    X. cxp 4674   `'ccnv 4675   -->wf 5268   ` cfv 5272  (class class class)co 5946    ^m cmap 6737
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-in1 615  ax-in2 616  ax-io 711  ax-5 1470  ax-7 1471  ax-gen 1472  ax-ie1 1516  ax-ie2 1517  ax-8 1527  ax-10 1528  ax-11 1529  ax-i12 1530  ax-bndl 1532  ax-4 1533  ax-17 1549  ax-i9 1553  ax-ial 1557  ax-i5r 1558  ax-13 2178  ax-14 2179  ax-ext 2187  ax-sep 4163  ax-pow 4219  ax-pr 4254  ax-un 4481  ax-setind 4586
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1484  df-sb 1786  df-eu 2057  df-mo 2058  df-clab 2192  df-cleq 2198  df-clel 2201  df-nfc 2337  df-ne 2377  df-ral 2489  df-rex 2490  df-reu 2491  df-v 2774  df-sbc 2999  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pw 3618  df-sn 3639  df-pr 3640  df-op 3642  df-uni 3851  df-br 4046  df-opab 4107  df-mpt 4108  df-id 4341  df-xp 4682  df-rel 4683  df-cnv 4684  df-co 4685  df-dm 4686  df-rn 4687  df-res 4688  df-ima 4689  df-iota 5233  df-fun 5274  df-fn 5275  df-f 5276  df-f1 5277  df-fo 5278  df-f1o 5279  df-fv 5280  df-ov 5949  df-oprab 5950  df-mpo 5951  df-map 6739
This theorem is referenced by:  mapsnf1o2  6785  mapsnf1o3  6786
  Copyright terms: Public domain W3C validator