Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)
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.

If for every ε>0 some continuous g:X→R satisfies ∣f(x)−g(x)∣<ε for all x, then f is continuous; in particular a uniformly convergent series of continuous real functions has a continuous sum

Statement

Let (X,T) be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let f:X→R. If for every real ε>0 there is a continuous gε:X→R (Continuity of a map of topological spaces at a point and globally) with

∣f(x)−gε(x)∣<εfor every x∈X,

then f is continuous.

In particular, if (gn)n∈N are continuous real-valued functions on X and (Mn)n∈N are nonnegative reals with ∣gn(x)∣≤Mn for every x∈X and every n, and the series ∑Mn converges (Series, partial sums, convergence and the sum, divergence, and the tail series), then for every x∈X the series ∑gn(x) converges, and

F(x)  :=  ∑n=0∞gn(x)

defines a continuous function F on X.

Facts & Assumptions

Given: A topological space (X,T) and f:X→R such that for every real ε>0 there is a continuous gε:X→R with ∣f(x)−gε(x)∣<ε for every x∈X; and, for the second clause, continuous gn:X→R and nonnegative reals Mn, n∈N, with ∣gn(x)∣≤Mn for every x∈X,n∈N, and ∑Mn convergent.

[A1]

The main hypothesis: for every real ε>0 there is continuous gε with ∣f(x)−gε(x)∣<ε for all x∈X.

[L1]

f is continuous at x0 iff for every open V⊆R with f(x0)∈V there is open U⊆X with x0∈U and f[U]⊆V (Continuity of a map of topological spaces at a point and globally).

[L4]

Triangle inequality: ∣u+v∣≤∣u∣+∣v∣, hence ∣u−w∣≤∣u−v∣+∣v−w∣ for reals u,v,w (The triangle inequality).

[L5]

Absolute value: ∣u∣<c iff −c<u<c, for real c>0; and −c≤u≤c iff ∣u∣≤c, for real c≥0 (Basic properties of the absolute value).

[L6]

Finite triangle inequality along a finite index set, iterating [L4]: ∣∑kuk∣≤∑k∣uk∣ (Basic properties of the absolute value, Ordered field).

[L7]

Comparison and absolute convergence: if 0≤ak≤bk eventually and ∑bk converges then ∑ak converges (If 0≤ak≤bk eventually, convergence of ∑bk gives convergence of ∑ak, and divergence of ∑ak gives divergence of ∑bk); if ∑∣ak∣ converges then ∑ak converges (If ∑∣ak∣ converges then ∑ak converges).

[L8]

For a series of nonnegative terms, the partial sums are nondecreasing, bounded above by the sum when the series converges, and converge to the sum (A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum, Series, partial sums, convergence and the sum, divergence, and the tail series).

Proof

technique · constructive
1.1

Fix x0∈X and an open V⊆R with f(x0)∈V; by [L3] fix a real r>0 with (f(x0)−r,f(x0)+r)⊆V.

givenL3choose
1.2

Let g,h:X→R be continuous, let x1∈X and let real η>0; arguing directly from continuity of g and of h at x1 (via [L1] and [L2]) separately, fix open U1,U2∋x1 with ∣g(x)−g(x1)∣<η/2 on U1 and ∣h(x)−h(x1)∣<η/2 on U2.

givenL1L2choose
1.3

Fix x∈X. The real sequence (gn(x))n∈N satisfies 0≤∣gn(x)∣≤Mn for every n, and ∑Mn converges by hypothesis, so [L7] gives that ∑∣gn(x)∣ converges, and hence ∑gn(x) converges; define F(x):=∑n=0∞gn(x) and sN(x):=∑n<Ngn(x), so sN(x)→F(x) as N→∞.

givenL7construct
1.4

Write σN:=∑n<NMn and S:=∑n=0∞Mn; since Mn≥0 for every n, [L8] gives that (σN) is nondecreasing with σN≤S for every N, and σN→S. So S−σN≥0 for every N and S−σN→0; given a real ε>0, fix N∈N with S−σN<ε.

