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

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

Statement

Let ARA \subseteq \mathbb{R} and let f:ARf : A \to \mathbb{R}. Call SAS \subseteq A relatively open in AA when S=UAS = U \cap A for some open URU \subseteq \mathbb{R} (Open subset of R\mathbb{R} (every point has a neighbourhood inside it), closed subset (complement open), and clopen). Then:

  1. ff is upper semicontinuous on AA (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA) if and only if {xA:f(x)<α}\{\, x \in A : f(x) < \alpha \,\} is relatively open in AA for every real α\alpha;
  2. ff is lower 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;
  3. ff is 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) if and only if both families of sets are relatively open.

The open set is produced canonically, not chosen. For each α\alpha the proof exhibits one specific open UαRU_\alpha \subseteq \mathbb{R} with UαA={f<α}U_\alpha \cap A = \{f < \alpha\}, namely the set of reals yy admitting a radius ρ\rho with ANρ(y){f<α}A \cap N_\rho(y) \subseteq \{f < \alpha\}. No choice of a radius per point is made, which matters because the level set may be uncountable.

Facts & Assumptions

Given: ARA \subseteq \mathbb{R} and a function f:ARf : A \to \mathbb{R}.

[L1]

ff is upper semicontinuous at cAc \in A when for every real ε>0\varepsilon > 0 there is a real δ>0\delta > 0 with f(x)<f(c)+εf(x) < f(c) + \varepsilon for every xANδ(c)x \in A \cap N_\delta(c); lower semicontinuity is the same with f(x)>f(c)εf(x) > f(c) - \varepsilon; and continuity at cc is the conjunction of the two (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and 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).

[L2]

URU \subseteq \mathbb{R} is open exactly when every yUy \in U has a real ρ>0\rho > 0 with Nρ(y)UN_\rho(y) \subseteq U; and if zy<ρ/2|z - y| < \rho/2 then Nρ/2(z)Nρ(y)N_{\rho/2}(z) \subseteq N_\rho(y) (Open subset of R\mathbb{R} (every point has a neighbourhood inside it), closed subset (complement open), and clopen, The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}).

[L3]

f-f is lower semicontinuous at cc exactly when ff is upper semicontinuous at cc, and {xA:f(x)<α}={xA:f(x)>α}\{x \in A : -f(x) < \alpha\} = \{x \in A : f(x) > -\alpha\} (Upper and lower semicontinuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA).

Proof

technique · direct
1.1

Fix a real α\alpha and put Sα:={xA:f(x)<α}S_\alpha := \{\, x \in A : f(x) < \alpha \,\} and Uα:={yR:ANρ(y)Sα for some real ρ>0}U_\alpha := \{\, y \in \mathbb{R} : A \cap N_\rho(y) \subseteq S_\alpha \ \text{for some real } \rho > 0 \,\}.

construct
1.2

Conversely suppose every SαS_\alpha is relatively open in AA, say Sα=UAS_\alpha = U \cap A with UU open, and let cAc \in A and ε>0\varepsilon > 0 be real. Put α:=f(c)+ε\alpha := f(c) + \varepsilon; then f(c)<αf(c) < \alpha, so cSα=UAc \in S_\alpha = U \cap A, and there is a real δ>0\delta > 0 with Nδ(c)UN_\delta(c) \subseteq U.

L2
2.1

UαU_\alpha is open: if yUαy \in U_\alpha with witness ρ\rho and zNρ/2(y)z \in N_{\rho/2}(y), then ANρ/2(z)ANρ(y)SαA \cap N_{\rho/2}(z) \subseteq A \cap N_\rho(y) \subseteq S_\alpha, so zUαz \in U_\alpha with witness ρ/2\rho/2; hence Nρ/2(y)UαN_{\rho/2}(y) \subseteq U_\alpha.

step 1.1L2
2.2

UαASαU_\alpha \cap A \subseteq S_\alpha: if yUαAy \in U_\alpha \cap A with witness ρ\rho then yANρ(y)Sαy \in A \cap N_\rho(y) \subseteq S_\alpha.

step 1.1
2.3

Suppose ff is upper semicontinuous on AA and let cSαc \in S_\alpha. Apply the definition at cc with ε:=αf(c)>0\varepsilon := \alpha - f(c) > 0: there is a real δ>0\delta > 0 with f(x)<f(c)+ε=αf(x) < f(c) + \varepsilon = \alpha for every xANδ(c)x \in A \cap N_\delta(c), that is ANδ(c)SαA \cap N_\delta(c) \subseteq S_\alpha; so cUαc \in U_\alpha.

step 1.1L1
3.1

Hence SαUαAS_\alpha \subseteq U_\alpha \cap A, and with step 2.2 this gives Sα=UαAS_\alpha = U_\alpha \cap A, a relatively open subset of AA; since α\alpha was arbitrary, one direction of claim 1 holds.

step 2.2step 2.3
4.1

With δ\delta as in step 1.2, every xANδ(c)x \in A \cap N_\delta(c) lies in UA=SαU \cap A = S_\alpha, so f(x)<α=f(c)+εf(x) < \alpha = f(c) + \varepsilon. As cc and ε\varepsilon were arbitrary, ff is upper semicontinuous on AA, which completes claim 1.

step 3.1step 1.2L1
5.1

Claim 2 follows by applying claim 1 to f-f: ff is lower semicontinuous on AA exactly when f-f is upper semicontinuous on AA, exactly when {xA:f(x)<β}\{x \in A : -f(x) < \beta\} is relatively open for every real β\beta, and that set is {xA:f(x)>β}\{x \in A : f(x) > -\beta\}; as β\beta ranges over the reals so does β-\beta.

step 4.1L3
6.1

Claim 3 follows: ff is continuous on AA exactly when it is both upper and lower semicontinuous on AA, and by claims 1 and 2 that is exactly the conjunction of the two families of sets being relatively open.

step 4.1step 5.1L1

Remarks

Depends on

Used by

Dependency tree · next 3 levels

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