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 3106 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥 ∈ 𝐴 (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2145   ≠ wne 2956  ∃wrex 3087   ∖ cdif 3896  {cpr 4586
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-rex 3088  df-v 3453  df-dif 3902  df-un 3904  df-sn 4585  df-pr 4587
This theorem is used by:  usgr2pth0  30333
  Copyright terms: Public domain W3C validator