Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck 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.

The Riemann series theorem: a conditionally convergent real series has, for every c∈R, a rearrangement with sum c, and rearrangements diverging to +∞, to −∞, and oscillating with any prescribed lim inf⁡≤lim sup⁡ in R‾

Statement

Let (ak) be a sequence of reals whose series converges conditionally (Absolutely convergent and conditionally convergent series, and the general starting index). Let α,β∈R‾ (The extended real line R‾=R∪{−∞,+∞}, its order, and the arithmetic that is left undefined) with α≤β. Then there is a bijection σ:N→N (Injection, surjection, bijection) such that the partial sums Tn=∑k<naσ(k) of the rearranged series (Rearrangement of a series along a bijection of N, and unconditional convergence) satisfy

lim inf⁡nTn=α,lim sup⁡nTn=β

(Limit superior and limit inferior of a real sequence as inf⁡nsup⁡k≥nxk and sup⁡ninf⁡k≥nxk in R‾). In particular:

  1. for every c∈R, taking α=β=c, there is a rearrangement of ∑ak that converges with sum c;
  2. taking α=β=+∞, there is a rearrangement whose partial sums diverge to +∞ (Divergence to +∞ and to −∞), and taking α=β=−∞, one whose partial sums diverge to −∞;
  3. taking α<β, there is a rearrangement whose partial sums oscillate, with limit inferior exactly α and limit superior exactly β.

So the sum of a conditionally convergent series is an artefact of the order in which its terms are written, and every prescribed asymptotic behaviour is attainable. Contrast Dirichlet's rearrangement theorem: an absolutely convergent series converges unconditionally, and every rearrangement of it has the same sum, where absolute convergence makes the sum independent of the order.

The construction. Write P:={k:ak≥0} and N:={k:ak<0}, which partition N, and enumerate each increasingly as (pi) and (ql). Fix real sequences (uj) and (vj) with uj≤vj and uj≤vj+1 for every j; these are the targets. The rearrangement is produced one index at a time by a greedy rule: while the running sum is at most the current upper target, take the next unused nonnegative term; once it exceeds that target, take negative terms until the running sum falls below the current lower target; then move to the next pair of targets and repeat. Both supplies are inexhaustible, because for a conditionally convergent series both ∑ak+ and ∑ak− diverge to +∞ (Positive and negative parts: ak=ak+−ak− and ∣ak∣=ak++ak−; a series converges absolutely iff both ∑ak+ and ∑ak− converge, and for a conditionally convergent series both diverge to +∞); and the overshoot at each turning point is at most the term just used, which tends to 0 because ak→0 (If a series converges then its terms tend to 0). Those two facts are the whole theorem.

Facts & Assumptions

Given: A sequence (ak) of reals with ∑ak convergent and ∑∣ak∣ divergent; the positive and negative parts ak+, ak−; the sets P={k:ak≥0} and N={k:ak<0}; and extended reals α≤β.

[A1]

P and N are disjoint with union N, since the order on R is total; ak+=ak and ak−=0 for k∈P, while ak+=0 and ak−=−ak for k∈N (Positive and negative parts: ak=ak+−ak− and ∣ak∣=ak++ak−; a series converges absolutely iff both ∑ak+ and ∑ak− converge, and for a conditionally convergent series both diverge to +∞).

[L2]

The terms of a convergent series tend to 0 (If a series converges then its terms tend to 0).

[L3]

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

[L4]

The recursion theorem: for a set A, an element a∈A and a function f:A→A there is a unique g:N→A with g(0)=a and g(n+1)=f(g(n)) (The recursion theorem).

[L5]

The principle of induction on N (The principle of mathematical induction).

[L6]

Finite sums: ∑k<0xk=0, ∑k<n+1xk=∑k<nxk+xn, splitting at an intermediate index, and ∑k<n0=0 (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L7]

Partial sums of a series and their recursion sn+1=sn+an (Series, partial sums, convergence and the sum, divergence, and the tail series).

[L8]

Limits preserve non-strict inequalities holding eventually (Limits preserve non-strict inequalities, Limits and Cauchy sequences of reals).

[L9]

A bijection is an injective surjection (Injection, surjection, bijection).

[L10]

