Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck 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.

f is upper semicontinuous on A if and only if {x∈A:f(x)<α} is relatively open in A for every real α, lower semicontinuous if and only if {x∈A:f(x)>α} is, and continuous if and only if it is both

Statement

Let A⊆R and let f:A→R. Call S⊆A relatively open in A when S=U∩A for some open U⊆R (Open subset of R (every point has a neighbourhood inside it), closed subset (complement open), and clopen). Then:

  1. f is upper semicontinuous on A (Upper and lower semicontinuity of f:A→R at a point of A and on A) if and only if { x∈A:f(x)<α } is relatively open in A for every real α;
  2. f is lower semicontinuous on A if and only if { x∈A:f(x)>α } is relatively open in A for every real α;
  3. f is continuous on A (Continuity of f:A→R at a point of A and on A: the ε-δ condition, its agreement with lim⁡x→cf(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 α the proof exhibits one specific open Uα⊆R with Uα∩A={f<α}, namely the set of reals y admitting a radius ρ with A∩Nρ(y)⊆{f<α}. No choice of a radius per point is made, which matters because the level set may be uncountable.

Facts & Assumptions

Given: A⊆R and a function f:A→R.

[L1]

f is upper semicontinuous at c∈A when for every real ε>0 there is a real δ>0 with f(x)<f(c)+ε for every x∈A∩Nδ(c); lower semicontinuity is the same with f(x)>f(c)−ε; and continuity at c is the conjunction of the two (Upper and lower semicontinuity of f:A→R at a point of A and on A, Continuity of f:A→R at a point of A and on A: the ε-δ condition, its agreement with lim⁡x→cf(x)=f(c) at a limit point, and continuity at an isolated point).

[L2]

U⊆R is open exactly when every y∈U has a real ρ>0 with Nρ(y)⊆U; and if ∣z−y∣<ρ/2 then Nρ/2(z)⊆Nρ(y) (Open subset of R (every point has a neighbourhood inside it), closed subset (complement open), and clopen, The ε-neighbourhood and the punctured ε-neighbourhood of a point of R).

[L3]

−f is lower semicontinuous at c exactly when f is upper semicontinuous at c, and {x∈A:−f(x)<α}={x∈A:f(x)>−α} (Upper and lower semicontinuity of f:A→R at a point of A and on A).

Proof

technique · direct
1.1

Fix a real α and put Sα:={ x∈A:f(x)<α } and Uα:={ y∈R:A∩Nρ(y)⊆Sα for some real ρ>0 }.

construct
1.2

Conversely suppose every Sα is relatively open in A, say Sα=U∩A with U open, and let c∈A and ε>0 be real. Put α:=f(c)+ε; then f(c)<α, so c∈Sα=U∩A, and there is a real δ>0 with Nδ(c)⊆U.

L2
2.1

Uα is open: if y∈Uα with witness ρ and z∈Nρ/2(y), then A∩Nρ/2(z)⊆A∩Nρ(y)⊆Sα, so z∈Uα with witness ρ/2; hence Nρ/2(y)⊆Uα.

step 1.1L2
2.2

Uα∩A⊆Sα: if y∈Uα∩A with witness ρ then y∈A∩Nρ(y)⊆Sα.

step 1.1
2.3

Suppose f is upper semicontinuous on A and let c∈Sα. Apply the definition at c with ε:=α−f(c)>0: there is a real δ>0 with f(x)<f(c)+ε=α for every x∈A∩Nδ(c), that is A∩Nδ(c)⊆Sα; so c∈Uα.

step 1.1L1
3.1

Hence Sα⊆Uα∩A, and with step 2.2 this gives Sα=Uα∩A, a relatively open subset of A; since α was arbitrary, one direction of claim 1 holds.

step 2.2step 2.3
4.1

With δ as in step 1.2, every x∈A∩Nδ(c) lies in U∩A=Sα, so f(x)<α=f(c)+ε. As c and ε were arbitrary, f is upper semicontinuous on A, which completes claim 1.

step 3.1step 1.2L1
5.1

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

step 4.1L3
6.1

Claim 3 follows: f is continuous on A exactly when it is both upper and lower semicontinuous on A, 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

  • Why "relatively" open and not open. Sα is a subset of A, so it cannot be open in R unless A is; the correct statement is the one above, exactly as in f:A→R is continuous on A if and only if the preimage of every open subset of R is the intersection with A of an open subset of R, and dually for closed sets, where the same phrase is fixed inline for the same reason. For A=R the qualifier disappears and the level sets are open outright.

  • The strict inequalities are not interchangeable with the weak ones. Upper semicontinuity says the strict sublevel sets are relatively open, equivalently that the sets {f≥α} are relatively closed. It does not say that the sets {f≤α} are relatively closed; the indicator of a closed set is upper semicontinuous while {f≤0} is the complement of that closed set, which is relatively open and generally not closed.

Depends on

Used by

Dependency tree · two levels

15 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources