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

Theorem eueq2dc 2861
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 821 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 notnot 619 . . . . 5 (𝜑 → ¬ ¬ 𝜑)
3 eueq2dc.1 . . . . . . 7 𝐴 ∈ V
43eueq1 2860 . . . . . 6 ∃!𝑥 𝑥 = 𝐴
5 euanv 2057 . . . . . . 7 (∃!𝑥(𝜑𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
65biimpri 132 . . . . . 6 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑𝑥 = 𝐴))
74, 6mpan2 422 . . . . 5 (𝜑 → ∃!𝑥(𝜑𝑥 = 𝐴))
8 euorv 2027 . . . . 5 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑𝑥 = 𝐴)) → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
92, 7, 8syl2anc 409 . . . 4 (𝜑 → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
10 orcom 718 . . . . . 6 ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑))
112bianfd 933 . . . . . . 7 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑𝑥 = 𝐵)))
1211orbi2d 780 . . . . . 6 (𝜑 → (((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1310, 12syl5bb 191 . . . . 5 (𝜑 → ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1413eubidv 2008 . . . 4 (𝜑 → (∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
159, 14mpbid 146 . . 3 (𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
16 eueq2dc.2 . . . . . . 7 𝐵 ∈ V
1716eueq1 2860 . . . . . 6 ∃!𝑥 𝑥 = 𝐵
18 euanv 2057 . . . . . . 7 (∃!𝑥𝜑𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1918biimpri 132 . . . . . 6 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥𝜑𝑥 = 𝐵))
2017, 19mpan2 422 . . . . 5 𝜑 → ∃!𝑥𝜑𝑥 = 𝐵))
21 euorv 2027 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥𝜑𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
2220, 21mpdan 418 . . . 4 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
23 id 19 . . . . . . 7 𝜑 → ¬ 𝜑)
2423bianfd 933 . . . . . 6 𝜑 → (𝜑 ↔ (𝜑𝑥 = 𝐴)))
2524orbi1d 781 . . . . 5 𝜑 → ((𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2625eubidv 2008 . . . 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 820   = wceq 1332  wcel 1481  ∃!weu 2000  Vcvv 2689
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 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-dc 821  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-v 2691
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator