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

Theorem ressn 5211
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 4983 . 2  |-  Rel  ( A  |`  { B }
)
2 relxp 4794 . 2  |-  Rel  ( { B }  X.  ( A " { B }
) )
3 ancom 437 . . . 4  |-  ( (
<. x ,  y >.  e.  A  /\  x  e.  { B } )  <-> 
( x  e.  { B }  /\  <. x ,  y >.  e.  A
) )
4 vex 2791 . . . . . . 7  |-  x  e. 
_V
5 vex 2791 . . . . . . 7  |-  y  e. 
_V
64, 5elimasn 5038 . . . . . 6  |-  ( y  e.  ( A " { x } )  <->  <. x ,  y >.  e.  A )
7 elsni 3664 . . . . . . . . 9  |-  ( x  e.  { B }  ->  x  =  B )
87sneqd 3653 . . . . . . . 8  |-  ( x  e.  { B }  ->  { x }  =  { B } )
98imaeq2d 5012 . . . . . . 7  |-  ( x  e.  { B }  ->  ( A " {
x } )  =  ( A " { B } ) )
109eleq2d 2350 . . . . . 6  |-  ( x  e.  { B }  ->  ( y  e.  ( A " { x } )  <->  y  e.  ( A " { B } ) ) )
116, 10syl5bbr 250 . . . . 5  |-  ( x  e.  { B }  ->  ( <. x ,  y
>.  e.  A  <->  y  e.  ( A " { B } ) ) )
1211pm5.32i 618 . . . 4  |-  ( ( x  e.  { B }  /\  <. x ,  y
>.  e.  A )  <->  ( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
133, 12bitri 240 . . 3  |-  ( (
<. x ,  y >.  e.  A  /\  x  e.  { B } )  <-> 
( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
145opelres 4960 . . 3  |-  ( <.
x ,  y >.  e.  ( A  |`  { B } )  <->  ( <. x ,  y >.  e.  A  /\  x  e.  { B } ) )
15 opelxp 4719 . . 3  |-  ( <.
x ,  y >.  e.  ( { B }  X.  ( A " { B } ) )  <->  ( x  e.  { B }  /\  y  e.  ( A " { B } ) ) )
1613, 14, 153bitr4i 268 . 2  |-  ( <.
x ,  y >.  e.  ( A  |`  { B } )  <->  <. x ,  y >.  e.  ( { B }  X.  ( A " { B }
) ) )
171, 2, 16eqrelriiv 4781 1  |-  ( A  |`  { B } )  =  ( { B }  X.  ( A " { B } ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 358    = wceq 1623    e. wcel 1684   {csn 3640   <.cop 3643    X. cxp 4687    |` cres 4691   "cima 4692
This theorem is referenced by:  gsum2d  15223  dprd2da  15277
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-br 4024  df-opab 4078  df-xp 4695  df-rel 4696  df-cnv 4697  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702
  Copyright terms: Public domain W3C validator