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

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

Proof of Theorem eldiftp
StepHypRef Expression
1 eldif 4052 . 2 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷, 𝐸}) ↔ (𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸}))
2 eltpg 4647 . . . . 5 (𝐴 ∈ 𝐵 → (𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷 ∨ 𝐴 = 𝐸)))
32notbid 321 . . . 4 (𝐴 ∈ 𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ ¬ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷 ∨ 𝐴 = 𝐸)))
4 ne3anior 3053 . . . 4 ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷 ∧ 𝐴 ≠ 𝐸) ↔ ¬ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷 ∨ 𝐴 = 𝐸))
53, 4bitr4di 292 . . 3 (𝐴 ∈ 𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸} ↔ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷 ∧ 𝐴 ≠ 𝐸)))
65pm5.32i 585 . 2 ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷, 𝐸}) ↔ (𝐴 ∈ 𝐵 ∧ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷 ∧ 𝐴 ≠ 𝐸)))
71, 6bitri 278 1 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷, 𝐸}) ↔ (𝐴 ∈ 𝐵 ∧ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷 ∧ 𝐴 ≠ 𝐸)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   ∨ w3o 1102   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959   ∖ cdif 4048  {ctp 4592
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-v 3456  df-dif 4050  df-un 4154  df-sn 4589  df-pr 4591  df-tp 4593
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator