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

Theorem excxor 1373
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 1372 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
2 andi 813 . . 3 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) ↔ (((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)))
3 orcom 723 . . . . 5 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
4 pm3.24 688 . . . . . 6 ¬ (𝜑 ∧ ¬ 𝜑)
54biorfi 741 . . . . 5 ((𝜓 ∧ ¬ 𝜑) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)))
6 andir 814 . . . . 5 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
73, 5, 63bitr4ri 212 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ (𝜓 ∧ ¬ 𝜑))
8 pm5.61 789 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜓) ↔ (𝜑 ∧ ¬ 𝜓))
97, 8orbi12i 759 . . 3 ((((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
101, 2, 93bitri 205 . 2 ((𝜑𝜓) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
11 orcom 723 . 2 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
12 ancom 264 . . 3 ((𝜓 ∧ ¬ 𝜑) ↔ (¬ 𝜑𝜓))
1312orbi2i 757 . 2 (((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
1410, 11, 133bitri 205 1 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 703  wxo 1370
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 609  ax-in2 610  ax-io 704
This theorem depends on definitions:  df-bi 116  df-xor 1371
This theorem is referenced by:  xordc  1387  symdifxor  3393
  Copyright terms: Public domain W3C validator