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

Theorem eueq2 3649
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 3648 . . . . 5 ∃!𝑥 𝑥 = 𝐴
4 euanv 2686 . . . . . 6 (∃!𝑥(𝜑𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
54biimpri 231 . . . . 5 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑𝑥 = 𝐴))
63, 5mpan2 690 . . . 4 (𝜑 → ∃!𝑥(𝜑𝑥 = 𝐴))
7 euorv 2673 . . . 4 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑𝑥 = 𝐴)) → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
81, 6, 7syl2anc 587 . . 3 (𝜑 → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
9 orcom 867 . . . . 5 ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑))
101bianfd 538 . . . . . 6 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑𝑥 = 𝐵)))
1110orbi2d 913 . . . . 5 (𝜑 → (((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
129, 11syl5bb 286 . . . 4 (𝜑 → ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1312eubidv 2647 . . 3 (𝜑 → (∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
148, 13mpbid 235 . 2 (𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
15 eueq2.2 . . . . . 6 𝐵 ∈ V
1615eueqi 3648 . . . . 5 ∃!𝑥 𝑥 = 𝐵
17 euanv 2686 . . . . . 6 (∃!𝑥𝜑𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1817biimpri 231 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥𝜑𝑥 = 𝐵))
1916, 18mpan2 690 . . . 4 𝜑 → ∃!𝑥𝜑𝑥 = 𝐵))
20 euorv 2673 . . . 4 ((¬ 𝜑 ∧ ∃!𝑥𝜑𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
2119, 20mpdan 686 . . 3 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
22 id 22 . . . . . 6 𝜑 → ¬ 𝜑)
2322bianfd 538 . . . . 5 𝜑 → (𝜑 ↔ (𝜑𝑥 = 𝐴)))
2423orbi1d 914 . . . 4 𝜑 → ((𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2524eubidv 2647 . . 3 𝜑 → (∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2621, 25mpbid 235 . 2 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
2714, 26pm2.61i 185 1 ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 399  wo 844   = wceq 1538  wcel 2111  ∃!weu 2628  Vcvv 3441
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ex 1782  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator