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

Theorem mapsncnv 6689
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 6664 . . . . . . . . 9  |-  ( x  e.  ( B  ^m  { X } )  ->  x : { X } --> B )
2 mapsncnv.x . . . . . . . . . 10  |-  X  e. 
_V
32snid 3622 . . . . . . . . 9  |-  X  e. 
{ X }
4 ffvelcdm 5645 . . . . . . . . 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 2177 . . . . . . . . 9  |-  { X }  =  { X }
7 mapsncnv.b . . . . . . . . 9  |-  B  e. 
_V
86, 7, 2mapsnconst 6688 . . . . . . . 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 2240 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
y  e.  B  <->  ( x `  X )  e.  B
) )
11 sneq 3602 . . . . . . . . . 10  |-  ( y  =  ( x `  X )  ->  { y }  =  { ( x `  X ) } )
1211xpeq2d 4647 . . . . . . . . 9  |-  ( y  =  ( x `  X )  ->  ( { X }  X.  {
y } )  =  ( { X }  X.  { ( x `  X ) } ) )
1312eqeq2d 2189 . . . . . . . 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 5410 . . . . . . . . 9  |-  ( y  e.  B  ->  ( { X }  X.  {
y } ) : { X } --> B )
182snex 4182 . . . . . . . . . 10  |-  { X }  e.  _V
197, 18elmap 6671 . . . . . . . . 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 2740 . . . . . . . . . . 11  |-  y  e. 
_V
2221fvconst2 5728 . . . . . . . . . 10  |-  ( X  e.  { X }  ->  ( ( { X }  X.  { y } ) `  X )  =  y )
233, 22mp1i 10 . . . . . . . . 9  |-  ( y  e.  B  ->  (
( { X }  X.  { y } ) `
 X )  =  y )
2423eqcomd 2183 . . . . . . . 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 2240 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } )  e.  ( B  ^m  { X } ) ) )
27 fveq1 5510 . . . . . . . . 9  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x `  X )  =  ( ( { X }  X.  { y } ) `
 X ) )
2827eqeq2d 2189 . . . . . . . 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 5880 . . . . . 6  |-  ( B  ^m  S )  =  ( B  ^m  { X } )
3534eleq2i 2244 . . . . 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 4643 . . . . . 6  |-  ( S  X.  { y } )  =  ( { X }  X.  {
y } )
3837eqeq2i 2188 . . . . 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 4067 . 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 4063 . . . . 5  |-  ( x  e.  ( B  ^m  S )  |->  ( x `
 X ) )  =  { <. x ,  y >.  |  ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) ) }
4442, 43eqtri 2198 . . . 4  |-  F  =  { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4544cnveqi 4798 . . 3  |-  `' F  =  `' { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
46 cnvopab 5026 . . 3  |-  `' { <. x ,  y >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4745, 46eqtri 2198 . 2  |-  `' F  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
48 df-mpt 4063 . 2  |-  ( y  e.  B  |->  ( S  X.  { y } ) )  =  { <. y ,  x >.  |  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) }
4941, 47, 483eqtr4i 2208 1  |-  `' F  =  ( y  e.  B  |->  ( S  X.  { y } ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 104    = wceq 1353    e. wcel 2148   _Vcvv 2737   {csn 3591   {copab 4060    |-> cmpt 4061    X. cxp 4621   `'ccnv 4622   -->wf 5208   ` cfv 5212  (class class class)co 5869    ^m cmap 6642
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 614  ax-in2 615  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  ax-setind 4533
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  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-ne 2348  df-ral 2460  df-rex 2461  df-reu 2462  df-v 2739  df-sbc 2963  df-dif 3131  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-res 4635  df-ima 4636  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-f1 5217  df-fo 5218  df-f1o 5219  df-fv 5220  df-ov 5872  df-oprab 5873  df-mpo 5874  df-map 6644
This theorem is referenced by:  mapsnf1o2  6690  mapsnf1o3  6691
  Copyright terms: Public domain W3C validator