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

Theorem eueq2 3671
Description: Equality has existential uniqueness (split into 2 cases). (Contributed by NM, 5-Apr-1995.)
Hypotheses
Ref Expression
eueq2.1 𝐴 ∈ V
eueq2.2 𝐵 ∈ V
Assertion
Ref Expression
eueq2 ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))
Distinct variable groups:   𝜑,𝑥   𝑥,𝐴   𝑥,𝐵

Proof of Theorem eueq2
StepHypRef Expression
1 notnot 143 . . . 4 (𝜑 → ¬ ¬ 𝜑)
2 eueq2.1 . . . . . 6 𝐴 ∈ V
32eueqi 3670 . . . . 5 ∃!𝑥 𝑥 = 𝐴
4 euanv 2652 . . . . . 6 (∃!𝑥(𝜑 ∧ 𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
54biimpri 231 . . . . 5 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑 ∧ 𝑥 = 𝐴))
63, 5mpan2 704 . . . 4 (𝜑 → ∃!𝑥(𝜑 ∧ 𝑥 = 𝐴))
7 euorv 2640 . . . 4 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑 ∧ 𝑥 = 𝐴)) → ∃!𝑥(¬ 𝜑 ∨ (𝜑 ∧ 𝑥 = 𝐴)))
81, 6, 7syl2anc 596 . . 3 (𝜑 → ∃!𝑥(¬ 𝜑 ∨ (𝜑 ∧ 𝑥 = 𝐴)))
9 orcom 884 . . . . 5 ((¬ 𝜑 ∨ (𝜑 ∧ 𝑥 = 𝐴)) ↔ ((𝜑 ∧ 𝑥 = 𝐴) ∨ ¬ 𝜑))
101bianfd 544 . . . . . 6 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑 ∧ 𝑥 = 𝐵)))
1110orbi2d 929 . . . . 5 (𝜑 → (((𝜑 ∧ 𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))))
129, 11bitrid 286 . . . 4 (𝜑 → ((¬ 𝜑 ∨ (𝜑 ∧ 𝑥 = 𝐴)) ↔ ((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))))
1312eubidv 2614 . . 3 (𝜑 → (∃!𝑥(¬ 𝜑 ∨ (𝜑 ∧ 𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))))
148, 13mpbid 235 . 2 (𝜑 → ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)))
15 eueq2.2 . . . . . 6 𝐵 ∈ V
1615eueqi 3670 . . . . 5 ∃!𝑥 𝑥 = 𝐵
17 euanv 2652 . . . . . 6 (∃!𝑥(¬ 𝜑 ∧ 𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1817biimpri 231 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥(¬ 𝜑 ∧ 𝑥 = 𝐵))
1916, 18mpan2 704 . . . 4 (¬ 𝜑 → ∃!𝑥(¬ 𝜑 ∧ 𝑥 = 𝐵))
20 euorv 2640 . . . 4 ((¬ 𝜑 ∧ ∃!𝑥(¬ 𝜑 ∧ 𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)))
2119, 20mpdan 700 . . 3 (¬ 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)))
22 id 23 . . . . . 6 (¬ 𝜑 → ¬ 𝜑)
2322bianfd 544 . . . . 5 (¬ 𝜑 → (𝜑 ↔ (𝜑 ∧ 𝑥 = 𝐴)))
2423orbi1d 930 . . . 4 (¬ 𝜑 → ((𝜑 ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)) ↔ ((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))))
2524eubidv 2614 . . 3 (¬ 𝜑 → (∃!𝑥(𝜑 ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)) ↔ ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))))
2621, 25mpbid 235 . 2 (¬ 𝜑 → ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵)))
2714, 26pm2.61i 184 1 ∃!𝑥((𝜑 ∧ 𝑥 = 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ∃!weu 2596  Vcvv 3454
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456
This theorem is used by:  bj-axseprep  38180
  Copyright terms: Public domain W3C validator