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

Theorem phplem1 9223
Description: Lemma for Pigeonhole Principle. A natural number is equinumerous to its successor minus any element of the successor. (Contributed by NM, 26-May-1998.) Avoid ax-pow 5340. (Revised by BTernaryTau, 23-Sep-2024.)
Assertion
Ref Expression
phplem1 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → 𝐴 ≈ (suc 𝐴 ∖ {𝐵}))

Proof of Theorem phplem1
StepHypRef Expression
1 simpl 482 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → 𝐴 ∈ ω)
2 peano2 7891 . . . . 5 (𝐴 ∈ ω → suc 𝐴 ∈ ω)
3 enrefnn 9066 . . . . 5 (suc 𝐴 ∈ ω → suc 𝐴 ≈ suc 𝐴)
42, 3syl 17 . . . 4 (𝐴 ∈ ω → suc 𝐴 ≈ suc 𝐴)
54adantr 480 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → suc 𝐴 ≈ suc 𝐴)
6 simpr 484 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → 𝐵 ∈ suc 𝐴)
7 dif1ennn 9180 . . 3 ((𝐴 ∈ ω ∧ suc 𝐴 ≈ suc 𝐴𝐵 ∈ suc 𝐴) → (suc 𝐴 ∖ {𝐵}) ≈ 𝐴)
81, 5, 6, 7syl3anc 1373 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → (suc 𝐴 ∖ {𝐵}) ≈ 𝐴)
9 nnfi 9186 . . 3 (𝐴 ∈ ω → 𝐴 ∈ Fin)
10 ensymfib 9203 . . 3 (𝐴 ∈ Fin → (𝐴 ≈ (suc 𝐴 ∖ {𝐵}) ↔ (suc 𝐴 ∖ {𝐵}) ≈ 𝐴))
111, 9, 103syl 18 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → (𝐴 ≈ (suc 𝐴 ∖ {𝐵}) ↔ (suc 𝐴 ∖ {𝐵}) ≈ 𝐴))
128, 11mpbird 257 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ suc 𝐴) → 𝐴 ≈ (suc 𝐴 ∖ {𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wcel 2109  cdif 3928  {csn 4606   class class class wbr 5124  suc csuc 6359  ωcom 7866  cen 8961  Fincfn 8964
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2708  ax-sep 5271  ax-nul 5281  ax-pr 5407  ax-un 7734
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2810  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3062  df-reu 3365  df-rab 3421  df-v 3466  df-sbc 3771  df-csb 3880  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-pss 3951  df-nul 4314  df-if 4506  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4889  df-br 5125  df-opab 5187  df-mpt 5207  df-tr 5235  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-ord 6360  df-on 6361  df-lim 6362  df-suc 6363  df-iota 6489  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-om 7867  df-1o 8485  df-en 8965  df-fin 8968
This theorem is referenced by:  phplem2  9224  php  9226
  Copyright terms: Public domain W3C validator