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 35169
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 35167 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
3 xor2 1510 . . . . . . 7 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
43biancomi 467 . . . . . 6 ((𝜑𝜓) ↔ (¬ (𝜑𝜓) ∧ (𝜑𝜓)))
54anbi1ci 629 . . . . 5 ((𝜒 ∧ (𝜑𝜓)) ↔ ((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒))
6 anass 473 . . . . 5 (((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
75, 6bitri 278 . . . 4 ((𝜒 ∧ (𝜑𝜓)) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
87orbi2i 911 . . 3 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
9 pm5.63 1018 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
10 andir 1007 . . . 4 (((𝜑𝜓) ∧ 𝜒) ↔ ((𝜑𝜒) ∨ (𝜓𝜒)))
1110orbi2i 911 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
128, 9, 113bitr2i 303 . 2 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
131, 2, 123bitr4i 307 1 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 400  wo 845  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 210  df-an 401  df-or 846  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