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 35585
Description: An alternative definition of the adder carry. Copy of df-cad 1610. (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 1088 . 2 (((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
2 wl-df2-3mintru2 35583 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
3 xor2 1510 . . . . . . 7 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
43biancomi 462 . . . . . 6 ((𝜑𝜓) ↔ (¬ (𝜑𝜓) ∧ (𝜑𝜓)))
54anbi1ci 625 . . . . 5 ((𝜒 ∧ (𝜑𝜓)) ↔ ((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒))
6 anass 468 . . . . 5 (((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
75, 6bitri 274 . . . 4 ((𝜒 ∧ (𝜑𝜓)) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
87orbi2i 909 . . 3 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
9 pm5.63 1016 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
10 andir 1005 . . . 4 (((𝜑𝜓) ∧ 𝜒) ↔ ((𝜑𝜒) ∨ (𝜓𝜒)))
1110orbi2i 909 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
128, 9, 113bitr2i 298 . 2 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
131, 2, 123bitr4i 302 1 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 395  wo 843  w3o 1084  wxo 1503  caddwcad 1609
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 206  df-an 396  df-or 844  df-ifp 1060  df-3or 1086  df-3an 1087  df-xor 1504  df-cad 1610
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator