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

Theorem modc 2040
Description: Equivalent definitions of "there exists at most one," given decidable existence. (Contributed by Jim Kingdon, 1-Jul-2018.)
Hypothesis
Ref Expression
modc.1 𝑦𝜑
Assertion
Ref Expression
modc (DECID𝑥𝜑 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦)))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem modc
StepHypRef Expression
1 modc.1 . . 3 𝑦𝜑
21mo23 2038 . 2 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
3 exmiddc 821 . . 3 (DECID𝑥𝜑 → (∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑))
41mor 2039 . . . 4 (∃𝑥𝜑 → (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃𝑦𝑥(𝜑𝑥 = 𝑦)))
51mo2n 2025 . . . . 5 (¬ ∃𝑥𝜑 → ∃𝑦𝑥(𝜑𝑥 = 𝑦))
65a1d 22 . . . 4 (¬ ∃𝑥𝜑 → (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃𝑦𝑥(𝜑𝑥 = 𝑦)))
74, 6jaoi 705 . . 3 ((∃𝑥𝜑 ∨ ¬ ∃𝑥𝜑) → (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃𝑦𝑥(𝜑𝑥 = 𝑦)))
83, 7syl 14 . 2 (DECID𝑥𝜑 → (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃𝑦𝑥(𝜑𝑥 = 𝑦)))
92, 8impbid2 142 1 (DECID𝑥𝜑 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 697  DECID wdc 819  wal 1329  wnf 1436  wex 1468  [wsb 1735
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-11 1484  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515
This theorem depends on definitions:  df-bi 116  df-dc 820  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736
This theorem is referenced by:  mo2dc  2052
  Copyright terms: Public domain W3C validator