MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  txuni2 Structured version   Visualization version   GIF version

Theorem txuni2 23511
Description: The underlying set of the product of two topologies. (Contributed by Mario Carneiro, 31-Aug-2015.)
Hypotheses
Ref Expression
txval.1 𝐵 = ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
txuni2.1 𝑋 = 𝑅
txuni2.2 𝑌 = 𝑆
Assertion
Ref Expression
txuni2 (𝑋 × 𝑌) = 𝐵
Distinct variable groups:   𝑥,𝑦,𝑅   𝑥,𝑆,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐵(𝑥,𝑦)

Proof of Theorem txuni2
Dummy variables 𝑟 𝑠 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5641 . . 3 Rel (𝑋 × 𝑌)
2 txuni2.1 . . . . . . . 8 𝑋 = 𝑅
32eleq2i 2827 . . . . . . 7 (𝑧𝑋𝑧 𝑅)
4 eluni2 4866 . . . . . . 7 (𝑧 𝑅 ↔ ∃𝑟𝑅 𝑧𝑟)
53, 4bitri 275 . . . . . 6 (𝑧𝑋 ↔ ∃𝑟𝑅 𝑧𝑟)
6 txuni2.2 . . . . . . . 8 𝑌 = 𝑆
76eleq2i 2827 . . . . . . 7 (𝑤𝑌𝑤 𝑆)
8 eluni2 4866 . . . . . . 7 (𝑤 𝑆 ↔ ∃𝑠𝑆 𝑤𝑠)
97, 8bitri 275 . . . . . 6 (𝑤𝑌 ↔ ∃𝑠𝑆 𝑤𝑠)
105, 9anbi12i 629 . . . . 5 ((𝑧𝑋𝑤𝑌) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
11 opelxp 5659 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ (𝑧𝑋𝑤𝑌))
12 reeanv 3207 . . . . 5 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
1310, 11, 123bitr4i 303 . . . 4 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ ∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠))
14 opelxp 5659 . . . . . 6 (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) ↔ (𝑧𝑟𝑤𝑠))
15 eqid 2735 . . . . . . . . . 10 (𝑟 × 𝑠) = (𝑟 × 𝑠)
16 xpeq1 5637 . . . . . . . . . . . 12 (𝑥 = 𝑟 → (𝑥 × 𝑦) = (𝑟 × 𝑦))
1716eqeq2d 2746 . . . . . . . . . . 11 (𝑥 = 𝑟 → ((𝑟 × 𝑠) = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑦)))
18 xpeq2 5644 . . . . . . . . . . . 12 (𝑦 = 𝑠 → (𝑟 × 𝑦) = (𝑟 × 𝑠))
1918eqeq2d 2746 . . . . . . . . . . 11 (𝑦 = 𝑠 → ((𝑟 × 𝑠) = (𝑟 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑠)))
2017, 19rspc2ev 3588 . . . . . . . . . 10 ((𝑟𝑅𝑠𝑆 ∧ (𝑟 × 𝑠) = (𝑟 × 𝑠)) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
2115, 20mp3an3 1453 . . . . . . . . 9 ((𝑟𝑅𝑠𝑆) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
22 vex 3443 . . . . . . . . . . 11 𝑟 ∈ V
23 vex 3443 . . . . . . . . . . 11 𝑠 ∈ V
2422, 23xpex 7698 . . . . . . . . . 10 (𝑟 × 𝑠) ∈ V
25 eqeq1 2739 . . . . . . . . . . 11 (𝑧 = (𝑟 × 𝑠) → (𝑧 = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑥 × 𝑦)))
26252rexbidv 3200 . . . . . . . . . 10 (𝑧 = (𝑟 × 𝑠) → (∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦) ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)))
27 txval.1 . . . . . . . . . . 11 𝐵 = ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
28 eqid 2735 . . . . . . . . . . . 12 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
2928rnmpo 7491 . . . . . . . . . . 11 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3027, 29eqtri 2758 . . . . . . . . . 10 𝐵 = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3124, 26, 30elab2 3636 . . . . . . . . 9 ((𝑟 × 𝑠) ∈ 𝐵 ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
3221, 31sylibr 234 . . . . . . . 8 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ∈ 𝐵)
33 elssuni 4893 . . . . . . . 8 ((𝑟 × 𝑠) ∈ 𝐵 → (𝑟 × 𝑠) ⊆ 𝐵)
3432, 33syl 17 . . . . . . 7 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ⊆ 𝐵)
3534sseld 3931 . . . . . 6 ((𝑟𝑅𝑠𝑆) → (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3614, 35biimtrrid 243 . . . . 5 ((𝑟𝑅𝑠𝑆) → ((𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3736rexlimivv 3177 . . . 4 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
3813, 37sylbi 217 . . 3 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
391, 38relssi 5735 . 2 (𝑋 × 𝑌) ⊆ 𝐵
40 elssuni 4893 . . . . . . . . . 10 (𝑥𝑅𝑥 𝑅)
4140, 2sseqtrrdi 3974 . . . . . . . . 9 (𝑥𝑅𝑥𝑋)
42 elssuni 4893 . . . . . . . . . 10 (𝑦𝑆𝑦 𝑆)
4342, 6sseqtrrdi 3974 . . . . . . . . 9 (𝑦𝑆𝑦𝑌)
44 xpss12 5638 . . . . . . . . 9 ((𝑥𝑋𝑦𝑌) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
4541, 43, 44syl2an 597 . . . . . . . 8 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
46 vex 3443 . . . . . . . . . 10 𝑥 ∈ V
47 vex 3443 . . . . . . . . . 10 𝑦 ∈ V
4846, 47xpex 7698 . . . . . . . . 9 (𝑥 × 𝑦) ∈ V
4948elpw 4557 . . . . . . . 8 ((𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
5045, 49sylibr 234 . . . . . . 7 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌))
5150rgen2 3175 . . . . . 6 𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌)
5228fmpo 8012 . . . . . 6 (∀𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌))
5351, 52mpbi 230 . . . . 5 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌)
54 frn 6668 . . . . 5 ((𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌) → ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌))
5553, 54ax-mp 5 . . . 4 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌)
5627, 55eqsstri 3979 . . 3 𝐵 ⊆ 𝒫 (𝑋 × 𝑌)
57 sspwuni 5054 . . 3 (𝐵 ⊆ 𝒫 (𝑋 × 𝑌) ↔ 𝐵 ⊆ (𝑋 × 𝑌))
5856, 57mpbi 230 . 2 𝐵 ⊆ (𝑋 × 𝑌)
5939, 58eqssi 3949 1 (𝑋 × 𝑌) = 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1542  wcel 2114  {cab 2713  wral 3050  wrex 3059  wss 3900  𝒫 cpw 4553  cop 4585   cuni 4862   × cxp 5621  ran crn 5624  wf 6487  cmpo 7360
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2183  ax-ext 2707  ax-sep 5240  ax-nul 5250  ax-pow 5309  ax-pr 5376  ax-un 7680
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2538  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2810  df-nfc 2884  df-ne 2932  df-ral 3051  df-rex 3060  df-rab 3399  df-v 3441  df-sbc 3740  df-csb 3849  df-dif 3903  df-un 3905  df-in 3907  df-ss 3917  df-nul 4285  df-if 4479  df-pw 4555  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4863  df-iun 4947  df-br 5098  df-opab 5160  df-mpt 5179  df-id 5518  df-xp 5629  df-rel 5630  df-cnv 5631  df-co 5632  df-dm 5633  df-rn 5634  df-res 5635  df-ima 5636  df-iota 6447  df-fun 6493  df-fn 6494  df-f 6495  df-fv 6499  df-oprab 7362  df-mpo 7363  df-1st 7933  df-2nd 7934
This theorem is referenced by:  txbasex  23512  txtopon  23537  sxsigon  34328
  Copyright terms: Public domain W3C validator