Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-bixor Structured version   Visualization version   GIF version

Theorem bj-bixor 37701
Description: Equivalence of two ternary operations. Note the identical order and parenthesizing of the three arguments in both expressions. Also provable, in the same number of steps, as bitr4i 281 (bibi2i 340 (df-xor 1544), bitri 278 (df-xor 1544, xor3 385)). (Contributed by BJ, 31-Dec-2023.)
Assertion
Ref Expression
bj-bixor ((𝜑 ↔ (𝜓 ⊻ 𝜒)) ↔ (𝜑 ⊻ (𝜓 ↔ 𝜒)))

Proof of Theorem bj-bixor
StepHypRef Expression
1 pm5.18 384 . . 3 ((𝜑 ↔ (𝜓 ↔ 𝜒)) ↔ ¬ (𝜑 ↔ ¬ (𝜓 ↔ 𝜒)))
21con2bii 360 . 2 ((𝜑 ↔ ¬ (𝜓 ↔ 𝜒)) ↔ ¬ (𝜑 ↔ (𝜓 ↔ 𝜒)))
3 df-xor 1544 . . 3 ((𝜓 ⊻ 𝜒) ↔ ¬ (𝜓 ↔ 𝜒))
43bibi2i 340 . 2 ((𝜑 ↔ (𝜓 ⊻ 𝜒)) ↔ (𝜑 ↔ ¬ (𝜓 ↔ 𝜒)))
5 df-xor 1544 . 2 ((𝜑 ⊻ (𝜓 ↔ 𝜒)) ↔ ¬ (𝜑 ↔ (𝜓 ↔ 𝜒)))
62, 4, 53bitr4i 306 1 ((𝜑 ↔ (𝜓 ⊻ 𝜒)) ↔ (𝜑 ⊻ (𝜓 ↔ 𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ⊻ wxo 1543
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-xor 1544
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator