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

Theorem mapsncnv 6541
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 6516 . . . . . . . . 9  |-  ( x  e.  ( B  ^m  { X } )  ->  x : { X } --> B )
2 mapsncnv.x . . . . . . . . . 10  |-  X  e. 
_V
32snid 3520 . . . . . . . . 9  |-  X  e. 
{ X }
4 ffvelrn 5505 . . . . . . . . 9  |-  ( ( x : { X }
--> B  /\  X  e. 
{ X } )  ->  ( x `  X )  e.  B
)
51, 3, 4sylancl 407 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  -> 
( x `  X
)  e.  B )
6 eqid 2113 . . . . . . . . 9  |-  { X }  =  { X }
7 mapsncnv.b . . . . . . . . 9  |-  B  e. 
_V
86, 7, 2mapsnconst 6540 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  ->  x  =  ( { X }  X.  { ( x `  X ) } ) )
95, 8jca 302 . . . . . . 7  |-  ( x  e.  ( B  ^m  { X } )  -> 
( ( x `  X )  e.  B  /\  x  =  ( { X }  X.  {
( x `  X
) } ) ) )
10 eleq1 2175 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
y  e.  B  <->  ( x `  X )  e.  B
) )
11 sneq 3502 . . . . . . . . . 10  |-  ( y  =  ( x `  X )  ->  { y }  =  { ( x `  X ) } )
1211xpeq2d 4521 . . . . . . . . 9  |-  ( y  =  ( x `  X )  ->  ( { X }  X.  {
y } )  =  ( { X }  X.  { ( x `  X ) } ) )
1312eqeq2d 2124 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
x  =  ( { X }  X.  {
y } )  <->  x  =  ( { X }  X.  { ( x `  X ) } ) ) )
1410, 13anbi12d 462 . . . . . . 7  |-  ( y  =  ( x `  X )  ->  (
( y  e.  B  /\  x  =  ( { X }  X.  {
y } ) )  <-> 
( ( x `  X )  e.  B  /\  x  =  ( { X }  X.  {
( x `  X
) } ) ) ) )
159, 14syl5ibrcom 156 . . . . . 6  |-  ( x  e.  ( B  ^m  { X } )  -> 
( y  =  ( x `  X )  ->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) ) )
1615imp 123 . . . . 5  |-  ( ( x  e.  ( B  ^m  { X }
)  /\  y  =  ( x `  X
) )  ->  (
y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
17 fconst6g 5277 . . . . . . . . 9  |-  ( y  e.  B  ->  ( { X }  X.  {
y } ) : { X } --> B )
182snex 4067 . . . . . . . . . 10  |-  { X }  e.  _V
197, 18elmap 6523 . . . . . . . . 9  |-  ( ( { X }  X.  { y } )  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } ) : { X } --> B )
2017, 19sylibr 133 . . . . . . . 8  |-  ( y  e.  B  ->  ( { X }  X.  {
y } )  e.  ( B  ^m  { X } ) )
21 vex 2658 . . . . . . . . . . 11  |-  y  e. 
_V
2221fvconst2 5588 . . . . . . . . . 10  |-  ( X  e.  { X }  ->  ( ( { X }  X.  { y } ) `  X )  =  y )
233, 22mp1i 10 . . . . . . . . 9  |-  ( y  e.  B  ->  (
( { X }  X.  { y } ) `
 X )  =  y )
2423eqcomd 2118 . . . . . . . 8  |-  ( y  e.  B  ->  y  =  ( ( { X }  X.  {
y } ) `  X ) )
2520, 24jca 302 . . . . . . 7  |-  ( y  e.  B  ->  (
( { X }  X.  { y } )  e.  ( B  ^m  { X } )  /\  y  =  ( ( { X }  X.  {
y } ) `  X ) ) )
26 eleq1 2175 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } )  e.  ( B  ^m  { X } ) ) )
27 fveq1 5372 . . . . . . . . 9  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x `  X )  =  ( ( { X }  X.  { y } ) `
 X ) )
