MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cadnot Structured version   Visualization version   GIF version

Theorem cadnot 1607
Description: The adder carry distributes over negation. (Contributed by Mario Carneiro, 4-Sep-2016.) (Proof shortened by Wolf Lammen, 11-Jul-2020.)
Assertion
Ref Expression
cadnot (¬ cadd(𝜑, 𝜓, 𝜒) ↔ cadd(¬ 𝜑, ¬ 𝜓, ¬ 𝜒))

Proof of Theorem cadnot
StepHypRef Expression
1 ianor 975 . . 3 (¬ (𝜑𝜓) ↔ (¬ 𝜑 ∨ ¬ 𝜓))
2 ianor 975 . . 3 (¬ (𝜑𝜒) ↔ (¬ 𝜑 ∨ ¬ 𝜒))
3 ianor 975 . . 3 (¬ (𝜓𝜒) ↔ (¬ 𝜓 ∨ ¬ 𝜒))
41, 2, 33anbi123i 1147 . 2 ((¬ (𝜑𝜓) ∧ ¬ (𝜑𝜒) ∧ ¬ (𝜓𝜒)) ↔ ((¬ 𝜑 ∨ ¬ 𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜒) ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
5 3ioran 1098 . . 3 (¬ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)) ↔ (¬ (𝜑𝜓) ∧ ¬ (𝜑𝜒) ∧ ¬ (𝜓𝜒)))
6 cador 1600 . . 3 (cadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ∨ (𝜑𝜒) ∨ (𝜓𝜒)))
75, 6xchnxbir 334 . 2 (¬ cadd(𝜑, 𝜓, 𝜒) ↔ (¬ (𝜑𝜓) ∧ ¬ (𝜑𝜒) ∧ ¬ (𝜓𝜒)))
8 cadan 1601 . 2 (cadd(¬ 𝜑, ¬ 𝜓, ¬ 𝜒) ↔ ((¬ 𝜑 ∨ ¬ 𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜒) ∧ (¬ 𝜓 ∨ ¬ 𝜒)))
94, 7, 83bitr4i 304 1 (¬ cadd(𝜑, 𝜓, 𝜒) ↔ cadd(¬ 𝜑, ¬ 𝜓, ¬ 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 207  wa 396  wo 841  w3o 1078  w3a 1079  caddwcad 1598
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 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-xor 1496  df-cad 1599
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator