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

Theorem ceqsrexbv 3620
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 3209 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑)))
2 eleq1 2863 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
32adantr 486 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝜑) → (𝑥 ∈ 𝐵 ↔ 𝐴 ∈ 𝐵))
43pm5.32ri 586 . . . . 5 ((𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
54bicomi 227 . . . 4 ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)))
65baib 545 . . 3 (𝑥 ∈ 𝐵 → ((𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ (𝑥 = 𝐴 ∧ 𝜑)))
76rexbiia 3122 . 2 (∃𝑥 ∈ 𝐵 (𝐴 ∈ 𝐵 ∧ (𝑥 = 𝐴 ∧ 𝜑)) ↔ ∃𝑥 ∈ 𝐵 (𝑥 = 𝐴 ∧ 𝜑))
8 ceqsrexv.1 . . . 4 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
98ceqsrexv 3619 . . 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 1572   ∈ wcel 2156  ∃wrex 3101
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rex 3102
This theorem is used by:  ceqsralbv  3621  marypha2lem2  9484  psdmul  22589  txkgen  24079  eq0rabdioph  44151
  Copyright terms: Public domain W3C validator