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

Theorem cadcoma 1612
Description: Commutative law for the adder carry. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
cadcoma (cadd(𝜑, 𝜓, 𝜒) ↔ cadd(𝜓, 𝜑, 𝜒))

Proof of Theorem cadcoma
StepHypRef Expression
1 ancom 463 . . 3 ((𝜑𝜓) ↔ (𝜓𝜑))
2 xorcom 1504 . . . 4 ((𝜑𝜓) ↔ (𝜓𝜑))
32anbi2i 624 . . 3 ((𝜒 ∧ (𝜑𝜓)) ↔ (𝜒 ∧ (𝜓𝜑)))
41, 3orbi12i 911 . 2 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜓𝜑) ∨ (𝜒 ∧ (𝜓𝜑))))
5 df-cad 1607 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))
6 df-cad 1607 . 2 (cadd(𝜓, 𝜑, 𝜒) ↔ ((𝜓𝜑) ∨ (𝜒 ∧ (𝜓𝜑))))
74, 5, 63bitr4i 305 1 (cadd(𝜑, 𝜓, 𝜒) ↔ cadd(𝜓, 𝜑, 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wo 843  wxo 1501  caddwcad 1606
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 209  df-an 399  df-or 844  df-xor 1502  df-cad 1607
This theorem is referenced by:  cadrot  1614  sadcom  15815
  Copyright terms: Public domain W3C validator