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

Definition df-cad 1642
Description: Definition of the "carry" output of the full adder. It is true when at least two arguments are true, so it is equal to the "majority" function on three variables. See cador 1643 and cadan 1644 for alternate definitions. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
df-cad (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜒 ∧ (𝜑 ⊻ 𝜓))))

Detailed syntax breakdown of Definition df-cad
StepHypRef Expression
1 wph . . 3 wff 𝜑
2 wps . . 3 wff 𝜓
3 wch . . 3 wff 𝜒
41, 2, 3wcad 1641 . 2 wff cadd(𝜑, 𝜓, 𝜒)
51, 2wa 401 . . 3 wff (𝜑 ∧ 𝜓)
61, 2wxo 1543 . . . 4 wff (𝜑 ⊻ 𝜓)
73, 6wa 401 . . 3 wff (𝜒 ∧ (𝜑 ⊻ 𝜓))
85, 7wo 861 . 2 wff ((𝜑 ∧ 𝜓) ∨ (𝜒 ∧ (𝜑 ⊻ 𝜓)))
94, 8wb 209 1 wff (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜒 ∧ (𝜑 ⊻ 𝜓))))
Colors of variables:    wff setvar class
This definition is used by:  cador  1643  cadbi123d  1645  cadcoma  1647  cad11  1651  cad0  1653
  Copyright terms: Public domain W3C validator