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

Theorem rexdifpr 4616
Description: Restricted existential quantification over a set with two elements removed. (Contributed by Alexander van der Vekens, 7-Feb-2018.) (Proof shortened by Wolf Lammen, 15-May-2025.)
Assertion
Ref Expression
rexdifpr (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥 ∈ 𝐴 (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑))

Proof of Theorem rexdifpr
StepHypRef Expression
1 anass 474 . . 3 (((𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)) ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ∧ 𝜑)))
2 eldifpr 4615 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶))
3 3anass 1111 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)))
42, 3bitri 278 . . . 4 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)))
54anbi1i 636 . . 3 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)) ∧ 𝜑))
6 df-3an 1105 . . . 4 ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑) ↔ ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ∧ 𝜑))
76anbi2i 635 . . 3 ((𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ∧ 𝜑)))
81, 5, 73bitr4i 306 . 2 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑)))
98rexbii2 3105 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥 ∈ 𝐴 (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2144   ≠ wne 2955  ∃wrex 3086   ∖ cdif 4045  {cpr 4586
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-rex 3087  df-v 3452  df-dif 4047  df-un 4151  df-sn 4585  df-pr 4587
This theorem is used by:  usgr2pth0  30356
  Copyright terms: Public domain W3C validator