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

Theorem pm5.18dc 883
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 835 . 2 (DECID 𝜑 ↔ (𝜑 ∨ ¬ 𝜑))
2 pm5.501 244 . . . . . . . 8 (𝜑 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
32a1d 22 . . . . . . 7 (𝜑 → (DECID 𝜓 → (¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
43con1biddc 876 . . . . . 6 (𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓)))
54imp 124 . . . . 5 ((𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ 𝜓))
6 pm5.501 244 . . . . . 6 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
76adantr 276 . . . . 5 ((𝜑DECID 𝜓) → (𝜓 ↔ (𝜑𝜓)))
85, 7bitr2d 189 . . . 4 ((𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
98ex 115 . . 3 (𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
10 dcn 842 . . . . . . 7 (DECID 𝜓DECID ¬ 𝜓)
11 nbn2 697 . . . . . . . . 9 𝜑 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓)))
1211a1d 22 . . . . . . . 8 𝜑 → (DECID ¬ 𝜓 → (¬ ¬ 𝜓 ↔ (𝜑 ↔ ¬ 𝜓))))
1312con1biddc 876 . . . . . . 7 𝜑 → (DECID ¬ 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1410, 13syl5 32 . . . . . 6 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓)))
1514imp 124 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ (𝜑 ↔ ¬ 𝜓) ↔ ¬ 𝜓))
16 nbn2 697 . . . . . 6 𝜑 → (¬ 𝜓 ↔ (𝜑𝜓)))
1716adantr 276 . . . . 5 ((¬ 𝜑DECID 𝜓) → (¬ 𝜓 ↔ (𝜑𝜓)))
1815, 17bitr2d 189 . . . 4 ((¬ 𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓)))
1918ex 115 . . 3 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
209, 19jaoi 716 . 2 ((𝜑 ∨ ¬ 𝜑) → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
211, 20sylbi 121 1 (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑 ↔ ¬ 𝜓))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 708  DECID wdc 834
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709
This theorem depends on definitions:  df-bi 117  df-stab 831  df-dc 835
This theorem is referenced by:  xor3dc  1387  dfbi3dc  1397
  Copyright terms: Public domain W3C validator