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

Theorem ceqsrexv 3652
 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 3147 . . 3 (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
2 an12 643 . . . 4 ((𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
32exbii 1847 . . 3 (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜑)))
41, 3bitr4i 280 . 2 (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)))
5 eleq1 2903 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
6 ceqsrexv.1 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
75, 6anbi12d 632 . . . 4 (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓)))
87ceqsexgv 3650 . . 3 (𝐴𝐵 → (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ (𝐴𝐵𝜓)))
98bianabs 544 . 2 (𝐴𝐵 → (∃𝑥(𝑥 = 𝐴 ∧ (𝑥𝐵𝜑)) ↔ 𝜓))
104, 9syl5bb 285 1 (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 208   ∧ wa 398   = wceq 1536  ∃wex 1779   ∈ wcel 2113  ∃wrex 3142 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-ext 2796 This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1780  df-cleq 2817  df-clel 2896  df-rex 3147 This theorem is referenced by:  ceqsrexbv  3653  ceqsrex2v  3654  reuxfrd  3742  f1oiso  7107  creur  11635  creui  11636  deg1ldg  24689  ulm2  24976  iscgra1  26599  reuxfrdf  30258  poimirlem24  34920  eqlkr3  36241  diclspsn  38334  rmxdiophlem  39618  expdiophlem1  39624  expdiophlem2  39625
 Copyright terms: Public domain W3C validator