Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > xor2 | Structured version Visualization version GIF version |
Description: Two ways to express "exclusive or." (Contributed by Mario Carneiro, 4-Sep-2016.) |
Ref | Expression |
---|---|
xor2 | ⊢ ((𝜑 ⊻ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-xor 1457 | . 2 ⊢ ((𝜑 ⊻ 𝜓) ↔ ¬ (𝜑 ↔ 𝜓)) | |
2 | nbi2 932 | . 2 ⊢ (¬ (𝜑 ↔ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓))) | |
3 | 1, 2 | bitri 263 | 1 ⊢ ((𝜑 ⊻ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓))) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ↔ wb 195 ∨ wo 382 ∧ wa 383 ⊻ wxo 1456 |
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 196 df-or 384 df-an 385 df-xor 1457 |
This theorem is referenced by: xoror 1463 xornan 1464 cador 1538 saddisjlem 15024 ifpdfxor 36851 dfxor4 37077 nanorxor 37526 |
Copyright terms: Public domain | W3C validator |