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

Theorem rexdifpr 4623
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 4622 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶))
3 3anass 1112 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)))
42, 3bitri 278 . . . 4 (𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)))
54anbi1i 636 . . 3 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶)) ∧ 𝜑))
6 df-3an 1106 . . . 4 ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑) ↔ ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ∧ 𝜑))
76anbi2i 635 . . 3 ((𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ((𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶) ∧ 𝜑)))
81, 5, 73bitr4i 306 . 2 ((𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶}) ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑)))
98rexbii2 3115 1 (∃𝑥 ∈ (𝐴 ∖ {𝐵, 𝐶})𝜑 ↔ ∃𝑥 ∈ 𝐴 (𝑥 ≠ 𝐵 ∧ 𝑥 ≠ 𝐶 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   ∈ wcel 2151   ≠ wne 2965  ∃wrex 3096   ∖ cdif 4050  {cpr 4592
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-rex 3097  df-v 3458  df-dif 4052  df-un 4156  df-sn 4591  df-pr 4593
This theorem is used by:  usgr2pth0  30475
  Copyright terms: Public domain W3C validator