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

Theorem dcim 831
Description: An implication between two decidable propositions is decidable. (Contributed by Jim Kingdon, 28-Mar-2018.)
Assertion
Ref Expression
dcim (DECID 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))

Proof of Theorem dcim
StepHypRef Expression
1 df-dc 825 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 df-dc 825 . . . . . . . 8 (DECID 𝜓 ↔ (𝜓 ∨ ¬ 𝜓))
32anbi2i 453 . . . . . . 7 ((𝜑DECID 𝜓) ↔ (𝜑 ∧ (𝜓 ∨ ¬ 𝜓)))
4 andi 808 . . . . . . 7 ((𝜑 ∧ (𝜓 ∨ ¬ 𝜓)) ↔ ((𝜑𝜓) ∨ (𝜑 ∧ ¬ 𝜓)))
53, 4bitri 183 . . . . . 6 ((𝜑DECID 𝜓) ↔ ((𝜑𝜓) ∨ (𝜑 ∧ ¬ 𝜓)))
6 pm3.4 331 . . . . . . 7 ((𝜑𝜓) → (𝜑𝜓))
7 annimim 676 . . . . . . 7 ((𝜑 ∧ ¬ 𝜓) → ¬ (𝜑𝜓))
86, 7orim12i 749 . . . . . 6 (((𝜑𝜓) ∨ (𝜑 ∧ ¬ 𝜓)) → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
95, 8sylbi 120 . . . . 5 ((𝜑DECID 𝜓) → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
10 df-dc 825 . . . . 5 (DECID (𝜑𝜓) ↔ ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
119, 10sylibr 133 . . . 4 ((𝜑DECID 𝜓) → DECID (𝜑𝜓))
1211ex 114 . . 3 (𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
13 ax-in2 605 . . . . 5 𝜑 → (𝜑𝜓))
1413a1d 22 . . . 4 𝜑 → (DECID 𝜓 → (𝜑𝜓)))
15 orc 702 . . . . 5 ((𝜑𝜓) → ((𝜑𝜓) ∨ ¬ (𝜑𝜓)))
1615, 10sylibr 133 . . . 4 ((𝜑𝜓) → DECID (𝜑𝜓))
1714, 16syl6 33 . . 3 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
1812, 17jaoi 706 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓DECID (𝜑𝜓)))
191, 18sylbi 120 1 (DECID 𝜑 → (DECID 𝜓DECID (𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  DECID wdc 824
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
This theorem depends on definitions:  df-bi 116  df-dc 825
This theorem is referenced by:  pm4.79dc  893  pm5.11dc  899  dcbi  926  annimdc  927
  Copyright terms: Public domain W3C validator