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

Theorem ceqsrexbv 3609
Description: Elimination of a restricted existential quantifier, using implicit substitution. (Contributed by Mario Carneiro, 14-Mar-2014.)
Hypothesis
Ref Expression
ceqsrexv.1 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
ceqsrexbv (∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑) ↔ (𝐴 ∈ 𝐵 ∧ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜓,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem ceqsrexbv
StepHypRef Expression
1 r19.42v 3194 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑)))
2 eleq1 2848 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
32adantr 486 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝜑) → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
43pm5.32ri 586 . . . . 5 ((𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
54bicomi 227 . . . 4 ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
65baib 545 . . 3 (𝑥 ∈ 𝐵 → ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 = 𝐴 ∧ 𝜑)))
76rexbiia 3107 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑))
8 ceqsrexv.1 . . . 4 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
98ceqsrexv 3608 . . 3 (𝐴 ∈ 𝐵 → (∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑) ↔ 𝜓))
109pm5.32i 585 . 2 ((𝐴 ∈ 𝐵 ∧ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ 𝜓))
111, 7, 103bitr3i 304 1 (∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑) ↔ (𝐴 ∈ 𝐵 ∧ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃wrex 3086
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-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rex 3087
This theorem is used by:  ceqsralbv  3610  marypha2lem2  9435  psdmul  22496  txkgen  23980  eq0rabdioph  43924
  Copyright terms: Public domain W3C validator