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

Theorem rexdifpr 4591
Description: Restricted existential quantification over a set with two elements removed. (Contributed by Alexander van der Vekens, 7-Feb-2018.)
Assertion
Ref Expression
rexdifpr (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥𝐴 (𝑥𝐵𝑥𝐶𝜑))

Proof of Theorem rexdifpr
StepHypRef Expression
1 eldifpr 4590 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥𝐴𝑥𝐵𝑥𝐶))
2 3anass 1093 . . . . 5 ((𝑥𝐴𝑥𝐵𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
31, 2bitri 274 . . . 4 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
43anbi1i 623 . . 3 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ ((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑))
5 anass 468 . . . 4 (((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑) ↔ (𝑥𝐴 ∧ ((𝑥𝐵𝑥𝐶) ∧ 𝜑)))
6 df-3an 1087 . . . . . 6 ((𝑥𝐵𝑥𝐶𝜑) ↔ ((𝑥𝐵𝑥𝐶) ∧ 𝜑))
76bicomi 223 . . . . 5 (((𝑥𝐵𝑥𝐶) ∧ 𝜑) ↔ (𝑥𝐵𝑥𝐶𝜑))
87anbi2i 622 . . . 4 ((𝑥𝐴 ∧ ((𝑥𝐵𝑥𝐶) ∧ 𝜑)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
95, 8bitri 274 . . 3 (((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
104, 9bitri 274 . 2 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
1110rexbii2 3175 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥𝐴 (𝑥𝐵𝑥𝐶𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  w3a 1085  wcel 2108  wne 2942  wrex 3064  cdif 3880  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-rex 3069  df-v 3424  df-dif 3886  df-un 3888  df-sn 4559  df-pr 4561
This theorem is referenced by:  usgr2pth0  28034
  Copyright terms: Public domain W3C validator