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

Theorem xordc 1370
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 1356 . . . 4 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
2 ancom 264 . . . . 5 ((¬ 𝜑𝜓) ↔ (𝜓 ∧ ¬ 𝜑))
32orbi2i 751 . . . 4 (((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
41, 3bitri 183 . . 3 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
5 xornbidc 1369 . . . 4 (DECID 𝜑 → (DECID 𝜓 → ((𝜑𝜓) ↔ ¬ (𝜑𝜓))))
65imp 123 . . 3 ((DECID 𝜑DECID 𝜓) → ((𝜑𝜓) ↔ ¬ (𝜑𝜓)))
74, 6syl5rbbr 194 . 2 ((DECID 𝜑DECID 𝜓) → (¬ (𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑))))
87ex 114 1 (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 697  DECID wdc 819  wxo 1353
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 603  ax-in2 604  ax-io 698
This theorem depends on definitions:  df-bi 116  df-stab 816  df-dc 820  df-xor 1354
This theorem is referenced by:  dfbi3dc  1375  pm5.24dc  1376
  Copyright terms: Public domain W3C validator