ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  phplem2 Unicode version

Theorem phplem2 7154
Description: Lemma for Pigeonhole Principle. A natural number is equinumerous to its successor minus one of its elements. (Contributed by NM, 11-Jun-1998.) (Revised by Mario Carneiro, 16-Nov-2014.)
Hypotheses
Ref Expression
phplem2.1  |-  A  e. 
_V
phplem2.2  |-  B  e. 
_V
Assertion
Ref Expression
phplem2  |-  ( ( A  e.  om  /\  B  e.  A )  ->  A  ~~  ( suc 
A  \  { B } ) )

Proof of Theorem phplem2
StepHypRef Expression
1 phplem2.2 . . . . . . . 8  |-  B  e. 
_V
2 phplem2.1 . . . . . . . 8  |-  A  e. 
_V
31, 2opex 4369 . . . . . . 7  |-  <. B ,  A >.  e.  _V
43snex 4322 . . . . . 6  |-  { <. B ,  A >. }  e.  _V
51, 2f1osn 5681 . . . . . 6  |-  { <. B ,  A >. } : { B } -1-1-onto-> { A }
6 f1oen3g 7040 . . . . . 6  |-  ( ( { <. B ,  A >. }  e.  _V  /\  {
<. B ,  A >. } : { B } -1-1-onto-> { A } )  ->  { B }  ~~  { A }
)
74, 5, 6mp2an 430 . . . . 5  |-  { B }  ~~  { A }
8 difss 3355 . . . . . . 7  |-  ( A 
\  { B }
)  C_  A
92, 8ssexi 4271 . . . . . 6  |-  ( A 
\  { B }
)  e.  _V
109enref 7051 . . . . 5  |-  ( A 
\  { B }
)  ~~  ( A  \  { B } )
117, 10pm3.2i 272 . . . 4  |-  ( { B }  ~~  { A }  /\  ( A  \  { B }
)  ~~  ( A  \  { B } ) )
12 incom 3421 . . . . . 6  |-  ( { A }  i^i  ( A  \  { B }
) )  =  ( ( A  \  { B } )  i^i  { A } )
13 ssrin 3456 . . . . . . . . 9  |-  ( ( A  \  { B } )  C_  A  ->  ( ( A  \  { B } )  i^i 
{ A } ) 
C_  ( A  i^i  { A } ) )
148, 13ax-mp 5 . . . . . . . 8  |-  ( ( A  \  { B } )  i^i  { A } )  C_  ( A  i^i  { A }
)
15 nnord 4759 . . . . . . . . 9  |-  ( A  e.  om  ->  Ord  A )
16 orddisj 4693 . . . . . . . . 9  |-  ( Ord 
A  ->  ( A  i^i  { A } )  =  (/) )
1715, 16syl 14 . . . . . . . 8  |-  ( A  e.  om  ->  ( A  i^i  { A }
)  =  (/) )
1814, 17sseqtrid 3298 . . . . . . 7  |-  ( A  e.  om  ->  (
( A  \  { B } )  i^i  { A } )  C_  (/) )
19 ss0 3563 . . . . . . 7  |-  ( ( ( A  \  { B } )  i^i  { A } )  C_  (/)  ->  (
( A  \  { B } )  i^i  { A } )  =  (/) )
2018, 19syl 14 . . . . . 6  |-  ( A  e.  om  ->  (
( A  \  { B } )  i^i  { A } )  =  (/) )
2112, 20eqtrid 2283 . . . . 5  |-  ( A  e.  om  ->  ( { A }  i^i  ( A  \  { B }
) )  =  (/) )
22 disjdif 3599 . . . . 5  |-  ( { B }  i^i  ( A  \  { B }
) )  =  (/)
2321, 22jctil 312 . . . 4  |-  ( A  e.  om  ->  (
( { B }  i^i  ( A  \  { B } ) )  =  (/)  /\  ( { A }  i^i  ( A  \  { B } ) )  =  (/) ) )
24 unen 7105 . . . 4  |-  ( ( ( { B }  ~~  { A }  /\  ( A  \  { B } )  ~~  ( A  \  { B }
) )  /\  (
( { B }  i^i  ( A  \  { B } ) )  =  (/)  /\  ( { A }  i^i  ( A  \  { B } ) )  =  (/) ) )  -> 
( { B }  u.  ( A  \  { B } ) )  ~~  ( { A }  u.  ( A  \  { B } ) ) )
2511, 23, 24sylancr 418 . . 3  |-  ( A  e.  om  ->  ( { B }  u.  ( A  \  { B }
) )  ~~  ( { A }  u.  ( A  \  { B }
) ) )
2625adantr 276 . 2  |-  ( ( A  e.  om  /\  B  e.  A )  ->  ( { B }  u.  ( A  \  { B } ) )  ~~  ( { A }  u.  ( A  \  { B } ) ) )
27 uncom 3373 . . 3  |-  ( { B }  u.  ( A  \  { B }
) )  =  ( ( A  \  { B } )  u.  { B } )
28 nndifsnid 6780 . . 3  |-  ( ( A  e.  om  /\  B  e.  A )  ->  ( ( A  \  { B } )  u. 
{ B } )  =  A )
2927, 28eqtrid 2283 . 2  |-  ( ( A  e.  om  /\  B  e.  A )  ->  ( { B }  u.  ( A  \  { B } ) )  =  A )
30 phplem1 7153 . 2  |-  ( ( A  e.  om  /\  B  e.  A )  ->  ( { A }  u.  ( A  \  { B } ) )  =  ( suc  A  \  { B } ) )
3126, 29, 303brtr3d 4161 1  |-  ( ( A  e.  om  /\  B  e.  A )  ->  A  ~~  ( suc 
A  \  { B } ) )
Colors of variables:    wff set class
This proof depends on syntax axioms:    -> wi 4    /\ wa 104    = wceq 1402    e. wcel 2209   _Vcvv 2821    \ cdif 3217    u. cun 3218    i^i cin 3219    C_ wss 3220   (/)c0 3520   {csn 3709   <.cop 3712   class class class wbr 4130   Ord word 4507   suc csuc 4510   omcom 4737   -1-1-onto->wf1o 5376    ~~ cen 7020
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-iinf 4735
This proof depends on definitions:  df-bi 117  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-rab 2537  df-v 2823  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4131  df-opab 4193  df-tr 4230  df-id 4438  df-iord 4511  df-on 4513  df-suc 4516  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-en 7023
This theorem is used by:  phplem3  7155
  Copyright terms: Public domain W3C validator