Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-df2-3mintru2 Structured version   Visualization version   GIF version

Theorem wl-df2-3mintru2 35350
Description: The adder carry in disjunctive normal form. An alternative highly symmetric definition emphasizing the independence of order of the inputs 𝜑, 𝜓 and 𝜒. Copy of cador 1615. (Contributed by Mario Carneiro, 4-Sep-2016.) df-cad redefined. (Revised by Wolf Lammen, 12-Jun-2024.)
Assertion
Ref Expression
wl-df2-3mintru2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))

Proof of Theorem wl-df2-3mintru2
StepHypRef Expression
1 andi 1008 . . 3 ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ∨ (𝜑𝜒)))
21orbi1i 914 . 2 (((𝜑 ∧ (𝜓𝜒)) ∨ (𝜓𝜒)) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∨ (𝜓𝜒)))
3 wl-df-3mintru2 35349 . . 3 (cadd(𝜑, 𝜓, 𝜒) ↔ if-(𝜑, (𝜓𝜒), (𝜓𝜒)))
4 animorl 978 . . . 4 ((𝜓𝜒) → (𝜓𝜒))
5 wl-ifpimpr 35331 . . . 4 (((𝜓𝜒) → (𝜓𝜒)) → (if-(𝜑, (𝜓𝜒), (𝜓𝜒)) ↔ ((𝜑 ∧ (𝜓𝜒)) ∨ (𝜓𝜒))))
64, 5ax-mp 5 . . 3 (if-(𝜑, (𝜓𝜒), (𝜓𝜒)) ↔ ((𝜑 ∧ (𝜓𝜒)) ∨ (𝜓𝜒)))
73, 6bitri 278 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑 ∧ (𝜓𝜒)) ∨ (𝜓𝜒)))
8 df-3or 1090 . 2 (((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∨ (𝜓𝜒)))
92, 7, 83bitr4i 306 1 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 847  if-wif 1063  w3o 1088  caddwcad 1613
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 210  df-an 400  df-or 848  df-ifp 1064  df-3or 1090  df-3an 1091  df-xor 1508  df-cad 1614
This theorem is referenced by:  wl-df4-3mintru2  35352
  Copyright terms: Public domain W3C validator