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

Theorem dcor 879
Description: A disjunction of two decidable propositions is decidable. (Contributed by Jim Kingdon, 21-Apr-2018.)
Assertion
Ref Expression
dcor (DECID 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))

Proof of Theorem dcor
StepHypRef Expression
1 df-dc 779 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 orc 666 . . . . . 6 (𝜑 → (𝜑𝜓))
32orcd 685 . . . . 5 (𝜑 → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
4 df-dc 779 . . . . 5 (DECID (𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
53, 4sylibr 132 . . . 4 (𝜑DECID (𝜑𝜓))
65a1d 22 . . 3 (𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
7 df-dc 779 . . . . 5 (DECID 𝜓 ↔ (𝜓 ∨ ¬ 𝜓))
8 olc 665 . . . . . . . . 9 (𝜓 → (𝜑𝜓))
98adantl 271 . . . . . . . 8 ((¬ 𝜑𝜓) → (𝜑𝜓))
109orcd 685 . . . . . . 7 ((¬ 𝜑𝜓) → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
1110, 4sylibr 132 . . . . . 6 ((¬ 𝜑𝜓) → DECID (𝜑𝜓))
12 ioran 702 . . . . . . . . 9 (¬ (𝜑𝜓) ↔ (¬ 𝜑 ∧ ¬ 𝜓))
1312biimpri 131 . . . . . . . 8 ((¬ 𝜑 ∧ ¬ 𝜓) → ¬ (𝜑𝜓))
1413olcd 686 . . . . . . 7 ((¬ 𝜑 ∧ ¬ 𝜓) → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
1514, 4sylibr 132 . . . . . 6 ((¬ 𝜑 ∧ ¬ 𝜓) → DECID (𝜑𝜓))
1611, 15jaodan 744 . . . . 5 ((¬ 𝜑 ∧ (𝜓 ∨ ¬ 𝜓)) → DECID (𝜑𝜓))
177, 16sylan2b 281 . . . 4 ((¬ 𝜑DECID 𝜓) → DECID (𝜑𝜓))
1817ex 113 . . 3 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
196, 18jaoi 669 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓DECID (𝜑𝜓)))
201, 19sylbi 119 1 (DECID 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wo 662  DECID wdc 778
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663
This theorem depends on definitions:  df-bi 115  df-dc 779
This theorem is referenced by:  pm4.55dc  882  orandc  883  pm3.12dc  902  pm3.13dc  903  dn1dc  904  eueq3dc  2780  distrlem4prl  7090  distrlem4pru  7091  exfzdc  9582  lcmmndc  10969  isprm3  11025
  Copyright terms: Public domain W3C validator