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.
The distance from a point to a nonempty compact set is attained at a point of that set, and two disjoint compact sets are at positive distance
Example
Let be a metric space (Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric), with and the distances from a point to a nonempty set and between two nonempty sets (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space). Then:
- If is nonempty and compact (Open cover, subcover, compact metric space, and compact subset of a metric space) and , there is with : the infimum defining the distance is attained.
- If are nonempty, compact and disjoint, then , and again the value is attained at a point of .
Neither statement holds for arbitrary closed sets, and neither uses a choice principle.
Facts & Assumptions
Given: A metric space , nonempty compact subsets and of , and a point .
For nonempty , and ; an infimum is a lower bound of its set and is at least every lower bound (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Greatest lower bound (infimum), Epsilon characterisation of the infimum).
For nonempty the map satisfies , so it is Lipschitz with constant and therefore continuous (, so the distance to a fixed nonempty set is -Lipschitz, Lipschitz map, -Hölder map for rational , and contraction, Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent, Continuity of a map between metric spaces, at a point and globally, in the - form).
A continuous real-valued function on a nonempty compact metric space attains a least value (A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value); a subset is compact exactly when the corresponding metric subspace is, and the restriction of a continuous map to a subspace is continuous (Open cover, subcover, compact metric space, and compact subset of a metric space, A subset of a metric space is open in the subspace metric exactly when it is the trace of an open set of the ambient space, and it is compact as a metric space in its own right exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it, Isometry, isometric embedding, and the subspace metric on a subset).
A compact subset of a metric space is closed, and lies in the closure of a nonempty exactly when (A compact subset of a metric space is closed and bounded, The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space).
A minimum of a set of reals is a member of it and bounds it below (Maximum and minimum of a set).
Verification
The map , , is the restriction to of , which is Lipschitz with constant and hence continuous; with the restricted metric is a nonempty compact metric space.
So attains a least value at some : for every .
Hence is a lower bound of that belongs to the set, so it is the infimum: , which is claim 1.
For claim 2, the map , , is continuous by the same argument, so it attains a least value at some .
: otherwise would put in the closure of , which equals because is compact and hence closed, contradicting .
: every and satisfy , so is a lower bound of ; and for every , so is a lower bound of and therefore .
Combining, and the value is attained at : claim 2.
Remarks
Compactness is what makes the infimum a minimum. For a merely closed set the infimum need not be attained and disjoint closed sets can be at distance zero; what claim 1 uses is the extreme value theorem, and claim 2 additionally uses that a compact set is closed (A compact subset of a metric space is closed and bounded).
Only one of the two sets has to be compact for the attainment in claim 1, the point playing the role of a one-point compact set. In claim 2 compactness of gives the attainment and closedness of gives the positivity, which is why the proof calls on the two properties in different places.
Depends on
- A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value
- A compact subset of a metric space is closed and bounded
- $|d(x,A) - d(y,A)| \le d(x,y)$, so the distance to a fixed nonempty set is $1$-Lipschitz
- Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space
- Lipschitz map, $\alpha$-Hölder map for rational $0 < \alpha \le 1$, and contraction
- Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent
- Continuity of a map between metric spaces, at a point and globally, in the $\varepsilon$-$\delta$ form
- Open cover, subcover, compact metric space, and compact subset of a metric space
- A subset of a metric space is open in the subspace metric exactly when it is the trace of an open set of the ambient space, and it is compact as a metric space in its own right exactly when every family of open subsets of the ambient space covering it, indexed or not, has finitely many members covering it
- The closure of a nonempty $A$ is $\{x : d(x,A) = 0\}$, equals $A$ together with its limit points, and is the smallest closed superset
- Interior, closure, boundary, limit point, isolated point and dense subset of a metric space
- Greatest lower bound (infimum)
- Epsilon characterisation of the infimum
- Maximum and minimum of a set
- Isometry, isometric embedding, and the subspace metric on a subset
- Metric space: $d(x,y) = 0$ iff $x = y$, symmetry, and the triangle inequality; pseudometric and ultrametric
Used by
Nothing in the library uses this result yet.
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 102 results over 23 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Compact space (Wikipedia) (standard reference, not scraped)
- Extreme value theorem (Wikipedia) (standard reference, not scraped)