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 35658
Description: An alternative definition of the adder carry. Copy of df-cad 1609. (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 1089 . 2 (((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
2 wl-df2-3mintru2 35656 . 2 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
3 xor2 1513 . . . . . . 7 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
43biancomi 463 . . . . . 6 ((𝜑𝜓) ↔ (¬ (𝜑𝜓) ∧ (𝜑𝜓)))
54anbi1ci 626 . . . . 5 ((𝜒 ∧ (𝜑𝜓)) ↔ ((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒))
6 anass 469 . . . . 5 (((¬ (𝜑𝜓) ∧ (𝜑𝜓)) ∧ 𝜒) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
75, 6bitri 274 . . . 4 ((𝜒 ∧ (𝜑𝜓)) ↔ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒)))
87orbi2i 910 . . 3 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
9 pm5.63 1017 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ (¬ (𝜑𝜓) ∧ ((𝜑𝜓) ∧ 𝜒))))
10 andir 1006 . . . 4 (((𝜑𝜓) ∧ 𝜒) ↔ ((𝜑𝜒) ∨ (𝜓𝜒)))
1110orbi2i 910 . . 3 (((𝜑𝜓) ∨ ((𝜑𝜓) ∧ 𝜒)) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
128, 9, 113bitr2i 299 . 2 (((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))) ↔ ((𝜑𝜓) ∨ ((𝜑𝜒) ∨ (𝜓𝜒))))
131, 2, 123bitr4i 303 1 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜒 ∧ (𝜑𝜓))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 396  wo 844  w3o 1085  wxo 1506  caddwcad 1608
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 397  df-or 845  df-ifp 1061  df-3or 1087  df-3an 1088  df-xor 1507  df-cad 1609
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator