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

Theorem clsval2 20759
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 2921 . . . . . 6 {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)}
2 clscld.1 . . . . . . . . . . . . 13 𝑋 = 𝐽
32cldopn 20740 . . . . . . . . . . . 12 (𝑧 ∈ (Clsd‘𝐽) → (𝑋𝑧) ∈ 𝐽)
43ad2antrl 763 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ 𝐽)
5 sscon 3727 . . . . . . . . . . . . 13 (𝑆𝑧 → (𝑋𝑧) ⊆ (𝑋𝑆))
65ad2antll 764 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ⊆ (𝑋𝑆))
72topopn 20631 . . . . . . . . . . . . . 14 (𝐽 ∈ Top → 𝑋𝐽)
8 difexg 4773 . . . . . . . . . . . . . 14 (𝑋𝐽 → (𝑋𝑧) ∈ V)
9 elpwg 4143 . . . . . . . . . . . . . 14 ((𝑋𝑧) ∈ V → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
107, 8, 93syl 18 . . . . . . . . . . . . 13 (𝐽 ∈ Top → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
1110ad2antrr 761 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → ((𝑋𝑧) ∈ 𝒫 (𝑋𝑆) ↔ (𝑋𝑧) ⊆ (𝑋𝑆)))
126, 11mpbird 247 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ 𝒫 (𝑋𝑆))
134, 12elind 3781 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋𝑧) ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)))
142cldss 20738 . . . . . . . . . . . . 13 (𝑧 ∈ (Clsd‘𝐽) → 𝑧𝑋)
1514ad2antrl 763 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → 𝑧𝑋)
16 dfss4 3841 . . . . . . . . . . . 12 (𝑧𝑋 ↔ (𝑋 ∖ (𝑋𝑧)) = 𝑧)
1715, 16sylib 208 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → (𝑋 ∖ (𝑋𝑧)) = 𝑧)
1817eqcomd 2632 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → 𝑧 = (𝑋 ∖ (𝑋𝑧)))
19 difeq2 3705 . . . . . . . . . . . 12 (𝑥 = (𝑋𝑧) → (𝑋𝑥) = (𝑋 ∖ (𝑋𝑧)))
2019eqeq2d 2636 . . . . . . . . . . 11 (𝑥 = (𝑋𝑧) → (𝑧 = (𝑋𝑥) ↔ 𝑧 = (𝑋 ∖ (𝑋𝑧))))
2120rspcev 3300 . . . . . . . . . 10 (((𝑋𝑧) ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) ∧ 𝑧 = (𝑋 ∖ (𝑋𝑧))) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥))
2213, 18, 21syl2anc 692 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥))
2322ex 450 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) → ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)))
24 simpl 473 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝐽 ∈ Top)
25 elin 3779 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) ↔ (𝑥𝐽𝑥 ∈ 𝒫 (𝑋𝑆)))
2625simplbi 476 . . . . . . . . . . . 12 (𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → 𝑥𝐽)
272opncld 20742 . . . . . . . . . . . 12 ((𝐽 ∈ Top ∧ 𝑥𝐽) → (𝑋𝑥) ∈ (Clsd‘𝐽))
2824, 26, 27syl2an 494 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑋𝑥) ∈ (Clsd‘𝐽))
2925simprbi 480 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → 𝑥 ∈ 𝒫 (𝑋𝑆))
3029adantl 482 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥 ∈ 𝒫 (𝑋𝑆))
3130elpwid 4146 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥 ⊆ (𝑋𝑆))
3231difss2d 3723 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑥𝑋)
33 simplr 791 . . . . . . . . . . . . 13 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑆𝑋)
34 ssconb 3726 . . . . . . . . . . . . 13 ((𝑥𝑋𝑆𝑋) → (𝑥 ⊆ (𝑋𝑆) ↔ 𝑆 ⊆ (𝑋𝑥)))
3532, 33, 34syl2anc 692 . . . . . . . . . . . 12 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑥 ⊆ (𝑋𝑆) ↔ 𝑆 ⊆ (𝑋𝑥)))
3631, 35mpbid 222 . . . . . . . . . . 11 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → 𝑆 ⊆ (𝑋𝑥))
3728, 36jca 554 . . . . . . . . . 10 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → ((𝑋𝑥) ∈ (Clsd‘𝐽) ∧ 𝑆 ⊆ (𝑋𝑥)))
38 eleq1 2692 . . . . . . . . . . 11 (𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ↔ (𝑋𝑥) ∈ (Clsd‘𝐽)))
39 sseq2 3611 . . . . . . . . . . 11 (𝑧 = (𝑋𝑥) → (𝑆𝑧𝑆 ⊆ (𝑋𝑥)))
4038, 39anbi12d 746 . . . . . . . . . 10 (𝑧 = (𝑋𝑥) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) ↔ ((𝑋𝑥) ∈ (Clsd‘𝐽) ∧ 𝑆 ⊆ (𝑋𝑥))))
4137, 40syl5ibrcom 237 . . . . . . . . 9 (((𝐽 ∈ Top ∧ 𝑆𝑋) ∧ 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))) → (𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)))
4241rexlimdva 3029 . . . . . . . 8 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥) → (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)))
4323, 42impbid 202 . . . . . . 7 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧) ↔ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)))
4443abbidv 2744 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∣ (𝑧 ∈ (Clsd‘𝐽) ∧ 𝑆𝑧)} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
451, 44syl5eq 2672 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
4645inteqd 4450 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
47 difexg 4773 . . . . . . 7 (𝑋𝐽 → (𝑋𝑥) ∈ V)
4847ralrimivw 2966 . . . . . 6 (𝑋𝐽 → ∀𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) ∈ V)
49 dfiin2g 4524 . . . . . 6 (∀𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) ∈ V → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
507, 48, 493syl 18 . . . . 5 (𝐽 ∈ Top → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
5150adantr 481 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = {𝑧 ∣ ∃𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑧 = (𝑋𝑥)})
5246, 51eqtr4d 2663 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧} = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥))
532clsval 20746 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = {𝑧 ∈ (Clsd‘𝐽) ∣ 𝑆𝑧})
54 uniiun 4544 . . . . . 6 (𝐽 ∩ 𝒫 (𝑋𝑆)) = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥
5554difeq2i 3708 . . . . 5 (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥)
5655a1i 11 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
57 0opn 20629 . . . . . . 7 (𝐽 ∈ Top → ∅ ∈ 𝐽)
5857adantr 481 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ 𝐽)
59 0elpw 4799 . . . . . . 7 ∅ ∈ 𝒫 (𝑋𝑆)
6059a1i 11 . . . . . 6 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ 𝒫 (𝑋𝑆))
6158, 60elind 3781 . . . . 5 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ∅ ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)))
62 ne0i 3902 . . . . 5 (∅ ∈ (𝐽 ∩ 𝒫 (𝑋𝑆)) → (𝐽 ∩ 𝒫 (𝑋𝑆)) ≠ ∅)
63 iindif2 4560 . . . . 5 ((𝐽 ∩ 𝒫 (𝑋𝑆)) ≠ ∅ → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
6461, 62, 633syl 18 . . . 4 ((𝐽 ∈ Top ∧ 𝑆𝑋) → 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥) = (𝑋 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))𝑥))
6556, 64eqtr4d 2663 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))) = 𝑥 ∈ (𝐽 ∩ 𝒫 (𝑋𝑆))(𝑋𝑥))
6652, 53, 653eqtr4d 2670 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))))
67 difssd 3721 . . . 4 (𝑆𝑋 → (𝑋𝑆) ⊆ 𝑋)
682ntrval 20745 . . . 4 ((𝐽 ∈ Top ∧ (𝑋𝑆) ⊆ 𝑋) → ((int‘𝐽)‘(𝑋𝑆)) = (𝐽 ∩ 𝒫 (𝑋𝑆)))
6967, 68sylan2 491 . . 3 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((int‘𝐽)‘(𝑋𝑆)) = (𝐽 ∩ 𝒫 (𝑋𝑆)))
7069difeq2d 3711 . 2 ((𝐽 ∈ Top ∧ 𝑆𝑋) → (𝑋 ∖ ((int‘𝐽)‘(𝑋𝑆))) = (𝑋 (𝐽 ∩ 𝒫 (𝑋𝑆))))
7166, 70eqtr4d 2663 1 ((𝐽 ∈ Top ∧ 𝑆𝑋) → ((cls‘𝐽)‘𝑆) = (𝑋 ∖ ((int‘𝐽)‘(𝑋𝑆))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1992  {cab 2612  wne 2796  wral 2912  wrex 2913  {crab 2916  Vcvv 3191  cdif 3557  cin 3559  wss 3560  c0 3896  𝒫 cpw 4135   cuni 4407   cint 4445   ciun 4490   ciin 4491  cfv 5850  Topctop 20612  Clsdccld 20725  intcnt 20726  clsccl 20727
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-iin 4493  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-top 20616  df-cld 20728  df-ntr 20729  df-cls 20730
This theorem is referenced by:  ntrval2  20760  clsdif  20762  cmclsopn  20771  bcth3  23031
  Copyright terms: Public domain W3C validator