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

Theorem xorass 1506
Description: The connector is associative. (Contributed by FL, 22-Nov-2010.) (Proof shortened by Andrew Salmon, 8-Jun-2011.) (Proof shortened by Wolf Lammen, 20-Jun-2020.)
Assertion
Ref Expression
xorass (((𝜑𝜓) ⊻ 𝜒) ↔ (𝜑 ⊻ (𝜓𝜒)))

Proof of Theorem xorass
StepHypRef Expression
1 xor3 386 . . 3 (¬ (𝜑 ↔ (𝜓𝜒)) ↔ (𝜑 ↔ ¬ (𝜓𝜒)))
2 biass 388 . . . 4 (((𝜑𝜓) ↔ 𝜒) ↔ (𝜑 ↔ (𝜓𝜒)))
3 xnor 1503 . . . . 5 ((𝜑𝜓) ↔ ¬ (𝜑𝜓))
43bibi1i 341 . . . 4 (((𝜑𝜓) ↔ 𝜒) ↔ (¬ (𝜑𝜓) ↔ 𝜒))
5 xnor 1503 . . . . 5 ((𝜓𝜒) ↔ ¬ (𝜓𝜒))
65bibi2i 340 . . . 4 ((𝜑 ↔ (𝜓𝜒)) ↔ (𝜑 ↔ ¬ (𝜓𝜒)))
72, 4, 63bitr3i 303 . . 3 ((¬ (𝜑𝜓) ↔ 𝜒) ↔ (𝜑 ↔ ¬ (𝜓𝜒)))
8 nbbn 387 . . 3 ((¬ (𝜑𝜓) ↔ 𝜒) ↔ ¬ ((𝜑𝜓) ↔ 𝜒))
91, 7, 83bitr2ri 302 . 2 (¬ ((𝜑𝜓) ↔ 𝜒) ↔ ¬ (𝜑 ↔ (𝜓𝜒)))
10 df-xor 1502 . 2 (((𝜑𝜓) ⊻ 𝜒) ↔ ¬ ((𝜑𝜓) ↔ 𝜒))
11 df-xor 1502 . 2 ((𝜑 ⊻ (𝜓𝜒)) ↔ ¬ (𝜑 ↔ (𝜓𝜒)))
129, 10, 113bitr4i 305 1 (((𝜑𝜓) ⊻ 𝜒) ↔ (𝜑 ⊻ (𝜓𝜒)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wxo 1501
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
This theorem is referenced by:  hadass  1597  symdifass  4230
  Copyright terms: Public domain W3C validator