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

Theorem clsval2 22109
Description: Express closure in terms of interior. (Contributed by NM, 10-Sep-2006.) (Revised by Mario Carneiro, 11-Nov-2013.)
Hypothesis
Ref Expression
clscld.1 𝑋 = 𝐽
Assertion
Ref Expression
clsval2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = (𝑋 ∖ ((int‘𝐽)‘(𝑋𝑆))))

Proof of Theorem clsval2
Dummy variables 𝑥 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rab 3072 . . . . . 6 {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)}
2 clscld.1 . . . . . . . . . . . . 13 𝑋 = 𝐽
32cldopn 22090 . . . . . . . . . . . 12 (𝑧 ∈ (Clsd‘𝐽) → (𝑋𝑧) ∈ 𝐽)
43ad2antrl 724 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ 𝐽)
5 sscon 4069 . . . . . . . . . . . . 13 (𝑆𝑧 → (𝑋𝑧) ⊆ (𝑋𝑆))
65ad2antll 725 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ⊆ (𝑋𝑆))
72topopn 21963 . . . . . . . . . . . . . 14 (𝐽 ∈ Top → 𝑋𝐽)
8 difexg 5246 . . . . . . . . . . . . . 14 (𝑋𝐽 → (𝑋𝑧) ∈ V)
9 elpwg 4533 . . . . . . . . . . . . . 14 ((𝑋𝑧) ∈ V → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
107, 8, 93syl 18 . . . . . . . . . . . . 13 (𝐽 ∈ Top → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
1110ad2antrr 722 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
126, 11mpbird 256 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ 𝒫 (𝑋𝑆))
134, 12elind 4124 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)))
142cldss 22088 . . . . . . . . . . . . 13 (𝑧 ∈ (Clsd‘𝐽) → 𝑧𝑋)
1514ad2antrl 724 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → 𝑧𝑋)
16 dfss4 4189 . . . . . . . . . . . 12 (𝑧𝑋 ↔ (𝑋 ∖ (𝑋𝑧)) = 𝑧)
1715, 16sylib 217 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋 ∖ (𝑋𝑧)) = 𝑧)
1817eqcomd 2744 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → 𝑧 = (𝑋 ∖ (𝑋𝑧)))
19 difeq2 4047 . . . . . . . . . . 11 (𝑥 = (𝑋𝑧) → (𝑋𝑥) = (𝑋 ∖ (𝑋𝑧)))
2019rspceeqv 3567 . . . . . . . . . 10 (((𝑋𝑧) ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) ∧ 𝑧 = (𝑋 ∖ (𝑋𝑧))) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥))
2113, 18, 20syl2anc 583 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥))
2221ex 412 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)))
23 simpl 482 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝐽 ∈ Top)
24 elinel1 4125 . . . . . . . . . . . 12 (𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → 𝑥𝐽)
252opncld 22092 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑥𝐽) → (𝑋𝑥) ∈ (Clsd‘𝐽))
2623, 24, 25syl2an 595 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑋𝑥) ∈ (Clsd‘𝐽))
27 elinel2 4126 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → 𝑥 ∈ 𝒫 (𝑋𝑆))
2827adantl 481 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥 ∈ 𝒫 (𝑋𝑆))
2928elpwid 4541 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥 ⊆ (𝑋𝑆))
3029difss2d 4065 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥𝑋)
31 simplr 765 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑆𝑋)
32 ssconb 4068 . . . . . . . . . . . . 13 ((𝑥𝑋𝑆𝑋) → (𝑥 ⊆ (𝑋𝑆) ↔ 𝑆 ⊆ (𝑋𝑥)))
3330, 31, 32syl2anc 583 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑥 ⊆ (𝑋𝑆) ↔ 𝑆 ⊆ (𝑋𝑥)))
3429, 33mpbid 231 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑆 ⊆ (𝑋𝑥))
3526, 34jca 511 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → ((𝑋𝑥) ∈ (Clsd‘𝐽) ∧ 𝑆 ⊆ (𝑋𝑥)))
36 eleq1 2826 . . . . . . . . . . 11 (𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ↔ (𝑋𝑥) ∈ (Clsd‘𝐽)))
37 sseq2 3943 . . . . . . . . . . 11 (𝑧 = (𝑋𝑥) → (𝑆𝑧𝑆 ⊆ (𝑋𝑥)))
3836, 37anbi12d 630 . . . . . . . . . 10 (𝑧 = (𝑋𝑥) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) ↔ ((𝑋𝑥) ∈ (Clsd‘𝐽) ∧ 𝑆 ⊆ (𝑋𝑥))))
3935, 38syl5ibrcom 246 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)))
4039rexlimdva 3212 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)))
4122, 40impbid 211 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) ↔ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)))
4241abbidv 2808 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∣ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
431, 42eqtrid 2790 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
4443inteqd 4881 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
45 difexg 5246 . . . . . . 7 (𝑋𝐽 → (𝑋𝑥) ∈ V)
4645ralrimivw 3108 . . . . . 6 (𝑋𝐽 → ∀𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) ∈ V)
47 dfiin2g 4958 . . . . . 6 (∀𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) ∈ V → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
487, 46, 473syl 18 . . . . 5 (𝐽 ∈ Top → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
4948adantr 480 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
5044, 49eqtr4d 2781 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥))
512clsval 22096 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧})
52 uniiun 4984 . . . . . 6 (𝐽 ∩ 𝒫 (𝑋𝑆)) = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥
5352difeq2i 4050 . . . . 5 (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥)
5453a1i 11 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
55 0opn 21961 . . . . . . 7 (𝐽 ∈ Top → ∅ ∈ 𝐽)
5655adantr 480 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ 𝐽)
57 0elpw 5273 . . . . . . 7 ∅ ∈ 𝒫 (𝑋𝑆)
5857a1i 11 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ 𝒫 (𝑋𝑆))
5956, 58elind 4124 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)))
60 ne0i 4265 . . . . 5 (∅ ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → (𝐽 ∩ 𝒫 (𝑋𝑆)) ≠ ∅)
61 iindif2 5002 . . . . 5 ((𝐽 ∩ 𝒫 (𝑋𝑆)) ≠ ∅ → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
6259, 60, 613syl 18 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
6354, 62eqtr4d 2781 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥))
6450, 51, 633eqtr4d 2788 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))))
65 difssd 4063 . . . 4 (𝑆𝑋 → (𝑋𝑆) ⊆ 𝑋)
662ntrval 22095 . . . 4 ((𝐽 ∈ Top ∧ (𝑋𝑆) ⊆ 𝑋) → ((int‘𝐽)‘(𝑋𝑆)) = (𝐽 ∩ 𝒫 (𝑋𝑆)))
6765, 66sylan2 592 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((int‘𝐽)‘(𝑋𝑆)) = (𝐽 ∩ 𝒫 (𝑋𝑆)))
6867difeq2d 4053 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 ∖ ((int‘𝐽)‘(𝑋𝑆))) = (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))))
6964, 68eqtr4d 2781 1 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = (𝑋 ∖ ((int‘𝐽)‘(𝑋𝑆))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  wne 2942  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  cdif 3880  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530   cuni 4836   cint 4876   ciun 4921   ciin 4922  cfv 6418  Topctop 21950  Clsdccld 22075  intcnt 22076  clsccl 22077
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-rep 5205  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-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  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-int 4877  df-iun 4923  df-iin 4924  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-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-top 21951  df-cld 22078  df-ntr 22079  df-cls 22080
This theorem is referenced by:  ntrval2  22110  clsdif  22112  cmclsopn  22121  bcth3  24400
  Copyright terms: Public domain W3C validator