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

Theorem txdis 21483
 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 20847 . . . . 5 (𝐴𝑉 → 𝒫 𝐴 ∈ Top)
2 distop 20847 . . . . 5 (𝐵𝑊 → 𝒫 𝐵 ∈ Top)
3 unipw 4948 . . . . . . 7 𝒫 𝐴 = 𝐴
43eqcomi 2660 . . . . . 6 𝐴 = 𝒫 𝐴
5 unipw 4948 . . . . . . 7 𝒫 𝐵 = 𝐵
65eqcomi 2660 . . . . . 6 𝐵 = 𝒫 𝐵
74, 6txuni 21443 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
81, 2, 7syl2an 493 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵))
9 eqimss2 3691 . . . 4 ((𝐴 × 𝐵) = (𝒫 𝐴 ×t 𝒫 𝐵) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
108, 9syl 17 . . 3 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
11 sspwuni 4643 . . 3 ((𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵) ↔ (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ (𝐴 × 𝐵))
1210, 11sylibr 224 . 2 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) ⊆ 𝒫 (𝐴 × 𝐵))
13 elelpwi 4204 . . . . . . . . 9 ((𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵)) → 𝑦 ∈ (𝐴 × 𝐵))
1413adantl 481 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ (𝐴 × 𝐵))
15 xp1st 7242 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (1st𝑦) ∈ 𝐴)
16 snelpwi 4942 . . . . . . . 8 ((1st𝑦) ∈ 𝐴 → {(1st𝑦)} ∈ 𝒫 𝐴)
1714, 15, 163syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(1st𝑦)} ∈ 𝒫 𝐴)
18 xp2nd 7243 . . . . . . . 8 (𝑦 ∈ (𝐴 × 𝐵) → (2nd𝑦) ∈ 𝐵)
19 snelpwi 4942 . . . . . . . 8 ((2nd𝑦) ∈ 𝐵 → {(2nd𝑦)} ∈ 𝒫 𝐵)
2014, 18, 193syl 18 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {(2nd𝑦)} ∈ 𝒫 𝐵)
21 vsnid 4242 . . . . . . . 8 𝑦 ∈ {𝑦}
22 1st2nd2 7249 . . . . . . . . . 10 (𝑦 ∈ (𝐴 × 𝐵) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2314, 22syl 17 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
2423sneqd 4222 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {𝑦} = {⟨(1st𝑦), (2nd𝑦)⟩})
2521, 24syl5eleq 2736 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩})
26 simprl 809 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → 𝑦𝑥)
2723, 26eqeltrrd 2731 . . . . . . . 8 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ⟨(1st𝑦), (2nd𝑦)⟩ ∈ 𝑥)
2827snssd 4372 . . . . . . 7 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)
29 xpeq1 5157 . . . . . . . . . 10 (𝑧 = {(1st𝑦)} → (𝑧 × 𝑤) = ({(1st𝑦)} × 𝑤))
3029eleq2d 2716 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → (𝑦 ∈ (𝑧 × 𝑤) ↔ 𝑦 ∈ ({(1st𝑦)} × 𝑤)))
3129sseq1d 3665 . . . . . . . . 9 (𝑧 = {(1st𝑦)} → ((𝑧 × 𝑤) ⊆ 𝑥 ↔ ({(1st𝑦)} × 𝑤) ⊆ 𝑥))
3230, 31anbi12d 747 . . . . . . . 8 (𝑧 = {(1st𝑦)} → ((𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥)))
33 xpeq2 5163 . . . . . . . . . . 11 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = ({(1st𝑦)} × {(2nd𝑦)}))
34 fvex 6239 . . . . . . . . . . . 12 (1st𝑦) ∈ V
35 fvex 6239 . . . . . . . . . . . 12 (2nd𝑦) ∈ V
3634, 35xpsn 6447 . . . . . . . . . . 11 ({(1st𝑦)} × {(2nd𝑦)}) = {⟨(1st𝑦), (2nd𝑦)⟩}
3733, 36syl6eq 2701 . . . . . . . . . 10 (𝑤 = {(2nd𝑦)} → ({(1st𝑦)} × 𝑤) = {⟨(1st𝑦), (2nd𝑦)⟩})
3837eleq2d 2716 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (𝑦 ∈ ({(1st𝑦)} × 𝑤) ↔ 𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩}))
3937sseq1d 3665 . . . . . . . . 9 (𝑤 = {(2nd𝑦)} → (({(1st𝑦)} × 𝑤) ⊆ 𝑥 ↔ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥))
4038, 39anbi12d 747 . . . . . . . 8 (𝑤 = {(2nd𝑦)} → ((𝑦 ∈ ({(1st𝑦)} × 𝑤) ∧ ({(1st𝑦)} × 𝑤) ⊆ 𝑥) ↔ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)))
4132, 40rspc2ev 3355 . . . . . . 7 (({(1st𝑦)} ∈ 𝒫 𝐴 ∧ {(2nd𝑦)} ∈ 𝒫 𝐵 ∧ (𝑦 ∈ {⟨(1st𝑦), (2nd𝑦)⟩} ∧ {⟨(1st𝑦), (2nd𝑦)⟩} ⊆ 𝑥)) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4217, 20, 25, 28, 41syl112anc 1370 . . . . . 6 (((𝐴𝑉𝐵𝑊) ∧ (𝑦𝑥𝑥 ∈ 𝒫 (𝐴 × 𝐵))) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥))
4342expr 642 . . . . 5 (((𝐴𝑉𝐵𝑊) ∧ 𝑦𝑥) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∃𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4443ralrimdva 2998 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
45 eltx 21419 . . . . 5 ((𝒫 𝐴 ∈ Top ∧ 𝒫 𝐵 ∈ Top) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
461, 2, 45syl2an 493 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵) ↔ ∀𝑦𝑥𝑧 ∈ 𝒫 𝐴𝑤 ∈ 𝒫 𝐵(𝑦 ∈ (𝑧 × 𝑤) ∧ (𝑧 × 𝑤) ⊆ 𝑥)))
4744, 46sylibrd 249 . . 3 ((𝐴𝑉𝐵𝑊) → (𝑥 ∈ 𝒫 (𝐴 × 𝐵) → 𝑥 ∈ (𝒫 𝐴 ×t 𝒫 𝐵)))
4847ssrdv 3642 . 2 ((𝐴𝑉𝐵𝑊) → 𝒫 (𝐴 × 𝐵) ⊆ (𝒫 𝐴 ×t 𝒫 𝐵))
4912, 48eqssd 3653 1 ((𝐴𝑉𝐵𝑊) → (𝒫 𝐴 ×t 𝒫 𝐵) = 𝒫 (𝐴 × 𝐵))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1523   ∈ wcel 2030  ∀wral 2941  ∃wrex 2942   ⊆ wss 3607  𝒫 cpw 4191  {csn 4210  ⟨cop 4216  ∪ cuni 4468   × cxp 5141  ‘cfv 5926  (class class class)co 6690  1st c1st 7208  2nd c2nd 7209  Topctop 20746   ×t ctx 21411 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-1st 7210  df-2nd 7211  df-topgen 16151  df-top 20747  df-topon 20764  df-bases 20798  df-tx 21413 This theorem is referenced by:  distgp  21950
 Copyright terms: Public domain W3C validator