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

Theorem excxor 1378
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 1377 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
2 andi 818 . . 3 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) ↔ (((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)))
3 orcom 728 . . . . 5 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
4 pm3.24 693 . . . . . 6 ¬ (𝜑 ∧ ¬ 𝜑)
54biorfi 746 . . . . 5 ((𝜓 ∧ ¬ 𝜑) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)))
6 andir 819 . . . . 5 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
73, 5, 63bitr4ri 213 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ (𝜓 ∧ ¬ 𝜑))
8 pm5.61 794 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜓) ↔ (𝜑 ∧ ¬ 𝜓))
97, 8orbi12i 764 . . 3 ((((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
101, 2, 93bitri 206 . 2 ((𝜑𝜓) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
11 orcom 728 . 2 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
12 ancom 266 . . 3 ((𝜓 ∧ ¬ 𝜑) ↔ (¬ 𝜑𝜓))
1312orbi2i 762 . 2 (((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
1410, 11, 133bitri 206 1 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 104  wb 105  wo 708  wxo 1375
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-xor 1376
This theorem is referenced by:  xordc  1392  symdifxor  3401
  Copyright terms: Public domain W3C validator