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

Theorem hadcomb 1629
Description: Commutative law for the adders sum. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
hadcomb (hadd(𝜑, 𝜓, 𝜒) ↔ hadd(𝜑, 𝜒, 𝜓))

Proof of Theorem hadcomb
StepHypRef Expression
1 biid 264 . . 3 (𝜑𝜑)
2 xorcom 1543 . . 3 ((𝜓𝜒) ↔ (𝜒𝜓))
31, 2xorbi12i 1553 . 2 ((𝜑 ⊻ (𝜓𝜒)) ↔ (𝜑 ⊻ (𝜒𝜓)))
4 hadass 1626 . 2 (hadd(𝜑, 𝜓, 𝜒) ↔ (𝜑 ⊻ (𝜓𝜒)))
5 hadass 1626 . 2 (hadd(𝜑, 𝜒, 𝜓) ↔ (𝜑 ⊻ (𝜒𝜓)))
63, 4, 53bitr4i 306 1 (hadd(𝜑, 𝜓, 𝜒) ↔ hadd(𝜑, 𝜒, 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wxo 1540  haddwhad 1622
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-xor 1541  df-had 1623
This theorem is used by:  hadrot  1630
  Copyright terms: Public domain W3C validator