Proof of Theorem ifpim23g
Step | Hyp | Ref
| Expression |
1 | | ifpidg 41098 |
. 2
⊢ (((𝜑 → 𝜓) ↔ if-(𝜒, 𝜓, ¬ 𝜑)) ↔ ((((𝜒 ∧ 𝜓) → (𝜑 → 𝜓)) ∧ ((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓)) ∧ ((¬ 𝜑 → (𝜒 ∨ (𝜑 → 𝜓))) ∧ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑))))) |
2 | | dfor2 899 |
. . . . 5
⊢ ((𝜑 ∨ 𝜓) ↔ ((𝜑 → 𝜓) → 𝜓)) |
3 | 2 | imbi2i 336 |
. . . 4
⊢ ((𝜒 → (𝜑 ∨ 𝜓)) ↔ (𝜒 → ((𝜑 → 𝜓) → 𝜓))) |
4 | | impexp 451 |
. . . 4
⊢ (((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓) ↔ (𝜒 → ((𝜑 → 𝜓) → 𝜓))) |
5 | | ax-1 6 |
. . . . . 6
⊢ (𝜓 → (𝜑 → 𝜓)) |
6 | 5 | adantl 482 |
. . . . 5
⊢ ((𝜒 ∧ 𝜓) → (𝜑 → 𝜓)) |
7 | 6 | biantrur 531 |
. . . 4
⊢ (((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓) ↔ (((𝜒 ∧ 𝜓) → (𝜑 → 𝜓)) ∧ ((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓))) |
8 | 3, 4, 7 | 3bitr2i 299 |
. . 3
⊢ ((𝜒 → (𝜑 ∨ 𝜓)) ↔ (((𝜒 ∧ 𝜓) → (𝜑 → 𝜓)) ∧ ((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓))) |
9 | | impexp 451 |
. . . . 5
⊢ (((𝜑 ∧ 𝜓) → 𝜒) ↔ (𝜑 → (𝜓 → 𝜒))) |
10 | | imdi 391 |
. . . . . 6
⊢ ((𝜑 → (𝜓 → 𝜒)) ↔ ((𝜑 → 𝜓) → (𝜑 → 𝜒))) |
11 | | imor 850 |
. . . . . . . 8
⊢ ((𝜑 → 𝜒) ↔ (¬ 𝜑 ∨ 𝜒)) |
12 | | orcom 867 |
. . . . . . . 8
⊢ ((¬
𝜑 ∨ 𝜒) ↔ (𝜒 ∨ ¬ 𝜑)) |
13 | 11, 12 | bitri 274 |
. . . . . . 7
⊢ ((𝜑 → 𝜒) ↔ (𝜒 ∨ ¬ 𝜑)) |
14 | 13 | imbi2i 336 |
. . . . . 6
⊢ (((𝜑 → 𝜓) → (𝜑 → 𝜒)) ↔ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑))) |
15 | 10, 14 | bitri 274 |
. . . . 5
⊢ ((𝜑 → (𝜓 → 𝜒)) ↔ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑))) |
16 | 9, 15 | bitri 274 |
. . . 4
⊢ (((𝜑 ∧ 𝜓) → 𝜒) ↔ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑))) |
17 | | pm2.21 123 |
. . . . . 6
⊢ (¬
𝜑 → (𝜑 → 𝜓)) |
18 | 17 | olcd 871 |
. . . . 5
⊢ (¬
𝜑 → (𝜒 ∨ (𝜑 → 𝜓))) |
19 | 18 | biantrur 531 |
. . . 4
⊢ (((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑)) ↔ ((¬ 𝜑 → (𝜒 ∨ (𝜑 → 𝜓))) ∧ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑)))) |
20 | 16, 19 | bitri 274 |
. . 3
⊢ (((𝜑 ∧ 𝜓) → 𝜒) ↔ ((¬ 𝜑 → (𝜒 ∨ (𝜑 → 𝜓))) ∧ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑)))) |
21 | 8, 20 | anbi12i 627 |
. 2
⊢ (((𝜒 → (𝜑 ∨ 𝜓)) ∧ ((𝜑 ∧ 𝜓) → 𝜒)) ↔ ((((𝜒 ∧ 𝜓) → (𝜑 → 𝜓)) ∧ ((𝜒 ∧ (𝜑 → 𝜓)) → 𝜓)) ∧ ((¬ 𝜑 → (𝜒 ∨ (𝜑 → 𝜓))) ∧ ((𝜑 → 𝜓) → (𝜒 ∨ ¬ 𝜑))))) |
22 | | ancom 461 |
. 2
⊢ (((𝜒 → (𝜑 ∨ 𝜓)) ∧ ((𝜑 ∧ 𝜓) → 𝜒)) ↔ (((𝜑 ∧ 𝜓) → 𝜒) ∧ (𝜒 → (𝜑 ∨ 𝜓)))) |
23 | 1, 21, 22 | 3bitr2i 299 |
1
⊢ (((𝜑 → 𝜓) ↔ if-(𝜒, 𝜓, ¬ 𝜑)) ↔ (((𝜑 ∧ 𝜓) → 𝜒) ∧ (𝜒 → (𝜑 ∨ 𝜓)))) |