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

Theorem dcor 948
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 847 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 orc 724 . . . . . 6 (𝜑 → (𝜑 ∨ 𝜓))
32orcd 745 . . . . 5 (𝜑 → ((𝜑 ∨ 𝜓) ∨ ¬ (𝜑 ∨ 𝜓)))
4 df-dc 847 . . . . 5 (DECID (𝜑 ∨ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∨ ¬ (𝜑 ∨ 𝜓)))
53, 4sylibr 134 . . . 4 (𝜑 → DECID (𝜑 ∨ 𝜓))
65a1d 22 . . 3 (𝜑 → (DECID 𝜓 → DECID (𝜑 ∨ 𝜓)))
7 df-dc 847 . . . . 5 (DECID 𝜓 ↔ (𝜓 ∨ ¬ 𝜓))
8 olc 723 . . . . . . . . 9 (𝜓 → (𝜑 ∨ 𝜓))
98adantl 277 . . . . . . . 8 ((¬ 𝜑 ∧ 𝜓) → (𝜑 ∨ 𝜓))
109orcd 745 . . . . . . 7 ((¬ 𝜑 ∧ 𝜓) → ((𝜑 ∨ 𝜓) ∨ ¬ (𝜑 ∨ 𝜓)))
1110, 4sylibr 134 . . . . . 6 ((¬ 𝜑 ∧ 𝜓) → DECID (𝜑 ∨ 𝜓))
12 ioran 764 . . . . . . . . 9 (¬ (𝜑 ∨ 𝜓) ↔ (¬ 𝜑 ∧ ¬ 𝜓))
1312biimpri 133 . . . . . . . 8 ((¬ 𝜑 ∧ ¬ 𝜓) → ¬ (𝜑 ∨ 𝜓))
1413olcd 746 . . . . . . 7 ((¬ 𝜑 ∧ ¬ 𝜓) → ((𝜑 ∨ 𝜓) ∨ ¬ (𝜑 ∨ 𝜓)))
1514, 4sylibr 134 . . . . . 6 ((¬ 𝜑 ∧ ¬ 𝜓) → DECID (𝜑 ∨ 𝜓))
1611, 15jaodan 809 . . . . 5 ((¬ 𝜑 ∧ (𝜓 ∨ ¬ 𝜓)) → DECID (𝜑 ∨ 𝜓))
177, 16sylan2b 287 . . . 4 ((¬ 𝜑 ∧ DECID 𝜓) → DECID (𝜑 ∨ 𝜓))
1817ex 115 . . 3 (¬ 𝜑 → (DECID 𝜓 → DECID (𝜑 ∨ 𝜓)))
196, 18jaoi 728 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓 → DECID (𝜑 ∨ 𝜓)))
201, 19sylbi 121 1 (DECID 𝜑 → (DECID 𝜓 → DECID (𝜑 ∨ 𝜓)))
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 104   ∨ wo 720  DECID wdc 846
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721
This proof depends on definitions:  df-bi 117  df-dc 847
This theorem is used by:  pm4.55dc  951  orandc  952  pm3.12dc  971  pm3.13dc  972  dn1dc  973  eueq3dc  3000  distrlem4prl  7958  distrlem4pru  7959  exfzdc  10677  lcmmndc  12866  isprm3  12922  ppiqub  16305  perfectlem2  16312  lgsval  16340  lgsfvalg  16341  lgsfcl2  16342  lgsval2lem  16346  lgsdir2  16369  lgsne0  16374  lgsdirnn0  16383  lgsdinn0  16384  2lgs  16440  2lgsoddprm  16449  eupth2lem3lem4fi  16931  eupth2lem3lem7fi  16932  cndcap  17328
  Copyright terms: Public domain W3C validator