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

Theorem dfres3 27538
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 4847 . 2  |-  ( A  |`  B )  =  ( A  i^i  ( B  X.  _V ) )
2 eleq1 2498 . . . . . . . . . 10  |-  ( x  =  <. y ,  z
>.  ->  ( x  e.  A  <->  <. y ,  z
>.  e.  A ) )
3 vex 2970 . . . . . . . . . . . 12  |-  z  e. 
_V
43biantru 505 . . . . . . . . . . 11  |-  ( y  e.  B  <->  ( y  e.  B  /\  z  e.  _V ) )
5 vex 2970 . . . . . . . . . . . . 13  |-  y  e. 
_V
65, 3opelrn 5066 . . . . . . . . . . . 12  |-  ( <.
y ,  z >.  e.  A  ->  z  e. 
ran  A )
76biantrud 507 . . . . . . . . . . 11  |-  ( <.
y ,  z >.  e.  A  ->  ( y  e.  B  <->  ( y  e.  B  /\  z  e.  ran  A ) ) )
84, 7syl5bbr 259 . . . . . . . . . 10  |-  ( <.
y ,  z >.  e.  A  ->  ( ( y  e.  B  /\  z  e.  _V )  <->  ( y  e.  B  /\  z  e.  ran  A ) ) )
92, 8syl6bi 228 . . . . . . . . 9  |-  ( x  =  <. y ,  z
>.  ->  ( x  e.  A  ->  ( (
y  e.  B  /\  z  e.  _V )  <->  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
109com12 31 . . . . . . . 8  |-  ( x  e.  A  ->  (
x  =  <. y ,  z >.  ->  (
( y  e.  B  /\  z  e.  _V ) 
<->  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
1110pm5.32d 639 . . . . . . 7  |-  ( x  e.  A  ->  (
( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  _V )
)  <->  ( x  = 
<. y ,  z >.  /\  ( y  e.  B  /\  z  e.  ran  A ) ) ) )
12112exbidv 1682 . . . . . 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 4852 . . . . . 6  |-  ( x  e.  ( B  X.  _V )  <->  E. y E. z
( x  =  <. y ,  z >.  /\  (
y  e.  B  /\  z  e.  _V )
) )
14 elxp 4852 . . . . . 6  |-  ( x  e.  ( B  X.  ran  A )  <->  E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  B  /\  z  e.  ran  A ) ) )
1512, 13, 143bitr4g 288 . . . . 5  |-  ( x  e.  A  ->  (
x  e.  ( B  X.  _V )  <->  x  e.  ( B  X.  ran  A
) ) )
1615pm5.32i 637 . . . 4  |-  ( ( x  e.  A  /\  x  e.  ( B  X.  _V ) )  <->  ( x  e.  A  /\  x  e.  ( B  X.  ran  A ) ) )
17 elin 3534 . . . 4  |-  ( x  e.  ( A  i^i  ( B  X.  ran  A
) )  <->  ( x  e.  A  /\  x  e.  ( B  X.  ran  A ) ) )
1816, 17bitr4i 252 . . 3  |-  ( ( x  e.  A  /\  x  e.  ( B  X.  _V ) )  <->  x  e.  ( A  i^i  ( B  X.  ran  A ) ) )
1918ineqri 3539 . 2  |-  ( A  i^i  ( B  X.  _V ) )  =  ( A  i^i  ( B  X.  ran  A ) )
201, 19eqtri 2458 1  |-  ( A  |`  B )  =  ( A  i^i  ( B  X.  ran  A ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   _Vcvv 2967    i^i cin 3322   <.cop 3878    X. cxp 4833   ran crn 4836    |` cres 4837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419  ax-sep 4408  ax-nul 4416  ax-pr 4526
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-rab 2719  df-v 2969  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-nul 3633  df-if 3787  df-sn 3873  df-pr 3875  df-op 3879  df-br 4288  df-opab 4346  df-xp 4841  df-cnv 4843  df-dm 4845  df-rn 4846  df-res 4847
This theorem is referenced by:  brrestrict  27949
  Copyright terms: Public domain W3C validator