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

Theorem ssrnres 5374
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 3669 . . . . 5  |-  ( C  i^i  ( A  X.  B ) )  C_  ( A  X.  B
)
2 rnss 5166 . . . . 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 5368 . . . 4  |-  ran  ( A  X.  B )  C_  B
53, 4sstri 3463 . . 3  |-  ran  ( C  i^i  ( A  X.  B ) )  C_  B
6 eqss 3469 . . 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 909 . 2  |-  ( ran  ( C  i^i  ( A  X.  B ) )  =  B  <->  B  C_  ran  ( C  i^i  ( A  X.  B ) ) )
8 ssid 3473 . . . . . . . 8  |-  A  C_  A
9 ssv 3474 . . . . . . . 8  |-  B  C_  _V
10 xpss12 5043 . . . . . . . 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 3674 . . . . . . 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 4950 . . . . . 6  |-  ( C  |`  A )  =  ( C  i^i  ( A  X.  _V ) )
1513, 14sseqtr4i 3487 . . . . 5  |-  ( C  i^i  ( A  X.  B ) )  C_  ( C  |`  A )
16 rnss 5166 . . . . 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 3462 . . . 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 3448 . . . . . . 7  |-  ( B 
C_  ran  ( C  |`  A )  ->  (
y  e.  B  -> 
y  e.  ran  ( C  |`  A ) ) )
21 vex 3071 . . . . . . . 8  |-  y  e. 
_V
2221elrn2 5177 . . . . . . 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 5177 . . . . . 6  |-  ( y  e.  ran  ( C  i^i  ( A  X.  B ) )  <->  E. x <. x ,  y >.  e.  ( C  i^i  ( A  X.  B ) ) )
26 elin 3637 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  ( C  i^i  ( A  X.  B ) )  <-> 
( <. x ,  y
>.  e.  C  /\  <. x ,  y >.  e.  ( A  X.  B ) ) )
27 opelxp 4967 . . . . . . . . 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 5214 . . . . . . . . . 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 1635 . . . . . 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 1929 . . . . . 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 3460 . . 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 1370   E.wex 1587    e. wcel 1758   _Vcvv 3068    i^i cin 3425    C_ wss 3426   <.cop 3981    X. cxp 4936   ran crn 4939    |` cres 4940
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-sep 4511  ax-nul 4519  ax-pr 4629
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-ral 2800  df-rex 2801  df-rab 2804  df-v 3070  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-nul 3736  df-if 3890  df-sn 3976  df-pr 3978  df-op 3982  df-br 4391  df-opab 4449  df-xp 4944  df-rel 4945  df-cnv 4946  df-dm 4948  df-rn 4949  df-res 4950
This theorem is referenced by:  rninxp  5375
  Copyright terms: Public domain W3C validator