Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27
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.

Extreme value theorem: a continuous real function on a nonempty compact subset of R\mathbb{R} attains a greatest and a least value

Statement

Let ARA \subseteq \mathbb{R}, let f:ARf : A \to \mathbb{R} be continuous on AA (Continuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA: the ε\varepsilon-δ\delta condition, its agreement with limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c) at a limit point, and continuity at an isolated point) and let KAK \subseteq A be nonempty and compact (Open cover, subcover, compact subset of R\mathbb{R} (every open cover has a finite subcover), and sequentially compact subset). Then supf[K]\sup f[K] and inff[K]\inf f[K] exist and are attained: there are p,qKp, q \in K with

f(q)  =  inff[K]    f(x)    supf[K]  =  f(p)for every xK.f(q) \;=\; \inf f[K] \;\le\; f(x) \;\le\; \sup f[K] \;=\; f(p) \qquad \text{for every } x \in K .

Equivalently, the set f[K]f[K] has a maximum and a minimum (Maximum and minimum of a set), namely maxf[K]=f(p)\max f[K] = f(p) and minf[K]=f(q)\min f[K] = f(q).

Nonemptiness of KK is a hypothesis, not an oversight. For K=K = \varnothing the set f[K]f[K] is empty, and neither a supremum nor a maximum of the empty set exists in this library (Complete ordered field (least-upper-bound property) supplies suprema of nonempty sets bounded above only).

This theorem is stated twice in this library, on purpose. Its metric-space twin is A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value, proved from the cover machinery of metric spaces; the proof below is R\mathbb{R}-native, running through Heine-Borel for R\mathbb{R} and the order-completeness of R\mathbb{R}, and it uses no cover argument beyond the one already spent in The image of a compact subset of R\mathbb{R} under a continuous real function is compact. That the two statements are the same statement in two vocabularies is proved in Dictionary: for ARA \subseteq \mathbb{R} with the metric d(x,y)=xyd(x,y) = |x-y|, continuity and uniform continuity of f:ARf : A \to \mathbb{R} agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of R\mathbb{R} is compact in the open-cover sense of R\mathbb{R} exactly when it is a compact metric subspace, later on this page.

Facts & Assumptions

Given: A set ARA \subseteq \mathbb{R}, a function f:ARf : A \to \mathbb{R} continuous on AA, and a nonempty compact set KAK \subseteq A; write S:=f[K]S := f[K].

[L1]

S=f[K]S = f[K] is compact (The image of a compact subset of R\mathbb{R} under a continuous real function is compact), and it is nonempty because KK is.

[L2]

SS is bounded: there is a real M0M \ge 0 with zM|z| \le M for every zSz \in S, so M-M is a lower bound and MM an upper bound of SS (A continuous real function on a compact subset of R\mathbb{R} is bounded, Lower bound, bounded below, bounded set).

[L4]

Least upper bounds: a nonempty subset of R\mathbb{R} bounded above has a supremum (Complete ordered field (least-upper-bound property)); a nonempty subset bounded below has an infimum (Every nonempty set bounded below has an infimum, Greatest lower bound (infimum)).

[L5]

Epsilon characterisations: for nonempty SS bounded above and u=supSu = \sup S, every real ε>0\varepsilon > 0 admits sSs \in S with uε<su - \varepsilon < s; dually for =infS\ell = \inf S there is sSs \in S with s<+εs < \ell + \varepsilon (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).

[L7]

A maximum of a set is an element of it that bounds it above, and a minimum is an element that bounds it below (Maximum and minimum of a set).

Proof

technique · direct
1.1

By [L1] the set S=f[K]S = f[K] is nonempty and compact, and by [L2] it is bounded; by [L3] it is closed.

L1L2L3
2.1

By [L4] the supremum u:=supSu := \sup S and the infimum :=infS\ell := \inf S exist.

step 1.1L4
3.1

uu is adherent to SS. Let a real ε>0\varepsilon > 0 be given. By [L5] there is sSs \in S with uε<su - \varepsilon < s, and su<u+εs \le u < u + \varepsilon since uu bounds SS above; hence su<ε|s - u| < \varepsilon, that is sNε(u)Ss \in N_{\varepsilon}(u) \cap S. So every neighbourhood of uu meets SS.

step 2.1L5L6
3.2

\ell is adherent to SS. Symmetrically, [L5] gives sSs \in S with s<+εs < \ell + \varepsilon, and s\ell \le s since \ell bounds SS below; hence sNε()Ss \in N_{\varepsilon}(\ell) \cap S for every real ε>0\varepsilon > 0.

step 2.1L5L6
4.1

By [L6] the two steps above say uSu \in \overline{S} and S\ell \in \overline{S}; and SS is closed by step 1.1, so S=S\overline{S} = S and therefore uSu \in S and S\ell \in S.

step 1.1step 3.1step 3.2L6
5.1

Since uS=f[K]u \in S = f[K] there is pKp \in K with f(p)=uf(p) = u, and since S\ell \in S there is qKq \in K with f(q)=f(q) = \ell.

step 4.1choose
6.1

For every xKx \in K the value f(x)f(x) lies in SS, so f(x)u\ell \le f(x) \le u, that is f(q)f(x)f(p)f(q) \le f(x) \le f(p). Hence u=supf[K]=f(p)u = \sup f[K] = f(p) is a maximum of f[K]f[K] and =inff[K]=f(q)\ell = \inf f[K] = f(q) is a minimum of it, both attained at points of KK.

step 2.1step 4.1step 5.1L7

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 53 results over 14 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