Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passverified 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.

Every GδG_\delta subset of R\mathbb{R} is the set of continuity points of some f:RRf : \mathbb{R} \to \mathbb{R}, so the GδG_\delta sets are exactly the continuity sets

Statement

Let GRG \subseteq \mathbb{R} be a GδG_\delta set (FσF_\sigma and GδG_\delta subsets of R\mathbb{R}). Then there is a function f:RRf : \mathbb{R} \to \mathbb{R} whose set of continuity points (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) is exactly GG.

Together with For f:ARf : A \to \mathbb{R} the set of points of AA at which ff is discontinuous is the intersection with AA of an FσF_\sigma subset of R\mathbb{R}, and the set of points at which ff is continuous is the intersection with AA of a GδG_\delta subset; for A=RA = \mathbb{R} the two sets are FσF_\sigma and GδG_\delta outright, which says that the continuity set of every f:RRf : \mathbb{R} \to \mathbb{R} is a GδG_\delta set, this identifies the two classes:

{continuity sets of functions RR}  =  {Gδ subsets of R}.\{\, \text{continuity sets of functions } \mathbb{R} \to \mathbb{R} \,\} \;=\; \{\, G_\delta \text{ subsets of } \mathbb{R} \,\} .

The construction. Write G=nNVnG = \bigcap_{n \in \mathbb{N}} V_n with each VnV_n open and put Wn:=V0VnW_n := V_0 \cap \dots \cap V_n, so that the WnW_n are open and decreasing with nWn=G\bigcap_n W_n = G. For xGx \notin G let n(x)n(x) be the least nn with xWnx \notin W_n, and set

f(x):=0  for xG,f(x):=1ι(n(x)+1)  for xG, xQ,f(x):=1ι(n(x)+1)  for xG, xQ.f(x) := 0 \ \text{ for } x \in G, \qquad f(x) := \frac{1}{\iota(n(x)+1)} \ \text{ for } x \notin G,\ x \in \mathbb{Q}, \qquad f(x) := -\frac{1}{\iota(n(x)+1)} \ \text{ for } x \notin G,\ x \notin \mathbb{Q}.

The sign carries the whole of the discontinuity: near a point outside GG there are points of the opposite rationality, where ff has the opposite sign or is 00, and the values cannot come close.

Facts & Assumptions

Given: A GδG_\delta set G=nNVnRG = \bigcap_{n \in \mathbb{N}} V_n \subseteq \mathbb{R} with each VnV_n open.

[L2]

Every nonempty subset of N\mathbb{N} has a least element (The well-ordering principle).

[L4]

For every real η>0\eta > 0 there is a natural m1m \ge 1 with 1/ι(m)<η1/\iota(m) < \eta, and ι\iota is positive and strictly increasing on the naturals 1\ge 1, so j<kj < k gives 1/ι(k+1)<1/ι(j+1)1/\iota(k+1) < 1/\iota(j+1) (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).

Proof

technique · constructive
1.1

Put Wn:=jnVjW_n := \bigcap_{j \le n} V_j for nNn \in \mathbb{N}. Each WnW_n is open, being a finite intersection of open sets; Wn+1WnW_{n+1} \subseteq W_n; and nWn=nVn=G\bigcap_{n} W_n = \bigcap_{n} V_n = G, since a point lies in every WnW_n exactly when it lies in every VjV_j.

L1construct
2.1

For xGx \notin G the set {nN:xWn}\{\, n \in \mathbb{N} : x \notin W_n \,\} is nonempty, so n(x):=min{n:xWn}n(x) := \min\{\, n : x \notin W_n \,\} is defined; and xWjx \in W_j for every j<n(x)j < n(x), by minimality.

step 1.1L2construct
2.2

ff is continuous at every xGx \in G. Let ε>0\varepsilon > 0 be real and take a natural m1m \ge 1 with 1/ι(m)<ε1/\iota(m) < \varepsilon. Since xGWmx \in G \subseteq W_{m} and WmW_{m} is open, there is a real ρ>0\rho > 0 with Nρ(x)WmN_\rho(x) \subseteq W_{m}.

