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

Theorem ceqsrexv 3668
Description: Elimination of a restricted existential quantifier, using implicit substitution. (Contributed by NM, 30-Apr-2004.)
Hypothesis
Ref Expression
ceqsrexv.1 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
ceqsrexv (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜓,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem ceqsrexv
StepHypRef Expression
1 df-rex 3077 . . 3 (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
2 an12 644 . . . 4 ((𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
32exbii 1846 . . 3 (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
41, 3bitr4i 278 . 2 (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)))
5 eleq1 2832 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
6 ceqsrexv.1 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
75, 6anbi12d 631 . . . 4 (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓)))
87ceqsexgv 3667 . . 3 (𝐴𝐵 → (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ (𝐴𝐵𝜓)))
98bianabs 541 . 2 (𝐴𝐵 → (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ 𝜓))
104, 9bitrid 283 1 (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wex 1777  wcel 2108  wrex 3076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1540  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-rex 3077
This theorem is referenced by:  ceqsrexbv  3669  ceqsrex2v  3671  reuxfrd  3770  f1oiso  7387  creur  12287  creui  12288  deg1ldg  26151  ulm2  26446  iscgra1  28836  reuxfrdf  32519  poimirlem24  37604  eqlkr3  39057  diclspsn  41151  rmxdiophlem  42972  expdiophlem1  42978  expdiophlem2  42979
  Copyright terms: Public domain W3C validator