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

Theorem wl-df4-3mintru2 35352
Description: An alternative definition of the adder carry. Copy of df-cad 1614. (Contributed by Mario Carneiro, 4-Sep-2016.) df-cad redefined. (Revised by Wolf Lammen, 19-Jun-2024.)
Assertion
Ref Expression
wl-df4-3mintru2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))

Proof of Theorem wl-df4-3mintru2
StepHypRef Expression
1 3orass 1092 . 2 (((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
2 wl-df2-3mintru2 35350 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
3 xor2 1514 . . . . . . 7 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
43biancomi 466 . . . . . 6 ((𝜑𝜓) ↔ (¬ (𝜑𝜓) ∧ (𝜑𝜓)))
54anbi1ci 629 . . . . 5 ((𝜒 ∧ (𝜑𝜓)) ↔ ((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒))
6 anass 472 . . . . 5 (((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
75, 6bitri 278 . . . 4 ((𝜒 ∧ (𝜑𝜓)) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
87orbi2i 913 . . 3 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
9 pm5.63 1020 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
10 andir 1009 . . . 4 (((𝜑𝜓) ∧ 𝜒) ↔ ((𝜑𝜒) ∨ (𝜓𝜒)))
1110orbi2i 913 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
128, 9, 113bitr2i 302 . 2 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
131, 2, 123bitr4i 306 1 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 399  wo 847  w3o 1088  wxo 1507  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: (None)
  Copyright terms: Public domain W3C validator