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

Theorem excxor 1356
Description: This tautology shows that xor is really exclusive. (Contributed by FL, 22-Nov-2010.) (Proof rewritten by Jim Kingdon, 5-May-2018.)
Assertion
Ref Expression
excxor ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))

Proof of Theorem excxor
StepHypRef Expression
1 xoranor 1355 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
2 andi 807 . . 3 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) ↔ (((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)))
3 orcom 717 . . . . 5 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
4 pm3.24 682 . . . . . 6 ¬ (𝜑 ∧ ¬ 𝜑)
54biorfi 735 . . . . 5 ((𝜓 ∧ ¬ 𝜑) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)))
6 andir 808 . . . . 5 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
73, 5, 63bitr4ri 212 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ (𝜓 ∧ ¬ 𝜑))
8 pm5.61 783 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜓) ↔ (𝜑 ∧ ¬ 𝜓))
97, 8orbi12i 753 . . 3 ((((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
101, 2, 93bitri 205 . 2 ((𝜑𝜓) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
11 orcom 717 . 2 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
12 ancom 264 . . 3 ((𝜓 ∧ ¬ 𝜑) ↔ (¬ 𝜑𝜓))
1312orbi2i 751 . 2 (((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
1410, 11, 133bitri 205 1 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 697  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-xor 1354
This theorem is referenced by:  xordc  1370  symdifxor  3342
  Copyright terms: Public domain W3C validator