Proof of Theorem or3or
Step | Hyp | Ref
| Expression |
1 | | excxor 1513 |
. . 3
⊢ ((𝜑 ⊻ 𝜓) ↔ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑 ∧ 𝜓))) |
2 | 1 | orbi2i 913 |
. 2
⊢ (((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)) ↔ ((𝜑 ∧ 𝜓) ∨ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑 ∧ 𝜓)))) |
3 | | orc 867 |
. . . 4
⊢ (𝜑 → (𝜑 ∨ 𝜓)) |
4 | | exmid 895 |
. . . . 5
⊢ (𝜓 ∨ ¬ 𝜓) |
5 | | pm3.2 473 |
. . . . . 6
⊢ (𝜑 → (𝜓 → (𝜑 ∧ 𝜓))) |
6 | | biimp 218 |
. . . . . . . . . 10
⊢ ((𝜑 ↔ 𝜓) → (𝜑 → 𝜓)) |
7 | | iman 405 |
. . . . . . . . . 10
⊢ ((𝜑 → 𝜓) ↔ ¬ (𝜑 ∧ ¬ 𝜓)) |
8 | 6, 7 | sylib 221 |
. . . . . . . . 9
⊢ ((𝜑 ↔ 𝜓) → ¬ (𝜑 ∧ ¬ 𝜓)) |
9 | 8 | con2i 141 |
. . . . . . . 8
⊢ ((𝜑 ∧ ¬ 𝜓) → ¬ (𝜑 ↔ 𝜓)) |
10 | 9 | ex 416 |
. . . . . . 7
⊢ (𝜑 → (¬ 𝜓 → ¬ (𝜑 ↔ 𝜓))) |
11 | | df-xor 1508 |
. . . . . . . 8
⊢ ((𝜑 ⊻ 𝜓) ↔ ¬ (𝜑 ↔ 𝜓)) |
12 | 11 | bicomi 227 |
. . . . . . 7
⊢ (¬
(𝜑 ↔ 𝜓) ↔ (𝜑 ⊻ 𝜓)) |
13 | 10, 12 | syl6ib 254 |
. . . . . 6
⊢ (𝜑 → (¬ 𝜓 → (𝜑 ⊻ 𝜓))) |
14 | 5, 13 | orim12d 965 |
. . . . 5
⊢ (𝜑 → ((𝜓 ∨ ¬ 𝜓) → ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)))) |
15 | 4, 14 | mpi 20 |
. . . 4
⊢ (𝜑 → ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓))) |
16 | 3, 15 | 2thd 268 |
. . 3
⊢ (𝜑 → ((𝜑 ∨ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)))) |
17 | | bicom 225 |
. . . . . . 7
⊢ ((𝜑 ↔ 𝜓) ↔ (𝜓 ↔ 𝜑)) |
18 | | bibif 375 |
. . . . . . 7
⊢ (¬
𝜑 → ((𝜓 ↔ 𝜑) ↔ ¬ 𝜓)) |
19 | 17, 18 | syl5bb 286 |
. . . . . 6
⊢ (¬
𝜑 → ((𝜑 ↔ 𝜓) ↔ ¬ 𝜓)) |
20 | 19 | con2bid 358 |
. . . . 5
⊢ (¬
𝜑 → (𝜓 ↔ ¬ (𝜑 ↔ 𝜓))) |
21 | 20, 12 | bitrdi 290 |
. . . 4
⊢ (¬
𝜑 → (𝜓 ↔ (𝜑 ⊻ 𝜓))) |
22 | | biorf 937 |
. . . 4
⊢ (¬
𝜑 → (𝜓 ↔ (𝜑 ∨ 𝜓))) |
23 | | simpl 486 |
. . . . 5
⊢ ((𝜑 ∧ 𝜓) → 𝜑) |
24 | | biorf 937 |
. . . . 5
⊢ (¬
(𝜑 ∧ 𝜓) → ((𝜑 ⊻ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)))) |
25 | 23, 24 | nsyl5 162 |
. . . 4
⊢ (¬
𝜑 → ((𝜑 ⊻ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)))) |
26 | 21, 22, 25 | 3bitr3d 312 |
. . 3
⊢ (¬
𝜑 → ((𝜑 ∨ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓)))) |
27 | 16, 26 | pm2.61i 185 |
. 2
⊢ ((𝜑 ∨ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ⊻ 𝜓))) |
28 | | 3orass 1092 |
. 2
⊢ (((𝜑 ∧ 𝜓) ∨ (𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑 ∧ 𝜓)) ↔ ((𝜑 ∧ 𝜓) ∨ ((𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑 ∧ 𝜓)))) |
29 | 2, 27, 28 | 3bitr4i 306 |
1
⊢ ((𝜑 ∨ 𝜓) ↔ ((𝜑 ∧ 𝜓) ∨ (𝜑 ∧ ¬ 𝜓) ∨ (¬ 𝜑 ∧ 𝜓))) |