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

Theorem nbi2 932
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 371 . 2 (¬ (𝜑𝜓) ↔ (𝜑 ↔ ¬ 𝜓))
2 pm5.17 928 . 2 (((𝜑𝜓) ∧ ¬ (𝜑𝜓)) ↔ (𝜑 ↔ ¬ 𝜓))
31, 2bitr4i 266 1 (¬ (𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 195  wo 382  wa 383
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 196  df-or 384  df-an 385
This theorem is referenced by:  xor2  1462
  Copyright terms: Public domain W3C validator