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

Theorem dffo4 5692
Description: Alternate definition of an onto mapping. (Contributed by NM, 20-Mar-2007.)
Assertion
Ref Expression
dffo4  |-  ( F : A -onto-> B  <->  ( F : A --> B  /\  A. y  e.  B  E. x  e.  A  x F y ) )
Distinct variable groups:    x, y, A    x, B, y    x, F, y

Proof of Theorem dffo4
StepHypRef Expression
1 dffo2 5471 . . 3  |-  ( F : A -onto-> B  <->  ( F : A --> B  /\  ran  F  =  B ) )
2 simpl 443 . . . 4  |-  ( ( F : A --> B  /\  ran  F  =  B )  ->  F : A --> B )
3 vex 2804 . . . . . . . . . 10  |-  y  e. 
_V
43elrn 4935 . . . . . . . . 9  |-  ( y  e.  ran  F  <->  E. x  x F y )
5 eleq2 2357 . . . . . . . . 9  |-  ( ran 
F  =  B  -> 
( y  e.  ran  F  <-> 
y  e.  B ) )
64, 5syl5bbr 250 . . . . . . . 8  |-  ( ran 
F  =  B  -> 
( E. x  x F y  <->  y  e.  B ) )
76biimpar 471 . . . . . . 7  |-  ( ( ran  F  =  B  /\  y  e.  B
)  ->  E. x  x F y )
87adantll 694 . . . . . 6  |-  ( ( ( F : A --> B  /\  ran  F  =  B )  /\  y  e.  B )  ->  E. x  x F y )
9 ffn 5405 . . . . . . . . . . 11  |-  ( F : A --> B  ->  F  Fn  A )
10 fnbr 5362 . . . . . . . . . . . 12  |-  ( ( F  Fn  A  /\  x F y )  ->  x  e.  A )
1110ex 423 . . . . . . . . . . 11  |-  ( F  Fn  A  ->  (
x F y  ->  x  e.  A )
)
129, 11syl 15 . . . . . . . . . 10  |-  ( F : A --> B  -> 
( x F y  ->  x  e.  A
) )
1312ancrd 537 . . . . . . . . 9  |-  ( F : A --> B  -> 
( x F y  ->  ( x  e.  A  /\  x F y ) ) )
1413eximdv 1612 . . . . . . . 8  |-  ( F : A --> B  -> 
( E. x  x F y  ->  E. x
( x  e.  A  /\  x F y ) ) )
15 df-rex 2562 . . . . . . . 8  |-  ( E. x  e.  A  x F y  <->  E. x
( x  e.  A  /\  x F y ) )
1614, 15syl6ibr 218 . . . . . . 7  |-  ( F : A --> B  -> 
( E. x  x F y  ->  E. x  e.  A  x F
y ) )
1716ad2antrr 706 . . . . . 6  |-  ( ( ( F : A --> B  /\  ran  F  =  B )  /\  y  e.  B )  ->  ( E. x  x F
y  ->  E. x  e.  A  x F
y ) )
188, 17mpd 14 . . . . 5  |-  ( ( ( F : A --> B  /\  ran  F  =  B )  /\  y  e.  B )  ->  E. x  e.  A  x F
y )
1918ralrimiva 2639 . . . 4  |-  ( ( F : A --> B  /\  ran  F  =  B )  ->  A. y  e.  B  E. x  e.  A  x F y )
202, 19jca 518 . . 3  |-  ( ( F : A --> B  /\  ran  F  =  B )  ->  ( F : A
--> B  /\  A. y  e.  B  E. x  e.  A  x F
y ) )
211, 20sylbi 187 . 2  |-  ( F : A -onto-> B  -> 
( F : A --> B  /\  A. y  e.  B  E. x  e.  A  x F y ) )
22 fnbrfvb 5579 . . . . . . . . 9  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( ( F `  x )  =  y  <-> 
x F y ) )
2322biimprd 214 . . . . . . . 8  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( x F y  ->  ( F `  x )  =  y ) )
24 eqcom 2298 . . . . . . . 8  |-  ( ( F `  x )  =  y  <->  y  =  ( F `  x ) )
2523, 24syl6ib 217 . . . . . . 7  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( x F y  ->  y  =  ( F `  x ) ) )
269, 25sylan 457 . . . . . 6  |-  ( ( F : A --> B  /\  x  e.  A )  ->  ( x F y  ->  y  =  ( F `  x ) ) )
2726reximdva 2668 . . . . 5  |-  ( F : A --> B  -> 
( E. x  e.  A  x F y  ->  E. x  e.  A  y  =  ( F `  x ) ) )
2827ralimdv 2635 . . . 4  |-  ( F : A --> B  -> 
( A. y  e.  B  E. x  e.  A  x F y  ->  A. y  e.  B  E. x  e.  A  y  =  ( F `  x ) ) )
2928imdistani 671 . . 3  |-  ( ( F : A --> B  /\  A. y  e.  B  E. x  e.  A  x F y )  -> 
( F : A --> B  /\  A. y  e.  B  E. x  e.  A  y  =  ( F `  x ) ) )
30 dffo3 5691 . . 3  |-  ( F : A -onto-> B  <->  ( F : A --> B  /\  A. y  e.  B  E. x  e.  A  y  =  ( F `  x ) ) )
3129, 30sylibr 203 . 2  |-  ( ( F : A --> B  /\  A. y  e.  B  E. x  e.  A  x F y )  ->  F : A -onto-> B )
3221, 31impbii 180 1  |-  ( F : A -onto-> B  <->  ( F : A --> B  /\  A. y  e.  B  E. x  e.  A  x F y ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696   A.wral 2556   E.wrex 2557   class class class wbr 4039   ran crn 4706    Fn wfn 5266   -->wf 5267   -onto->wfo 5269   ` cfv 5271
This theorem is referenced by:  dffo5  5693  exfo  5694  brdom3  8169
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-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  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-uni 3844  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fo 5277  df-fv 5279
  Copyright terms: Public domain W3C validator