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

Theorem eldifpr 4593
Description: Membership in a set with two elements removed. Similar to eldifsn 4722 and eldiftp 4622. (Contributed by Mario Carneiro, 18-Jul-2017.)
Assertion
Ref Expression
eldifpr (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷}) ↔ (𝐴𝐵𝐴𝐶𝐴𝐷))

Proof of Theorem eldifpr
StepHypRef Expression
1 elprg 4581 . . . . 5 (𝐴𝐵 → (𝐴 ∈ {𝐶, 𝐷} ↔ (𝐴 = 𝐶𝐴 = 𝐷)))
21notbid 320 . . . 4 (𝐴𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷} ↔ ¬ (𝐴 = 𝐶𝐴 = 𝐷)))
3 neanior 3029 . . . 4 ((𝐴𝐶𝐴𝐷) ↔ ¬ (𝐴 = 𝐶𝐴 = 𝐷))
42, 3bitr4di 291 . . 3 (𝐴𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷} ↔ (𝐴𝐶𝐴𝐷)))
54pm5.32i 580 . 2 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷}) ↔ (𝐴𝐵 ∧ (𝐴𝐶𝐴𝐷)))
6 eldif 3895 . 2 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷}) ↔ (𝐴𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷}))
7 3anass 1101 . 2 ((𝐴𝐵𝐴𝐶𝐴𝐷) ↔ (𝐴𝐵 ∧ (𝐴𝐶𝐴𝐷)))
85, 6, 73bitr4i 305 1 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷}) ↔ (𝐴𝐵𝐴𝐶𝐴𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 397  wo 854  w3a 1093   = wceq 1548  wcel 2121  wne 2936  cdif 3882  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-ext 2713
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3an 1095  df-tru 1551  df-ex 1788  df-sb 2075  df-clab 2720  df-cleq 2733  df-clel 2816  df-ne 2937  df-v 3435  df-dif 3888  df-un 3890  df-sn 4559  df-pr 4561
This theorem is referenced by:  rexdifpr  4594  logbcl  26753  logbid1  26754  logb1  26755  elogb  26756  logbchbase  26757  relogbval  26758  relogbcl  26759  relogbreexp  26761  relogbmul  26763  relogbexp  26766  nnlogbexp  26767  relogbcxp  26771  cxplogb  26772  relogbcxpb  26773  logbmpt  26774  logbfval  26776  logbgt0b  26779  2logb9irrALT  26784  sqrt2cxp2logb9e3  26785  neldifpr1  32625  neldifpr2  32626  eluz2cnn0n1  49016  rege1logbrege0  49063  relogbmulbexp  49066  relogbdivb  49067  nnpw2blen  49085
  Copyright terms: Public domain W3C validator