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

Theorem ceqsrexbv 3472
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 3226 . 2 (∃𝑥𝐵 (𝐴𝐵 ∧ (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜑)))
2 eleq1 2823 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
32adantr 472 . . . . . 6 ((𝑥 = 𝐴𝜑) → (𝑥𝐵𝐴𝐵))
43pm5.32ri 673 . . . . 5 ((𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 ∧ (𝑥 = 𝐴𝜑)))
54bicomi 214 . . . 4 ((𝐴𝐵 ∧ (𝑥 = 𝐴𝜑)) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
65baib 982 . . 3 (𝑥𝐵 → ((𝐴𝐵 ∧ (𝑥 = 𝐴𝜑)) ↔ (𝑥 = 𝐴𝜑)))
76rexbiia 3174 . 2 (∃𝑥𝐵 (𝐴𝐵 ∧ (𝑥 = 𝐴𝜑)) ↔ ∃𝑥𝐵 (𝑥 = 𝐴𝜑))
8 ceqsrexv.1 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
98ceqsrexv 3471 . . 3 (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
109pm5.32i 672 . 2 ((𝐴𝐵 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵𝜓))
111, 7, 103bitr3i 290 1 (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ (𝐴𝐵𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1628  wcel 2135  wrex 3047
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1867  ax-4 1882  ax-5 1984  ax-6 2050  ax-7 2086  ax-9 2144  ax-10 2164  ax-12 2192  ax-ext 2736
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1631  df-ex 1850  df-nf 1855  df-sb 2043  df-clab 2743  df-cleq 2749  df-clel 2752  df-rex 3052  df-v 3338
This theorem is referenced by:  marypha2lem2  8503  txkgen  21653  ceqsrexv2  31908  eq0rabdioph  37838
  Copyright terms: Public domain W3C validator