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

Theorem hadnot 1541
Description: The adder sum distributes over negation. (Contributed by Mario Carneiro, 4-Sep-2016.) (Proof shortened by Wolf Lammen, 11-Jul-2020.)
Assertion
Ref Expression
hadnot  |-  ( -. hadd
( ph ,  ps ,  ch )  <-> hadd ( -.  ph ,  -.  ps ,  -.  ch ) )

Proof of Theorem hadnot
StepHypRef Expression
1 notbi 309 . . 3  |-  ( (
ph 
<->  ps )  <->  ( -.  ph  <->  -. 
ps ) )
21bibi1i 328 . 2  |-  ( ( ( ph  <->  ps )  <->  -. 
ch )  <->  ( ( -.  ph  <->  -.  ps )  <->  -. 
ch ) )
3 xor3 372 . . 3  |-  ( -.  ( ( ph  <->  ps )  <->  ch )  <->  ( ( ph  <->  ps )  <->  -.  ch )
)
4 hadbi 1537 . . 3  |-  (hadd (
ph ,  ps ,  ch )  <->  ( ( ph  <->  ps )  <->  ch ) )
53, 4xchnxbir 323 . 2  |-  ( -. hadd
( ph ,  ps ,  ch )  <->  ( ( ph  <->  ps )  <->  -.  ch )
)
6 hadbi 1537 . 2  |-  (hadd ( -.  ph ,  -.  ps ,  -.  ch )  <->  ( ( -.  ph  <->  -.  ps )  <->  -. 
ch ) )
72, 5, 63bitr4i 292 1  |-  ( -. hadd
( ph ,  ps ,  ch )  <-> hadd ( -.  ph ,  -.  ps ,  -.  ch ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 196  haddwhad 1532
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 197  df-xor 1465  df-had 1533
This theorem is referenced by:  had0  1543
  Copyright terms: Public domain W3C validator