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

Theorem hadcomb 1539
Description: Commutative law for the adders sum. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
hadcomb  |-  (hadd (
ph ,  ps ,  ch )  <-> hadd ( ph ,  ch ,  ps ) )

Proof of Theorem hadcomb
StepHypRef Expression
1 biid 251 . . 3  |-  ( ph  <->  ph )
2 xorcom 1467 . . 3  |-  ( ( ps  \/_  ch )  <->  ( ch  \/_  ps )
)
31, 2xorbi12i 1477 . 2  |-  ( (
ph  \/_  ( ps  \/_ 
ch ) )  <->  ( ph  \/_  ( ch  \/_  ps ) ) )
4 hadass 1536 . 2  |-  (hadd (
ph ,  ps ,  ch )  <->  ( ph  \/_  ( ps  \/_  ch ) ) )
5 hadass 1536 . 2  |-  (hadd (
ph ,  ch ,  ps )  <->  ( ph  \/_  ( ch  \/_  ps ) ) )
63, 4, 53bitr4i 292 1  |-  (hadd (
ph ,  ps ,  ch )  <-> hadd ( ph ,  ch ,  ps ) )
Colors of variables: wff setvar class
Syntax hints:    <-> 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:  hadrot  1540
  Copyright terms: Public domain W3C validator