MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ressn Structured version   Visualization version   Unicode version

Theorem ressn 5671
Description: Restriction of a class to a singleton. (Contributed by Mario Carneiro, 28-Dec-2014.)
Assertion
Ref Expression
ressn  |-  ( A  |`  { B } )  =  ( { B }  X.  ( A " { B } ) )

Proof of Theorem ressn
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5426 . 2  |-  Rel  ( A  |`  { B }
)
2 relxp 5227 . 2  |-  Rel  ( { B }  X.  ( A " { B }
) )
3 ancom 466 . . . 4  |-  ( (
<. x ,  y >.  e.  A  /\  x  e.  { B } )  <-> 
( x  e.  { B }  /\  <. x ,  y >.  e.  A
) )
4 vex 3203 . . . . . . 7  |-  x  e. 
_V
5 vex 3203 . . . . . . 7  |-  y  e. 
_V
64, 5elimasn 5490 . . . . . 6  |-  ( y  e.  ( A " { x } )  <->  <. x ,  y >.  e.  A )
7 elsni 4194 . . . . . . . . 9  |-  ( x  e.  { B }  ->  x  =  B )
87sneqd 4189 . . . . . . . 8  |-  ( x  e.  { B }  ->  { x }  =  { B } )
98imaeq2d 5466 . . . . . . 7  |-  ( x  e.  { B }  ->  ( A " {
x } )  =  ( A " { B } ) )
109eleq2d 2687 . . . . . 6  |-  ( x  e.  { B }  ->  ( y  e.  ( A " { x } )  <->  y  e.  ( A " { B } ) ) )
116, 10syl5bbr 274 . . . . 5  |-  ( x  e.  { B }  ->  ( <. x ,  y
>.  e.  A  <->  y  e.  ( A " { B } ) ) )
1211pm5.32i 669 . . . 4  |-  ( ( x  e.  { B }  /\  <. x ,  y
>.  e.  A )  <->  ( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
133, 12bitri 264 . . 3  |-  ( (
<. x ,  y >.  e.  A  /\  x  e.  { B } )  <-> 
( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
145opelres 5401 . . 3  |-  ( <.
x ,  y >.  e.  ( A  |`  { B } )  <->  ( <. x ,  y >.  e.  A  /\  x  e.  { B } ) )
15 opelxp 5146 . . 3  |-  ( <.
x ,  y >.  e.  ( { B }  X.  ( A " { B } ) )  <->  ( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
1613, 14, 153bitr4i 292 . 2  |-  ( <.
x ,  y >.  e.  ( A  |`  { B } )  <->  <. x ,  y >.  e.  ( { B }  X.  ( A " { B }
) ) )
171, 2, 16eqrelriiv 5214 1  |-  ( A  |`  { B } )  =  ( { B }  X.  ( A " { B } ) )
Colors of variables: wff setvar class
Syntax hints:    /\ wa 384    = wceq 1483    e. wcel 1990   {csn 4177   <.cop 4183    X. cxp 5112    |` cres 5116   "cima 5117
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-rel 5121  df-cnv 5122  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127
This theorem is referenced by:  gsum2dlem2  18370  dprd2da  18441  ustneism  22027
  Copyright terms: Public domain W3C validator