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

Theorem mapsncnv 6589
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 6564 . . . . . . . . 9  |-  ( x  e.  ( B  ^m  { X } )  ->  x : { X } --> B )
2 mapsncnv.x . . . . . . . . . 10  |-  X  e. 
_V
32snid 3556 . . . . . . . . 9  |-  X  e. 
{ X }
4 ffvelrn 5553 . . . . . . . . 9  |-  ( ( x : { X }
--> B  /\  X  e. 
{ X } )  ->  ( x `  X )  e.  B
)
51, 3, 4sylancl 409 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  -> 
( x `  X
)  e.  B )
6 eqid 2139 . . . . . . . . 9  |-  { X }  =  { X }
7 mapsncnv.b . . . . . . . . 9  |-  B  e. 
_V
86, 7, 2mapsnconst 6588 . . . . . . . 8  |-  ( x  e.  ( B  ^m  { X } )  ->  x  =  ( { X }  X.  { ( x `  X ) } ) )
95, 8jca 304 . . . . . . 7  |-  ( x  e.  ( B  ^m  { X } )  -> 
( ( x `  X )  e.  B  /\  x  =  ( { X }  X.  {
( x `  X
) } ) ) )
10 eleq1 2202 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
y  e.  B  <->  ( x `  X )  e.  B
) )
11 sneq 3538 . . . . . . . . . 10  |-  ( y  =  ( x `  X )  ->  { y }  =  { ( x `  X ) } )
1211xpeq2d 4563 . . . . . . . . 9  |-  ( y  =  ( x `  X )  ->  ( { X }  X.  {
y } )  =  ( { X }  X.  { ( x `  X ) } ) )
1312eqeq2d 2151 . . . . . . . 8  |-  ( y  =  ( x `  X )  ->  (
x  =  ( { X }  X.  {
y } )  <->  x  =  ( { X }  X.  { ( x `  X ) } ) ) )
1410, 13anbi12d 464 . . . . . . 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 5321 . . . . . . . . 9  |-  ( y  e.  B  ->  ( { X }  X.  {
y } ) : { X } --> B )
182snex 4109 . . . . . . . . . 10  |-  { X }  e.  _V
197, 18elmap 6571 . . . . . . . . 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 2689 . . . . . . . . . . 11  |-  y  e. 
_V
2221fvconst2 5636 . . . . . . . . . 10  |-  ( X  e.  { X }  ->  ( ( { X }  X.  { y } ) `  X )  =  y )
233, 22mp1i 10 . . . . . . . . 9  |-  ( y  e.  B  ->  (
( { X }  X.  { y } ) `
 X )  =  y )
2423eqcomd 2145 . . . . . . . 8  |-  ( y  e.  B  ->  y  =  ( ( { X }  X.  {
y } ) `  X ) )
2520, 24jca 304 . . . . . . 7  |-  ( y  e.  B  ->  (
( { X }  X.  { y } )  e.  ( B  ^m  { X } )  /\  y  =  ( ( { X }  X.  {
y } ) `  X ) ) )
26 eleq1 2202 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x  e.  ( B  ^m  { X } )  <->  ( { X }  X.  { y } )  e.  ( B  ^m  { X } ) ) )
27 fveq1 5420 . . . . . . . . 9  |-  ( x  =  ( { X }  X.  { y } )  ->  ( x `  X )  =  ( ( { X }  X.  { y } ) `
 X ) )
2827eqeq2d 2151 . . . . . . . 8  |-  ( x  =  ( { X }  X.  { y } )  ->  ( y  =  ( x `  X )  <->  y  =  ( ( { X }  X.  { y } ) `  X ) ) )
2926, 28anbi12d 464 . . . . . . 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 5785 . . . . . 6  |-  ( B  ^m  S )  =  ( B  ^m  { X } )
3534eleq2i 2206 . . . . 5  |-  ( x  e.  ( B  ^m  S )  <->  x  e.  ( B  ^m  { X } ) )
3635anbi1i 453 . . . 4  |-  ( ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) )  <->  ( x  e.  ( B  ^m  { X } )  /\  y  =  ( x `  X ) ) )
3733xpeq1i 4559 . . . . . 6  |-  ( S  X.  { y } )  =  ( { X }  X.  {
y } )
3837eqeq2i 2150 . . . . 5  |-  ( x  =  ( S  X.  { y } )  <-> 
x  =  ( { X }  X.  {
y } ) )
3938anbi2i 452 . . . 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 3995 . 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 3991 . . . . 5  |-  ( x  e.  ( B  ^m  S )  |->  ( x `
 X ) )  =  { <. x ,  y >.  |  ( x  e.  ( B  ^m  S )  /\  y  =  ( x `  X ) ) }
4442, 43eqtri 2160 . . . 4  |-  F  =  { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4544cnveqi 4714 . . 3  |-  `' F  =  `' { <. x ,  y
>.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
46 cnvopab 4940 . . 3  |-  `' { <. x ,  y >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
4745, 46eqtri 2160 . 2  |-  `' F  =  { <. y ,  x >.  |  ( x  e.  ( B  ^m  S
)  /\  y  =  ( x `  X
) ) }
48 df-mpt 3991 . 2  |-  ( y  e.  B  |->  ( S  X.  { y } ) )  =  { <. y ,  x >.  |  ( y  e.  B  /\  x  =  ( S  X.  { y } ) ) }
4941, 47, 483eqtr4i 2170 1  |-  `' F  =  ( y  e.  B  |->  ( S  X.  { y } ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 103    = wceq 1331    e. wcel 1480   _Vcvv 2686   {csn 3527   {copab 3988    |-> cmpt 3989    X. cxp 4537   `'ccnv 4538   -->wf 5119   ` cfv 5123  (class class class)co 5774    ^m cmap 6542
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-ral 2421  df-rex 2422  df-reu 2423  df-v 2688  df-sbc 2910  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-br 3930  df-opab 3990  df-mpt 3991  df-id 4215  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-ov 5777  df-oprab 5778  df-mpo 5779  df-map 6544
This theorem is referenced by:  mapsnf1o2  6590  mapsnf1o3  6591
  Copyright terms: Public domain W3C validator