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

Theorem pm5.18dc 853
Description: Relationship between an equivalence and an equivalence with some negation, for decidable propositions. Based on theorem *5.18 of [WhiteheadRussell] p. 124. Given decidability, we can consider ¬ (𝜑 ↔ ¬ 𝜓) to represent "negated exclusive-or". (Contributed by Jim Kingdon, 4-Apr-2018.)
Assertion
Ref Expression
pm5.18dc (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))

Proof of Theorem pm5.18dc
StepHypRef Expression
1 df-dc 805 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 pm5.501 243 . . . . . . . 8 (𝜑 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
32a1d 22 . . . . . . 7 (𝜑 → (DECID 𝜓 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
43con1biddc 846 . . . . . 6 (𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓)))
54imp 123 . . . . 5 ((𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓))
6 pm5.501 243 . . . . . 6 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
76adantr 274 . . . . 5 ((𝜑DECID 𝜓) → (𝜓 ↔ (𝜑𝜓)))
85, 7bitr2d 188 . . . 4 ((𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
98ex 114 . . 3 (𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
10 dcn 812 . . . . . . 7 (DECID 𝜓DECID ¬ 𝜓)
11 nbn2 671 . . . . . . . . 9 𝜑 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
1211a1d 22 . . . . . . . 8 𝜑 → (DECID ¬ 𝜓 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
1312con1biddc 846 . . . . . . 7 𝜑 → (DECID ¬ 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1410, 13syl5 32 . . . . . 6 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1514imp 123 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓))
16 nbn2 671 . . . . . 6 𝜑 → (¬ 𝜓 ↔ (𝜑𝜓)))
1716adantr 274 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ 𝜓 ↔ (𝜑𝜓)))
1815, 17bitr2d 188 . . . 4 ((¬ 𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
1918ex 114 . . 3 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
209, 19jaoi 690 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
211, 20sylbi 120 1 (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 682  DECID wdc 804
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 588  ax-in2 589  ax-io 683
This theorem depends on definitions:  df-bi 116  df-stab 801  df-dc 805
This theorem is referenced by:  xor3dc  1350  dfbi3dc  1360
  Copyright terms: Public domain W3C validator