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

Theorem ceqsex 3528
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 1840 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ ∃𝑥(𝑥 = 𝐴𝜑))
2 ceqsex.1 . . . . 5 𝑥𝜓
32nfn 1855 . . . 4 𝑥 ¬ 𝜓
4 ceqsex.2 . . . 4 𝐴 ∈ V
5 ceqsex.3 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
65notbid 318 . . . 4 (𝑥 = 𝐴 → (¬ 𝜑 ↔ ¬ 𝜓))
73, 4, 6ceqsal 3517 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ 𝜓)
81, 7bitr3i 277 . 2 (¬ ∃𝑥(𝑥 = 𝐴𝜑) ↔ ¬ 𝜓)
98con4bii 321 1 (∃𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wal 1535   = wceq 1537  wex 1776  wnf 1780  wcel 2106  Vcvv 3478
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-12 2175
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-ex 1777  df-nf 1781  df-clel 2814
This theorem is referenced by:  ceqsexvOLDOLD  3532  ceqsex2  3535
  Copyright terms: Public domain W3C validator