MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  xorcom Structured version   Visualization version   GIF version

Theorem xorcom 1522
Description: The connector is commutative. (Contributed by Mario Carneiro, 4-Sep-2016.) (Proof shortened by Wolf Lammen, 21-Apr-2024.)
Assertion
Ref Expression
xorcom ((𝜑𝜓) ↔ (𝜓𝜑))

Proof of Theorem xorcom
StepHypRef Expression
1 df-xor 1520 . . 3 ((𝜑𝜓) ↔ ¬ (𝜑𝜓))
2 bicom 224 . . 3 ((𝜑𝜓) ↔ (𝜓𝜑))
31, 2xchbinx 336 . 2 ((𝜑𝜓) ↔ ¬ (𝜓𝜑))
4 df-xor 1520 . 2 ((𝜓𝜑) ↔ ¬ (𝜓𝜑))
53, 4bitr4i 280 1 ((𝜑𝜓) ↔ (𝜓𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wxo 1519
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 209  df-xor 1520
This theorem is referenced by:  xorneg1  1530  falxortru  1595  hadcomb  1608  cadcoma  1620  oneptri  43717
  Copyright terms: Public domain W3C validator