lim sup⁡nxn=inf⁡{ sup⁡{xm:m≥n}:n∈N } and lim inf⁡nxn=sup⁡{ inf⁡{xm:m≥n}:n∈N }, both taken in R‾ (Limit superior and limit inferior of a real sequence as inf⁡nsup⁡k≥nxk and sup⁡ninf⁡k≥nxk in R‾, The extended real line R‾=R∪{−∞,+∞}, its order, and the arithmetic that is left undefined).

[L12]

For nonnegative terms, a series diverges exactly when the range of its partial sums is unbounded above, and then those partial sums diverge to +∞ (A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum).

Proof

technique · constructive
1.1

Since ∑ak converges, ak→0.

givenL2
1.2

For every K∈N there is k≥K with k∈P: otherwise ak<0 for every k≥K, so ak+=0 for every k≥K, so the partial sums of ∑ak+ are constant from K on and hence bounded, contradicting [L1]. The same argument with ak− shows that for every K there is k≥K with k∈N.

A1L1L6L12
2.1

In particular P and N are nonempty, and for every k the sets {m∈P:m>k} and {m∈N:m>k} are nonempty; so by [L3] each has a least element.

step 1.2L3
3.1

Define p:N→N by p0:=min⁡P and pi+1:=min⁡{m∈P:m>pi}, and q:N→N by q0:=min⁡N and ql+1:=min⁡{m∈N:m>ql}; both are legitimate applications of the recursion theorem, the "next element" operations being total functions N→N by step 2.1. Both p and q take values in P, respectively N, and are strictly increasing.

step 2.1L3L4construct
4.1

An induction gives pi≥i and ql≥l for every index, since p0≥0 and pi+1>pi≥i forces pi+1≥i+1.

step 3.1L5
4.2

An induction on i gives P∩{k:k<pi}={pi′:i′<i}: at i=0 both sides are empty because p0 is the least element of P; and passing from i to i+1 adds exactly pi, since pi+1 is the least element of P strictly greater than pi, so no element of P lies strictly between them. The same holds for q and N.

step 3.1L5
4.3

Fix real sequences (uj) and (vj) with uj≤vj and uj≤vj+1 for every j. Put A:=N×N×N×R×{0,1}, whose elements are written (i,l,j,s,m), and define out:A→N and f:A→A by: if m=0 and s≤vj, then out:=pi and f:=(i+1,l,j,s+api,0); if m=0 and s>vj, then out:=ql and f:=(i,l+1,j,s+aql,1); if m=1 and s≥uj, then out:=ql and f:=(i,l+1,j,s+aql,1); if m=1 and s<uj, then out:=pi and f:=(i+1,l,j+1,s+api,0). The four cases are exhaustive and mutually exclusive, the order on R being total, so f and out are functions.

step 3.1construct
5.1

Every element of P is some pi, and every element of N is some ql: given k∈P, the set {i:pi>k} is nonempty by step 4.1, so it has a least element i0; i0≠0 since p0=min⁡P≤k, and pi0−1≤k<pi0, so k∈P∩{m:m<pi0}={pi′:i′<i0} by step 4.2. Together with step 3.1 this says that p is a bijection onto P and q a bijection onto N; both are injective because they are strictly increasing.

step 3.1step 4.1step 4.2L3L9
5.2

An induction on i gives ∑i′<iapi′=∑k<piak+: at i=0 every k<p0 lies in N, so ak+=0 and both sides are 0; and splitting ∑k<pi+1ak+ at pi and at pi+1 isolates the single term api+=api, all remaining indices k with pi<k<pi+1 lying in N by step 4.2 and contributing 0. The same argument gives ∑l′<laql′=−∑k<qlak−.

A1step 3.1step 4.2L5L6
5.3

By the recursion theorem let g:N→A satisfy g(0)=(0,0,0,0,0) and g(n+1)=f(g(n)), write g(n)=(in,ln,jn,sn,mn), and define σ(n):=out(g(n)).

step 4.3L4construct
5.4

For general α≤β choose real sequences with uj≤vj and uj≤vj+1 as follows: if α,β are real, uj:=α and vj:=β; if α=−∞ and β is real, uj:=β−(j+1) and vj:=β; if α is real and β=+∞, uj:=α and vj:=α+(j+1); if α=β=+∞, uj:=j and vj:=j+1; if α=β=−∞, uj:=−(j+2) and vj:=−(j+1); and if α=−∞, β=+∞, uj:=−(j+1) and vj:=j+1. In every case (uj) tends to α and (vj) to β in R‾, and both conditions of step 4.3 hold.

