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

Theorem xordc 1323
Description: Two ways to express "exclusive or" between decidable propositions. Theorem *5.22 of [WhiteheadRussell] p. 124, but for decidable propositions. (Contributed by Jim Kingdon, 5-May-2018.)
Assertion
Ref Expression
xordc (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))))

Proof of Theorem xordc
StepHypRef Expression
1 excxor 1309 . . . 4 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
2 ancom 262 . . . . 5 ((¬ 𝜑𝜓) ↔ (𝜓 ∧ ¬ 𝜑))
32orbi2i 711 . . . 4 (((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
41, 3bitri 182 . . 3 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
5 xornbidc 1322 . . . 4 (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑𝜓))))
65imp 122 . . 3 ((DECID 𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑𝜓)))
74, 6syl5rbbr 193 . 2 ((DECID 𝜑DECID 𝜓) → (¬ (𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑))))
87ex 113 1 (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wb 103  wo 661  DECID wdc 775  wxo 1306
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  df-xor 1307
This theorem is referenced by:  dfbi3dc  1328  pm5.24dc  1329
  Copyright terms: Public domain W3C validator