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

Theorem hadbi 1598
Description: The adder sum is the same as the triple biconditional. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
hadbi (hadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ↔ 𝜒))

Proof of Theorem hadbi
StepHypRef Expression
1 df-xor 1502 . 2 (((𝜑𝜓) ⊻ 𝜒) ↔ ¬ ((𝜑𝜓) ↔ 𝜒))
2 df-had 1594 . 2 (hadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ⊻ 𝜒))
3 xnor 1503 . . . 4 ((𝜑𝜓) ↔ ¬ (𝜑𝜓))
43bibi1i 341 . . 3 (((𝜑𝜓) ↔ 𝜒) ↔ (¬ (𝜑𝜓) ↔ 𝜒))
5 nbbn 387 . . 3 ((¬ (𝜑𝜓) ↔ 𝜒) ↔ ¬ ((𝜑𝜓) ↔ 𝜒))
64, 5bitri 277 . 2 (((𝜑𝜓) ↔ 𝜒) ↔ ¬ ((𝜑𝜓) ↔ 𝜒))
71, 2, 63bitr4i 305 1 (hadd(𝜑, 𝜓, 𝜒) ↔ ((𝜑𝜓) ↔ 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wxo 1501  haddwhad 1593
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 209  df-xor 1502  df-had 1594
This theorem is referenced by:  hadcoma  1599  hadnot  1603  had1  1604
  Copyright terms: Public domain W3C validator