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

x⋅1Q(x) is continuous at 0 and at no other point

Example

Let 1Q be the indicator of the rationals (The indicator of Q is continuous at no point of R) and put

h:R→R,h(x):=x⋅1Q(x),

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

  1. h is continuous at 0 (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);
  2. h is not continuous at any c≠0.

So the set of points of continuity of a real function can be a single point. Together with The indicator of Q is continuous at no point of 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 c compares h(x) with h(c), and the two branches of h agree only where x=0. Multiplying the indicator by x damps the jump: near 0 both branches are small, so the discrepancy is at most ∣x∣; away from 0 the discrepancy is at least ∣c∣/2 on every neighbourhood, because each branch is realised arbitrarily close to c.

Facts & Assumptions

Given: The canonical copy Q⊆R of the rationals with complement X:=R∖Q, and h:R→R with h(x)=x for x∈Q and h(x)=0 for x∈X.

[L1]

Continuity at c, in the form of 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: for every real ε>0 there is a real δ>0 with ∣h(x)−h(c)∣<ε whenever ∣x−c∣<δ; and it fails at c as soon as some real ε0>0 admits, for every real δ>0, a real x with ∣x−c∣<δ and ∣h(x)−h(c)∣≥ε0 (The ε-neighbourhood and the punctured ε-neighbourhood of a point of R).

[L3]

X is by definition the complement R∖Q, so every real lies in exactly one of Q and X; hence h is a well-defined function, and ∣h(x)∣≤∣x∣ for every real x (Basic properties of the absolute value, The indicator of Q is continuous at no point of R).

[L4]

Absolute value and order: ∣u∣≥0 and ∣u∣>0 exactly when u≠0 (Basic properties of the absolute value); the reverse triangle inequality ∣∣u∣−∣v∣∣≤∣u−v∣, hence ∣u−v∣≥∣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

h is well defined and satisfies ∣h(x)∣≤∣x∣ for every real x: on Q one has ∣h(x)∣=∣x∣ and on X one has ∣h(x)∣=0≤∣x∣. Also 0∈Q, so h(0)=0.

L3L4
1.2

Claim 2, the setup. Let c≠0 be real, put ε0:=∣c∣/2>0 by [L4], and let a real δ>0 be given. Put δ′:=min⁡{δ, ∣c∣/2}>0 by [L4].

L4choose
2.1

Claim 1. Let a real ε>0 be given and take δ:=ε. Every real x with ∣x−0∣<δ satisfies ∣h(x)−h(0)∣=∣h(x)∣≤∣x∣<ε by step 1.1. So h is continuous at 0.

step 1.1L1L4
2.2

By [L2] the neighbourhood Nδ′(c) meets Q and meets X: fix p∈Nδ′(c)∩Q and z∈Nδ′(c)∩X, so ∣p−c∣<δ′≤δ and ∣z−c∣<δ′≤δ, with h(p)=p and h(z)=0.

step 1.2L2choose
3.1

The rational case. Suppose c∈Q, so h(c)=c. Take x:=z: then ∣x−c∣<δ and ∣h(x)−h(c)∣=∣0−c∣=∣c∣≥∣c∣/2=ε0.

step 1.2step 2.2L3L4
3.2

The irrational case. Suppose c∈X, so h(c)=0. Take x:=p: then ∣x−c∣<δ, and ∣p∣≥∣c∣−∣p−c∣>∣c∣−∣c∣/2=∣c∣/2 by [L4] and step 2.2, so ∣h(x)−h(c)∣=∣p∣>∣c∣/2=ε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 some x with ∣x−c∣<δ has ∣h(x)−h(c)∣≥ε0; by [L1] the function h is not continuous at c. Since c≠0 was arbitrary, claim 2 holds, and with step 2.1 the set of points of continuity of h is exactly {0}.

step 2.1step 3.1step 3.2L1L3∎

Remarks

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

  • The choice of δ′=min⁡{δ,∣c∣/2} is what makes the irrational case work. Without shrinking to ∣c∣/2 the rational point p near c could be close to 0, and then ∣h(p)−h(c)∣=∣p∣ would be small; the shrinking keeps p away from 0 by at least ∣c∣/2.

  • This example is choice free, for the same reason as The indicator of Q is continuous at no point of 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 · two levels

32 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