Mathbox for Wolf Lammen |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > wl-2xor | Structured version Visualization version GIF version |
Description: In the recursive scheme
"(n+1)-xor" ↔ if-(𝜑, ¬ "n-xor" , "n-xor" ) we set n = 1 to formally arrive at an expression for "2-xor". It is based on "1-xor", that is known to be equivalent to its only input (see wl-1xor 35653). (Contributed by Wolf Lammen, 11-May-2024.) |
Ref | Expression |
---|---|
wl-2xor | ⊢ (if-(𝜑, ¬ 𝜓, 𝜓) ↔ (𝜑 ⊻ 𝜓)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ifpdfbi 1068 | . 2 ⊢ ((¬ 𝜑 ↔ 𝜓) ↔ if-(¬ 𝜑, 𝜓, ¬ 𝜓)) | |
2 | df-xor 1507 | . . 3 ⊢ ((𝜑 ⊻ 𝜓) ↔ ¬ (𝜑 ↔ 𝜓)) | |
3 | nbbn 385 | . . 3 ⊢ ((¬ 𝜑 ↔ 𝜓) ↔ ¬ (𝜑 ↔ 𝜓)) | |
4 | 2, 3 | bitr4i 277 | . 2 ⊢ ((𝜑 ⊻ 𝜓) ↔ (¬ 𝜑 ↔ 𝜓)) |
5 | ifpn 1071 | . 2 ⊢ (if-(𝜑, ¬ 𝜓, 𝜓) ↔ if-(¬ 𝜑, 𝜓, ¬ 𝜓)) | |
6 | 1, 4, 5 | 3bitr4ri 304 | 1 ⊢ (if-(𝜑, ¬ 𝜓, 𝜓) ↔ (𝜑 ⊻ 𝜓)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ↔ wb 205 if-wif 1060 ⊻ wxo 1506 |
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 206 df-an 397 df-or 845 df-ifp 1061 df-xor 1507 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |