NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  xorcom GIF version

Theorem xorcom 1307
Description: ⊻ is commutative. (Contributed by Mario Carneiro, 4-Sep-2016.)
Assertion
Ref Expression
xorcom ⊢ ((φ ⊻ ψ) ↔ (ψ ⊻ φ))

Proof of Theorem xorcom
StepHypRef Expression
1 bicom 191 . . 3 ⊢ ((φ ↔ ψ) ↔ (ψ ↔ φ))
21notbii 287 . 2 ⊢ (¬ (φ ↔ ψ) ↔ ¬ (ψ ↔ φ))
3 df-xor 1305 . 2 ⊢ ((φ ⊻ ψ) ↔ ¬ (φ ↔ ψ))
4 df-xor 1305 . 2 ⊢ ((ψ ⊻ φ) ↔ ¬ (ψ ↔ φ))
52, 3, 43bitr4i 268 1 ⊢ ((φ ⊻ ψ) ↔ (ψ ⊻ φ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 176   ⊻ wxo 1304
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 177  df-xor 1305
This theorem is used by:  xorneg2  1312  hadcoma  1388  hadcomb  1389  cadcoma  1395
  Copyright terms: Public domain W3C validator