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

Theorem phplem1 6848
Description: Lemma for Pigeonhole Principle. If we join a natural number to itself minus an element, we end up with its successor minus the same element. (Contributed by NM, 25-May-1998.)
Assertion
Ref Expression
phplem1 ((𝐴 ∈ ω ∧ 𝐵𝐴) → ({𝐴} ∪ (𝐴 ∖ {𝐵})) = (suc 𝐴 ∖ {𝐵}))

Proof of Theorem phplem1
StepHypRef Expression
1 nnord 4610 . . 3 (𝐴 ∈ ω → Ord 𝐴)
2 nordeq 4542 . . . 4 ((Ord 𝐴𝐵𝐴) → 𝐴𝐵)
3 disjsn2 3655 . . . 4 (𝐴𝐵 → ({𝐴} ∩ {𝐵}) = ∅)
42, 3syl 14 . . 3 ((Ord 𝐴𝐵𝐴) → ({𝐴} ∩ {𝐵}) = ∅)
51, 4sylan 283 . 2 ((𝐴 ∈ ω ∧ 𝐵𝐴) → ({𝐴} ∩ {𝐵}) = ∅)
6 undif4 3485 . . 3 (({𝐴} ∩ {𝐵}) = ∅ → ({𝐴} ∪ (𝐴 ∖ {𝐵})) = (({𝐴} ∪ 𝐴) ∖ {𝐵}))
7 df-suc 4370 . . . . 5 suc 𝐴 = (𝐴 ∪ {𝐴})
87equncomi 3281 . . . 4 suc 𝐴 = ({𝐴} ∪ 𝐴)
98difeq1i 3249 . . 3 (suc 𝐴 ∖ {𝐵}) = (({𝐴} ∪ 𝐴) ∖ {𝐵})
106, 9eqtr4di 2228 . 2 (({𝐴} ∩ {𝐵}) = ∅ → ({𝐴} ∪ (𝐴 ∖ {𝐵})) = (suc 𝐴 ∖ {𝐵}))
115, 10syl 14 1 ((𝐴 ∈ ω ∧ 𝐵𝐴) → ({𝐴} ∪ (𝐴 ∖ {𝐵})) = (suc 𝐴 ∖ {𝐵}))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1353  wcel 2148  wne 2347  cdif 3126  cun 3127  cin 3128  c0 3422  {csn 3592  Ord word 4361  suc csuc 4364  ωcom 4588
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4120  ax-nul 4128  ax-pow 4173  ax-pr 4208  ax-un 4432  ax-setind 4535  ax-iinf 4586
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-rab 2464  df-v 2739  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3577  df-sn 3598  df-pr 3599  df-uni 3810  df-int 3845  df-tr 4101  df-iord 4365  df-on 4367  df-suc 4370  df-iom 4589
This theorem is referenced by:  phplem2  6849
  Copyright terms: Public domain W3C validator