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

Theorem rexdifpr 4594
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 4593 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥𝐴𝑥𝐵𝑥𝐶))
2 3anass 1094 . . . . 5 ((𝑥𝐴𝑥𝐵𝑥𝐶) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
31, 2bitri 274 . . . 4 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)))
43anbi1i 624 . . 3 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ ((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑))
5 anass 469 . . . 4 (((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑) ↔ (𝑥𝐴 ∧ ((𝑥𝐵𝑥𝐶) ∧ 𝜑)))
6 df-3an 1088 . . . . . 6 ((𝑥𝐵𝑥𝐶𝜑) ↔ ((𝑥𝐵𝑥𝐶) ∧ 𝜑))
76bicomi 223 . . . . 5 (((𝑥𝐵𝑥𝐶) ∧ 𝜑) ↔ (𝑥𝐵𝑥𝐶𝜑))
87anbi2i 623 . . . 4 ((𝑥𝐴 ∧ ((𝑥𝐵𝑥𝐶) ∧ 𝜑)) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
95, 8bitri 274 . . 3 (((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶)) ∧ 𝜑) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
104, 9bitri 274 . 2 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐶𝜑)))
1110rexbii2 3179 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥𝐴 (𝑥𝐵𝑥𝐶𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  w3a 1086  wcel 2106  wne 2943  wrex 3065  cdif 3884  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-rex 3070  df-v 3434  df-dif 3890  df-un 3892  df-sn 4562  df-pr 4564
This theorem is referenced by:  usgr2pth0  28133
  Copyright terms: Public domain W3C validator