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

Theorem hadbi 1537
Description: The adder sum is the same as the triple biconditional. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
hadbi  |-  (hadd (
ph ,  ps ,  ch )  <->  ( ( ph  <->  ps )  <->  ch ) )

Proof of Theorem hadbi
StepHypRef Expression
1 df-xor 1465 . 2  |-  ( ( ( ph  \/_  ps )  \/_  ch )  <->  -.  (
( ph  \/_  ps )  <->  ch ) )
2 df-had 1533 . 2  |-  (hadd (
ph ,  ps ,  ch )  <->  ( ( ph  \/_ 
ps )  \/_  ch ) )
3 xnor 1466 . . . 4  |-  ( (
ph 
<->  ps )  <->  -.  ( ph  \/_  ps ) )
43bibi1i 328 . . 3  |-  ( ( ( ph  <->  ps )  <->  ch )  <->  ( -.  ( ph  \/_  ps )  <->  ch )
)
5 nbbn 373 . . 3  |-  ( ( -.  ( ph  \/_  ps ) 
<->  ch )  <->  -.  (
( ph  \/_  ps )  <->  ch ) )
64, 5bitri 264 . 2  |-  ( ( ( ph  <->  ps )  <->  ch )  <->  -.  ( ( ph  \/_  ps )  <->  ch )
)
71, 2, 63bitr4i 292 1  |-  (hadd (
ph ,  ps ,  ch )  <->  ( ( ph  <->  ps )  <->  ch ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 196    \/_ wxo 1464  haddwhad 1532
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-xor 1465  df-had 1533
This theorem is referenced by:  hadnot  1541  had1  1542
  Copyright terms: Public domain W3C validator