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.
A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value
Statement
Let be a nonempty compact metric space (Open cover, subcover, compact metric space, and compact subset of a metric space, Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric) and let be continuous (Continuity of a map between metric spaces, at a point and globally, in the - form), carrying its usual metric (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded). Then the image is bounded above and below (Lower bound, bounded below, bounded set), and it has a maximum and a minimum (Maximum and minimum of a set): there are points with
and then and (Complete ordered field (least-upper-bound property), Greatest lower bound (infimum)).
Nonemptiness of is a hypothesis and not an oversight: for the image is empty and has neither a supremum nor a maximum. No choice principle is used.
Statement references
Open cover, subcover, compact metric space, and compact subset of a metric space
Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric
Continuity of a map between metric spaces, at a point and globally, in the - form
Lower bound, bounded below, bounded set
Facts & Assumptions
Given: A nonempty compact metric space and a continuous .
The image of a compact metric space under a continuous map is a compact subset of the codomain (The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset).
A compact subset of a metric space is closed and bounded (A compact subset of a metric space is closed and bounded, 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, Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space).
A nonempty subset of that is bounded above has a supremum, and one bounded below has an infimum (Complete ordered field (least-upper-bound property), Every nonempty set bounded below has an infimum, Greatest lower bound (infimum), Lower bound, bounded below, bounded set).
For nonempty and bounded above with supremum : for every real there is with ; dually for the infimum (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).
lies in the closure of exactly when every ball around meets , and a closed set contains its closure (Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).
A subset of a metric space is compact exactly when the corresponding metric subspace is compact, the subspace metric being the restriction (Open cover, subcover, compact metric space, and compact subset of a metric space, Isometry, isometric embedding, and the subspace metric on a subset).
Proof
is a compact subset of , and it is nonempty because is.
So is closed in and bounded as a subset of the metric space : there are and a real with .
Hence is an upper bound and a lower bound of , so is bounded above and below, and being nonempty it has a supremum and an infimum .
For every real there is with , so and ; therefore every ball around meets and lies in the closure of .
Since is closed, ; so is a member of bounding it above, that is , and for some .
The same argument with in place of , using the infimum form of step 4.1, gives , so and for some .
For every the value lies in , hence , which is the assertion, with and .
Remarks
Compactness is what is used, not boundedness of the domain. A bounded non-compact domain is not enough: on the interval the identity map is continuous and bounded with no greatest value, and is continuous and unbounded (On the identity is bounded with no greatest value and is continuous and unbounded, so the extreme value theorem needs compactness and not merely boundedness of the domain ↗).
Why the supremum has to be shown to be attained at all. exists as soon as is nonempty and bounded above, which needs only boundedness; what compactness adds is that is closed, and a closed set contains the supremum it approaches. Steps 4.1 and 5.1 are exactly that passage, and they are where the theorem is more than the least-upper-bound property.
Depends on
Every nonempty set bounded below has an infimum
The image of a compact metric space under a continuous map is compact, and so is the image of any compact subset
A compact subset of a metric space is closed and bounded
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 absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded
Continuity of a map between metric spaces, at a point and globally, in the - form
Open cover, subcover, compact metric space, and compact subset of a metric space
Lower bound, bounded below, bounded set
Greatest lower bound (infimum)
Epsilon characterisation of the supremum
Epsilon characterisation of the infimum
Maximum and minimum of a set
Complete ordered field (least-upper-bound property)
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
The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement
Open ball, closed ball and sphere in a metric space
Intervals of : the nine order-convex forms, nondegeneracy, and length
Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space
Isometry, isometric embedding, and the subspace metric on a subset
Metric space: iff , symmetry, and the triangle inequality; pseudometric and ultrametric