step 1.1L1L4
3.1

Define f:RRf : \mathbb{R} \to \mathbb{R} by f(x):=0f(x) := 0 for xGx \in G, f(x):=1/ι(n(x)+1)f(x) := 1/\iota(n(x)+1) for xGx \notin G with xx rational, and f(x):=1/ι(n(x)+1)f(x) := -1/\iota(n(x)+1) for xGx \notin G with xx irrational. Then f(x)=0f(x) = 0 exactly for xGx \in G, since 1/ι(n+1)>01/\iota(n+1) > 0 for every nNn \in \mathbb{N}; moreover f(x)>0f(x) > 0 at a rational outside GG and f(x)<0f(x) < 0 at an irrational outside GG.

step 2.1L4construct
4.1

With mm and ρ\rho as in step 2.2, let yNρ(x)y \in N_\rho(x). If yGy \in G then f(y)=0f(y) = 0. If yGy \notin G then yWmy \in W_{m}, so n(y)mn(y) \ne m and indeed n(y)>mn(y) > m, because yWmy \in W_{m} forces yWjy \in W_j for every jmj \le m; hence f(y)=1/ι(n(y)+1)<1/ι(m)<ε|f(y)| = 1/\iota(n(y)+1) < 1/\iota(m) < \varepsilon, using n(y)+1>mn(y) + 1 > m. In both cases f(y)f(x)=f(y)<ε|f(y) - f(x)| = |f(y)| < \varepsilon, since f(x)=0f(x) = 0.

step 1.1step 2.1step 3.1step 2.2L4
4.2

ff is discontinuous at every xGx \notin G. Put ε:=1/ι(n(x)+1)>0\varepsilon := 1/\iota(n(x)+1) > 0, so that f(x)=ε|f(x)| = \varepsilon, and let δ>0\delta > 0 be real. If xx is rational then f(x)=ε>0f(x) = \varepsilon > 0; the neighbourhood Nδ(x)N_\delta(x) contains an irrational yy, and f(y)0f(y) \le 0, whether yGy \in G or not. If xx is irrational then f(x)=ε<0f(x) = -\varepsilon < 0; the neighbourhood Nδ(x)N_\delta(x) contains a rational yy, and f(y)0f(y) \ge 0.

step 2.1step 3.1L3
5.1

In either case of step 4.2 the point yy satisfies f(y)f(x)ε|f(y) - f(x)| \ge \varepsilon, since f(x)f(x) and f(y)f(y) have opposite weak signs and f(x)=ε|f(x)| = \varepsilon. So no δ\delta witnesses the continuity condition at xx for this ε\varepsilon, and ff is discontinuous at xx.

step 4.2
6.1

By steps 4.1 and 5.1 the set of continuity points of the function ff constructed in step 3.1 is exactly GG, which proves the theorem. Combined with the fact that every continuity set is GδG_\delta, the two classes coincide.

step 3.1step 4.1step 5.1L5discharge-construct

Remarks

  • Why the VnV_n are replaced by the decreasing WnW_n. The index n(x)n(x) is useful only because yWmy \in W_m implies yWjy \in W_j for all jmj \le m, which is what makes n(y)>mn(y) > m in step 4.1. For an arbitrary sequence (Vn)(V_n) that implication fails, and n(x)n(x) would carry no information about how deep xx sits in the intersection. Passing to the finite intersections costs nothing, since they are still open and still intersect to GG.

  • Two extreme cases. For G=RG = \mathbb{R} the construction gives f=0f = 0, continuous everywhere. For G=G = \varnothing, obtained as the intersection of the sequence constantly \varnothing, every xx lies outside W0=W_0 = \varnothing, so n(x)=0n(x) = 0 and ff takes the value 11 at every rational and 1-1 at every irrational; it is nowhere continuous, as the Dirichlet function is (The Dirichlet function is continuous at no point of R\mathbb{R}, and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at cc equals t(c)t(c)).

  • The construction does not guarantee monotonicity, and the theorem does not claim it. The function built above always takes values in [1,1][-1,1], so it is bounded; no further behaviour beyond its continuity set is asserted.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

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