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

Theorem nbi2 1012
Description: Two ways to express "exclusive or". (Contributed by NM, 3-Jan-2005.) (Proof shortened by Wolf Lammen, 24-Jan-2013.)
Assertion
Ref Expression
nbi2 (¬ (𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))

Proof of Theorem nbi2
StepHypRef Expression
1 xor3 386 . 2 (¬ (𝜑𝜓) ↔ (𝜑 ↔ ¬ 𝜓))
2 pm5.17 1008 . 2 (((𝜑𝜓) ∧ ¬ (𝜑𝜓)) ↔ (𝜑 ↔ ¬ 𝜓))
31, 2bitr4i 280 1 (¬ (𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398  wo 843
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-an 399  df-or 844
This theorem is referenced by:  xor2  1506
  Copyright terms: Public domain W3C validator