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

Theorem txuni2 21178
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 5150 . . 3 Rel (𝑋 × 𝑌)
2 txuni2.1 . . . . . . . 8 𝑋 = 𝑅
32eleq2i 2680 . . . . . . 7 (𝑧𝑋𝑧 𝑅)
4 eluni2 4376 . . . . . . 7 (𝑧 𝑅 ↔ ∃𝑟𝑅 𝑧𝑟)
53, 4bitri 263 . . . . . 6 (𝑧𝑋 ↔ ∃𝑟𝑅 𝑧𝑟)
6 txuni2.2 . . . . . . . 8 𝑌 = 𝑆
76eleq2i 2680 . . . . . . 7 (𝑤𝑌𝑤 𝑆)
8 eluni2 4376 . . . . . . 7 (𝑤 𝑆 ↔ ∃𝑠𝑆 𝑤𝑠)
97, 8bitri 263 . . . . . 6 (𝑤𝑌 ↔ ∃𝑠𝑆 𝑤𝑠)
105, 9anbi12i 729 . . . . 5 ((𝑧𝑋𝑤𝑌) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
11 opelxp 5070 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ (𝑧𝑋𝑤𝑌))
12 reeanv 3086 . . . . 5 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) ↔ (∃𝑟𝑅 𝑧𝑟 ∧ ∃𝑠𝑆 𝑤𝑠))
1310, 11, 123bitr4i 291 . . . 4 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) ↔ ∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠))
14 opelxp 5070 . . . . . 6 (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) ↔ (𝑧𝑟𝑤𝑠))
15 eqid 2610 . . . . . . . . . 10 (𝑟 × 𝑠) = (𝑟 × 𝑠)
16 xpeq1 5052 . . . . . . . . . . . 12 (𝑥 = 𝑟 → (𝑥 × 𝑦) = (𝑟 × 𝑦))
1716eqeq2d 2620 . . . . . . . . . . 11 (𝑥 = 𝑟 → ((𝑟 × 𝑠) = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑦)))
18 xpeq2 5053 . . . . . . . . . . . 12 (𝑦 = 𝑠 → (𝑟 × 𝑦) = (𝑟 × 𝑠))
1918eqeq2d 2620 . . . . . . . . . . 11 (𝑦 = 𝑠 → ((𝑟 × 𝑠) = (𝑟 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑟 × 𝑠)))
2017, 19rspc2ev 3295 . . . . . . . . . 10 ((𝑟𝑅𝑠𝑆 ∧ (𝑟 × 𝑠) = (𝑟 × 𝑠)) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
2115, 20mp3an3 1405 . . . . . . . . 9 ((𝑟𝑅𝑠𝑆) → ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
22 vex 3176 . . . . . . . . . . 11 𝑟 ∈ V
23 vex 3176 . . . . . . . . . . 11 𝑠 ∈ V
2422, 23xpex 6860 . . . . . . . . . 10 (𝑟 × 𝑠) ∈ V
25 eqeq1 2614 . . . . . . . . . . 11 (𝑧 = (𝑟 × 𝑠) → (𝑧 = (𝑥 × 𝑦) ↔ (𝑟 × 𝑠) = (𝑥 × 𝑦)))
26252rexbidv 3039 . . . . . . . . . 10 (𝑧 = (𝑟 × 𝑠) → (∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦) ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦)))
27 txval.1 . . . . . . . . . . 11 𝐵 = ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
28 eqid 2610 . . . . . . . . . . . 12 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦))
2928rnmpt2 6668 . . . . . . . . . . 11 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3027, 29eqtri 2632 . . . . . . . . . 10 𝐵 = {𝑧 ∣ ∃𝑥𝑅𝑦𝑆 𝑧 = (𝑥 × 𝑦)}
3124, 26, 30elab2 3323 . . . . . . . . 9 ((𝑟 × 𝑠) ∈ 𝐵 ↔ ∃𝑥𝑅𝑦𝑆 (𝑟 × 𝑠) = (𝑥 × 𝑦))
3221, 31sylibr 223 . . . . . . . 8 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ∈ 𝐵)
33 elssuni 4403 . . . . . . . 8 ((𝑟 × 𝑠) ∈ 𝐵 → (𝑟 × 𝑠) ⊆ 𝐵)
3432, 33syl 17 . . . . . . 7 ((𝑟𝑅𝑠𝑆) → (𝑟 × 𝑠) ⊆ 𝐵)
3534sseld 3567 . . . . . 6 ((𝑟𝑅𝑠𝑆) → (⟨𝑧, 𝑤⟩ ∈ (𝑟 × 𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3614, 35syl5bir 232 . . . . 5 ((𝑟𝑅𝑠𝑆) → ((𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵))
3736rexlimivv 3018 . . . 4 (∃𝑟𝑅𝑠𝑆 (𝑧𝑟𝑤𝑠) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
3813, 37sylbi 206 . . 3 (⟨𝑧, 𝑤⟩ ∈ (𝑋 × 𝑌) → ⟨𝑧, 𝑤⟩ ∈ 𝐵)
391, 38relssi 5134 . 2 (𝑋 × 𝑌) ⊆ 𝐵
40 elssuni 4403 . . . . . . . . . 10 (𝑥𝑅𝑥 𝑅)
4140, 2syl6sseqr 3615 . . . . . . . . 9 (𝑥𝑅𝑥𝑋)
42 elssuni 4403 . . . . . . . . . 10 (𝑦𝑆𝑦 𝑆)
4342, 6syl6sseqr 3615 . . . . . . . . 9 (𝑦𝑆𝑦𝑌)
44 xpss12 5148 . . . . . . . . 9 ((𝑥𝑋𝑦𝑌) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
4541, 43, 44syl2an 493 . . . . . . . 8 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
46 vex 3176 . . . . . . . . . 10 𝑥 ∈ V
47 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
4846, 47xpex 6860 . . . . . . . . 9 (𝑥 × 𝑦) ∈ V
4948elpw 4114 . . . . . . . 8 ((𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥 × 𝑦) ⊆ (𝑋 × 𝑌))
5045, 49sylibr 223 . . . . . . 7 ((𝑥𝑅𝑦𝑆) → (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌))
5150rgen2 2958 . . . . . 6 𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌)
5228fmpt2 7126 . . . . . 6 (∀𝑥𝑅𝑦𝑆 (𝑥 × 𝑦) ∈ 𝒫 (𝑋 × 𝑌) ↔ (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌))
5351, 52mpbi 219 . . . . 5 (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌)
54 frn 5966 . . . . 5 ((𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)):(𝑅 × 𝑆)⟶𝒫 (𝑋 × 𝑌) → ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌))
5553, 54ax-mp 5 . . . 4 ran (𝑥𝑅, 𝑦𝑆 ↦ (𝑥 × 𝑦)) ⊆ 𝒫 (𝑋 × 𝑌)
5627, 55eqsstri 3598 . . 3 𝐵 ⊆ 𝒫 (𝑋 × 𝑌)
57 sspwuni 4547 . . 3 (𝐵 ⊆ 𝒫 (𝑋 × 𝑌) ↔ 𝐵 ⊆ (𝑋 × 𝑌))
5856, 57mpbi 219 . 2 𝐵 ⊆ (𝑋 × 𝑌)
5939, 58eqssi 3584 1 (𝑋 × 𝑌) = 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1475  wcel 1977  {cab 2596  wral 2896  wrex 2897  wss 3540  𝒫 cpw 4108  cop 4131   cuni 4372   × cxp 5036  ran crn 5039  wf 5800  cmpt2 6551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-fv 5812  df-oprab 6553  df-mpt2 6554  df-1st 7059  df-2nd 7060
This theorem is referenced by:  txbasex  21179  txtopon  21204  sxsigon  29582
  Copyright terms: Public domain W3C validator