Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-09 (gpt-5.6-terra-codex-subscription)
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.

Semicontinuous extreme value theorem: an upper semicontinuous function on a nonempty compact KRK \subseteq \mathbb{R} is bounded above and attains a maximum, and a lower semicontinuous one is bounded below and attains a minimum

Statement

Let KRK \subseteq \mathbb{R} be nonempty and compact (Open cover, subcover, compact subset of R\mathbb{R} (every open cover has a finite subcover), and sequentially compact subset).

  1. If f:KRf : K \to \mathbb{R} is upper semicontinuous on KK (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA) then f[K]f[K] is bounded above (Lower bound, bounded below, bounded set) and ff attains a maximum: there is x0Kx_0 \in K with f(x)f(x0)f(x) \le f(x_0) for every xKx \in K (Maximum and minimum of a set).
  2. If f:KRf : K \to \mathbb{R} is lower semicontinuous on KK then f[K]f[K] is bounded below and ff attains a minimum.

The theorem is genuinely one-sided. An upper semicontinuous function on a compact set need not attain its infimum; the companion page gives such a function on [0,1][0,1]. Only the maximum is asserted in claim 1, and only the minimum in claim 2.

Taking ff continuous, which is upper and lower semicontinuous at once (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA), recovers the classical extreme value theorem on a compact subset of R\mathbb{R}.

Facts & Assumptions

Given: A nonempty compact KRK \subseteq \mathbb{R} and an upper semicontinuous f:KRf : K \to \mathbb{R}.

[L1]

For every real α\alpha there is an open UαRU_\alpha \subseteq \mathbb{R} with UαK={xK:f(x)<α}U_\alpha \cap K = \{\, x \in K : f(x) < \alpha \,\}, namely Uα={yR:KNρ(y){f<α}U_\alpha = \{y \in \mathbb{R} : K \cap N_\rho(y) \subseteq \{f < \alpha\} for some real ρ>0}\rho > 0\} (ff is upper semicontinuous on AA if and only if {xA:f(x)<α}\{x \in A : f(x) < \alpha\} is relatively open in AA for every real α\alpha, lower semicontinuous if and only if {xA:f(x)>α}\{x \in A : f(x) > \alpha\} is, and continuous if and only if it is both, Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA, Open subset of R\mathbb{R} (every point has a neighbourhood inside it), closed subset (complement open), and clopen).

[L2]

The set UαU_\alpha of [L1] is monotone in α\alpha: αβ\alpha \le \beta gives {f<α}{f<β}\{f < \alpha\} \subseteq \{f < \beta\} and hence UαUβU_\alpha \subseteq U_\beta, directly from the displayed description.

[L3]

KK compact means: every family of open subsets of R\mathbb{R} whose union contains KK has a finite subfamily whose union contains KK (Open cover, subcover, compact subset of R\mathbb{R} (every open cover has a finite subcover), and sequentially compact subset).

[L4]

For every real xx there is a natural n1n \ge 1 with x<ι(n)x < \iota(n), and for every real η>0\eta > 0 a natural n1n \ge 1 with 1/ι(n)<η1/\iota(n) < \eta; ι\iota is positive and strictly increasing on the naturals 1\ge 1 (Every complete ordered field is Archimedean, For every ε>0\varepsilon > 0 in a complete ordered field there is a natural n1n \ge 1 with 1/n<ε1/n < \varepsilon, The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field, Canonical naturals are positive and strictly increasing).

[L5]

A nonempty set of reals bounded above has a least upper bound, and for every real ε>0\varepsilon > 0 some member of the set exceeds supε\sup - \varepsilon (Complete ordered field (least-upper-bound property), Epsilon characterisation of the supremum, Lower bound, bounded below, bounded set).

[L7]

For any h:KRh : K \to \mathbb{R}, hh is upper semicontinuous if and only if h-h is lower semicontinuous; hence a lower semicontinuous ff makes f-f upper semicontinuous (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA, section “Negation exchanges the two”).

Proof

technique · direct
1.1

