How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets
Definition
Let be a topological space, let be a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets) and let . Interior and closure are as in Interior, closure, boundary, exterior, derived set and isolated point in a topological space.
- is dense in if .
- is codense in if is dense.
- is nowhere dense in if .
Three equivalent forms of density, and the one used in practice. The following are equivalent:
- ;
- for every nonempty open ;
- for every nonempty .
Proof. (1) (2): if is open and nonempty, pick ; then , so by clause (c) of A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set. (2) (3): a nonempty member of is a nonempty open set. (3) (1): let ; every with is nonempty and so meets , hence by clause (d) of A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set. Form 3 is what makes density checkable: for the Sorgenfrey line it is a statement about half-open intervals, and for a metric space a statement about balls.
Codensity is emptiness of the interior. is codense if and only if , because (Interior, closure, boundary, exterior, derived set and isolated point in a topological space), so holds exactly when .
Nowhere dense implies codense, and the converse fails. If then by monotonicity of the interior, so is codense. The two notions can differ only on sets whose closure is larger than themselves, and there they sometimes do: a dense set with empty interior, such as the rationals inside the real line, is codense and is not nowhere dense, its closure being everything. They may also agree on such a set: inside has closure and is neither codense nor nowhere dense. A closed set is nowhere dense precisely when it is codense, since then .
Remarks
-
Density is a property of the pair, not of the set. A subset dense in need not be dense in a space with a finer topology. In a nonempty indiscrete space every nonempty subset is dense, while is not; in the empty space is dense as well. Where a density claim is made below the topology is always named.
-
The empty set. is nowhere dense and codense in every space, and it is dense only in . itself is dense in and is nowhere dense only when .
-
What is deliberately not defined here. Separability, meaning the existence of an at most countable dense subset, is a countability axiom not developed at this point in the reading order; it is defined later in Separability: the existence of an at most countable dense subset ↗. Where a space on the companion page has an at most countable dense subset, that is what is said in full.
Depends on
Interior, closure, boundary, exterior, derived set and isolated point in a topological space
A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set
Basis and subbasis for a topology, and the topology generated by a family of sets