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

Theorem ceqsex 3523
Description: Elimination of an existential quantifier, using implicit substitution. (Contributed by NM, 2-Mar-1995.) (Revised by Mario Carneiro, 10-Oct-2016.) (Proof shortened by Wolf Lammen, 22-Jan-2025.)
Hypotheses
Ref Expression
ceqsex.1 𝑥𝜓
ceqsex.2 𝐴 ∈ V
ceqsex.3 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
ceqsex (∃𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓)
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)

Proof of Theorem ceqsex
StepHypRef Expression
1 alinexa 1845 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ ∃𝑥(𝑥 = 𝐴𝜑))
2 ceqsex.1 . . . . 5 𝑥𝜓
32nfn 1860 . . . 4 𝑥 ¬ 𝜓
4 ceqsex.2 . . . 4 𝐴 ∈ V
5 ceqsex.3 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
65notbid 317 . . . 4 (𝑥 = 𝐴 → (¬ 𝜑 ↔ ¬ 𝜓))
73, 4, 6ceqsal 3509 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ 𝜓)
81, 7bitr3i 276 . 2 (¬ ∃𝑥(𝑥 = 𝐴𝜑) ↔ ¬ 𝜓)
98con4bii 320 1 (∃𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wal 1539   = wceq 1541  wex 1781  wnf 1785  wcel 2106  Vcvv 3474
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-12 2171
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-ex 1782  df-nf 1786  df-clel 2810
This theorem is referenced by:  ceqsexvOLDOLD  3527  ceqsex2  3529
  Copyright terms: Public domain W3C validator