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

Theorem xor2 1540
Description: Two ways to express "exclusive or". (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
xor2 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))

Proof of Theorem xor2
StepHypRef Expression
1 df-xor 1535 . 2 ((𝜑𝜓) ↔ ¬ (𝜑𝜓))
2 nbi2 1031 . 2 (¬ (𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
31, 2bitri 278 1 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 400  wo 860  wxo 1534
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 210  df-an 401  df-or 861  df-xor 1535
This theorem is referenced by:  xoror  1541  xornan  1542  cador  1631  saddisjlem  16512  xoromon  35394  wl-df4-3mintru2  37993  ifpdfxor  44075  dfxor4  44354  nanorxor  44879
  Copyright terms: Public domain W3C validator