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

Theorem nbi2 936
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  |-  ( -.  ( ph  <->  ps )  <->  ( ( ph  \/  ps )  /\  -.  ( ph  /\ 
ps ) ) )

Proof of Theorem nbi2
StepHypRef Expression
1 xor3 372 . 2  |-  ( -.  ( ph  <->  ps )  <->  (
ph 
<->  -.  ps ) )
2 pm5.17 932 . 2  |-  ( ( ( ph  \/  ps )  /\  -.  ( ph  /\ 
ps ) )  <->  ( ph  <->  -. 
ps ) )
31, 2bitr4i 267 1  |-  ( -.  ( ph  <->  ps )  <->  ( ( ph  \/  ps )  /\  -.  ( ph  /\ 
ps ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 196    \/ wo 383    /\ wa 384
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 197  df-or 385  df-an 386
This theorem is referenced by:  xor2  1470
  Copyright terms: Public domain W3C validator