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

Theorem php3 8146
Description: Corollary of Pigeonhole Principle. If  A is finite and  B is a proper subset of  A, the  B is strictly less numerous than  A. Stronger version of Corollary 6C of [Enderton] p. 135. (Contributed by NM, 22-Aug-2008.)
Assertion
Ref Expression
php3  |-  ( ( A  e.  Fin  /\  B  C.  A )  ->  B  ~<  A )

Proof of Theorem php3
Dummy variables  x  f  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isfi 7979 . . 3  |-  ( A  e.  Fin  <->  E. x  e.  om  A  ~~  x
)
2 relen 7960 . . . . . . . . 9  |-  Rel  ~~
32brrelexi 5158 . . . . . . . 8  |-  ( A 
~~  x  ->  A  e.  _V )
4 pssss 3702 . . . . . . . 8  |-  ( B 
C.  A  ->  B  C_  A )
5 ssdomg 8001 . . . . . . . . 9  |-  ( A  e.  _V  ->  ( B  C_  A  ->  B  ~<_  A ) )
65imp 445 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  C_  A )  ->  B  ~<_  A )
73, 4, 6syl2an 494 . . . . . . 7  |-  ( ( A  ~~  x  /\  B  C.  A )  ->  B  ~<_  A )
87adantll 750 . . . . . 6  |-  ( ( ( x  e.  om  /\  A  ~~  x )  /\  B  C.  A
)  ->  B  ~<_  A )
9 bren 7964 . . . . . . . . 9  |-  ( A 
~~  x  <->  E. f 
f : A -1-1-onto-> x )
10 imass2 5501 . . . . . . . . . . . . . . . . 17  |-  ( B 
C_  A  ->  (
f " B ) 
C_  ( f " A ) )
114, 10syl 17 . . . . . . . . . . . . . . . 16  |-  ( B 
C.  A  ->  (
f " B ) 
C_  ( f " A ) )
1211adantl 482 . . . . . . . . . . . . . . 15  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( f " B
)  C_  ( f " A ) )
13 pssnel 4039 . . . . . . . . . . . . . . . . 17  |-  ( B 
C.  A  ->  E. y
( y  e.  A  /\  -.  y  e.  B
) )
14 eldif 3584 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  e.  ( A  \  B )  <->  ( y  e.  A  /\  -.  y  e.  B ) )
15 f1ofn 6138 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( f : A -1-1-onto-> x  ->  f  Fn  A )
16 difss 3737 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( A 
\  B )  C_  A
17 fnfvima 6496 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( f  Fn  A  /\  ( A  \  B ) 
C_  A  /\  y  e.  ( A  \  B
) )  ->  (
f `  y )  e.  ( f " ( A  \  B ) ) )
18173expia 1267 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( f  Fn  A  /\  ( A  \  B ) 
C_  A )  -> 
( y  e.  ( A  \  B )  ->  ( f `  y )  e.  ( f " ( A 
\  B ) ) ) )
1915, 16, 18sylancl 694 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( f : A -1-1-onto-> x  ->  ( y  e.  ( A  \  B )  ->  (
f `  y )  e.  ( f " ( A  \  B ) ) ) )
20 dff1o3 6143 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( f : A -1-1-onto-> x  <->  ( f : A -onto-> x  /\  Fun  `' f ) )
2120simprbi 480 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( f : A -1-1-onto-> x  ->  Fun  `' f )
22 imadif 5973 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( Fun  `' f  ->  ( f
" ( A  \  B ) )  =  ( ( f " A )  \  (
f " B ) ) )
2321, 22syl 17 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( f : A -1-1-onto-> x  ->  ( f
" ( A  \  B ) )  =  ( ( f " A )  \  (
f " B ) ) )
2423eleq2d 2687 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( f : A -1-1-onto-> x  ->  ( ( f `  y )  e.  ( f "
( A  \  B
) )  <->  ( f `  y )  e.  ( ( f " A
)  \  ( f " B ) ) ) )
2519, 24sylibd 229 . . . . . . . . . . . . . . . . . . . . 21  |-  ( f : A -1-1-onto-> x  ->  ( y  e.  ( A  \  B )  ->  (
f `  y )  e.  ( ( f " A )  \  (
f " B ) ) ) )
26 n0i 3920 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( f `  y )  e.  ( ( f
" A )  \ 
( f " B
) )  ->  -.  ( ( f " A )  \  (
f " B ) )  =  (/) )
2725, 26syl6 35 . . . . . . . . . . . . . . . . . . . 20  |-  ( f : A -1-1-onto-> x  ->  ( y  e.  ( A  \  B )  ->  -.  ( ( f " A )  \  (
f " B ) )  =  (/) ) )
2814, 27syl5bir 233 . . . . . . . . . . . . . . . . . . 19  |-  ( f : A -1-1-onto-> x  ->  ( ( y  e.  A  /\  -.  y  e.  B
)  ->  -.  (
( f " A
)  \  ( f " B ) )  =  (/) ) )
2928exlimdv 1861 . . . . . . . . . . . . . . . . . 18  |-  ( f : A -1-1-onto-> x  ->  ( E. y ( y  e.  A  /\  -.  y  e.  B )  ->  -.  ( ( f " A )  \  (
f " B ) )  =  (/) ) )
3029imp 445 . . . . . . . . . . . . . . . . 17  |-  ( ( f : A -1-1-onto-> x  /\  E. y ( y  e.  A  /\  -.  y  e.  B ) )  ->  -.  ( ( f " A )  \  (
f " B ) )  =  (/) )
3113, 30sylan2 491 . . . . . . . . . . . . . . . 16  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  ->  -.  ( ( f " A )  \  (
f " B ) )  =  (/) )
32 ssdif0 3942 . . . . . . . . . . . . . . . 16  |-  ( ( f " A ) 
C_  ( f " B )  <->  ( (
f " A ) 
\  ( f " B ) )  =  (/) )
3331, 32sylnibr 319 . . . . . . . . . . . . . . 15  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  ->  -.  ( f " A
)  C_  ( f " B ) )
34 dfpss3 3693 . . . . . . . . . . . . . . 15  |-  ( ( f " B ) 
C.  ( f " A )  <->  ( (
f " B ) 
C_  ( f " A )  /\  -.  ( f " A
)  C_  ( f " B ) ) )
3512, 33, 34sylanbrc 698 . . . . . . . . . . . . . 14  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( f " B
)  C.  ( f " A ) )
36 imadmrn 5476 . . . . . . . . . . . . . . . . 17  |-  ( f
" dom  f )  =  ran  f
37 f1odm 6141 . . . . . . . . . . . . . . . . . 18  |-  ( f : A -1-1-onto-> x  ->  dom  f  =  A )
3837imaeq2d 5466 . . . . . . . . . . . . . . . . 17  |-  ( f : A -1-1-onto-> x  ->  ( f
" dom  f )  =  ( f " A ) )
39 f1ofo 6144 . . . . . . . . . . . . . . . . . 18  |-  ( f : A -1-1-onto-> x  ->  f : A -onto-> x )
40 forn 6118 . . . . . . . . . . . . . . . . . 18  |-  ( f : A -onto-> x  ->  ran  f  =  x
)
4139, 40syl 17 . . . . . . . . . . . . . . . . 17  |-  ( f : A -1-1-onto-> x  ->  ran  f  =  x )
4236, 38, 413eqtr3a 2680 . . . . . . . . . . . . . . . 16  |-  ( f : A -1-1-onto-> x  ->  ( f
" A )  =  x )
4342psseq2d 3700 . . . . . . . . . . . . . . 15  |-  ( f : A -1-1-onto-> x  ->  ( ( f " B ) 
C.  ( f " A )  <->  ( f " B )  C.  x
) )
4443adantr 481 . . . . . . . . . . . . . 14  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( ( f " B )  C.  (
f " A )  <-> 
( f " B
)  C.  x )
)
4535, 44mpbid 222 . . . . . . . . . . . . 13  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( f " B
)  C.  x )
46 php 8144 . . . . . . . . . . . . 13  |-  ( ( x  e.  om  /\  ( f " B
)  C.  x )  ->  -.  x  ~~  (
f " B ) )
4745, 46sylan2 491 . . . . . . . . . . . 12  |-  ( ( x  e.  om  /\  ( f : A -1-1-onto-> x  /\  B  C.  A ) )  ->  -.  x  ~~  ( f " B
) )
48 f1of1 6136 . . . . . . . . . . . . . . . 16  |-  ( f : A -1-1-onto-> x  ->  f : A -1-1-> x )
49 f1ores 6151 . . . . . . . . . . . . . . . 16  |-  ( ( f : A -1-1-> x  /\  B  C_  A )  ->  ( f  |`  B ) : B -1-1-onto-> (
f " B ) )
5048, 4, 49syl2an 494 . . . . . . . . . . . . . . 15  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( f  |`  B ) : B -1-1-onto-> ( f " B
) )
51 vex 3203 . . . . . . . . . . . . . . . . . 18  |-  f  e. 
_V
5251resex 5443 . . . . . . . . . . . . . . . . 17  |-  ( f  |`  B )  e.  _V
53 f1oeq1 6127 . . . . . . . . . . . . . . . . 17  |-  ( y  =  ( f  |`  B )  ->  (
y : B -1-1-onto-> ( f
" B )  <->  ( f  |`  B ) : B -1-1-onto-> (
f " B ) ) )
5452, 53spcev 3300 . . . . . . . . . . . . . . . 16  |-  ( ( f  |`  B ) : B -1-1-onto-> ( f " B
)  ->  E. y 
y : B -1-1-onto-> ( f
" B ) )
55 bren 7964 . . . . . . . . . . . . . . . 16  |-  ( B 
~~  ( f " B )  <->  E. y 
y : B -1-1-onto-> ( f
" B ) )
5654, 55sylibr 224 . . . . . . . . . . . . . . 15  |-  ( ( f  |`  B ) : B -1-1-onto-> ( f " B
)  ->  B  ~~  ( f " B
) )
5750, 56syl 17 . . . . . . . . . . . . . 14  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  ->  B  ~~  ( f " B ) )
58 entr 8008 . . . . . . . . . . . . . . 15  |-  ( ( x  ~~  B  /\  B  ~~  ( f " B ) )  ->  x  ~~  ( f " B ) )
5958expcom 451 . . . . . . . . . . . . . 14  |-  ( B 
~~  ( f " B )  ->  (
x  ~~  B  ->  x 
~~  ( f " B ) ) )
6057, 59syl 17 . . . . . . . . . . . . 13  |-  ( ( f : A -1-1-onto-> x  /\  B  C.  A )  -> 
( x  ~~  B  ->  x  ~~  ( f
" B ) ) )
6160adantl 482 . . . . . . . . . . . 12  |-  ( ( x  e.  om  /\  ( f : A -1-1-onto-> x  /\  B  C.  A ) )  ->  ( x  ~~  B  ->  x  ~~  ( f " B
) ) )
6247, 61mtod 189 . . . . . . . . . . 11  |-  ( ( x  e.  om  /\  ( f : A -1-1-onto-> x  /\  B  C.  A ) )  ->  -.  x  ~~  B )
6362exp32 631 . . . . . . . . . 10  |-  ( x  e.  om  ->  (
f : A -1-1-onto-> x  -> 
( B  C.  A  ->  -.  x  ~~  B
) ) )
6463exlimdv 1861 . . . . . . . . 9  |-  ( x  e.  om  ->  ( E. f  f : A
-1-1-onto-> x  ->  ( B  C.  A  ->  -.  x  ~~  B ) ) )
659, 64syl5bi 232 . . . . . . . 8  |-  ( x  e.  om  ->  ( A  ~~  x  ->  ( B  C.  A  ->  -.  x  ~~  B ) ) )
6665imp31 448 . . . . . . 7  |-  ( ( ( x  e.  om  /\  A  ~~  x )  /\  B  C.  A
)  ->  -.  x  ~~  B )
67 entr 8008 . . . . . . . . . 10  |-  ( ( B  ~~  A  /\  A  ~~  x )  ->  B  ~~  x )
6867ex 450 . . . . . . . . 9  |-  ( B 
~~  A  ->  ( A  ~~  x  ->  B  ~~  x ) )
69 ensym 8005 . . . . . . . . 9  |-  ( B 
~~  x  ->  x  ~~  B )
7068, 69syl6com 37 . . . . . . . 8  |-  ( A 
~~  x  ->  ( B  ~~  A  ->  x  ~~  B ) )
7170ad2antlr 763 . . . . . . 7  |-  ( ( ( x  e.  om  /\  A  ~~  x )  /\  B  C.  A
)  ->  ( B  ~~  A  ->  x  ~~  B ) )
7266, 71mtod 189 . . . . . 6  |-  ( ( ( x  e.  om  /\  A  ~~  x )  /\  B  C.  A
)  ->  -.  B  ~~  A )
73 brsdom 7978 . . . . . 6  |-  ( B 
~<  A  <->  ( B  ~<_  A  /\  -.  B  ~~  A ) )
748, 72, 73sylanbrc 698 . . . . 5  |-  ( ( ( x  e.  om  /\  A  ~~  x )  /\  B  C.  A
)  ->  B  ~<  A )
7574exp31 630 . . . 4  |-  ( x  e.  om  ->  ( A  ~~  x  ->  ( B  C.  A  ->  B  ~<  A ) ) )
7675rexlimiv 3027 . . 3  |-  ( E. x  e.  om  A  ~~  x  ->  ( B 
C.  A  ->  B  ~<  A ) )
771, 76sylbi 207 . 2  |-  ( A  e.  Fin  ->  ( B  C.  A  ->  B  ~<  A ) )
7877imp 445 1  |-  ( ( A  e.  Fin  /\  B  C.  A )  ->  B  ~<  A )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196    /\ wa 384    = wceq 1483   E.wex 1704    e. wcel 1990   E.wrex 2913   _Vcvv 3200    \ cdif 3571    C_ wss 3574    C. wpss 3575   (/)c0 3915   class class class wbr 4653   `'ccnv 5113   dom cdm 5114   ran crn 5115    |` cres 5116   "cima 5117   Fun wfun 5882    Fn wfn 5883   -1-1->wf1 5885   -onto->wfo 5886   -1-1-onto->wf1o 5887   ` cfv 5888   omcom 7065    ~~ cen 7952    ~<_ cdom 7953    ~< csdm 7954   Fincfn 7955
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-om 7066  df-er 7742  df-en 7956  df-dom 7957  df-sdom 7958  df-fin 7959
This theorem is referenced by:  pssinf  8170  f1finf1o  8187  findcard3  8203  fofinf1o  8241  ackbij1b  9061  fincssdom  9145  fin23lem25  9146  canthp1lem2  9475  pwfseqlem4  9484  uzindi  12781  symggen  17890  pgpssslw  18029  pgpfaclem2  18481  ppiltx  24903  finminlem  32312  lindsenlbs  33404
  Copyright terms: Public domain W3C validator