# Nowhere Dense iff Complement of Closure is Everywhere Dense

## Theorem

Let $T = \left({S, \tau}\right)$ be a topological space.

Let $H \subseteq S$.

Then $H$ is nowhere dense in $T$ if and only if $S \setminus H^-$ is everywhere dense in $T$, where $H^-$ denotes the closure of $H$.

### Corollary

Let $H$ be a closed set of $T$.

Then $H$ is nowhere dense in $T$ if and only if $S \setminus H$ is everywhere dense in $T$.

## Proof

Let:

$H^\circ$ denote the interior of any $H \subseteq S$
$H^-$ denote the closure of any $H \subseteq S$.

From the definition, $H$ is nowhere dense in $T$ if and only if $\left({H^-}\right)^\circ = \varnothing$.

From the definition of interior, it follows that $\left({H^-}\right)^\circ = \varnothing$ if and only if every open set of $T$ contains a point of $S \setminus \left({H^-}\right)$.

Thus $S \setminus \left({H^-}\right)$ is everywhere dense by definition.

$\blacksquare$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9980603456497192, "perplexity": 52.840759975902}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-47/segments/1573496668644.10/warc/CC-MAIN-20191115120854-20191115144854-00085.warc.gz"}