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

Theorem restcld 22323
Description: A closed set of a subspace topology is a closed set of the original topology intersected with the subset. (Contributed by FL, 11-Jul-2009.) (Proof shortened by Mario Carneiro, 15-Dec-2013.)
Hypothesis
Ref Expression
restcld.1 𝑋 = 𝐽
Assertion
Ref Expression
restcld ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝐴 ∈ (Clsd‘(𝐽t 𝑆)) ↔ ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐽   𝑥,𝑆   𝑥,𝑋

Proof of Theorem restcld
Dummy variable 𝑜 is distinct from all other variables.
StepHypRef Expression
1 id 22 . . . . 5 (𝑆𝑋𝑆𝑋)
2 restcld.1 . . . . . 6 𝑋 = 𝐽
32topopn 22055 . . . . 5 (𝐽 ∈ Top → 𝑋𝐽)
4 ssexg 5247 . . . . 5 ((𝑆𝑋𝑋𝐽) → 𝑆 ∈ V)
51, 3, 4syl2anr 597 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑆 ∈ V)
6 resttop 22311 . . . 4 ((𝐽 ∈ Top ∧ 𝑆 ∈ V) → (𝐽t 𝑆) ∈ Top)
75, 6syldan 591 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝐽t 𝑆) ∈ Top)
8 eqid 2738 . . . 4 (𝐽t 𝑆) = (𝐽t 𝑆)
98iscld 22178 . . 3 ((𝐽t 𝑆) ∈ Top → (𝐴 ∈ (Clsd‘(𝐽t 𝑆)) ↔ (𝐴 (𝐽t 𝑆) ∧ ( (𝐽t 𝑆) ∖ 𝐴) ∈ (𝐽t 𝑆))))
107, 9syl 17 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝐴 ∈ (Clsd‘(𝐽t 𝑆)) ↔ (𝐴 (𝐽t 𝑆) ∧ ( (𝐽t 𝑆) ∖ 𝐴) ∈ (𝐽t 𝑆))))
112restuni 22313 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑆 = (𝐽t 𝑆))
1211sseq2d 3953 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝐴𝑆𝐴 (𝐽t 𝑆)))
1311difeq1d 4056 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑆𝐴) = ( (𝐽t 𝑆) ∖ 𝐴))
1413eleq1d 2823 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑆𝐴) ∈ (𝐽t 𝑆) ↔ ( (𝐽t 𝑆) ∖ 𝐴) ∈ (𝐽t 𝑆)))
1512, 14anbi12d 631 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆)) ↔ (𝐴 (𝐽t 𝑆) ∧ ( (𝐽t 𝑆) ∖ 𝐴) ∈ (𝐽t 𝑆))))
16 elrest 17138 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆 ∈ V) → ((𝑆𝐴) ∈ (𝐽t 𝑆) ↔ ∃𝑜𝐽 (𝑆𝐴) = (𝑜𝑆)))
175, 16syldan 591 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑆𝐴) ∈ (𝐽t 𝑆) ↔ ∃𝑜𝐽 (𝑆𝐴) = (𝑜𝑆)))
1817anbi2d 629 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆)) ↔ (𝐴𝑆 ∧ ∃𝑜𝐽 (𝑆𝐴) = (𝑜𝑆))))
192opncld 22184 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑜𝐽) → (𝑋𝑜) ∈ (Clsd‘𝐽))
2019ad5ant14 755 . . . . . . 7 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → (𝑋𝑜) ∈ (Clsd‘𝐽))
21 incom 4135 . . . . . . . . . . . 12 (𝑋𝑆) = (𝑆𝑋)
22 df-ss 3904 . . . . . . . . . . . . 13 (𝑆𝑋 ↔ (𝑆𝑋) = 𝑆)
2322biimpi 215 . . . . . . . . . . . 12 (𝑆𝑋 → (𝑆𝑋) = 𝑆)
2421, 23eqtrid 2790 . . . . . . . . . . 11 (𝑆𝑋 → (𝑋𝑆) = 𝑆)
2524ad4antlr 730 . . . . . . . . . 10 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → (𝑋𝑆) = 𝑆)
2625difeq1d 4056 . . . . . . . . 9 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → ((𝑋𝑆) ∖ 𝑜) = (𝑆𝑜))
27 difeq2 4051 . . . . . . . . . . 11 ((𝑆𝐴) = (𝑜𝑆) → (𝑆 ∖ (𝑆𝐴)) = (𝑆 ∖ (𝑜𝑆)))
28 difindi 4215 . . . . . . . . . . . 12 (𝑆 ∖ (𝑜𝑆)) = ((𝑆𝑜) ∪ (𝑆𝑆))
29 difid 4304 . . . . . . . . . . . . 13 (𝑆𝑆) = ∅
3029uneq2i 4094 . . . . . . . . . . . 12 ((𝑆𝑜) ∪ (𝑆𝑆)) = ((𝑆𝑜) ∪ ∅)
31 un0 4324 . . . . . . . . . . . 12 ((𝑆𝑜) ∪ ∅) = (𝑆𝑜)
3228, 30, 313eqtri 2770 . . . . . . . . . . 11 (𝑆 ∖ (𝑜𝑆)) = (𝑆𝑜)
3327, 32eqtrdi 2794 . . . . . . . . . 10 ((𝑆𝐴) = (𝑜𝑆) → (𝑆 ∖ (𝑆𝐴)) = (𝑆𝑜))
3433adantl 482 . . . . . . . . 9 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → (𝑆 ∖ (𝑆𝐴)) = (𝑆𝑜))
35 dfss4 4192 . . . . . . . . . . 11 (𝐴𝑆 ↔ (𝑆 ∖ (𝑆𝐴)) = 𝐴)
3635biimpi 215 . . . . . . . . . 10 (𝐴𝑆 → (𝑆 ∖ (𝑆𝐴)) = 𝐴)
3736ad3antlr 728 . . . . . . . . 9 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → (𝑆 ∖ (𝑆𝐴)) = 𝐴)
3826, 34, 373eqtr2rd 2785 . . . . . . . 8 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → 𝐴 = ((𝑋𝑆) ∖ 𝑜))
3921difeq1i 4053 . . . . . . . . 9 ((𝑋𝑆) ∖ 𝑜) = ((𝑆𝑋) ∖ 𝑜)
40 indif2 4204 . . . . . . . . 9 (𝑆 ∩ (𝑋𝑜)) = ((𝑆𝑋) ∖ 𝑜)
41 incom 4135 . . . . . . . . 9 (𝑆 ∩ (𝑋𝑜)) = ((𝑋𝑜) ∩ 𝑆)
4239, 40, 413eqtr2i 2772 . . . . . . . 8 ((𝑋𝑆) ∖ 𝑜) = ((𝑋𝑜) ∩ 𝑆)
4338, 42eqtrdi 2794 . . . . . . 7 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → 𝐴 = ((𝑋𝑜) ∩ 𝑆))
44 ineq1 4139 . . . . . . . 8 (𝑥 = (𝑋𝑜) → (𝑥𝑆) = ((𝑋𝑜) ∩ 𝑆))
4544rspceeqv 3575 . . . . . . 7 (((𝑋𝑜) ∈ (Clsd‘𝐽) ∧ 𝐴 = ((𝑋𝑜) ∩ 𝑆)) → ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆))
4620, 43, 45syl2anc 584 . . . . . 6 (((((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) ∧ 𝑜𝐽) ∧ (𝑆𝐴) = (𝑜𝑆)) → ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆))
4746rexlimdva2 3216 . . . . 5 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝐴𝑆) → (∃𝑜𝐽 (𝑆𝐴) = (𝑜𝑆) → ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
4847expimpd 454 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝐴𝑆 ∧ ∃𝑜𝐽 (𝑆𝐴) = (𝑜𝑆)) → ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
4918, 48sylbid 239 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆)) → ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
50 difindi 4215 . . . . . . . . . 10 (𝑆 ∖ (𝑥𝑆)) = ((𝑆𝑥) ∪ (𝑆𝑆))
5129uneq2i 4094 . . . . . . . . . 10 ((𝑆𝑥) ∪ (𝑆𝑆)) = ((𝑆𝑥) ∪ ∅)
52 un0 4324 . . . . . . . . . 10 ((𝑆𝑥) ∪ ∅) = (𝑆𝑥)
5350, 51, 523eqtri 2770 . . . . . . . . 9 (𝑆 ∖ (𝑥𝑆)) = (𝑆𝑥)
54 difin2 4225 . . . . . . . . . 10 (𝑆𝑋 → (𝑆𝑥) = ((𝑋𝑥) ∩ 𝑆))
5554adantl 482 . . . . . . . . 9 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑆𝑥) = ((𝑋𝑥) ∩ 𝑆))
5653, 55eqtrid 2790 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑆 ∖ (𝑥𝑆)) = ((𝑋𝑥) ∩ 𝑆))
5756adantr 481 . . . . . . 7 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → (𝑆 ∖ (𝑥𝑆)) = ((𝑋𝑥) ∩ 𝑆))
58 simpll 764 . . . . . . . 8 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → 𝐽 ∈ Top)
595adantr 481 . . . . . . . 8 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → 𝑆 ∈ V)
602cldopn 22182 . . . . . . . . 9 (𝑥 ∈ (Clsd‘𝐽) → (𝑋𝑥) ∈ 𝐽)
6160adantl 482 . . . . . . . 8 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → (𝑋𝑥) ∈ 𝐽)
62 elrestr 17139 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆 ∈ V ∧ (𝑋𝑥) ∈ 𝐽) → ((𝑋𝑥) ∩ 𝑆) ∈ (𝐽t 𝑆))
6358, 59, 61, 62syl3anc 1370 . . . . . . 7 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → ((𝑋𝑥) ∩ 𝑆) ∈ (𝐽t 𝑆))
6457, 63eqeltrd 2839 . . . . . 6 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → (𝑆 ∖ (𝑥𝑆)) ∈ (𝐽t 𝑆))
65 inss2 4163 . . . . . 6 (𝑥𝑆) ⊆ 𝑆
6664, 65jctil 520 . . . . 5 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → ((𝑥𝑆) ⊆ 𝑆 ∧ (𝑆 ∖ (𝑥𝑆)) ∈ (𝐽t 𝑆)))
67 sseq1 3946 . . . . . 6 (𝐴 = (𝑥𝑆) → (𝐴𝑆 ↔ (𝑥𝑆) ⊆ 𝑆))
68 difeq2 4051 . . . . . . 7 (𝐴 = (𝑥𝑆) → (𝑆𝐴) = (𝑆 ∖ (𝑥𝑆)))
6968eleq1d 2823 . . . . . 6 (𝐴 = (𝑥𝑆) → ((𝑆𝐴) ∈ (𝐽t 𝑆) ↔ (𝑆 ∖ (𝑥𝑆)) ∈ (𝐽t 𝑆)))
7067, 69anbi12d 631 . . . . 5 (𝐴 = (𝑥𝑆) → ((𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆)) ↔ ((𝑥𝑆) ⊆ 𝑆 ∧ (𝑆 ∖ (𝑥𝑆)) ∈ (𝐽t 𝑆))))
7166, 70syl5ibrcom 246 . . . 4 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (Clsd‘𝐽)) → (𝐴 = (𝑥𝑆) → (𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆))))
7271rexlimdva 3213 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆) → (𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆))))
7349, 72impbid 211 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝐴𝑆 ∧ (𝑆𝐴) ∈ (𝐽t 𝑆)) ↔ ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
7410, 15, 733bitr2d 307 1 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝐴 ∈ (Clsd‘(𝐽t 𝑆)) ↔ ∃𝑥 ∈ (Clsd‘𝐽)𝐴 = (𝑥𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wrex 3065  Vcvv 3432  cdif 3884  cun 3885  cin 3886  wss 3887  c0 4256   cuni 4839  cfv 6433  (class class class)co 7275  t crest 17131  Topctop 22042  Clsdccld 22167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-en 8734  df-fin 8737  df-fi 9170  df-rest 17133  df-topgen 17154  df-top 22043  df-topon 22060  df-bases 22096  df-cld 22170
This theorem is referenced by:  restcldi  22324  restcldr  22325  restcls  22332  connsubclo  22575  cldllycmp  22646  iscnrm3rlem2  46235
  Copyright terms: Public domain W3C validator