Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: 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.

x1Q(x)x \cdot 1_{\mathbb{Q}}(x) is continuous at 00 and at no other point

Example

Let 1Q\mathbf{1}_{\mathbb{Q}} be the indicator of the rationals (The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R}) and put

h:RR,h(x):=x1Q(x),h : \mathbb{R} \to \mathbb{R}, \qquad h(x) := x \cdot \mathbf{1}_{\mathbb{Q}}(x),

so h(x)=xh(x) = x for rational xx and h(x)=0h(x) = 0 for irrational xx. Then:

  1. hh is continuous at 00 (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);
  2. hh is not continuous at any c0c \ne 0.

So the set of points of continuity of a real function can be a single point. Together with The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R}, where that set is empty, this shows how little the set of continuity points is constrained by the mere existence of the function.

The point of the example. Continuity at cc compares h(x)h(x) with h(c)h(c), and the two branches of hh agree only where x=0x = 0. Multiplying the indicator by xx damps the jump: near 00 both branches are small, so the discrepancy is at most x|x|; away from 00 the discrepancy is at least c/2|c|/2 on every neighbourhood, because each branch is realised arbitrarily close to cc.

Facts & Assumptions

Given: The canonical copy QR\mathbb{Q} \subseteq \mathbb{R} of the rationals with complement X:=RQX := \mathbb{R} \setminus \mathbb{Q}, and h:RRh : \mathbb{R} \to \mathbb{R} with h(x)=xh(x) = x for xQx \in \mathbb{Q} and h(x)=0h(x) = 0 for xXx \in X.

[L1]

Continuity at cc, in the form of 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: for every real ε>0\varepsilon > 0 there is a real δ>0\delta > 0 with h(x)h(c)<ε|h(x) - h(c)| < \varepsilon whenever xc<δ|x - c| < \delta; and it fails at cc as soon as some real ε0>0\varepsilon_0 > 0 admits, for every real δ>0\delta > 0, a real xx with xc<δ|x-c| < \delta and h(x)h(c)ε0|h(x) - h(c)| \ge \varepsilon_0 (The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}).

[L3]

XX is by definition the complement RQ\mathbb{R} \setminus \mathbb{Q}, so every real lies in exactly one of Q\mathbb{Q} and XX; hence hh is a well-defined function, and h(x)x|h(x)| \le |x| for every real xx (Basic properties of the absolute value, The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R}).

[L4]

Absolute value and order: u0|u| \ge 0 and u>0|u| > 0 exactly when u0u \ne 0 (Basic properties of the absolute value); the reverse triangle inequality uvuv\bigl||u| - |v|\bigr| \le |u - v|, hence uvuv|u - v| \ge |u| - |v| (The reverse triangle inequality); and the minimum of a two-element set of reals exists and is one of the two (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set, Ordered field).

Verification

technique · direct
1.1

hh is well defined and satisfies h(x)x|h(x)| \le |x| for every real xx: on Q\mathbb{Q} one has h(x)=x|h(x)| = |x| and on XX one has h(x)=0x|h(x)| = 0 \le |x|. Also 0Q0 \in \mathbb{Q}, so h(0)=0h(0) = 0.

L3L4
1.2

Claim 2, the setup. Let c0c \ne 0 be real, put ε0:=c/2>0\varepsilon_0 := |c|/2 > 0 by [L4], and let a real δ>0\delta > 0 be given. Put δ:=min{δ, c/2}>0\delta' := \min\{\delta,\ |c|/2\} > 0 by [L4].

L4choose
2.1

Claim 1. Let a real ε>0\varepsilon > 0 be given and take δ:=ε\delta := \varepsilon. Every real xx with x0<δ|x - 0| < \delta satisfies h(x)h(0)=h(x)x<ε|h(x) - h(0)| = |h(x)| \le |x| < \varepsilon by step 1.1. So hh is continuous at 00.

step 1.1L1L4
2.2

By [L2] the neighbourhood Nδ(c)N_{\delta'}(c) meets Q\mathbb{Q} and meets XX: fix pNδ(c)Qp \in N_{\delta'}(c) \cap \mathbb{Q} and zNδ(c)Xz \in N_{\delta'}(c) \cap X, so pc<δδ|p - c| < \delta' \le \delta and zc<δδ|z - c| < \delta' \le \delta, with h(p)=ph(p) = p and h(z)=0h(z) = 0.

step 1.2L2choose
3.1

The rational case. Suppose cQc \in \mathbb{Q}, so h(c)=ch(c) = c. Take x:=zx := z: then xc<δ|x - c| < \delta and h(x)h(c)=0c=cc/2=ε0|h(x) - h(c)| = |0 - c| = |c| \ge |c|/2 = \varepsilon_0.

step 1.2step 2.2L3L4
3.2

The irrational case. Suppose cXc \in X, so h(c)=0h(c) = 0. Take x:=px := p: then xc<δ|x - c| < \delta, and pcpc>cc/2=c/2|p| \ge |c| - |p - c| > |c| - |c|/2 = |c|/2 by [L4] and step 2.2, so h(x)h(c)=p>c/2=ε0|h(x) - h(c)| = |p| > |c|/2 = \varepsilon_0.

step 1.2step 2.2L3L4
4.1

By [L3] the two cases of steps 3.1 and 3.2 are exhaustive, so for every real δ>0\delta > 0 some xx with xc<δ|x-c| < \delta has h(x)h(c)ε0|h(x) - h(c)| \ge \varepsilon_0; by [L1] the function hh is not continuous at cc. Since c0c \ne 0 was arbitrary, claim 2 holds, and with step 2.1 the set of points of continuity of hh is exactly {0}\{0\}.

step 2.1step 3.1step 3.2L1L3

Remarks

  • Where the damping factor does its work. The estimate h(x)x|h(x)| \le |x| of step 1.1 is the whole of claim 1, and it is available only because the two branches of hh agree at 00. Replacing xx by any function vanishing at 00 and continuous there gives the same conclusion at 00; replacing it by a nonzero constant gives The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R} back.

  • The choice of δ=min{δ,c/2}\delta' = \min\{\delta, |c|/2\} is what makes the irrational case work. Without shrinking to c/2|c|/2 the rational point pp near cc could be close to 00, and then h(p)h(c)=p|h(p) - h(c)| = |p| would be small; the shrinking keeps pp away from 00 by at least c/2|c|/2.

  • This example is choice free, for the same reason as The indicator of Q\mathbb{Q} is continuous at no point of R\mathbb{R}: density is used only in the form "every neighbourhood meets the set", never to build a sequence.

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: 76 results over 21 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