NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  had0 Unicode version

Theorem had0 1403
Description: If the first parameter is false, the half adder is equivalent to the XOR of the other two inputs. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
had0 hadd  \/_

Proof of Theorem had0
StepHypRef Expression
1 had1 1402 . . 3 hadd
2 hadnot 1393 . . 3 hadd hadd
3 df-xor 1305 . . . . 5  \/_
4 xorneg 1313 . . . . 5  \/_  \/_
53, 4bitr3i 242 . . . 4  \/_
65con1bii 321 . . 3  \/_
71, 2, 63bitr4g 279 . 2 hadd  \/_
87con4bid 284 1 hadd  \/_
Colors of variables: wff setvar class
Syntax hints:   wn 3   wi 4   wb 176    \/_ wxo 1304  haddwhad 1378
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 177  df-xor 1305  df-had 1380
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator