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

Theorem ceqsrexbv 3613
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 3198 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑)))
2 eleq1 2852 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
32adantr 486 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝜑) → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
43pm5.32ri 586 . . . . 5 ((𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
54bicomi 227 . . . 4 ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
65baib 545 . . 3 (𝑥 ∈ 𝐵 → ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 = 𝐴 ∧ 𝜑)))
76rexbiia 3111 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑))
8 ceqsrexv.1 . . . 4 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
98ceqsrexv 3612 . . 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 1570   ∈ wcel 2147  ∃wrex 3090
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-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rex 3091
This theorem is used by:  ceqsralbv  3614  marypha2lem2  9465  psdmul  22542  txkgen  24026  eq0rabdioph  44053
  Copyright terms: Public domain W3C validator