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

Theorem ssrnres 5435
Description: Subset of the range of a restriction. (Contributed by NM, 16-Jan-2006.)
Assertion
Ref Expression
ssrnres  |-  ( B 
C_  ran  ( C  |`  A )  <->  ran  ( C  i^i  ( A  X.  B ) )  =  B )

Proof of Theorem ssrnres
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 inss2 3704 . . . . 5  |-  ( C  i^i  ( A  X.  B ) )  C_  ( A  X.  B
)
2 rnss 5221 . . . . 5  |-  ( ( C  i^i  ( A  X.  B ) ) 
C_  ( A  X.  B )  ->  ran  ( C  i^i  ( A  X.  B ) ) 
C_  ran  ( A  X.  B ) )
31, 2ax-mp 5 . . . 4  |-  ran  ( C  i^i  ( A  X.  B ) )  C_  ran  ( A  X.  B
)
4 rnxpss 5429 . . . 4  |-  ran  ( A  X.  B )  C_  B
53, 4sstri 3498 . . 3  |-  ran  ( C  i^i  ( A  X.  B ) )  C_  B
6 eqss 3504 . . 3  |-  ( ran  ( C  i^i  ( A  X.  B ) )  =  B  <->  ( ran  ( C  i^i  ( A  X.  B ) ) 
C_  B  /\  B  C_ 
ran  ( C  i^i  ( A  X.  B
) ) ) )
75, 6mpbiran 918 . 2  |-  ( ran  ( C  i^i  ( A  X.  B ) )  =  B  <->  B  C_  ran  ( C  i^i  ( A  X.  B ) ) )
8 ssid 3508 . . . . . . . 8  |-  A  C_  A
9 ssv 3509 . . . . . . . 8  |-  B  C_  _V
10 xpss12 5098 . . . . . . . 8  |-  ( ( A  C_  A  /\  B  C_  _V )  -> 
( A  X.  B
)  C_  ( A  X.  _V ) )
118, 9, 10mp2an 672 . . . . . . 7  |-  ( A  X.  B )  C_  ( A  X.  _V )
12 sslin 3709 . . . . . . 7  |-  ( ( A  X.  B ) 
C_  ( A  X.  _V )  ->  ( C  i^i  ( A  X.  B ) )  C_  ( C  i^i  ( A  X.  _V ) ) )
1311, 12ax-mp 5 . . . . . 6  |-  ( C  i^i  ( A  X.  B ) )  C_  ( C  i^i  ( A  X.  _V ) )
14 df-res 5001 . . . . . 6  |-  ( C  |`  A )  =  ( C  i^i  ( A  X.  _V ) )
1513, 14sseqtr4i 3522 . . . . 5  |-  ( C  i^i  ( A  X.  B ) )  C_  ( C  |`  A )
16 rnss 5221 . . . . 5  |-  ( ( C  i^i  ( A  X.  B ) ) 
C_  ( C  |`  A )  ->  ran  ( C  i^i  ( A  X.  B ) ) 
C_  ran  ( C  |`  A ) )
1715, 16ax-mp 5 . . . 4  |-  ran  ( C  i^i  ( A  X.  B ) )  C_  ran  ( C  |`  A )
18 sstr 3497 . . . 4  |-  ( ( B  C_  ran  ( C  i^i  ( A  X.  B ) )  /\  ran  ( C  i^i  ( A  X.  B ) ) 
C_  ran  ( C  |`  A ) )  ->  B  C_  ran  ( C  |`  A ) )
1917, 18mpan2 671 . . 3  |-  ( B 
C_  ran  ( C  i^i  ( A  X.  B
) )  ->  B  C_ 
ran  ( C  |`  A ) )
20 ssel 3483 . . . . . . 7  |-  ( B 
C_  ran  ( C  |`  A )  ->  (
y  e.  B  -> 
y  e.  ran  ( C  |`  A ) ) )
21 vex 3098 . . . . . . . 8  |-  y  e. 
_V
2221elrn2 5232 . . . . . . 7  |-  ( y  e.  ran  ( C  |`  A )  <->  E. x <. x ,  y >.  e.  ( C  |`  A ) )
2320, 22syl6ib 226 . . . . . 6  |-  ( B 
C_  ran  ( C  |`  A )  ->  (
y  e.  B  ->  E. x <. x ,  y
>.  e.  ( C  |`  A ) ) )
2423ancrd 554 . . . . 5  |-  ( B 
C_  ran  ( C  |`  A )  ->  (
y  e.  B  -> 
( E. x <. x ,  y >.  e.  ( C  |`  A )  /\  y  e.  B
) ) )
2521elrn2 5232 . . . . . 6  |-  ( y  e.  ran  ( C  i^i  ( A  X.  B ) )  <->  E. x <. x ,  y >.  e.  ( C  i^i  ( A  X.  B ) ) )
26 elin 3672 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  ( C  i^i  ( A  X.  B ) )  <-> 
( <. x ,  y
>.  e.  C  /\  <. x ,  y >.  e.  ( A  X.  B ) ) )
27 opelxp 5019 . . . . . . . . 9  |-  ( <.
x ,  y >.  e.  ( A  X.  B
)  <->  ( x  e.  A  /\  y  e.  B ) )
2827anbi2i 694 . . . . . . . 8  |-  ( (
<. x ,  y >.  e.  C  /\  <. x ,  y >.  e.  ( A  X.  B ) )  <->  ( <. x ,  y >.  e.  C  /\  ( x  e.  A  /\  y  e.  B
) ) )
2921opelres 5269 . . . . . . . . . 10  |-  ( <.
x ,  y >.  e.  ( C  |`  A )  <-> 
( <. x ,  y
>.  e.  C  /\  x  e.  A ) )
3029anbi1i 695 . . . . . . . . 9  |-  ( (
<. x ,  y >.  e.  ( C  |`  A )  /\  y  e.  B
)  <->  ( ( <.
x ,  y >.  e.  C  /\  x  e.  A )  /\  y  e.  B ) )
31 anass 649 . . . . . . . . 9  |-  ( ( ( <. x ,  y
>.  e.  C  /\  x  e.  A )  /\  y  e.  B )  <->  ( <. x ,  y >.  e.  C  /\  ( x  e.  A  /\  y  e.  B
) ) )
3230, 31bitr2i 250 . . . . . . . 8  |-  ( (
<. x ,  y >.  e.  C  /\  (
x  e.  A  /\  y  e.  B )
)  <->  ( <. x ,  y >.  e.  ( C  |`  A )  /\  y  e.  B
) )
3326, 28, 323bitri 271 . . . . . . 7  |-  ( <.
x ,  y >.  e.  ( C  i^i  ( A  X.  B ) )  <-> 
( <. x ,  y
>.  e.  ( C  |`  A )  /\  y  e.  B ) )
3433exbii 1654 . . . . . 6  |-  ( E. x <. x ,  y
>.  e.  ( C  i^i  ( A  X.  B
) )  <->  E. x
( <. x ,  y
>.  e.  ( C  |`  A )  /\  y  e.  B ) )
35 19.41v 1757 . . . . . 6  |-  ( E. x ( <. x ,  y >.  e.  ( C  |`  A )  /\  y  e.  B
)  <->  ( E. x <. x ,  y >.  e.  ( C  |`  A )  /\  y  e.  B
) )
3625, 34, 353bitri 271 . . . . 5  |-  ( y  e.  ran  ( C  i^i  ( A  X.  B ) )  <->  ( E. x <. x ,  y
>.  e.  ( C  |`  A )  /\  y  e.  B ) )
3724, 36syl6ibr 227 . . . 4  |-  ( B 
C_  ran  ( C  |`  A )  ->  (
y  e.  B  -> 
y  e.  ran  ( C  i^i  ( A  X.  B ) ) ) )
3837ssrdv 3495 . . 3  |-  ( B 
C_  ran  ( C  |`  A )  ->  B  C_ 
ran  ( C  i^i  ( A  X.  B
) ) )
3919, 38impbii 188 . 2  |-  ( B 
C_  ran  ( C  i^i  ( A  X.  B
) )  <->  B  C_  ran  ( C  |`  A ) )
407, 39bitr2i 250 1  |-  ( B 
C_  ran  ( C  |`  A )  <->  ran  ( C  i^i  ( A  X.  B ) )  =  B )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1383   E.wex 1599    e. wcel 1804   _Vcvv 3095    i^i cin 3460    C_ wss 3461   <.cop 4020    X. cxp 4987   ran crn 4990    |` cres 4991
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1605  ax-4 1618  ax-5 1691  ax-6 1734  ax-7 1776  ax-9 1808  ax-10 1823  ax-11 1828  ax-12 1840  ax-13 1985  ax-ext 2421  ax-sep 4558  ax-nul 4566  ax-pr 4676
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 976  df-tru 1386  df-ex 1600  df-nf 1604  df-sb 1727  df-eu 2272  df-mo 2273  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2593  df-ne 2640  df-ral 2798  df-rex 2799  df-rab 2802  df-v 3097  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3771  df-if 3927  df-sn 4015  df-pr 4017  df-op 4021  df-br 4438  df-opab 4496  df-xp 4995  df-rel 4996  df-cnv 4997  df-dm 4999  df-rn 5000  df-res 5001
This theorem is referenced by:  rninxp  5436
  Copyright terms: Public domain W3C validator