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

Theorem txdis 22691
Description: The topological product of discrete spaces is discrete. (Contributed by Mario Carneiro, 14-Aug-2015.)
Assertion
Ref Expression
txdis ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) = 𝒫 (𝐴 × 𝐵))

Proof of Theorem txdis
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 distop 22053 . . . . 5 (𝐴𝑉 → 𝒫 𝐴 ∈ Top)
2 distop 22053 . . . . 5 (𝐵𝑊 → 𝒫 𝐵 ∈ Top)
3 unipw 5360 . . . . . . 7 𝒫 𝐴 = 𝐴
43eqcomi 2747 . . . . . 6 𝐴 = 𝒫 𝐴
5 unipw 5360 . . . . . . 7 𝒫 𝐵 = 𝐵
65eqcomi 2747 . . . . . 6 𝐵 = 𝒫 𝐵
74, 6txuni 22651 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
81, 2, 7syl2an 595 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
9 eqimss2 3974 . . . 4 ((𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
108, 9syl 17 . . 3 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
11 sspwuni 5025 . . 3 ((𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵) ↔ (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
1210, 11sylibr 233 . 2 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵))
13 elelpwi 4542 . . . . . . . . 9 ((𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵)) → 𝑦 ∈ (𝐴 × 𝐵))
1413adantl 481 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ (𝐴 × 𝐵))
15 xp1st 7836 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (1st𝑦) ∈ 𝐴)
16 snelpwi 5354 . . . . . . . 8 ((1st𝑦) ∈ 𝐴 → {(1st𝑦)} ∈ 𝒫 𝐴)
1714, 15, 163syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(1st𝑦)} ∈ 𝒫 𝐴)
18 xp2nd 7837 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (2nd𝑦) ∈ 𝐵)
19 snelpwi 5354 . . . . . . . 8 ((2nd𝑦) ∈ 𝐵 → {(2nd𝑦)} ∈ 𝒫 𝐵)
2014, 18, 193syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(2nd𝑦)} ∈ 𝒫 𝐵)
21 vsnid 4595 . . . . . . . 8 𝑦 ∈ {𝑦}
22 1st2nd2 7843 . . . . . . . . . 10 (𝑦 ∈ (𝐴 × 𝐵) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2314, 22syl 17 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2423sneqd 4570 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {𝑦} = {⟨(1st𝑦), (2nd𝑦)⟩})
2521, 24eleqtrid 2845 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩})
26 simprl 767 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦𝑥)
2723, 26eqeltrrd 2840 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ⟨(1st𝑦), (2nd𝑦)⟩ ∈ 𝑥)
2827snssd 4739 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)
29 xpeq1 5594 . . . . . . . . . 10 (𝑧 = {(1st𝑦)} → (𝑧 × 𝑤) = ({(1st𝑦)} × 𝑤))
3029eleq2d 2824 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → (𝑦 ∈ (𝑧 × 𝑤) ↔ 𝑦 ∈ ({(1st𝑦)} × 𝑤)))
3129sseq1d 3948 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → ((𝑧 × 𝑤) ⊆ 𝑥 ↔ ({(1st𝑦)} × 𝑤) ⊆ 𝑥))
3230, 31anbi12d 630 . . . . . . . 8 (𝑧 = {(1st𝑦)} → ((𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥)))
33 xpeq2 5601 . . . . . . . . . . 11 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = ({(1st𝑦)} × {(2nd𝑦)}))
34 fvex 6769 . . . . . . . . . . . 12 (1st𝑦) ∈ V
35 fvex 6769 . . . . . . . . . . . 12 (2nd𝑦) ∈ V
3634, 35xpsn 6995 . . . . . . . . . . 11 ({(1st𝑦)} × {(2nd𝑦)}) = {⟨(1st𝑦), (2nd𝑦)⟩}
3733, 36eqtrdi 2795 . . . . . . . . . 10 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = {⟨(1st𝑦), (2nd𝑦)⟩})
3837eleq2d 2824 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (𝑦 ∈ ({(1st𝑦)} × 𝑤) ↔ 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩}))
3937sseq1d 3948 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (({(1st𝑦)} × 𝑤) ⊆ 𝑥 ↔ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥))
4038, 39anbi12d 630 . . . . . . . 8 (𝑤 = {(2nd𝑦)} → ((𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)))
4132, 40rspc2ev 3564 . . . . . . 7 (({(1st𝑦)} ∈ 𝒫 𝐴 ∧ {(2nd𝑦)} ∈ 𝒫 𝐵 ∧ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4217, 20, 25, 28, 41syl112anc 1372 . . . . . 6 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4342expr 456 . . . . 5 (((𝐴𝑉𝐵𝑊) ∧ 𝑦𝑥) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4443ralrimdva 3112 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
45 eltx 22627 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
461, 2, 45syl2an 595 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4744, 46sylibrd 258 . . 3 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → 𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵)))
4847ssrdv 3923 . 2 ((𝐴𝑉𝐵𝑊) → 𝒫 (𝐴 × 𝐵) ⊆ (𝒫 𝐴 ×t 𝒫 𝐵))
4912, 48eqssd 3934 1 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) = 𝒫 (𝐴 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  wss 3883  𝒫 cpw 4530  {csn 4558  cop 4564   cuni 4836   × cxp 5578  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  Topctop 21950   ×t ctx 22619
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-topgen 17071  df-top 21951  df-topon 21968  df-bases 22004  df-tx 22621
This theorem is referenced by:  distgp  23158
  Copyright terms: Public domain W3C validator