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

Theorem isclo2 20702
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 20701 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3 eleq1 2676 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝑧𝐴𝑤𝐴))
43bibi2d 331 . . . . . . . . . 10 (𝑧 = 𝑤 → ((𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴𝑤𝐴)))
54cbvralv 3147 . . . . . . . . 9 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴))
65anbi2i 726 . . . . . . . 8 ((∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
7 pm4.24 673 . . . . . . . 8 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
8 raaanv 4033 . . . . . . . 8 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑤𝑦 (𝑥𝐴𝑤𝐴)))
96, 7, 83bitr4i 291 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)))
10 bibi1 340 . . . . . . . . . . . . 13 ((𝑥𝐴𝑧𝐴) → ((𝑥𝐴𝑤𝐴) ↔ (𝑧𝐴𝑤𝐴)))
1110biimpa 500 . . . . . . . . . . . 12 (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑤𝐴))
1211biimpcd 238 . . . . . . . . . . 11 (𝑧𝐴 → (((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → 𝑤𝐴))
1312ralimdv 2946 . . . . . . . . . 10 (𝑧𝐴 → (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑤𝑦 𝑤𝐴))
1413com12 32 . . . . . . . . 9 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴 → ∀𝑤𝑦 𝑤𝐴))
15 dfss3 3558 . . . . . . . . 9 (𝑦𝐴 ↔ ∀𝑤𝑦 𝑤𝐴)
1614, 15syl6ibr 241 . . . . . . . 8 (∀𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → (𝑧𝐴𝑦𝐴))
1716ralimi 2936 . . . . . . 7 (∀𝑧𝑦𝑤𝑦 ((𝑥𝐴𝑧𝐴) ∧ (𝑥𝐴𝑤𝐴)) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
189, 17sylbi 206 . . . . . 6 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))
19 eleq1 2676 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
2019imbi1d 330 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑧𝐴𝑦𝐴) ↔ (𝑥𝐴𝑦𝐴)))
2120rspcv 3278 . . . . . . . . 9 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (𝑥𝐴𝑦𝐴)))
22 dfss3 3558 . . . . . . . . . . 11 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
2322imbi2i 325 . . . . . . . . . 10 ((𝑥𝐴𝑦𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
24 r19.21v 2943 . . . . . . . . . 10 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (𝑥𝐴 → ∀𝑧𝑦 𝑧𝐴))
2523, 24bitr4i 266 . . . . . . . . 9 ((𝑥𝐴𝑦𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))
2621, 25syl6ib 240 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
27 ssel 3562 . . . . . . . . . . 11 (𝑦𝐴 → (𝑥𝑦𝑥𝐴))
2827com12 32 . . . . . . . . . 10 (𝑥𝑦 → (𝑦𝐴𝑥𝐴))
2928imim2d 55 . . . . . . . . 9 (𝑥𝑦 → ((𝑧𝐴𝑦𝐴) → (𝑧𝐴𝑥𝐴)))
3029ralimdv 2946 . . . . . . . 8 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3126, 30jcad 554 . . . . . . 7 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴))))
32 ralbiim 3051 . . . . . . 7 (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ∧ ∀𝑧𝑦 (𝑧𝐴𝑥𝐴)))
3331, 32syl6ibr 241 . . . . . 6 (𝑥𝑦 → (∀𝑧𝑦 (𝑧𝐴𝑦𝐴) → ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3418, 33impbid2 215 . . . . 5 (𝑥𝑦 → (∀𝑧𝑦 (𝑥𝐴𝑧𝐴) ↔ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3534pm5.32i 667 . . . 4 ((𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3635rexbii 3023 . . 3 (∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
3736ralbii 2963 . 2 (∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴)))
382, 37syl6bb 275 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑧𝐴𝑦𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  cin 3539  wss 3540   cuni 4372  cfv 5804  Topctop 20517  Clsdccld 20630
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-iota 5768  df-fun 5806  df-fv 5812  df-topgen 15927  df-top 20521  df-cld 20633
This theorem is referenced by:  conpcon  30471
  Copyright terms: Public domain W3C validator