Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfres3 Unicode version

Theorem dfres3 24187
Description: Alternate definition of restriction. (Contributed by Scott Fenton, 17-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
dfres3  |-  ( A  |`  B )  =  ( A  i^i  ( B  X.  ran  A ) )

Proof of Theorem dfres3
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-res 4717 . 2  |-  ( A  |`  B )  =  ( A  i^i  ( B  X.  _V ) )
2 eleq1 2356 . . . . . . . . . 10  |-  ( x  =  <. y ,  z
>.  ->  ( x  e.  A  <->  <. y ,  z
>.  e.  A ) )
3 vex 2804 . . . . . . . . . . . 12  |-  z  e. 
_V
43biantru 491 . . . . . . . . . . 11  |-  ( y  e.  B  <->  ( y  e.  B  /\  z  e.  _V ) )
5 vex 2804 . . . . . . . . . . . . 13  |-  y  e. 
_V
65, 3opelrn 4926 . . . . . . . . . . . 12  |-  ( <.
y ,  z >.  e.  A  ->  z  e. 
ran  A )
76biantrud 493 . . . . . . . . . . 11  |-  ( <.
y ,  z >.  e.  A  ->  ( y  e.  B  <->  ( y  e.  B  /\  z  e.  ran  A ) ) )
84, 7syl5bbr 250 . . . . . . . . . 10  |-  ( <.
y ,  z >.  e.  A  ->  ( ( y  e.  B  /\  z  e.  _V )  <->  ( y  e.  B  /\  z  e.  ran  A ) ) )
92, 8syl6bi 219 . . . . . . . . 9  |-  ( x  =  <. y ,  z
>.  ->  ( x  e.  A  ->  ( (
y  e.  B  /\  z  e.  _V )  <->  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
109com12 27 . . . . . . . 8  |-  ( x  e.  A  ->  (
x  =  <. y ,  z >.  ->  (
( y  e.  B  /\  z  e.  _V ) 
<->  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
1110pm5.32d 620 . . . . . . 7  |-  ( x  e.  A  ->  (
( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  _V )
)  <->  ( x  = 
<. y ,  z >.  /\  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
12112exbidv 1618 . . . . . 6  |-  ( x  e.  A  ->  ( E. y E. z ( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  _V )
)  <->  E. y E. z
( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  ran  A ) ) ) )
13 elxp 4722 . . . . . 6  |-  ( x  e.  ( B  X.  _V )  <->  E. y E. z
( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  _V )
) )
14 elxp 4722 . . . . . 6  |-  ( x  e.  ( B  X.  ran  A )  <->  E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  B  /\  z  e.  ran  A ) ) )
1512, 13, 143bitr4g 279 . . . . 5  |-  ( x  e.  A  ->  (
x  e.  ( B  X.  _V )  <->  x  e.  ( B  X.  ran  A
) ) )
1615pm5.32i 618 . . . 4  |-  ( ( x  e.  A  /\  x  e.  ( B  X.  _V ) )  <->  ( x  e.  A  /\  x  e.  ( B  X.  ran  A ) ) )
17 elin 3371 . . . 4  |-  ( x  e.  ( A  i^i  ( B  X.  ran  A
) )  <->  ( x  e.  A  /\  x  e.  ( B  X.  ran  A ) ) )
1816, 17bitr4i 243 . . 3  |-  ( ( x  e.  A  /\  x  e.  ( B  X.  _V ) )  <->  x  e.  ( A  i^i  ( B  X.  ran  A ) ) )
1918ineqri 3375 . 2  |-  ( A  i^i  ( B  X.  _V ) )  =  ( A  i^i  ( B  X.  ran  A ) )
201, 19eqtri 2316 1  |-  ( A  |`  B )  =  ( A  i^i  ( B  X.  ran  A ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696   _Vcvv 2801    i^i cin 3164   <.cop 3656    X. cxp 4703   ran crn 4706    |` cres 4707
This theorem is referenced by:  brrestrict  24559
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-br 4040  df-opab 4094  df-xp 4711  df-cnv 4713  df-dm 4715  df-rn 4716  df-res 4717
  Copyright terms: Public domain W3C validator