Step | Hyp | Ref
| Expression |
1 | | relxp 5598 |
. . 3
⊢ Rel
(𝑋 × 𝑌) |
2 | | txuni2.1 |
. . . . . . . 8
⊢ 𝑋 = ∪
𝑅 |
3 | 2 | eleq2i 2830 |
. . . . . . 7
⊢ (𝑧 ∈ 𝑋 ↔ 𝑧 ∈ ∪ 𝑅) |
4 | | eluni2 4840 |
. . . . . . 7
⊢ (𝑧 ∈ ∪ 𝑅
↔ ∃𝑟 ∈
𝑅 𝑧 ∈ 𝑟) |
5 | 3, 4 | bitri 274 |
. . . . . 6
⊢ (𝑧 ∈ 𝑋 ↔ ∃𝑟 ∈ 𝑅 𝑧 ∈ 𝑟) |
6 | | txuni2.2 |
. . . . . . . 8
⊢ 𝑌 = ∪
𝑆 |
7 | 6 | eleq2i 2830 |
. . . . . . 7
⊢ (𝑤 ∈ 𝑌 ↔ 𝑤 ∈ ∪ 𝑆) |
8 | | eluni2 4840 |
. . . . . . 7
⊢ (𝑤 ∈ ∪ 𝑆
↔ ∃𝑠 ∈
𝑆 𝑤 ∈ 𝑠) |
9 | 7, 8 | bitri 274 |
. . . . . 6
⊢ (𝑤 ∈ 𝑌 ↔ ∃𝑠 ∈ 𝑆 𝑤 ∈ 𝑠) |
10 | 5, 9 | anbi12i 626 |
. . . . 5
⊢ ((𝑧 ∈ 𝑋 ∧ 𝑤 ∈ 𝑌) ↔ (∃𝑟 ∈ 𝑅 𝑧 ∈ 𝑟 ∧ ∃𝑠 ∈ 𝑆 𝑤 ∈ 𝑠)) |
11 | | opelxp 5616 |
. . . . 5
⊢
(〈𝑧, 𝑤〉 ∈ (𝑋 × 𝑌) ↔ (𝑧 ∈ 𝑋 ∧ 𝑤 ∈ 𝑌)) |
12 | | reeanv 3292 |
. . . . 5
⊢
(∃𝑟 ∈
𝑅 ∃𝑠 ∈ 𝑆 (𝑧 ∈ 𝑟 ∧ 𝑤 ∈ 𝑠) ↔ (∃𝑟 ∈ 𝑅 𝑧 ∈ 𝑟 ∧ ∃𝑠 ∈ 𝑆 𝑤 ∈ 𝑠)) |
13 | 10, 11, 12 | 3bitr4i 302 |
. . . 4
⊢
(〈𝑧, 𝑤〉 ∈ (𝑋 × 𝑌) ↔ ∃𝑟 ∈ 𝑅 ∃𝑠 ∈ 𝑆 (𝑧 ∈ 𝑟 ∧ 𝑤 ∈ 𝑠)) |
14 | | opelxp 5616 |
. . . . . 6
⊢
(〈𝑧, 𝑤〉 ∈ (𝑟 × 𝑠) ↔ (𝑧 ∈ 𝑟 ∧ 𝑤 ∈ 𝑠)) |
15 | | eqid 2738 |
. . . . . . . . . 10
⊢ (𝑟 × 𝑠) = (𝑟 × 𝑠) |
16 | | xpeq1 5594 |
. . . . . . . . . . . 12
⊢ (𝑥 = 𝑟 → (𝑥 × 𝑦) = (𝑟 × 𝑦)) |
17 | 16 | eqeq2d 2749 |
. . . . . . . . . . 11
⊢ (𝑥 = 𝑟 → ((𝑟 × 𝑠) = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑦))) |
18 | | xpeq2 5601 |
. . . . . . . . . . . 12
⊢ (𝑦 = 𝑠 → (𝑟 × 𝑦) = (𝑟 × 𝑠)) |
19 | 18 | eqeq2d 2749 |
. . . . . . . . . . 11
⊢ (𝑦 = 𝑠 → ((𝑟 × 𝑠) = (𝑟 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑠))) |
20 | 17, 19 | rspc2ev 3564 |
. . . . . . . . . 10
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆 ∧ (𝑟 × 𝑠) = (𝑟 × 𝑠)) → ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)) |
21 | 15, 20 | mp3an3 1448 |
. . . . . . . . 9
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆) → ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)) |
22 | | vex 3426 |
. . . . . . . . . . 11
⊢ 𝑟 ∈ V |
23 | | vex 3426 |
. . . . . . . . . . 11
⊢ 𝑠 ∈ V |
24 | 22, 23 | xpex 7581 |
. . . . . . . . . 10
⊢ (𝑟 × 𝑠) ∈ V |
25 | | eqeq1 2742 |
. . . . . . . . . . 11
⊢ (𝑧 = (𝑟 × 𝑠) → (𝑧 = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑥 × 𝑦))) |
26 | 25 | 2rexbidv 3228 |
. . . . . . . . . 10
⊢ (𝑧 = (𝑟 × 𝑠) → (∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 𝑧 = (𝑥 × 𝑦) ↔ ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))) |
27 | | txval.1 |
. . . . . . . . . . 11
⊢ 𝐵 = ran (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) |
28 | | eqid 2738 |
. . . . . . . . . . . 12
⊢ (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) = (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) |
29 | 28 | rnmpo 7385 |
. . . . . . . . . . 11
⊢ ran
(𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) = {𝑧 ∣ ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 𝑧 = (𝑥 × 𝑦)} |
30 | 27, 29 | eqtri 2766 |
. . . . . . . . . 10
⊢ 𝐵 = {𝑧 ∣ ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 𝑧 = (𝑥 × 𝑦)} |
31 | 24, 26, 30 | elab2 3606 |
. . . . . . . . 9
⊢ ((𝑟 × 𝑠) ∈ 𝐵 ↔ ∃𝑥 ∈ 𝑅 ∃𝑦 ∈ 𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)) |
32 | 21, 31 | sylibr 233 |
. . . . . . . 8
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆) → (𝑟 × 𝑠) ∈ 𝐵) |
33 | | elssuni 4868 |
. . . . . . . 8
⊢ ((𝑟 × 𝑠) ∈ 𝐵 → (𝑟 × 𝑠) ⊆ ∪ 𝐵) |
34 | 32, 33 | syl 17 |
. . . . . . 7
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆) → (𝑟 × 𝑠) ⊆ ∪ 𝐵) |
35 | 34 | sseld 3916 |
. . . . . 6
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆) → (〈𝑧, 𝑤〉 ∈ (𝑟 × 𝑠) → 〈𝑧, 𝑤〉 ∈ ∪
𝐵)) |
36 | 14, 35 | syl5bir 242 |
. . . . 5
⊢ ((𝑟 ∈ 𝑅 ∧ 𝑠 ∈ 𝑆) → ((𝑧 ∈ 𝑟 ∧ 𝑤 ∈ 𝑠) → 〈𝑧, 𝑤〉 ∈ ∪
𝐵)) |
37 | 36 | rexlimivv 3220 |
. . . 4
⊢
(∃𝑟 ∈
𝑅 ∃𝑠 ∈ 𝑆 (𝑧 ∈ 𝑟 ∧ 𝑤 ∈ 𝑠) → 〈𝑧, 𝑤〉 ∈ ∪
𝐵) |
38 | 13, 37 | sylbi 216 |
. . 3
⊢
(〈𝑧, 𝑤〉 ∈ (𝑋 × 𝑌) → 〈𝑧, 𝑤〉 ∈ ∪
𝐵) |
39 | 1, 38 | relssi 5686 |
. 2
⊢ (𝑋 × 𝑌) ⊆ ∪ 𝐵 |
40 | | elssuni 4868 |
. . . . . . . . . 10
⊢ (𝑥 ∈ 𝑅 → 𝑥 ⊆ ∪ 𝑅) |
41 | 40, 2 | sseqtrrdi 3968 |
. . . . . . . . 9
⊢ (𝑥 ∈ 𝑅 → 𝑥 ⊆ 𝑋) |
42 | | elssuni 4868 |
. . . . . . . . . 10
⊢ (𝑦 ∈ 𝑆 → 𝑦 ⊆ ∪ 𝑆) |
43 | 42, 6 | sseqtrrdi 3968 |
. . . . . . . . 9
⊢ (𝑦 ∈ 𝑆 → 𝑦 ⊆ 𝑌) |
44 | | xpss12 5595 |
. . . . . . . . 9
⊢ ((𝑥 ⊆ 𝑋 ∧ 𝑦 ⊆ 𝑌) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌)) |
45 | 41, 43, 44 | syl2an 595 |
. . . . . . . 8
⊢ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑆) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌)) |
46 | | vex 3426 |
. . . . . . . . . 10
⊢ 𝑥 ∈ V |
47 | | vex 3426 |
. . . . . . . . . 10
⊢ 𝑦 ∈ V |
48 | 46, 47 | xpex 7581 |
. . . . . . . . 9
⊢ (𝑥 × 𝑦) ∈ V |
49 | 48 | elpw 4534 |
. . . . . . . 8
⊢ ((𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌)) |
50 | 45, 49 | sylibr 233 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑆) → (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌)) |
51 | 50 | rgen2 3126 |
. . . . . 6
⊢
∀𝑥 ∈
𝑅 ∀𝑦 ∈ 𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) |
52 | 28 | fmpo 7881 |
. . . . . 6
⊢
(∀𝑥 ∈
𝑅 ∀𝑦 ∈ 𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌)) |
53 | 51, 52 | mpbi 229 |
. . . . 5
⊢ (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌) |
54 | | frn 6591 |
. . . . 5
⊢ ((𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌) → ran (𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌)) |
55 | 53, 54 | ax-mp 5 |
. . . 4
⊢ ran
(𝑥 ∈ 𝑅, 𝑦 ∈ 𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌) |
56 | 27, 55 | eqsstri 3951 |
. . 3
⊢ 𝐵 ⊆ 𝒫 (𝑋 × 𝑌) |
57 | | sspwuni 5025 |
. . 3
⊢ (𝐵 ⊆ 𝒫 (𝑋 × 𝑌) ↔ ∪ 𝐵 ⊆ (𝑋 × 𝑌)) |
58 | 56, 57 | mpbi 229 |
. 2
⊢ ∪ 𝐵
⊆ (𝑋 × 𝑌) |
59 | 39, 58 | eqssi 3933 |
1
⊢ (𝑋 × 𝑌) = ∪ 𝐵 |