2827eqeq2d 2124 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( y  =  ( x `  X )  <->  y  =  ( ( { X }  X.  { y } ) `  X ) ) )
2926, 28anbi12d 462 . . . . . . 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 156 . . . . . 6  |-  ( y  e.  B  ->  (
x  =  ( { X }  X.  {
y } )  -> 
( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) ) )
3130imp 123 . . . . 5  |-  ( ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) )  -> 
( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) )
3216, 31impbii 125 . . . 4  |-  ( ( x  e.  ( B  ^m  { X }
)  /\  y  =  ( x `  X
) )  <->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
33 mapsncnv.s . . . . . . 7  |-  S  =  { X }
3433oveq2i 5737 . . . . . 6  |-  ( B  ^m  S )  =  ( B  ^m  { X } )
3534eleq2i 2179 . . . . 5  |-  ( x  e.  ( B  ^m  S )  <->  x  e.  ( B  ^m  { X } ) )
3635anbi1i 451 . . . 4  |-  ( ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) )  <->  ( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) )
3733xpeq1i 4517 . . . . . 6  |-  ( S  X.  { y } )  =  ( { X }  X.  {
y } )
3837eqeq2i 2123 . . . . 5  |-  ( x  =  ( S  X.  { y } )  <-> 
x  =  ( { X }  X.  {
y } ) )
3938anbi2i 450 . . . 4  |-  ( ( y  e.  B  /\  x  =  ( S  X.  { y } ) )  <->  ( y  e.  B  /\  x  =  ( { X }  X.  { y } ) ) )
4032, 36, 393bitr4i 211 . . 3  |-  ( ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) )  <->  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) )
4140opabbii 3953 . 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 3949 . . . . 5  |-  ( x  e.  ( B  ^m  S )  |->  ( x `
 X ) )  =  { <. x ,  y >.  |  ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) ) }
4442, 43eqtri 2133 . . . 4  |-  F  =  { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4544cnveqi 4672 . . 3  |-  `' F  =  `' { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
46 cnvopab 4896 . . 3  |-  `' { <. x ,  y >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4745, 46eqtri 2133 . 2  |-  `' F  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
48 df-mpt 3949 . 2  |-  ( y  e.  B  |->  ( S  X.  { y } ) )  =  { <. y ,  x >.  |  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) }
4941, 47, 483eqtr4i 2143 1  |-  `' F  =  ( y  e.  B  |->  ( S  X.  { y } ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 103    = wceq 1312    e. wcel 1461   _Vcvv 2655   {csn 3491   {copab 3946    |-> cmpt 3947    X. cxp 4495   `'ccnv 4496   -->wf 5075   ` cfv 5079  (class class class)co 5726    ^m cmap 6494
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1404  ax-7 1405  ax-gen 1406  ax-ie1 1450  ax-ie2 1451  ax-8 1463  ax-10 1464  ax-11 1465  ax-i12 1466  ax-bndl 1467  ax-4 1468  ax-13 1472  ax-14 1473  ax-17 1487  ax-i9 1491  ax-ial 1495  ax-i5r 1496  ax-ext 2095  ax-sep 4004  ax-pow 4056  ax-pr 4089  ax-un 4313  ax-setind 4410
This theorem depends on definitions:  df-bi 116  df-3an 945  df-tru 1315  df-fal 1318  df-nf 1418  df-sb 1717  df-eu 1976  df-mo 1977  df-clab 2100  df-cleq 2106  df-clel 2109  df-nfc 2242  df-ne 2281  df-ral 2393  df-rex 2394  df-reu 2395  df-v 2657  df-sbc 2877  df-dif 3037  df-un 3039  df-in 3041  df-ss 3048  df-pw 3476  df-sn 3497  df-pr 3498  df-op 3500  df-uni 3701  df-br 3894  df-opab 3948  df-mpt 3949  df-id 4173  df-xp 4503  df-rel 4504  df-cnv 4505  df-co 4506  df-dm 4507  df-rn 4508  df-res 4509  df-ima 4510  df-iota 5044  df-fun 5081  df-fn 5082  df-f 5083  df-f1 5084  df-fo 5085  df-f1o 5086  df-fv 5087  df-ov 5729  df-oprab 5730  df-mpo 5731  df-map 6496
This theorem is referenced by:  mapsnf1o2  6542  mapsnf1o3  6543
  Copyright terms: Public domain W3C validator