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

Theorem rexdifpr 4620
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 4619 . . . . 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 3109 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥 ∈ 𝐴 (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2147   ≠ wne 2959  ∃wrex 3090   ∖ cdif 4048  {cpr 4590
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-rex 3091  df-v 3456  df-dif 4050  df-un 4154  df-sn 4589  df-pr 4591
This theorem is used by:  usgr2pth0  30384
  Copyright terms: Public domain W3C validator