Proof of Theorem xpima
Step | Hyp | Ref
| Expression |
1 | | exmid 892 |
. . 3
⊢ ((𝐴 ∩ 𝐶) = ∅ ∨ ¬ (𝐴 ∩ 𝐶) = ∅) |
2 | | df-ima 5602 |
. . . . . . . 8
⊢ ((𝐴 × 𝐵) “ 𝐶) = ran ((𝐴 × 𝐵) ↾ 𝐶) |
3 | | df-res 5601 |
. . . . . . . . 9
⊢ ((𝐴 × 𝐵) ↾ 𝐶) = ((𝐴 × 𝐵) ∩ (𝐶 × V)) |
4 | 3 | rneqi 5846 |
. . . . . . . 8
⊢ ran
((𝐴 × 𝐵) ↾ 𝐶) = ran ((𝐴 × 𝐵) ∩ (𝐶 × V)) |
5 | 2, 4 | eqtri 2766 |
. . . . . . 7
⊢ ((𝐴 × 𝐵) “ 𝐶) = ran ((𝐴 × 𝐵) ∩ (𝐶 × V)) |
6 | | inxp 5741 |
. . . . . . . 8
⊢ ((𝐴 × 𝐵) ∩ (𝐶 × V)) = ((𝐴 ∩ 𝐶) × (𝐵 ∩ V)) |
7 | 6 | rneqi 5846 |
. . . . . . 7
⊢ ran
((𝐴 × 𝐵) ∩ (𝐶 × V)) = ran ((𝐴 ∩ 𝐶) × (𝐵 ∩ V)) |
8 | | inv1 4328 |
. . . . . . . . 9
⊢ (𝐵 ∩ V) = 𝐵 |
9 | 8 | xpeq2i 5616 |
. . . . . . . 8
⊢ ((𝐴 ∩ 𝐶) × (𝐵 ∩ V)) = ((𝐴 ∩ 𝐶) × 𝐵) |
10 | 9 | rneqi 5846 |
. . . . . . 7
⊢ ran
((𝐴 ∩ 𝐶) × (𝐵 ∩ V)) = ran ((𝐴 ∩ 𝐶) × 𝐵) |
11 | 5, 7, 10 | 3eqtri 2770 |
. . . . . 6
⊢ ((𝐴 × 𝐵) “ 𝐶) = ran ((𝐴 ∩ 𝐶) × 𝐵) |
12 | | xpeq1 5603 |
. . . . . . . . 9
⊢ ((𝐴 ∩ 𝐶) = ∅ → ((𝐴 ∩ 𝐶) × 𝐵) = (∅ × 𝐵)) |
13 | | 0xp 5685 |
. . . . . . . . 9
⊢ (∅
× 𝐵) =
∅ |
14 | 12, 13 | eqtrdi 2794 |
. . . . . . . 8
⊢ ((𝐴 ∩ 𝐶) = ∅ → ((𝐴 ∩ 𝐶) × 𝐵) = ∅) |
15 | 14 | rneqd 5847 |
. . . . . . 7
⊢ ((𝐴 ∩ 𝐶) = ∅ → ran ((𝐴 ∩ 𝐶) × 𝐵) = ran ∅) |
16 | | rn0 5835 |
. . . . . . 7
⊢ ran
∅ = ∅ |
17 | 15, 16 | eqtrdi 2794 |
. . . . . 6
⊢ ((𝐴 ∩ 𝐶) = ∅ → ran ((𝐴 ∩ 𝐶) × 𝐵) = ∅) |
18 | 11, 17 | eqtrid 2790 |
. . . . 5
⊢ ((𝐴 ∩ 𝐶) = ∅ → ((𝐴 × 𝐵) “ 𝐶) = ∅) |
19 | 18 | ancli 549 |
. . . 4
⊢ ((𝐴 ∩ 𝐶) = ∅ → ((𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = ∅)) |
20 | | df-ne 2944 |
. . . . . . 7
⊢ ((𝐴 ∩ 𝐶) ≠ ∅ ↔ ¬ (𝐴 ∩ 𝐶) = ∅) |
21 | | rnxp 6073 |
. . . . . . 7
⊢ ((𝐴 ∩ 𝐶) ≠ ∅ → ran ((𝐴 ∩ 𝐶) × 𝐵) = 𝐵) |
22 | 20, 21 | sylbir 234 |
. . . . . 6
⊢ (¬
(𝐴 ∩ 𝐶) = ∅ → ran ((𝐴 ∩ 𝐶) × 𝐵) = 𝐵) |
23 | 11, 22 | eqtrid 2790 |
. . . . 5
⊢ (¬
(𝐴 ∩ 𝐶) = ∅ → ((𝐴 × 𝐵) “ 𝐶) = 𝐵) |
24 | 23 | ancli 549 |
. . . 4
⊢ (¬
(𝐴 ∩ 𝐶) = ∅ → (¬ (𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = 𝐵)) |
25 | 19, 24 | orim12i 906 |
. . 3
⊢ (((𝐴 ∩ 𝐶) = ∅ ∨ ¬ (𝐴 ∩ 𝐶) = ∅) → (((𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = ∅) ∨ (¬ (𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = 𝐵))) |
26 | 1, 25 | ax-mp 5 |
. 2
⊢ (((𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = ∅) ∨ (¬ (𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = 𝐵)) |
27 | | eqif 4500 |
. 2
⊢ (((𝐴 × 𝐵) “ 𝐶) = if((𝐴 ∩ 𝐶) = ∅, ∅, 𝐵) ↔ (((𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = ∅) ∨ (¬ (𝐴 ∩ 𝐶) = ∅ ∧ ((𝐴 × 𝐵) “ 𝐶) = 𝐵))) |
28 | 26, 27 | mpbir 230 |
1
⊢ ((𝐴 × 𝐵) “ 𝐶) = if((𝐴 ∩ 𝐶) = ∅, ∅, 𝐵) |