Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-3xortru Structured version   Visualization version   GIF version

Theorem wl-3xortru 38145
Description: If the first input is true, then triple xor is equivalent to the biconditionality of the other two inputs. (Contributed by Mario Carneiro, 4-Sep-2016.) df-had redefined. (Revised by Wolf Lammen, 24-Apr-2024.)
Assertion
Ref Expression
wl-3xortru (𝜑 → (hadd(𝜑, 𝜓, 𝜒) ↔ ¬ (𝜓𝜒)))

Proof of Theorem wl-3xortru
StepHypRef Expression
1 wl-df-3xor 38142 . 2 (hadd(𝜑, 𝜓, 𝜒) ↔ if-(𝜑, ¬ (𝜓𝜒), (𝜓𝜒)))
2 ifptru 1090 . 2 (𝜑 → (if-(𝜑, ¬ (𝜓𝜒), (𝜓𝜒)) ↔ ¬ (𝜓𝜒)))
31, 2bitrid 286 1 (𝜑 → (hadd(𝜑, 𝜓, 𝜒) ↔ ¬ (𝜓𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  if-wif 1077  wxo 1540  haddwhad 1622
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ifp 1078  df-xor 1541  df-tru 1572  df-had 1623
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator