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

Theorem excxor 1269
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 1268 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
2 andi 731 . . 3 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) ↔ (((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)))
3 orcom 647 . . . . 5 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
4 pm3.24 627 . . . . . 6 ¬ (𝜑 ∧ ¬ 𝜑)
54biorfi 665 . . . . 5 ((𝜓 ∧ ¬ 𝜑) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜑)))
6 andir 732 . . . . 5 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ ((𝜑 ∧ ¬ 𝜑) ∨ (𝜓 ∧ ¬ 𝜑)))
73, 5, 63bitr4ri 202 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜑) ↔ (𝜓 ∧ ¬ 𝜑))
8 pm5.61 708 . . . 4 (((𝜑𝜓) ∧ ¬ 𝜓) ↔ (𝜑 ∧ ¬ 𝜓))
97, 8orbi12i 681 . . 3 ((((𝜑𝜓) ∧ ¬ 𝜑) ∨ ((𝜑𝜓) ∧ ¬ 𝜓)) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
101, 2, 93bitri 195 . 2 ((𝜑𝜓) ↔ ((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)))
11 orcom 647 . 2 (((𝜓 ∧ ¬ 𝜑) ∨ (𝜑 ∧ ¬ 𝜓)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)))
12 ancom 253 . . 3 ((𝜓 ∧ ¬ 𝜑) ↔ (¬ 𝜑𝜓))
1312orbi2i 679 . 2 (((𝜑 ∧ ¬ 𝜓) ∨ (𝜓 ∧ ¬ 𝜑)) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
1410, 11, 133bitri 195 1 ((𝜑𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 97  wb 98  wo 629  wxo 1266
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630
This theorem depends on definitions:  df-bi 110  df-xor 1267
This theorem is referenced by:  xordc  1283  symdifxor  3203
  Copyright terms: Public domain W3C validator