step 4.3L11choose
6.1

Hence ∑i′<iapi′→+∞ as i→∞ and ∑l′<laql′→−∞ as l→∞: the left-hand sides are the values of the partial sums of ∑ak+, respectively of −∑ak−, at the strictly increasing indices pi, respectively ql, and by step 4.1 those indices are at least i, respectively l.

step 4.1step 5.2L1
6.2

An induction on n gives in+ln=n and sn=∑k<naσ(k): both hold at n=0, and each transition increases exactly one of i,l by one and adds to s exactly the term aσ(n) indexed by the emitted natural. So sn=Tn, the n-th partial sum of the rearranged series.

step 4.3step 5.3L5L7
7.1

Consequently, for every i0∈N and every real M there is i>i0 with ∑i′=i0i−1api′>M, and for every l0 and every real M there is l>l0 with ∑l′=l0l−1aql′<M; this is step 6.1 together with splitting of finite sums, the omitted initial block being a fixed real.

step 6.1L6
7.2

An induction on n gives that σ(n)=pin at every step that increments i, and σ(n)=qln at every step that increments l; since (in) and (ln) are nondecreasing and increase by one exactly at those steps, distinct steps of the first kind carry distinct values of in and distinct steps of the second kind distinct values of ln. As p and q are injective with disjoint ranges P and N, the map σ is injective.

step 4.3step 6.2step 5.1L5
8.1

There are infinitely many steps of each kind: if from some step n0 on no step increments l, then mn is eventually constantly 0, because a step with m=1 that does not increment l sets m to 0 and a step with m=0 that does not increment l leaves m at 0; then jn is eventually constant, say j, and every subsequent step satisfies sn≤vj, while by step 7.1 the values sn, which from n0 on increase by the successive terms api, exceed vj for some n. Symmetrically, if from some step on no step increments i, then mn is eventually constantly 1, jn is eventually constant j, every subsequent step satisfies sn≥uj, and step 7.1 makes sn fall below uj.

step 7.1step 4.3step 6.2L5
9.1

Hence in→∞ and ln→∞, so every pi and every ql occurs as some σ(n); since P∪N=N and p,q enumerate P and N, the map σ is surjective, and with step 7.2 it is a bijection of N.

A1step 5.1step 7.2step 8.1L9
9.2

Likewise jn→∞: if jn were eventually constant j, then from some step on no round is completed, so no step has m=1 and s<uj; by the argument of step 8.1 the mode is then eventually constant, and either it is 0 forever, whence sn≤vj always while sn increases past vj, or it is 1 forever, whence sn≥uj always while sn falls below uj.

step 7.1step 4.3step 8.1
10.1

For each j≥1 let βj be the step at which the mode of round j changes from 0 to 1, that is the unique n with jn=j, mn=0 and sn>vj, and let αj be the step at which round j is completed, the unique n with jn=j, mn=1 and sn<uj; both exist by step 8.1 and step 9.2, and αj−1<βj<αj.

step 4.3step 8.1step 9.2choose
11.1

The step βj is preceded, within round j, either by a step that added a term api≥0 to a value s≤vj, or by the completing step αj−1 of the previous round, which added a term api≥0 to a value s<uj−1≤vj. In both situations vj<Tβj≤vj+api for the index i used at the immediately preceding step.

step 4.3step 10.1
11.2

Likewise the step αj is preceded within round j by a step that added a term aql<0 to a value s≥uj, that step being either an earlier descent step or the switch βj itself, at which s>vj≥uj; so uj−∣aql∣≤Tαj<uj for the index l used at that step.

step 4.3step 10.1
11.3

For αj−1≤n≤βj the partial sums increase, every step of the climb adding a term api≥0; for βj≤n≤αj they decrease, every step of the descent adding a term aql<0. Hence for every n with αj−1≤n≤αj one has min⁡{Tαj−1,Tαj}≤Tn≤Tβj.

A1step 4.3step 10.1
12.1

Put δj:=max⁡{api(j), ∣aql(j)∣} for the two indices appearing in step 11.1 and step 11.2. As j→∞ those indices tend to infinity, by step 8.1 and step 9.2, so pi(j)→∞ and ql(j)→∞ by step 4.1, and δj→0 by step 1.1. Thus vj<Tβj≤vj+δj and uj−δj≤Tαj<uj for every j≥1.

step 1.1step 4.1step 8.1step 9.2step 11.1step 11.2
12.2

Fix n and let J be least with αJ−1≥n, which exists because the αj are strictly increasing. By step 11.3 every m≥αJ−1 satisfies Tm≤sup⁡{Tβj:j≥J}, and only the finitely many indices m with n≤m<αJ−1 are unaccounted for; each of those lies in a round of index at most J−1 and so is at most max⁡{Tβj:1≤j≤J−1} together with Tn itself. Hence sup⁡{Tm:m≥n} is finite or +∞ according as sup⁡{Tβj:j≥J} is, and taking the infimum over n, which drives J to infinity, gives lim sup⁡nTn=lim sup⁡jTβj.

step 10.1step 11.3L10
13.1

Take uj=vj=c for all j, which satisfies the two conditions of step 4.3. Then c<Tβj≤c+δj and c−δj≤Tαj<c, so by step 11.3 every n with αj−1≤n≤αj has ∣Tn−c∣≤max⁡{δj−1,δj}. Given a real ε>0, choose J≥2 with δj<ε for all j≥J−1; then ∣Tn−c∣<ε for all n≥αJ−1, so Tn→c and the rearranged series converges with sum c. This is claim 1.

step 12.1step 11.3L8
13.2

Take vj=j+1 and uj=j, which satisfy the two conditions. Then Tαj≥uj−δj=j−δj, so by step 11.3 every n with αj−1≤n≤αj has Tn≥min⁡{j−1−δj−1, j−δj}, a quantity that exceeds any prescribed real for all large j; hence Tn→+∞. Taking instead vj=−(j+1) and uj=−(j+2), which also satisfy the two conditions, gives Tn≤Tβj≤vj+δj=−(j+1)+δj on the same ranges, hence Tn→−∞. This is claim 2.

step 12.1step 11.3L8
13.3

By step 12.1 the subsequence (Tβj)j≥1 tends to β and (Tαj)j≥1 tends to α, in R‾: when the target sequence is real-valued and convergent the two-sided bound of step 12.1 with δj→0 gives it, and when the target sequence diverges the one-sided bound does.

step 12.1step 5.4L8L11
14.1

By step 13.3 and [L11], lim sup⁡jTβj=β; so lim sup⁡nTn=β. The same argument applied to infima, with αj in place of βj and the lower bound of step 11.3 in place of the upper one, gives lim inf⁡nTn=lim inf⁡jTαj=α.

step 13.3step 12.2L10L11
15.1

The bijection σ of step 5.3, built from the targets chosen in step 5.4, is therefore a rearrangement of ∑ak whose partial sums have limit inferior α and limit superior β; claims 1 and 2 are the special cases computed directly in step 13.1 and step 13.2, and claim 3 is the case α<β.

step 9.1step 13.1step 13.2step 14.1discharge-construct∎

Remarks

  • Only two properties of the series are used. That both part series diverge to +∞ (Positive and negative parts: ak=ak+−ak− and ∣ak∣=ak++ak−; a series converges absolutely iff both ∑ak+ and ∑ak− converge, and for a conditionally convergent series both diverge to +∞), which is what keeps the two supplies inexhaustible, and that ak→0 (If a series converges then its terms tend to 0), which is what makes the overshoot at each turning point vanish. Both hold for every conditionally convergent series and neither holds for an absolutely convergent one, whose part series both converge.

  • Where the well-ordering principle is used, and where it is not. It appears in step 2.1 and step 3.1, to define the increasing enumerations of P and N, and in step 5.1. It does not appear in the greedy rule: "take terms until the running sum crosses the target" is implemented as a one-step recursion whose state carries the two counters, the round and the running sum, so no least crossing index is ever selected. No choice principle is used anywhere; every object is determined by the data.

  • Zero terms are not a special case. They are collected into P, so a run of zeros is consumed during a climb without moving the running sum, and the climb still terminates because the tail sums of ∑iapi are unbounded. Had P been defined as {k:ak>0}, the zero-indexed terms would have had to be inserted separately for σ to be surjective.

  • The oscillating case is genuinely more than the two divergences. With α<β both finite, the partial sums visit every neighbourhood of α and of β infinitely often and are eventually confined to a neighbourhood of [α,β]; the subsequential limit set of (Tn) is then the whole interval, though nothing on this page needs that refinement.

Depends on

Used by

Dependency tree · two levels

73 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