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

Theorem eueq2 3698
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 144 . . . 4 (𝜑 → ¬ ¬ 𝜑)
2 eueq2.1 . . . . . 6 𝐴 ∈ V
32eueqi 3697 . . . . 5 ∃!𝑥 𝑥 = 𝐴
4 euanv 2702 . . . . . 6 (∃!𝑥(𝜑𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
54biimpri 229 . . . . 5 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑𝑥 = 𝐴))
63, 5mpan2 687 . . . 4 (𝜑 → ∃!𝑥(𝜑𝑥 = 𝐴))
7 euorv 2689 . . . 4 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑𝑥 = 𝐴)) → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
81, 6, 7syl2anc 584 . . 3 (𝜑 → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
9 orcom 864 . . . . 5 ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑))
101bianfd 535 . . . . . 6 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑𝑥 = 𝐵)))
1110orbi2d 909 . . . . 5 (𝜑 → (((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
129, 11syl5bb 284 . . . 4 (𝜑 → ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1312eubidv 2665 . . 3 (𝜑 → (∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
148, 13mpbid 233 . 2 (𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
15 eueq2.2 . . . . . 6 𝐵 ∈ V
1615eueqi 3697 . . . . 5 ∃!𝑥 𝑥 = 𝐵
17 euanv 2702 . . . . . 6 (∃!𝑥𝜑𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1817biimpri 229 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥𝜑𝑥 = 𝐵))
1916, 18mpan2 687 . . . 4 𝜑 → ∃!𝑥𝜑𝑥 = 𝐵))
20 euorv 2689 . . . 4 ((¬ 𝜑 ∧ ∃!𝑥𝜑𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
2119, 20mpdan 683 . . 3 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
22 id 22 . . . . . 6 𝜑 → ¬ 𝜑)
2322bianfd 535 . . . . 5 𝜑 → (𝜑 ↔ (𝜑𝑥 = 𝐴)))
2423orbi1d 910 . . . 4 𝜑 → ((𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2524eubidv 2665 . . 3 𝜑 → (∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2621, 25mpbid 233 . 2 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
2714, 26pm2.61i 183 1 ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396  wo 841   = wceq 1528  wcel 2105  ∃!weu 2646  Vcvv 3492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-ex 1772  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-v 3494
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator