Metamath Proof Explorer


Theorem xorbi12i

Description: Equality property for exclusive disjunction. (Contributed by Mario Carneiro, 4-Sep-2016) (Proof shortened by Wolf Lammen, 21-Apr-2024)

Ref Expression
Hypotheses xorbi12.1 ⊢ φ ↔ ψ
xorbi12.2 ⊢ χ ↔ θ
Assertion xorbi12i ⊢ φ ⊻ χ ↔ ψ ⊻ θ

Proof

Step Hyp Ref Expression
1 xorbi12.1 ⊢ φ ↔ ψ
2 xorbi12.2 ⊢ χ ↔ θ
3 df-xor ⊢ φ ⊻ χ ↔ ¬ φ ↔ χ
4 1 2 bibi12i ⊢ φ ↔ χ ↔ ψ ↔ θ
5 3 4 xchbinx ⊢ φ ⊻ χ ↔ ¬ ψ ↔ θ
6 df-xor ⊢ ψ ⊻ θ ↔ ¬ ψ ↔ θ
7 5 6 bitr4i ⊢ φ ⊻ χ ↔ ψ ⊻ θ