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 38212
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 38209 . 2 (hadd(𝜑, 𝜓, 𝜒) ↔ if-(𝜑, ¬ (𝜓𝜒), (𝜓𝜒)))
2 ifptru 1091 . 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 1078  wxo 1541  haddwhad 1623
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 402  df-or 862  df-ifp 1079  df-xor 1542  df-tru 1573  df-had 1624
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator