Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck 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\varepsilon > 0 some continuous g:XRg : X \to \mathbb{R} satisfies f(x)g(x)<ε\lvert f(x) - g(x)\rvert < \varepsilon for all xx, then ff is continuous; in particular a uniformly convergent series of continuous real functions has a continuous sum

Statement

Let (X,T)(X, \mathcal{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:XRf : X \to \mathbb{R}. If for every real ε>0\varepsilon > 0 there is a continuous gε:XRg_\varepsilon : X \to \mathbb{R} (Continuity of a map of topological spaces at a point and globally) with

f(x)gε(x)<εfor every xX,|f(x) - g_\varepsilon(x)| < \varepsilon \qquad \text{for every } x \in X,

then ff is continuous.

In particular, if (gn)nN(g_n)_{n \in \mathbb{N}} are continuous real-valued functions on XX and (Mn)nN(M_n)_{n \in \mathbb{N}} are nonnegative reals with gn(x)Mn|g_n(x)| \le M_n for every xXx \in X and every nn, and the series Mn\sum M_n converges (Series, partial sums, convergence and the sum, divergence, and the tail series), then for every xXx \in X the series gn(x)\sum g_n(x) converges, and

F(x)  :=  n=0gn(x)F(x) \;:=\; \sum_{n=0}^{\infty} g_n(x)

defines a continuous function FF on XX.

Facts & Assumptions

Given: A topological space (X,T)(X,\mathcal{T}) and f:XRf : X \to \mathbb{R} such that for every real ε>0\varepsilon>0 there is a continuous gε:XRg_\varepsilon : X \to \mathbb{R} with f(x)gε(x)<ε|f(x)-g_\varepsilon(x)| < \varepsilon for every xXx \in X; and, for the second clause, continuous gn:XRg_n : X \to \mathbb{R} and nonnegative reals MnM_n, nNn \in \mathbb{N}, with gn(x)Mn|g_n(x)| \le M_n for every xX,nNx \in X, n \in \mathbb{N}, and Mn\sum M_n convergent.

[A1]

The main hypothesis: for every real ε>0\varepsilon>0 there is continuous gεg_\varepsilon with f(x)gε(x)<ε|f(x)-g_\varepsilon(x)|<\varepsilon for all xXx \in X.

[L1]

ff is continuous at x0x_0 iff for every open VRV \subseteq \mathbb{R} with f(x0)Vf(x_0) \in V there is open UXU \subseteq X with x0Ux_0 \in U and f[U]Vf[U] \subseteq V (Continuity of a map of topological spaces at a point and globally).

[L4]

Triangle inequality: u+vu+v|u+v| \le |u|+|v|, hence uwuv+vw|u-w| \le |u-v|+|v-w| for reals u,v,wu,v,w (The triangle inequality).

[L5]

Absolute value: u<c|u|<c iff c<u<c-c<u<c, for real c>0c>0; and cuc-c \le u \le c iff uc|u| \le c, for real c0c \ge 0 (Basic properties of the absolute value).

[L6]

Finite triangle inequality along a finite index set, iterating [L4]: kukkuk\big|\sum_{k} u_k\big| \le \sum_k |u_k| (Basic properties of the absolute value, Ordered field).

[L7]

Comparison and absolute convergence: if 0akbk0 \le a_k \le b_k eventually and bk\sum b_k converges then ak\sum a_k converges (If 0akbk0 \le a_k \le b_k eventually, convergence of bk\sum b_k gives convergence of ak\sum a_k, and divergence of ak\sum a_k gives divergence of bk\sum b_k); if ak\sum |a_k| converges then ak\sum a_k converges (If ak\sum |a_k| converges then ak\sum a_k 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).

[L9]

Limits in R\mathbb{R} preserve non-strict order: if akaa_k \to a and akca_k \le c for all kk beyond some index, then aca \le c (Sequence basics in an arbitrary ordered field: limits are unique, limits preserve non-strict inequalities, convergent sequences are Cauchy, Cauchy sequences are bounded, and a Cauchy sequence with a convergent subsequence converges).

Proof

technique · constructive
1.1

Fix x0Xx_0 \in X and an open VRV \subseteq \mathbb{R} with f(x0)Vf(x_0) \in V; by [L3] fix a real r>0r>0 with (f(x0)r,f(x0)+r)V(f(x_0)-r, f(x_0)+r) \subseteq V.

givenL3choose
1.2

Let g,h:XRg, h : X \to \mathbb{R} be continuous, let x1Xx_1 \in X and let real η>0\eta>0; arguing directly from continuity of gg and of hh at x1x_1 (via [L1] and [L2]) separately, fix open U1,U2x1U_1, U_2 \ni x_1 with g(x)g(x1)<η/2|g(x)-g(x_1)| < \eta/2 on U1U_1 and h(x)h(x1)<η/2|h(x)-h(x_1)|<\eta/2 on U2U_2.

givenL1L2choose
1.3

Fix xXx \in X. The real sequence (gn(x))nN(g_n(x))_{n \in \mathbb{N}} satisfies 0gn(x)Mn0 \le |g_n(x)| \le M_n for every nn, and Mn\sum M_n converges by hypothesis, so [L7] gives that gn(x)\sum |g_n(x)| converges, and hence gn(x)\sum g_n(x) converges; define F(x):=n=0gn(x)F(x) := \sum_{n=0}^{\infty} g_n(x) and sN(x):=n<Ngn(x)s_N(x) := \sum_{n<N} g_n(x), so sN(x)F(x)s_N(x) \to F(x) as NN \to \infty.

givenL7construct
1.4

Write σN:=n<NMn\sigma_N := \sum_{n<N} M_n and S:=n=0MnS := \sum_{n=0}^{\infty} M_n; since Mn0M_n \ge 0 for every nn, [L8] gives that (σN)(\sigma_N) is nondecreasing with σNS\sigma_N \le S for every NN, and σNS\sigma_N \to S. So SσN0S - \sigma_N \ge 0 for every NN and SσN0S-\sigma_N \to 0; given a real ε>0\varepsilon>0, fix NNN \in \mathbb{N} with SσN<εS - \sigma_N < \varepsilon.

givenL8choose
2.1

By [A1] applied with ε:=r/3>0\varepsilon := r/3 > 0, fix a continuous g:XRg : X \to \mathbb{R} with f(x)g(x)<r/3|f(x)-g(x)| < r/3 for every xXx \in X.

step 1.1A1choose
2.2

U1U2U_1 \cap U_2 is open, contains x1x_1, and for xU1U2x \in U_1 \cap U_2: (g+h)(x)(g+h)(x1)g(x)g(x1)+h(x)h(x1)<η|(g+h)(x)-(g+h)(x_1)| \le |g(x)-g(x_1)| + |h(x)-h(x_1)| < \eta by [L4].

step 1.2L4algebra
2.3

For every xXx \in X and every K>NK > N: sK(x)sN(x)=Nn<Kgn(x)Nn<Kgn(x)Nn<KMn=σKσNSσN|s_K(x)-s_N(x)| = \big|\textstyle\sum_{N \le n < K} g_n(x)\big| \le \sum_{N \le n < K} |g_n(x)| \le \sum_{N \le n < K} M_n = \sigma_K - \sigma_N \le S - \sigma_N, by [L6], the hypothesis gn(x)Mn|g_n(x)| \le M_n, and σKS\sigma_K \le S from step 1.4.

step 1.4step 1.3L6algebra
3.1

U:=g1[(g(x0)r/3,g(x0)+r/3)]U := g^{-1}\big[(g(x_0)-r/3,\, g(x_0)+r/3)\big] is open by [L2], since gg is continuous by step 2.1, and x0Ux_0 \in U, since g(x0)g(x0)=0<r/3|g(x_0)-g(x_0)| = 0 < r/3.

step 2.1L2
3.2

Since x1Xx_1 \in X and real η>0\eta>0 were arbitrary, g+hg+h is continuous on XX; iterating this over finitely many further sums, any finite sum g0++gN1g_0+\cdots+g_{N-1} of continuous real-valued functions on XX is continuous, for every N1N \ge 1, with the case N=0N=0 (the zero function) continuous as a constant.

step 2.2
3.3

By step 2.3, sK(x)sN(x)SσN|s_K(x)-s_N(x)| \le S-\sigma_N for every K>NK > N; as KK \to \infty, sK(x)F(x)s_K(x) \to F(x) by step 1.3, so [L9] applied to the two non-strict bounds (SσN)sK(x)sN(x)SσN-(S-\sigma_N) \le s_K(x)-s_N(x) \le S-\sigma_N (equivalent to step 2.3 by [L5]) gives (SσN)F(x)sN(x)SσN-(S-\sigma_N) \le F(x)-s_N(x) \le S-\sigma_N, that is F(x)sN(x)SσN<ε|F(x)-s_N(x)| \le S-\sigma_N < \varepsilon by [L5] and step 1.4, for every xXx \in X, with NN independent of xx.

step 2.3step 1.4step 1.3L5L9
4.1

For xUx \in U: f(x)f(x0)f(x)g(x)+g(x)g(x0)+g(x0)f(x0)<r/3+r/3+r/3=r|f(x)-f(x_0)| \le |f(x)-g(x)| + |g(x)-g(x_0)| + |g(x_0)-f(x_0)| < r/3+r/3+r/3 = r, by [L4] (twice), step 2.1 (the first and third terms) and the defining property of UU (step 3.1, the middle term).

step 2.1step 3.1L4algebra
4.2

For NNN \in \mathbb{N}, sN=g0++gN1s_N = g_0 + \cdots + g_{N-1} is a finite sum of continuous functions, hence continuous on XX, by step 3.2.

step 3.2
5.1

By step 4.1, f(x)(f(x0)r,f(x0)+r)Vf(x) \in (f(x_0)-r,f(x_0)+r) \subseteq V for every xUx \in U (step 1.1), so f[U]Vf[U] \subseteq V; with UU open and x0Ux_0 \in U (step 3.1), and VV an arbitrary open set containing f(x0)f(x_0) (step 1.1), ff is continuous at x0x_0 by [L1].

step 4.1step 3.1step 1.1L1
6.1

Since x0Xx_0 \in X was arbitrary, ff is continuous on XX; this proves the main clause.

step 5.1
7.1

Since sNs_N is continuous by step 4.2 and real ε>0\varepsilon>0 was arbitrary, the hypothesis of the main clause (steps 1.1–6.1) is met by FF, taking gε:=sNg_\varepsilon := s_N; hence FF is continuous on XX. This, with step 1.3, proves the second clause.

step 3.3step 4.2step 6.1discharge-construct

Remarks

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

  • The second clause is the Weierstrass MM-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 NN, working uniformly in xx, for every tolerance ε\varepsilon.

  • 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 · next 3 levels

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