givenL8choose
2.1

By [A1] applied with ε:=r/3>0, fix a continuous g:X→R with ∣f(x)−g(x)∣<r/3 for every x∈X.

step 1.1A1choose
2.2

U1∩U2 is open, contains x1, and for x∈U1∩U2: ∣(g+h)(x)−(g+h)(x1)∣≤∣g(x)−g(x1)∣+∣h(x)−h(x1)∣<η by [L4].

step 1.2L4algebra
2.3

For every x∈X and every K>N: ∣sK(x)−sN(x)∣=∣∑N≤n<Kgn(x)∣≤∑N≤n<K∣gn(x)∣≤∑N≤n<KMn=σK−σN≤S−σN, by [L6], the hypothesis ∣gn(x)∣≤Mn, and σK≤S from step 1.4.

step 1.4step 1.3L6algebra
3.1

U:=g−1[(g(x0)−r/3, g(x0)+r/3)] is open by [L2], since g is continuous by step 2.1, and x0∈U, since ∣g(x0)−g(x0)∣=0<r/3.

step 2.1L2
3.2

Since x1∈X and real η>0 were arbitrary, g+h is continuous on X; iterating this over finitely many further sums, any finite sum g0+⋯+gN−1 of continuous real-valued functions on X is continuous, for every N≥1, with the case N=0 (the zero function) continuous as a constant.

step 2.2
3.3

By step 2.3, ∣sK(x)−sN(x)∣≤S−σN for every K>N; as K→∞, sK(x)→F(x) by step 1.3, so [L9] applied to the two non-strict bounds −(S−σN)≤sK(x)−sN(x)≤S−σN (equivalent to step 2.3 by [L5]) gives −(S−σN)≤F(x)−sN(x)≤S−σN, that is ∣F(x)−sN(x)∣≤S−σN<ε by [L5] and step 1.4, for every x∈X, with N independent of x.

step 2.3step 1.4step 1.3L5L9
4.1

For x∈U: ∣f(x)−f(x0)∣≤∣f(x)−g(x)∣+∣g(x)−g(x0)∣+∣g(x0)−f(x0)∣<r/3+r/3+r/3=r, by [L4] (twice), step 2.1 (the first and third terms) and the defining property of U (step 3.1, the middle term).

step 2.1step 3.1L4algebra
4.2

For N∈N, sN=g0+⋯+gN−1 is a finite sum of continuous functions, hence continuous on X, by step 3.2.

step 3.2
5.1

By step 4.1, f(x)∈(f(x0)−r,f(x0)+r)⊆V for every x∈U (step 1.1), so f[U]⊆V; with U open and x0∈U (step 3.1), and V an arbitrary open set containing f(x0) (step 1.1), f is continuous at x0 by [L1].

step 4.1step 3.1step 1.1L1
6.1

Since x0∈X was arbitrary, f is continuous on X; this proves the main clause.

step 5.1
7.1

Since sN is continuous by step 4.2 and real ε>0 was arbitrary, the hypothesis of the main clause (steps 1.1–6.1) is met by F, taking gε:=sN; hence F is continuous on X. This, with step 1.3, proves the second clause.

step 3.3step 4.2step 6.1discharge-construct∎

Remarks

  • The ε/3 split is the whole mechanism, and it is exactly the triangle inequality read three ways: once to compare f with an approximant, once to use continuity of that approximant, and once to compare back. Nothing about X is used beyond the definition of continuity; the hypothesis never mentions a metric on X, only on the common target R.

  • The second clause is the Weierstrass M-test, stated only as far as this page needs it. It is not stated for a general metric or normed target, and it produces no rate of convergence beyond what step 1.4 already gives: a single N, working uniformly in x, for every tolerance ε.

  • No choice principle beyond what a single real number requires is used anywhere above. Steps 1.1, 2.1 and 1.4 each fix one witness from a nonempty set of reals or a single continuous function, and no step selects simultaneously from an infinite family.

Depends on

Used by

Dependency tree · two levels

69 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