For each real α\alpha let UαU_\alpha be the open set of [L1], so that UαK={xK:f(x)<α}U_\alpha \cap K = \{x \in K : f(x) < \alpha\} and αβ\alpha \le \beta implies UαUβU_\alpha \subseteq U_\beta.

L1L2construct
2.1

The family {Uι(n):nN, n1}\{\, U_{\iota(n)} : n \in \mathbb{N},\ n \ge 1 \,\} covers KK: every xKx \in K has f(x)<ι(n)f(x) < \iota(n) for some natural n1n \ge 1, and then xUι(n)x \in U_{\iota(n)}.

step 1.1L4
3.1

By compactness finitely many members cover KK, say Uι(n0),,Uι(nj)U_{\iota(n_0)}, \dots, U_{\iota(n_j)} with each ni1n_i \ge 1; let NN be the greatest of ι(n0),,ι(nj)\iota(n_0), \dots, \iota(n_j), which exists as the maximum of a nonempty finite set of reals. Then each Uι(ni)UNU_{\iota(n_i)} \subseteq U_{N}, so KUNK \subseteq U_{N} and hence K=UNK={xK:f(x)<N}K = U_{N} \cap K = \{x \in K : f(x) < N\}. So f[K]f[K] is bounded above by NN.

step 1.1step 2.1L2L3L6
4.1

f[K]f[K] is nonempty, since KK is, and bounded above, so M:=supf[K]M := \sup f[K] exists.

step 3.1L5
5.1

For each natural n1n \ge 1 put αn:=M1/ι(n)\alpha_n := M - 1/\iota(n). The family {Uαn:n1}\{\, U_{\alpha_n} : n \ge 1 \,\} has no finite subfamily covering KK. Indeed, let Uαn0,,UαnjU_{\alpha_{n_0}}, \dots, U_{\alpha_{n_j}} be finitely many of them; if the list is empty its union is empty and does not contain the nonempty KK. Otherwise let nn^{*} be a natural among n0,,njn_0, \dots, n_j with αn\alpha_{n^{*}} greatest, so that every member of the list is contained in UαnU_{\alpha_{n^{*}}}. Since αn<M=supf[K]\alpha_{n^{*}} < M = \sup f[K], there is xKx \in K with f(x)>αnf(x) > \alpha_{n^{*}}, and such an xx lies in KK but not in UαnK={f<αn}U_{\alpha_{n^{*}}} \cap K = \{f < \alpha_{n^{*}}\}, hence in no member of the list.

step 1.1step 4.1L2L4L5L6
6.1

By compactness, a family of open sets with no finite subfamily covering KK cannot itself cover KK. So there is x0Kx_{0} \in K with x0Uαnx_{0} \notin U_{\alpha_n} for every natural n1n \ge 1, that is f(x0)αn=M1/ι(n)f(x_{0}) \ge \alpha_n = M - 1/\iota(n) for every such nn.

step 1.1step 5.1L3
7.1

Hence f(x0)=Mf(x_{0}) = M. If f(x0)<Mf(x_{0}) < M then Mf(x0)>0M - f(x_{0}) > 0 and there is a natural n1n \ge 1 with 1/ι(n)<Mf(x0)1/\iota(n) < M - f(x_{0}), that is f(x0)<M1/ι(n)f(x_{0}) < M - 1/\iota(n), contradicting step 6.1; and f(x0)Mf(x_{0}) \le M because MM is an upper bound of f[K]f[K].

step 4.1step 6.1L4L5
8.1

So ff is bounded above on KK and attains the value M=supf[K]M = \sup f[K] at x0Kx_{0} \in K, which is a maximum of f[K]f[K]: this is claim 1.

step 3.1step 4.1step 7.1L5
9.1

Claim 2 follows by applying claim 1 to f-f, which is upper semicontinuous on KK when ff is lower semicontinuous; then f-f is bounded above and attains a maximum at some x1Kx_{1} \in K, so ff is bounded below and f(x1)f(x)f(x_{1}) \le f(x) for every xKx \in K, a minimum.

step 8.1L7

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 50 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