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

Theorem eueq2dc 2903
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 830 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 notnot 624 . . . . 5 (𝜑 → ¬ ¬ 𝜑)
3 eueq2dc.1 . . . . . . 7 𝐴 ∈ V
43eueq1 2902 . . . . . 6 ∃!𝑥 𝑥 = 𝐴
5 euanv 2076 . . . . . . 7 (∃!𝑥(𝜑𝑥 = 𝐴) ↔ (𝜑 ∧ ∃!𝑥 𝑥 = 𝐴))
65biimpri 132 . . . . . 6 ((𝜑 ∧ ∃!𝑥 𝑥 = 𝐴) → ∃!𝑥(𝜑𝑥 = 𝐴))
74, 6mpan2 423 . . . . 5 (𝜑 → ∃!𝑥(𝜑𝑥 = 𝐴))
8 euorv 2046 . . . . 5 ((¬ ¬ 𝜑 ∧ ∃!𝑥(𝜑𝑥 = 𝐴)) → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
92, 7, 8syl2anc 409 . . . 4 (𝜑 → ∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)))
10 orcom 723 . . . . . 6 ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑))
112bianfd 943 . . . . . . 7 (𝜑 → (¬ 𝜑 ↔ (¬ 𝜑𝑥 = 𝐵)))
1211orbi2d 785 . . . . . 6 (𝜑 → (((𝜑𝑥 = 𝐴) ∨ ¬ 𝜑) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1310, 12syl5bb 191 . . . . 5 (𝜑 → ((¬ 𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
1413eubidv 2027 . . . 4 (𝜑 → (∃!𝑥𝜑 ∨ (𝜑𝑥 = 𝐴)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
159, 14mpbid 146 . . 3 (𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
16 eueq2dc.2 . . . . . . 7 𝐵 ∈ V
1716eueq1 2902 . . . . . 6 ∃!𝑥 𝑥 = 𝐵
18 euanv 2076 . . . . . . 7 (∃!𝑥𝜑𝑥 = 𝐵) ↔ (¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵))
1918biimpri 132 . . . . . 6 ((¬ 𝜑 ∧ ∃!𝑥 𝑥 = 𝐵) → ∃!𝑥𝜑𝑥 = 𝐵))
2017, 19mpan2 423 . . . . 5 𝜑 → ∃!𝑥𝜑𝑥 = 𝐵))
21 euorv 2046 . . . . 5 ((¬ 𝜑 ∧ ∃!𝑥𝜑𝑥 = 𝐵)) → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
2220, 21mpdan 419 . . . 4 𝜑 → ∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)))
23 id 19 . . . . . . 7 𝜑 → ¬ 𝜑)
2423bianfd 943 . . . . . 6 𝜑 → (𝜑 ↔ (𝜑𝑥 = 𝐴)))
2524orbi1d 786 . . . . 5 𝜑 → ((𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2625eubidv 2027 . . . 4 𝜑 → (∃!𝑥(𝜑 ∨ (¬ 𝜑𝑥 = 𝐵)) ↔ ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵))))
2722, 26mpbid 146 . . 3 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
2815, 27jaoi 711 . 2 ((𝜑 ∨ ¬ 𝜑) → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
291, 28sylbi 120 1 (DECID 𝜑 → ∃!𝑥((𝜑𝑥 = 𝐴) ∨ (¬ 𝜑𝑥 = 𝐵)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 703  DECID wdc 829   = wceq 1348  ∃!weu 2019  wcel 2141  Vcvv 2730
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-dc 830  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-v 2732
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator