Metamath Proof Explorer


Theorem xor

Description: Two ways to express exclusive disjunction ( df-xor ). Theorem *5.22 of WhiteheadRussell p. 124. (Contributed by NM, 3-Jan-2005) (Proof shortened by Wolf Lammen, 22-Jan-2013)

Ref Expression
Assertion xor ¬φψφ¬ψψ¬φ

Proof

Step Hyp Ref Expression
1 iman φψ¬φ¬ψ
2 iman ψφ¬ψ¬φ
3 1 2 anbi12i φψψφ¬φ¬ψ¬ψ¬φ
4 dfbi2 φψφψψφ
5 ioran ¬φ¬ψψ¬φ¬φ¬ψ¬ψ¬φ
6 3 4 5 3bitr4ri ¬φ¬ψψ¬φφψ
7 6 con1bii ¬φψφ¬ψψ¬φ