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

Theorem eldiftp 4175
Description: Membership in a set with three elements removed. Similar to eldifsn 4260 and eldifpr 4152. (Contributed by David A. Wheeler, 22-Jul-2017.)
Assertion
Ref Expression
eldiftp (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷, 𝐸}) ↔ (𝐴𝐵 ∧ (𝐴𝐶𝐴𝐷𝐴𝐸)))

Proof of Theorem eldiftp
StepHypRef Expression
1 eldif 3550 . 2 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷, 𝐸}) ↔ (𝐴𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸}))
2 eltpg 4174 . . . . 5 (𝐴𝐵 → (𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ (𝐴 = 𝐶𝐴 = 𝐷𝐴 = 𝐸)))
32notbid 307 . . . 4 (𝐴𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ ¬ (𝐴 = 𝐶𝐴 = 𝐷𝐴 = 𝐸)))
4 ne3anior 2875 . . . 4 ((𝐴𝐶𝐴𝐷𝐴𝐸) ↔ ¬ (𝐴 = 𝐶𝐴 = 𝐷𝐴 = 𝐸))
53, 4syl6bbr 277 . . 3 (𝐴𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ (𝐴𝐶𝐴𝐷𝐴𝐸)))
65pm5.32i 667 . 2 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸}) ↔ (𝐴𝐵 ∧ (𝐴𝐶𝐴𝐷𝐴𝐸)))
71, 6bitri 263 1 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷, 𝐸}) ↔ (𝐴𝐵 ∧ (𝐴𝐶𝐴𝐷𝐴𝐸)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 195  wa 383  w3o 1030  w3a 1031   = wceq 1475  wcel 1977  wne 2780  cdif 3537  {ctp 4129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-v 3175  df-dif 3543  df-un 3545  df-sn 4126  df-pr 4128  df-tp 4130
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator