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

Theorem isclo2 22147
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 22146 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3 eleq1w 2821 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝑧𝐴𝑤𝐴))
43bibi2d 342 . . . . . . . . . 10 (𝑧 = 𝑤 → ((𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴𝑤𝐴)))
54cbvralvw 3372 . . . . . . . . 9 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴))
65anbi2i 622 . . . . . . . 8 ((∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
7 pm4.24 563 . . . . . . . 8 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
8 raaanv 4449 . . . . . . . 8 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
96, 7, 83bitr4i 302 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)))
10 bibi1 351 . . . . . . . . . . . . 13 ((𝑥𝐴𝑧𝐴) → ((𝑥𝐴𝑤𝐴) ↔ (𝑧𝐴𝑤𝐴)))
1110biimpa 476 . . . . . . . . . . . 12 (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑤𝐴))
1211biimpcd 248 . . . . . . . . . . 11 (𝑧𝐴 → (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → 𝑤𝐴))
1312ralimdv 3103 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑤𝑦 𝑤𝐴))
1413com12 32 . . . . . . . . 9 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴 → ∀𝑤𝑦 𝑤𝐴))
15 dfss3 3905 . . . . . . . . 9 (𝑦𝐴 ↔ ∀𝑤𝑦 𝑤𝐴)
1614, 15syl6ibr 251 . . . . . . . 8 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑦𝐴))
1716ralimi 3086 . . . . . . 7 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
189, 17sylbi 216 . . . . . 6 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
19 eleq1w 2821 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
2019imbi1d 341 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑧𝐴𝑦𝐴) ↔ (𝑥𝐴𝑦𝐴)))
2120rspcv 3547 . . . . . . . . 9 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (𝑥𝐴𝑦𝐴)))
22 dfss3 3905 . . . . . . . . . . 11 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
2322imbi2i 335 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
24 r19.21v 3100 . . . . . . . . . 10 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
2523, 24bitr4i 277 . . . . . . . . 9 ((𝑥𝐴𝑦𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))
2621, 25syl6ib 250 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
27 ssel 3910 . . . . . . . . . . 11 (𝑦𝐴 → (𝑥𝑦𝑥𝐴))
2827com12 32 . . . . . . . . . 10 (𝑥𝑦 → (𝑦𝐴𝑥𝐴))
2928imim2d 57 . . . . . . . . 9 (𝑥𝑦 → ((𝑧𝐴𝑦𝐴) → (𝑧𝐴𝑥𝐴)))
3029ralimdv 3103 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3126, 30jcad 512 . . . . . . 7 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴))))
32 ralbiim 3098 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3331, 32syl6ibr 251 . . . . . 6 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3418, 33impbid2 225 . . . . 5 (𝑥𝑦 → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3534pm5.32i 574 . . . 4 ((𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3635rexbii 3177 . . 3 (∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3736ralbii 3090 . 2 (∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
382, 37bitrdi 286 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  cin 3882  wss 3883   cuni 4836  cfv 6418  Topctop 21950  Clsdccld 22075
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-rab 3072  df-v 3424  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-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-iota 6376  df-fun 6420  df-fv 6426  df-topgen 17071  df-top 21951  df-cld 22078
This theorem is referenced by:  connpconn  33097
  Copyright terms: Public domain W3C validator