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

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

Proof of Theorem eldifpr
StepHypRef Expression
1 elprg 4606 . . . . 5 (𝐴 ∈ 𝐵 → (𝐴 ∈ {𝐶, 𝐷} ↔ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷)))
21notbid 321 . . . 4 (𝐴 ∈ 𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷} ↔ ¬ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷)))
3 neanior 3055 . . . 4 ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ↔ ¬ (𝐴 = 𝐶 ∨ 𝐴 = 𝐷))
42, 3bitr4di 292 . . 3 (𝐴 ∈ 𝐵 → (¬ 𝐴 ∈ {𝐶, 𝐷} ↔ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷)))
54pm5.32i 585 . 2 ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷}) ↔ (𝐴 ∈ 𝐵 ∧ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷)))
6 eldif 4051 . 2 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷}) ↔ (𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ {𝐶, 𝐷}))
7 3anass 1112 . 2 ((𝐴 ∈ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ↔ (𝐴 ∈ 𝐵 ∧ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷)))
85, 6, 73bitr4i 306 1 (𝐴 ∈ (𝐵 ∖ {𝐶, 𝐷}) ↔ (𝐴 ∈ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150   ≠ wne 2962   ∖ cdif 4047  {cpr 4589
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-v 3455  df-dif 4049  df-un 4153  df-sn 4588  df-pr 4590
This theorem is used by:  rexdifpr  4620  logbcl  27154  logbid1  27155  logb1  27156  elogb  27157  logbchbase  27158  relogbval  27159  relogbcl  27160  relogbreexp  27162  relogbmul  27164  relogbexp  27167  nnlogbexp  27168  relogbcxp  27172  cxplogb  27173  relogbcxpb  27174  logbmpt  27175  logbfval  27177  logbgt0b  27180  2logb9irrALT  27185  sqrt2cxp2logb9e3  27186  neldifpr1  33229  neldifpr2  33230  eluz2cnn0n1  50044  rege1logbrege0  50091  relogbmulbexp  50094  relogbdivb  50095  nnpw2blen  50113
  Copyright terms: Public domain W3C validator