Alphabeta Math
ExampleConstruction: AI-adaptedVerification: 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.

An explicit greedy rearrangement of the alternating harmonic series with sum 0, and the same recipe for any prescribed real

Example

Let aj=(−1)j/ι(j+1) be the terms of the alternating harmonic series, which converges conditionally (∑j≥0(−1)j/(j+1) converges conditionally, with sum strictly between 1/2 and 1). Fix a real c. The greedy rearrangement towards c is the bijection σ of N produced by the following rule, which is exactly the construction of 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‾ with the constant target c:

at each step, if the running sum of the terms already used is at most c, take the next unused nonnegative term of the series; otherwise take the next unused negative term.

By 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‾ the resulting rearrangement converges, with

∑k=0∞aσ(k)  =  c.

For c=0 the rule produces, in order,

1, −12, −14, −16, −18, 13, −110, −112, −114, −116, 15, …

the running sums after the successive terms being 1, 12, 14, 112, −124, then 724 after 13, and so on: one positive term followed by however many negative terms are needed to bring the running sum below 0 again.

The same series therefore has rearrangements summing to 0, to S itself, to 32S (Taking two positive terms for each negative one rearranges the alternating harmonic series to 3/2 times its sum, by the identity T3n=S4n+12S2n) and to every other real number, while its terms are never changed.

Facts & Assumptions

Given: The terms aj=(−1)j/ι(j+1) of the alternating harmonic series, and a real number c.

[L3]

The Riemann series theorem: for a conditionally convergent series and every real c there is a bijection σ of N with ∑aσ(k) convergent of sum c; the bijection is the greedy one described above, built by the recursion theorem on a state carrying the two counters and the running sum, with no least crossing index selected and no choice made (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‾, The recursion theorem, The well-ordering principle, Rearrangement of a series along a bijection of N, and unconditional convergence, Series, partial sums, convergence and the sum, divergence, and the tail series).

Verification

technique · direct
1.1

The alternating harmonic series converges conditionally.

givenL1
2.1

Its nonnegative terms are a2i=1/ι(2i+1), that is 1,1/3,1/5,…, and its negative terms are a2i+1=−1/ι(2i+2), that is −1/2,−1/4,−1/6,…; by [L2] the sums of each family are unbounded, so neither supply is exhausted at any stage of the greedy rule.

step 1.1L2
3.1

By the Riemann series theorem applied with the constant target c, the greedy rule defines a bijection σ of N and ∑kaσ(k) converges with sum c.

step 1.1step 2.1L3
4.1

Taking c=0 gives a rearrangement of the alternating harmonic series with sum 0, and taking c arbitrary gives one with sum c; the terms used are the same in every case.

step 3.1L3∎

Remarks

  • The displayed initial segment is arithmetic, not a further claim. Starting from a running sum of 0, which is at most c=0, the rule takes the first nonnegative term 1; the running sum 1 then exceeds 0, so negative terms are taken until it drops below 0, which the successive values 12, 14, 112, −124 show happens after four of them. The reader may continue the computation indefinitely; nothing in the verification depends on it.

  • Why the greedy rule terminates each phase. Each phase ends because the relevant part series diverges 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 +∞), so however far along the supply one is, enough remains to cross the target. This is the only place conditional convergence is used, and it is the reason the example has no analogue for an absolutely convergent series.

  • The overshoot vanishes, which is why the sum is exactly c. At each crossing the running sum differs from c by at most the term just used, and the terms of a convergent series tend to 0; since both supplies are consumed in order and both are exhausted, the terms used at successive crossings tend to 0 as well.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

48 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