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

Theorem isclo2 21699
Description: A set 𝐴 is clopen iff for every point 𝑥 in the space there is a neighborhood 𝑦 of 𝑥 which is either disjoint from 𝐴 or contained in 𝐴. (Contributed by Mario Carneiro, 7-Jul-2015.)
Hypothesis
Ref Expression
isclo.1 𝑋 = 𝐽
Assertion
Ref Expression
isclo2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐽,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧

Proof of Theorem isclo2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 isclo.1 . . 3 𝑋 = 𝐽
21isclo 21698 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3 eleq1w 2898 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝑧𝐴𝑤𝐴))
43bibi2d 345 . . . . . . . . . 10 (𝑧 = 𝑤 → ((𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴𝑤𝐴)))
54cbvralvw 3452 . . . . . . . . 9 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴))
65anbi2i 624 . . . . . . . 8 ((∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
7 pm4.24 566 . . . . . . . 8 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
8 raaanv 4464 . . . . . . . 8 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
96, 7, 83bitr4i 305 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)))
10 bibi1 354 . . . . . . . . . . . . 13 ((𝑥𝐴𝑧𝐴) → ((𝑥𝐴𝑤𝐴) ↔ (𝑧𝐴𝑤𝐴)))
1110biimpa 479 . . . . . . . . . . . 12 (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑤𝐴))
1211biimpcd 251 . . . . . . . . . . 11 (𝑧𝐴 → (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → 𝑤𝐴))
1312ralimdv 3181 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑤𝑦 𝑤𝐴))
1413com12 32 . . . . . . . . 9 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴 → ∀𝑤𝑦 𝑤𝐴))
15 dfss3 3959 . . . . . . . . 9 (𝑦𝐴 ↔ ∀𝑤𝑦 𝑤𝐴)
1614, 15syl6ibr 254 . . . . . . . 8 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑦𝐴))
1716ralimi 3163 . . . . . . 7 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
189, 17sylbi 219 . . . . . 6 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
19 eleq1w 2898 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
2019imbi1d 344 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑧𝐴𝑦𝐴) ↔ (𝑥𝐴𝑦𝐴)))
2120rspcv 3621 . . . . . . . . 9 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (𝑥𝐴𝑦𝐴)))
22 dfss3 3959 . . . . . . . . . . 11 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
2322imbi2i 338 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
24 r19.21v 3178 . . . . . . . . . 10 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
2523, 24bitr4i 280 . . . . . . . . 9 ((𝑥𝐴𝑦𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))
2621, 25syl6ib 253 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
27 ssel 3964 . . . . . . . . . . 11 (𝑦𝐴 → (𝑥𝑦𝑥𝐴))
2827com12 32 . . . . . . . . . 10 (𝑥𝑦 → (𝑦𝐴𝑥𝐴))
2928imim2d 57 . . . . . . . . 9 (𝑥𝑦 → ((𝑧𝐴𝑦𝐴) → (𝑧𝐴𝑥𝐴)))
3029ralimdv 3181 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3126, 30jcad 515 . . . . . . 7 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴))))
32 ralbiim 3177 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3331, 32syl6ibr 254 . . . . . 6 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3418, 33impbid2 228 . . . . 5 (𝑥𝑦 → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3534pm5.32i 577 . . . 4 ((𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3635rexbii 3250 . . 3 (∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3736ralbii 3168 . 2 (∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
382, 37syl6bb 289 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1536  wcel 2113  wral 3141  wrex 3142  cin 3938  wss 3939   cuni 4841  cfv 6358  Topctop 21504  Clsdccld 21627
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 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-iota 6317  df-fun 6360  df-fv 6366  df-topgen 16720  df-top 21505  df-cld 21630
This theorem is referenced by:  connpconn  32486
  Copyright terms: Public domain W3C validator