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

Theorem isclo2 21696
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 21695 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3 eleq1w 2895 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝑧𝐴𝑤𝐴))
43bibi2d 345 . . . . . . . . . 10 (𝑧 = 𝑤 → ((𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴𝑤𝐴)))
54cbvralvw 3449 . . . . . . . . 9 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴))
65anbi2i 624 . . . . . . . 8 ((∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
7 pm4.24 566 . . . . . . . 8 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
8 raaanv 4461 . . . . . . . 8 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
96, 7, 83bitr4i 305 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)))
10 bibi1 354 . . . . . . . . . . . . 13 ((𝑥𝐴𝑧𝐴) → ((𝑥𝐴𝑤𝐴) ↔ (𝑧𝐴𝑤𝐴)))
1110biimpa 479 . . . . . . . . . . . 12 (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑤𝐴))
1211biimpcd 251 . . . . . . . . . . 11 (𝑧𝐴 → (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → 𝑤𝐴))
1312ralimdv 3178 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑤𝑦 𝑤𝐴))
1413com12 32 . . . . . . . . 9 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴 → ∀𝑤𝑦 𝑤𝐴))
15 dfss3 3956 . . . . . . . . 9 (𝑦𝐴 ↔ ∀𝑤𝑦 𝑤𝐴)
1614, 15syl6ibr 254 . . . . . . . 8 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑦𝐴))
1716ralimi 3160 . . . . . . 7 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
189, 17sylbi 219 . . . . . 6 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
19 eleq1w 2895 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
2019imbi1d 344 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑧𝐴𝑦𝐴) ↔ (𝑥𝐴𝑦𝐴)))
2120rspcv 3618 . . . . . . . . 9 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (𝑥𝐴𝑦𝐴)))
22 dfss3 3956 . . . . . . . . . . 11 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
2322imbi2i 338 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
24 r19.21v 3175 . . . . . . . . . 10 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
2523, 24bitr4i 280 . . . . . . . . 9 ((𝑥𝐴𝑦𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))
2621, 25syl6ib 253 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
27 ssel 3961 . . . . . . . . . . 11 (𝑦𝐴 → (𝑥𝑦𝑥𝐴))
2827com12 32 . . . . . . . . . 10 (𝑥𝑦 → (𝑦𝐴𝑥𝐴))
2928imim2d 57 . . . . . . . . 9 (𝑥𝑦 → ((𝑧𝐴𝑦𝐴) → (𝑧𝐴𝑥𝐴)))
3029ralimdv 3178 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3126, 30jcad 515 . . . . . . 7 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴))))
32 ralbiim 3174 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3331, 32syl6ibr 254 . . . . . 6 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3418, 33impbid2 228 . . . . 5 (𝑥𝑦 → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3534pm5.32i 577 . . . 4 ((𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3635rexbii 3247 . . 3 (∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3736ralbii 3165 . 2 (∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
382, 37syl6bb 289 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3138  wrex 3139  cin 3935  wss 3936   cuni 4838  cfv 6355  Topctop 21501  Clsdccld 21624
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-iota 6314  df-fun 6357  df-fv 6363  df-topgen 16717  df-top 21502  df-cld 21627
This theorem is referenced by:  connpconn  32482
  Copyright terms: Public domain W3C validator