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

Theorem ceqsex 3501
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 1872 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ ∃𝑥(𝑥 = 𝐴𝜑))
2 ceqsex.1 . . . . 5 𝑥𝜓
32nfn 1886 . . . 4 𝑥 ¬ 𝜓
4 ceqsex.2 . . . 4 𝐴 ∈ V
5 ceqsex.3 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
65notbid 321 . . . 4 (𝑥 = 𝐴 → (¬ 𝜑 ↔ ¬ 𝜓))
73, 4, 6ceqsal 3491 . . 3 (∀𝑥(𝑥 = 𝐴 → ¬ 𝜑) ↔ ¬ 𝜓)
81, 7bitr3i 280 . 2 (¬ ∃𝑥(𝑥 = 𝐴𝜑) ↔ ¬ 𝜓)
98con4bii 324 1 (∃𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 400  wal 1567   = wceq 1569  wex 1808  wnf 1812  wcel 2142  Vcvv 3454
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ex 1809  df-nf 1813  df-clel 2837
This theorem is used by:  ceqsex2  3504
  Copyright terms: Public domain W3C validator