ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eueq2dc GIF version

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

Proof of Theorem eueq2dc
StepHypRef Expression
1 df-dc 825 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 notnot 619 . . . . 5 (𝜑 → ¬ ¬ 𝜑)
3 eueq2dc.1 . . . . . . 7 𝐴 ∈ V
43eueq1 2898 . . . . . 6 ∃!𝑥 𝑥 = 𝐴
5 euanv 2071 . . . . . . 7 (∃!𝑥(𝜑𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
65biimpri 132 . . . . . 6 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑𝑥 = 𝐴))
74, 6mpan2 422 . . . . 5 (𝜑 → ∃!𝑥(𝜑𝑥 = 𝐴))
8 euorv 2041 . . . . 5 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑𝑥 = 𝐴)) → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
92, 7, 8syl2anc 409 . . . 4 (𝜑 → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
10 orcom 718 . . . . . 6 ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑))
112bianfd 938 . . . . . . 7 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑𝑥 = 𝐵)))
1211orbi2d 780 . . . . . 6 (𝜑 → (((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1310, 12syl5bb 191 . . . . 5 (𝜑 → ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1413eubidv 2022 . . . 4 (𝜑 → (∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
159, 14mpbid 146 . . 3 (𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
16 eueq2dc.2 . . . . . . 7 𝐵 ∈ V
1716eueq1 2898 . . . . . 6 ∃!𝑥 𝑥 = 𝐵
18 euanv 2071 . . . . . . 7 (∃!𝑥𝜑𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1918biimpri 132 . . . . . 6 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥𝜑𝑥 = 𝐵))
2017, 19mpan2 422 . . . . 5 𝜑 → ∃!𝑥𝜑𝑥 = 𝐵))
21 euorv 2041 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥𝜑𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
2220, 21mpdan 418 . . . 4 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
23 id 19 . . . . . . 7 𝜑 → ¬ 𝜑)
2423bianfd 938 . . . . . 6 𝜑 → (𝜑 ↔ (𝜑𝑥 = 𝐴)))
2524orbi1d 781 . . . . 5 𝜑 → ((𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2625eubidv 2022 . . . 4 𝜑 → (∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2722, 26mpbid 146 . . 3 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
2815, 27jaoi 706 . 2 ((𝜑 ∨ ¬ 𝜑) → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
291, 28sylbi 120 1 (DECID 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  DECID wdc 824   = wceq 1343  ∃!weu 2014  wcel 2136  Vcvv 2726
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-dc 825  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-v 2728
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator