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

Theorem fodomfib 7152
Description: Equivalence of an onto mapping and dominance for a non-empty finite set. Unlike fodomb 8167 for arbitrary sets, this theorem does not require the Axiom of Choice for its proof. (Contributed by NM, 23-Mar-2006.)
Assertion
Ref Expression
fodomfib  |-  ( A  e.  Fin  ->  (
( A  =/=  (/)  /\  E. f  f : A -onto-> B )  <->  ( (/)  ~<  B  /\  B  ~<_  A ) ) )
Distinct variable groups:    A, f    B, f

Proof of Theorem fodomfib
StepHypRef Expression
1 fof 5467 . . . . . . . . . . . . 13  |-  ( f : A -onto-> B  -> 
f : A --> B )
2 fdm 5409 . . . . . . . . . . . . 13  |-  ( f : A --> B  ->  dom  f  =  A
)
31, 2syl 15 . . . . . . . . . . . 12  |-  ( f : A -onto-> B  ->  dom  f  =  A
)
43eqeq1d 2304 . . . . . . . . . . 11  |-  ( f : A -onto-> B  -> 
( dom  f  =  (/)  <->  A  =  (/) ) )
5 dm0rn0 4911 . . . . . . . . . . . 12  |-  ( dom  f  =  (/)  <->  ran  f  =  (/) )
6 forn 5470 . . . . . . . . . . . . 13  |-  ( f : A -onto-> B  ->  ran  f  =  B
)
76eqeq1d 2304 . . . . . . . . . . . 12  |-  ( f : A -onto-> B  -> 
( ran  f  =  (/)  <->  B  =  (/) ) )
85, 7syl5bb 248 . . . . . . . . . . 11  |-  ( f : A -onto-> B  -> 
( dom  f  =  (/)  <->  B  =  (/) ) )
94, 8bitr3d 246 . . . . . . . . . 10  |-  ( f : A -onto-> B  -> 
( A  =  (/)  <->  B  =  (/) ) )
109necon3bid 2494 . . . . . . . . 9  |-  ( f : A -onto-> B  -> 
( A  =/=  (/)  <->  B  =/=  (/) ) )
1110biimpac 472 . . . . . . . 8  |-  ( ( A  =/=  (/)  /\  f : A -onto-> B )  ->  B  =/=  (/) )
1211adantll 694 . . . . . . 7  |-  ( ( ( A  e.  Fin  /\  A  =/=  (/) )  /\  f : A -onto-> B )  ->  B  =/=  (/) )
13 vex 2804 . . . . . . . . . . . 12  |-  f  e. 
_V
1413rnex 4958 . . . . . . . . . . 11  |-  ran  f  e.  _V
156, 14syl6eqelr 2385 . . . . . . . . . 10  |-  ( f : A -onto-> B  ->  B  e.  _V )
1615adantl 452 . . . . . . . . 9  |-  ( ( A  e.  Fin  /\  f : A -onto-> B )  ->  B  e.  _V )
17 0sdomg 7006 . . . . . . . . 9  |-  ( B  e.  _V  ->  ( (/) 
~<  B  <->  B  =/=  (/) ) )
1816, 17syl 15 . . . . . . . 8  |-  ( ( A  e.  Fin  /\  f : A -onto-> B )  ->  ( (/)  ~<  B  <->  B  =/=  (/) ) )
1918adantlr 695 . . . . . . 7  |-  ( ( ( A  e.  Fin  /\  A  =/=  (/) )  /\  f : A -onto-> B )  ->  ( (/)  ~<  B  <->  B  =/=  (/) ) )
2012, 19mpbird 223 . . . . . 6  |-  ( ( ( A  e.  Fin  /\  A  =/=  (/) )  /\  f : A -onto-> B )  ->  (/)  ~<  B )
2120ex 423 . . . . 5  |-  ( ( A  e.  Fin  /\  A  =/=  (/) )  ->  (
f : A -onto-> B  -> 
(/)  ~<  B ) )
22 fodomfi 7151 . . . . . . 7  |-  ( ( A  e.  Fin  /\  f : A -onto-> B )  ->  B  ~<_  A )
2322ex 423 . . . . . 6  |-  ( A  e.  Fin  ->  (
f : A -onto-> B  ->  B  ~<_  A ) )
2423adantr 451 . . . . 5  |-  ( ( A  e.  Fin  /\  A  =/=  (/) )  ->  (
f : A -onto-> B  ->  B  ~<_  A ) )
2521, 24jcad 519 . . . 4  |-  ( ( A  e.  Fin  /\  A  =/=  (/) )  ->  (
f : A -onto-> B  ->  ( (/)  ~<  B  /\  B  ~<_  A ) ) )
2625exlimdv 1626 . . 3  |-  ( ( A  e.  Fin  /\  A  =/=  (/) )  ->  ( E. f  f : A -onto-> B  ->  ( (/)  ~<  B  /\  B  ~<_  A ) ) )
2726expimpd 586 . 2  |-  ( A  e.  Fin  ->  (
( A  =/=  (/)  /\  E. f  f : A -onto-> B )  ->  ( (/) 
~<  B  /\  B  ~<_  A ) ) )
28 sdomdomtr 7010 . . . 4  |-  ( (
(/)  ~<  B  /\  B  ~<_  A )  ->  (/)  ~<  A )
29 0sdomg 7006 . . . 4  |-  ( A  e.  Fin  ->  ( (/) 
~<  A  <->  A  =/=  (/) ) )
3028, 29syl5ib 210 . . 3  |-  ( A  e.  Fin  ->  (
( (/)  ~<  B  /\  B  ~<_  A )  ->  A  =/=  (/) ) )
31 fodomr 7028 . . . 4  |-  ( (
(/)  ~<  B  /\  B  ~<_  A )  ->  E. f 
f : A -onto-> B
)
3231a1i 10 . . 3  |-  ( A  e.  Fin  ->  (
( (/)  ~<  B  /\  B  ~<_  A )  ->  E. f  f : A -onto-> B ) )
3330, 32jcad 519 . 2  |-  ( A  e.  Fin  ->  (
( (/)  ~<  B  /\  B  ~<_  A )  -> 
( A  =/=  (/)  /\  E. f  f : A -onto-> B ) ) )
3427, 33impbid 183 1  |-  ( A  e.  Fin  ->  (
( A  =/=  (/)  /\  E. f  f : A -onto-> B )  <->  ( (/)  ~<  B  /\  B  ~<_  A ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696    =/= wne 2459   _Vcvv 2801   (/)c0 3468   class class class wbr 4039   dom cdm 4705   ran crn 4706   -->wf 5267   -onto->wfo 5269    ~<_ cdom 6877    ~< csdm 6878   Fincfn 6879
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-13 1698  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-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  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-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-1o 6495  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883
  Copyright terms: Public domain W3C validator