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

Theorem elrnmpt1 5093
Description: Elementhood in an image set. (Contributed by Mario Carneiro, 31-Aug-2015.)
Hypothesis
Ref Expression
rnmpt.1  |-  F  =  ( x  e.  A  |->  B )
Assertion
Ref Expression
elrnmpt1  |-  ( ( x  e.  A  /\  B  e.  V )  ->  B  e.  ran  F
)

Proof of Theorem elrnmpt1
Dummy variables  y 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2980 . . . 4  |-  x  e. 
_V
2 id 22 . . . . . . 7  |-  ( x  =  z  ->  x  =  z )
3 csbeq1a 3302 . . . . . . 7  |-  ( x  =  z  ->  A  =  [_ z  /  x ]_ A )
42, 3eleq12d 2511 . . . . . 6  |-  ( x  =  z  ->  (
x  e.  A  <->  z  e.  [_ z  /  x ]_ A ) )
5 csbeq1a 3302 . . . . . . 7  |-  ( x  =  z  ->  B  =  [_ z  /  x ]_ B )
65biantrud 507 . . . . . 6  |-  ( x  =  z  ->  (
z  e.  [_ z  /  x ]_ A  <->  ( z  e.  [_ z  /  x ]_ A  /\  B  = 
[_ z  /  x ]_ B ) ) )
74, 6bitr2d 254 . . . . 5  |-  ( x  =  z  ->  (
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B )  <-> 
x  e.  A ) )
87equcoms 1733 . . . 4  |-  ( z  =  x  ->  (
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B )  <-> 
x  e.  A ) )
91, 8spcev 3069 . . 3  |-  ( x  e.  A  ->  E. z
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B ) )
10 df-rex 2726 . . . . . 6  |-  ( E. x  e.  A  y  =  B  <->  E. x
( x  e.  A  /\  y  =  B
) )
11 nfv 1673 . . . . . . 7  |-  F/ z ( x  e.  A  /\  y  =  B
)
12 nfcsb1v 3309 . . . . . . . . 9  |-  F/_ x [_ z  /  x ]_ A
1312nfcri 2578 . . . . . . . 8  |-  F/ x  z  e.  [_ z  /  x ]_ A
14 nfcsb1v 3309 . . . . . . . . 9  |-  F/_ x [_ z  /  x ]_ B
1514nfeq2 2595 . . . . . . . 8  |-  F/ x  y  =  [_ z  /  x ]_ B
1613, 15nfan 1861 . . . . . . 7  |-  F/ x
( z  e.  [_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B )
175eqeq2d 2454 . . . . . . . 8  |-  ( x  =  z  ->  (
y  =  B  <->  y  =  [_ z  /  x ]_ B ) )
184, 17anbi12d 710 . . . . . . 7  |-  ( x  =  z  ->  (
( x  e.  A  /\  y  =  B
)  <->  ( z  e. 
[_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B ) ) )
1911, 16, 18cbvex 1970 . . . . . 6  |-  ( E. x ( x  e.  A  /\  y  =  B )  <->  E. z
( z  e.  [_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B ) )
2010, 19bitri 249 . . . . 5  |-  ( E. x  e.  A  y  =  B  <->  E. z
( z  e.  [_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B ) )
21 eqeq1 2449 . . . . . . 7  |-  ( y  =  B  ->  (
y  =  [_ z  /  x ]_ B  <->  B  =  [_ z  /  x ]_ B ) )
2221anbi2d 703 . . . . . 6  |-  ( y  =  B  ->  (
( z  e.  [_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B )  <-> 
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B ) ) )
2322exbidv 1680 . . . . 5  |-  ( y  =  B  ->  ( E. z ( z  e. 
[_ z  /  x ]_ A  /\  y  =  [_ z  /  x ]_ B )  <->  E. z
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B ) ) )
2420, 23syl5bb 257 . . . 4  |-  ( y  =  B  ->  ( E. x  e.  A  y  =  B  <->  E. z
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B ) ) )
25 rnmpt.1 . . . . 5  |-  F  =  ( x  e.  A  |->  B )
2625rnmpt 5090 . . . 4  |-  ran  F  =  { y  |  E. x  e.  A  y  =  B }
2724, 26elab2g 3113 . . 3  |-  ( B  e.  V  ->  ( B  e.  ran  F  <->  E. z
( z  e.  [_ z  /  x ]_ A  /\  B  =  [_ z  /  x ]_ B ) ) )
289, 27syl5ibr 221 . 2  |-  ( B  e.  V  ->  (
x  e.  A  ->  B  e.  ran  F ) )
2928impcom 430 1  |-  ( ( x  e.  A  /\  B  e.  V )  ->  B  e.  ran  F
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   E.wrex 2721   [_csb 3293    e. cmpt 4355   ran crn 4846
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 2423  ax-sep 4418  ax-nul 4426  ax-pr 4536
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 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2573  df-ne 2613  df-rex 2726  df-rab 2729  df-v 2979  df-sbc 3192  df-csb 3294  df-dif 3336  df-un 3338  df-in 3340  df-ss 3347  df-nul 3643  df-if 3797  df-sn 3883  df-pr 3885  df-op 3889  df-br 4298  df-opab 4356  df-mpt 4357  df-cnv 4853  df-dm 4855  df-rn 4856
This theorem is referenced by:  fliftel1  6008  minveclem4  20924  minvecolem4  24286  rexunirn  25880  totbndbnd  28693  rrnequiv  28739
  Copyright terms: Public domain W3C validator