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

Theorem isclo 22146
Description: A set 𝐴 is clopen iff for every point 𝑥 in the space there is a neighborhood 𝑦 such that all the points in 𝑦 are in 𝐴 iff 𝑥 is. (Contributed by Mario Carneiro, 10-Mar-2015.)
Hypothesis
Ref Expression
isclo.1 𝑋 = 𝐽
Assertion
Ref Expression
isclo ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐽,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧

Proof of Theorem isclo
StepHypRef Expression
1 elin 3899 . 2 (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ (𝐴𝐽𝐴 ∈ (Clsd‘𝐽)))
2 isclo.1 . . . . 5 𝑋 = 𝐽
32iscld2 22087 . . . 4 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (Clsd‘𝐽) ↔ (𝑋𝐴) ∈ 𝐽))
43anbi2d 628 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽𝐴 ∈ (Clsd‘𝐽)) ↔ (𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽)))
5 eltop2 22033 . . . . . 6 (𝐽 ∈ Top → (𝐴𝐽 ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦𝑦𝐴)))
6 dfss3 3905 . . . . . . . . . 10 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
7 pm5.501 366 . . . . . . . . . . 11 (𝑥𝐴 → (𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
87ralbidv 3120 . . . . . . . . . 10 (𝑥𝐴 → (∀𝑧𝑦 𝑧𝐴 ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
96, 8syl5bb 282 . . . . . . . . 9 (𝑥𝐴 → (𝑦𝐴 ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
109anbi2d 628 . . . . . . . 8 (𝑥𝐴 → ((𝑥𝑦𝑦𝐴) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
1110rexbidv 3225 . . . . . . 7 (𝑥𝐴 → (∃𝑦𝐽 (𝑥𝑦𝑦𝐴) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
1211ralbiia 3089 . . . . . 6 (∀𝑥𝐴𝑦𝐽 (𝑥𝑦𝑦𝐴) ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
135, 12bitrdi 286 . . . . 5 (𝐽 ∈ Top → (𝐴𝐽 ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
14 eltop2 22033 . . . . . 6 (𝐽 ∈ Top → ((𝑋𝐴) ∈ 𝐽 ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴))))
15 dfss3 3905 . . . . . . . . . 10 (𝑦 ⊆ (𝑋𝐴) ↔ ∀𝑧𝑦 𝑧 ∈ (𝑋𝐴))
16 id 22 . . . . . . . . . . . . . . 15 (𝑧𝑦𝑧𝑦)
17 simpr 484 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → 𝑦𝐽)
18 elunii 4841 . . . . . . . . . . . . . . 15 ((𝑧𝑦𝑦𝐽) → 𝑧 𝐽)
1916, 17, 18syl2anr 596 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → 𝑧 𝐽)
2019, 2eleqtrrdi 2850 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → 𝑧𝑋)
21 eldif 3893 . . . . . . . . . . . . . 14 (𝑧 ∈ (𝑋𝐴) ↔ (𝑧𝑋 ∧ ¬ 𝑧𝐴))
2221baib 535 . . . . . . . . . . . . 13 (𝑧𝑋 → (𝑧 ∈ (𝑋𝐴) ↔ ¬ 𝑧𝐴))
2320, 22syl 17 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (𝑧 ∈ (𝑋𝐴) ↔ ¬ 𝑧𝐴))
24 eldifn 4058 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝑋𝐴) → ¬ 𝑥𝐴)
25 nbn2 370 . . . . . . . . . . . . . 14 𝑥𝐴 → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2624, 25syl 17 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑋𝐴) → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2726ad2antrr 722 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2823, 27bitrd 278 . . . . . . . . . . 11 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (𝑧 ∈ (𝑋𝐴) ↔ (𝑥𝐴𝑧𝐴)))
2928ralbidva 3119 . . . . . . . . . 10 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → (∀𝑧𝑦 𝑧 ∈ (𝑋𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3015, 29syl5bb 282 . . . . . . . . 9 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → (𝑦 ⊆ (𝑋𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3130anbi2d 628 . . . . . . . 8 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → ((𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3231rexbidva 3224 . . . . . . 7 (𝑥 ∈ (𝑋𝐴) → (∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3332ralbiia 3089 . . . . . 6 (∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3414, 33bitrdi 286 . . . . 5 (𝐽 ∈ Top → ((𝑋𝐴) ∈ 𝐽 ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3513, 34anbi12d 630 . . . 4 (𝐽 ∈ Top → ((𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))))
3635adantr 480 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))))
37 ralunb 4121 . . . 4 (∀𝑥 ∈ (𝐴 ∪ (𝑋𝐴))∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
38 simpr 484 . . . . . 6 ((𝐽 ∈ Top ∧ 𝐴𝑋) → 𝐴𝑋)
39 undif 4412 . . . . . 6 (𝐴𝑋 ↔ (𝐴 ∪ (𝑋𝐴)) = 𝑋)
4038, 39sylib 217 . . . . 5 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∪ (𝑋𝐴)) = 𝑋)
4140raleqdv 3339 . . . 4 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (∀𝑥 ∈ (𝐴 ∪ (𝑋𝐴))∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
4237, 41bitr3id 284 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
434, 36, 423bitrd 304 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽𝐴 ∈ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
441, 43syl5bb 282 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  cdif 3880  cun 3881  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:  isclo2  22147  cvmliftmolem2  33144  cvmlift2lem12  33176
  Copyright terms: Public domain W3C validator