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

Theorem txuni2 23450
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 5637 . . 3 Rel (𝑋 × 𝑌)
2 txuni2.1 . . . . . . . 8 𝑋 = 𝑅
32eleq2i 2820 . . . . . . 7 (𝑧𝑋𝑧 𝑅)
4 eluni2 4862 . . . . . . 7 (𝑧 𝑅 ↔ ∃𝑟𝑅 𝑧𝑟)
53, 4bitri 275 . . . . . 6 (𝑧𝑋 ↔ ∃𝑟𝑅 𝑧𝑟)
6 txuni2.2 . . . . . . . 8 𝑌 = 𝑆
76eleq2i 2820 . . . . . . 7 (𝑤𝑌𝑤 𝑆)
8 eluni2 4862 . . . . . . 7 (𝑤 𝑆 ↔ ∃𝑠𝑆 𝑤𝑠)
97, 8bitri 275 . . . . . 6 (𝑤𝑌 ↔ ∃𝑠𝑆 𝑤𝑠)
105, 9anbi12i 628 . . . . 5 ((𝑧𝑋𝑤𝑌) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
11 opelxp 5655 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ (𝑧𝑋𝑤𝑌))
12 reeanv 3201 . . . . 5 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
1310, 11, 123bitr4i 303 . . . 4 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ ∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠))
14 opelxp 5655 . . . . . 6 (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) ↔ (𝑧𝑟𝑤𝑠))
15 eqid 2729 . . . . . . . . . 10 (𝑟 × 𝑠) = (𝑟 × 𝑠)
16 xpeq1 5633 . . . . . . . . . . . 12 (𝑥 = 𝑟 → (𝑥 × 𝑦) = (𝑟 × 𝑦))
1716eqeq2d 2740 . . . . . . . . . . 11 (𝑥 = 𝑟 → ((𝑟 × 𝑠) = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑦)))
18 xpeq2 5640 . . . . . . . . . . . 12 (𝑦 = 𝑠 → (𝑟 × 𝑦) = (𝑟 × 𝑠))
1918eqeq2d 2740 . . . . . . . . . . 11 (𝑦 = 𝑠 → ((𝑟 × 𝑠) = (𝑟 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑠)))
2017, 19rspc2ev 3590 . . . . . . . . . 10 ((𝑟𝑅𝑠𝑆 ∧ (𝑟 × 𝑠) = (𝑟 × 𝑠)) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
2115, 20mp3an3 1452 . . . . . . . . 9 ((𝑟𝑅𝑠𝑆) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
22 vex 3440 . . . . . . . . . . 11 𝑟 ∈ V
23 vex 3440 . . . . . . . . . . 11 𝑠 ∈ V
2422, 23xpex 7689 . . . . . . . . . 10 (𝑟 × 𝑠) ∈ V
25 eqeq1 2733 . . . . . . . . . . 11 (𝑧 = (𝑟 × 𝑠) → (𝑧 = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑥 × 𝑦)))
26252rexbidv 3194 . . . . . . . . . 10 (𝑧 = (𝑟 × 𝑠) → (∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦) ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)))
27 txval.1 . . . . . . . . . . 11 𝐵 = ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
28 eqid 2729 . . . . . . . . . . . 12 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
2928rnmpo 7482 . . . . . . . . . . 11 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3027, 29eqtri 2752 . . . . . . . . . 10 𝐵 = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3124, 26, 30elab2 3638 . . . . . . . . 9 ((𝑟 × 𝑠) ∈ 𝐵 ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
3221, 31sylibr 234 . . . . . . . 8 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ∈ 𝐵)
33 elssuni 4888 . . . . . . . 8 ((𝑟 × 𝑠) ∈ 𝐵 → (𝑟 × 𝑠) ⊆ 𝐵)
3432, 33syl 17 . . . . . . 7 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ⊆ 𝐵)
3534sseld 3934 . . . . . 6 ((𝑟𝑅𝑠𝑆) → (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3614, 35biimtrrid 243 . . . . 5 ((𝑟𝑅𝑠𝑆) → ((𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3736rexlimivv 3171 . . . 4 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
3813, 37sylbi 217 . . 3 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
391, 38relssi 5730 . 2 (𝑋 × 𝑌) ⊆ 𝐵
40 elssuni 4888 . . . . . . . . . 10 (𝑥𝑅𝑥 𝑅)
4140, 2sseqtrrdi 3977 . . . . . . . . 9 (𝑥𝑅𝑥𝑋)
42 elssuni 4888 . . . . . . . . . 10 (𝑦𝑆𝑦 𝑆)
4342, 6sseqtrrdi 3977 . . . . . . . . 9 (𝑦𝑆𝑦𝑌)
44 xpss12 5634 . . . . . . . . 9 ((𝑥𝑋𝑦𝑌) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
4541, 43, 44syl2an 596 . . . . . . . 8 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
46 vex 3440 . . . . . . . . . 10 𝑥 ∈ V
47 vex 3440 . . . . . . . . . 10 𝑦 ∈ V
4846, 47xpex 7689 . . . . . . . . 9 (𝑥 × 𝑦) ∈ V
4948elpw 4555 . . . . . . . 8 ((𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
5045, 49sylibr 234 . . . . . . 7 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌))
5150rgen2 3169 . . . . . 6 𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌)
5228fmpo 8003 . . . . . 6 (∀𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌))
5351, 52mpbi 230 . . . . 5 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌)
54 frn 6659 . . . . 5 ((𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌) → ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌))
5553, 54ax-mp 5 . . . 4 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌)
5627, 55eqsstri 3982 . . 3 𝐵 ⊆ 𝒫 (𝑋 × 𝑌)
57 sspwuni 5049 . . 3 (𝐵 ⊆ 𝒫 (𝑋 × 𝑌) ↔ 𝐵 ⊆ (𝑋 × 𝑌))
5856, 57mpbi 230 . 2 𝐵 ⊆ (𝑋 × 𝑌)
5939, 58eqssi 3952 1 (𝑋 × 𝑌) = 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1540  wcel 2109  {cab 2707  wral 3044  wrex 3053  wss 3903  𝒫 cpw 4551  cop 4583   cuni 4858   × cxp 5617  ran crn 5620  wf 6478  cmpo 7351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5235  ax-nul 5245  ax-pow 5304  ax-pr 5371  ax-un 7671
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ral 3045  df-rex 3054  df-rab 3395  df-v 3438  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4285  df-if 4477  df-pw 4553  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4859  df-iun 4943  df-br 5093  df-opab 5155  df-mpt 5174  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-iota 6438  df-fun 6484  df-fn 6485  df-f 6486  df-fv 6490  df-oprab 7353  df-mpo 7354  df-1st 7924  df-2nd 7925
This theorem is referenced by:  txbasex  23451  txtopon  23476  sxsigon  34175
  Copyright terms: Public domain W3C validator