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

Theorem txdis 22783
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 22145 . . . . 5 (𝐴𝑉 → 𝒫 𝐴 ∈ Top)
2 distop 22145 . . . . 5 (𝐵𝑊 → 𝒫 𝐵 ∈ Top)
3 unipw 5366 . . . . . . 7 𝒫 𝐴 = 𝐴
43eqcomi 2747 . . . . . 6 𝐴 = 𝒫 𝐴
5 unipw 5366 . . . . . . 7 𝒫 𝐵 = 𝐵
65eqcomi 2747 . . . . . 6 𝐵 = 𝒫 𝐵
74, 6txuni 22743 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
81, 2, 7syl2an 596 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
9 eqimss2 3978 . . . 4 ((𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
108, 9syl 17 . . 3 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
11 sspwuni 5029 . . 3 ((𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵) ↔ (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
1210, 11sylibr 233 . 2 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵))
13 elelpwi 4545 . . . . . . . . 9 ((𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵)) → 𝑦 ∈ (𝐴 × 𝐵))
1413adantl 482 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ (𝐴 × 𝐵))
15 xp1st 7863 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (1st𝑦) ∈ 𝐴)
16 snelpwi 5360 . . . . . . . 8 ((1st𝑦) ∈ 𝐴 → {(1st𝑦)} ∈ 𝒫 𝐴)
1714, 15, 163syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(1st𝑦)} ∈ 𝒫 𝐴)
18 xp2nd 7864 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (2nd𝑦) ∈ 𝐵)
19 snelpwi 5360 . . . . . . . 8 ((2nd𝑦) ∈ 𝐵 → {(2nd𝑦)} ∈ 𝒫 𝐵)
2014, 18, 193syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(2nd𝑦)} ∈ 𝒫 𝐵)
21 vsnid 4598 . . . . . . . 8 𝑦 ∈ {𝑦}
22 1st2nd2 7870 . . . . . . . . . 10 (𝑦 ∈ (𝐴 × 𝐵) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2314, 22syl 17 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2423sneqd 4573 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {𝑦} = {⟨(1st𝑦), (2nd𝑦)⟩})
2521, 24eleqtrid 2845 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩})
26 simprl 768 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦𝑥)
2723, 26eqeltrrd 2840 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ⟨(1st𝑦), (2nd𝑦)⟩ ∈ 𝑥)
2827snssd 4742 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)
29 xpeq1 5603 . . . . . . . . . 10 (𝑧 = {(1st𝑦)} → (𝑧 × 𝑤) = ({(1st𝑦)} × 𝑤))
3029eleq2d 2824 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → (𝑦 ∈ (𝑧 × 𝑤) ↔ 𝑦 ∈ ({(1st𝑦)} × 𝑤)))
3129sseq1d 3952 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → ((𝑧 × 𝑤) ⊆ 𝑥 ↔ ({(1st𝑦)} × 𝑤) ⊆ 𝑥))
3230, 31anbi12d 631 . . . . . . . 8 (𝑧 = {(1st𝑦)} → ((𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥)))
33 xpeq2 5610 . . . . . . . . . . 11 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = ({(1st𝑦)} × {(2nd𝑦)}))
34 fvex 6787 . . . . . . . . . . . 12 (1st𝑦) ∈ V
35 fvex 6787 . . . . . . . . . . . 12 (2nd𝑦) ∈ V
3634, 35xpsn 7013 . . . . . . . . . . 11 ({(1st𝑦)} × {(2nd𝑦)}) = {⟨(1st𝑦), (2nd𝑦)⟩}
3733, 36eqtrdi 2794 . . . . . . . . . 10 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = {⟨(1st𝑦), (2nd𝑦)⟩})
3837eleq2d 2824 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (𝑦 ∈ ({(1st𝑦)} × 𝑤) ↔ 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩}))
3937sseq1d 3952 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (({(1st𝑦)} × 𝑤) ⊆ 𝑥 ↔ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥))
4038, 39anbi12d 631 . . . . . . . 8 (𝑤 = {(2nd𝑦)} → ((𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)))
4132, 40rspc2ev 3572 . . . . . . 7 (({(1st𝑦)} ∈ 𝒫 𝐴 ∧ {(2nd𝑦)} ∈ 𝒫 𝐵 ∧ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4217, 20, 25, 28, 41syl112anc 1373 . . . . . 6 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4342expr 457 . . . . 5 (((𝐴𝑉𝐵𝑊) ∧ 𝑦𝑥) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4443ralrimdva 3106 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
45 eltx 22719 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
461, 2, 45syl2an 596 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4744, 46sylibrd 258 . . 3 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → 𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵)))
4847ssrdv 3927 . 2 ((𝐴𝑉𝐵𝑊) → 𝒫 (𝐴 × 𝐵) ⊆ (𝒫 𝐴 ×t 𝒫 𝐵))
4912, 48eqssd 3938 1 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) = 𝒫 (𝐴 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  wrex 3065  wss 3887  𝒫 cpw 4533  {csn 4561  cop 4567   cuni 4839   × cxp 5587  cfv 6433  (class class class)co 7275  1st c1st 7829  2nd c2nd 7830  Topctop 22042   ×t ctx 22711
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-topgen 17154  df-top 22043  df-topon 22060  df-bases 22096  df-tx 22713
This theorem is referenced by:  distgp  23250
  Copyright terms: Public domain W3C validator