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

Theorem pm5.18dc 810
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 776 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 pm5.501 242 . . . . . . . 8 (𝜑 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
32a1d 22 . . . . . . 7 (𝜑 → (DECID 𝜓 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
43con1biddc 803 . . . . . 6 (𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓)))
54imp 122 . . . . 5 ((𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓))
6 pm5.501 242 . . . . . 6 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
76adantr 270 . . . . 5 ((𝜑DECID 𝜓) → (𝜓 ↔ (𝜑𝜓)))
85, 7bitr2d 187 . . . 4 ((𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
98ex 113 . . 3 (𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
10 dcn 779 . . . . . . 7 (DECID 𝜓DECID ¬ 𝜓)
11 nbn2 645 . . . . . . . . 9 𝜑 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
1211a1d 22 . . . . . . . 8 𝜑 → (DECID ¬ 𝜓 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
1312con1biddc 803 . . . . . . 7 𝜑 → (DECID ¬ 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1410, 13syl5 32 . . . . . 6 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1514imp 122 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓))
16 nbn2 645 . . . . . 6 𝜑 → (¬ 𝜓 ↔ (𝜑𝜓)))
1716adantr 270 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ 𝜓 ↔ (𝜑𝜓)))
1815, 17bitr2d 187 . . . 4 ((¬ 𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
1918ex 113 . . 3 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
209, 19jaoi 668 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
211, 20sylbi 119 1 (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wb 103  wo 661  DECID wdc 775
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 576  ax-in2 577  ax-io 662
This theorem depends on definitions:  df-bi 115  df-dc 776
This theorem is referenced by:  xor3dc  1318  dfbi3dc  1328
  Copyright terms: Public domain W3C validator