Metamath Proof Explorer


Theorem hadcomb

Description: Commutative law for the adders sum. (Contributed by Mario Carneiro, 4-Sep-2016)

Ref Expression
Assertion hadcomb hadd φ ψ χ hadd φ χ ψ

Proof

Step Hyp Ref Expression
1 biid φ φ
2 xorcom ψ χ χ ψ
3 1 2 xorbi12i φ ψ χ φ χ ψ
4 hadass hadd φ ψ χ φ ψ χ
5 hadass hadd φ χ ψ φ χ ψ
6 3 4 5 3bitr4i hadd φ ψ χ hadd φ χ ψ