Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-26
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 Babylonian sequence x1=2x_1 = 2, xk+1=(xk+2/xk)/2x_{k+1} = (x_k + 2/x_k)/2 decreases to 2\sqrt{2}

Example

Let (xk)k1(x_k)_{k \ge 1} be given by

x1=2,xk+1=12(xk+2xk)(k1).x_1 = 2, \qquad x_{k+1} = \frac{1}{2}\Big(x_k + \frac{2}{x_k}\Big) \qquad (k \ge 1).

Then (xk)(x_k) is strictly decreasing, every term satisfies xk>2x_k > \sqrt 2, and

limkxk=2.\lim_{k} x_k = \sqrt 2 .

This is the Babylonian, or Heron, iteration for the square root, and it is the standard illustration of A nondecreasing sequence bounded above converges to the supremum of its range, and a nonincreasing sequence bounded below to the infimum: monotone plus bounded delivers a limit, and the recursion then identifies the limit, because the limit must be a fixed point of the map that produced the sequence.

Indexing. Sequences in this library are functions on N\mathbb{N}, which starts at 00 (Sequences of reals: bounded, eventually, frequently, tails, subsequences). The family above, indexed from 11, is realised as xk:=gk1x_k := g_{k-1} for the sequence (gj)jN(g_j)_{j \in \mathbb{N}} with g0=2g_0 = 2 and gj+1=(gj+2/gj)/2g_{j+1} = (g_j + 2/g_j)/2, and the verification below works with (gj)(g_j). The shift changes nothing: convergence and monotonicity read the same under it (Convergence depends only on the tail).

Facts & Assumptions

Given: The set A:={uR:u>0}A := \{u \in \mathbb{R} : u > 0\}, the element 2A2 \in A, and the function f:AAf : A \to A with f(u)=(u+2/u)/2f(u) = (u + 2/u)/2, which does land in AA because u>0u > 0 gives 2/u>02/u > 0 and hence f(u)>0f(u) > 0; by the recursion theorem (The recursion theorem) the unique g:NAg : \mathbb{N} \to A with g0=2g_0 = 2 and gj+1=f(gj)g_{j+1} = f(g_j). We write xk:=gk1x_k := g_{k-1} for k1k \ge 1, so x1=2x_1 = 2 and xk+1=f(xk)x_{k+1} = f(x_k).

[L1]

Recursion theorem (The recursion theorem) and the induction principle (The principle of mathematical induction).

[L2]

Square roots: every a0a \ge 0 has a unique s0s \ge 0 with s2=as^2 = a; in particular (2)2=2(\sqrt 2)^2 = 2 (Square roots exist: a unique a0\sqrt{a} \ge 0 with (a)2=a(\sqrt{a})^2 = a; the positives are {x2:x0}\{x^2 : x \neq 0\}, Integer powers ama^m).

[L3]

Powers and order: for a,b0a, b \ge 0, a<ba < b exactly when a2<b2a^2 < b^2 (Monotonicity of xxnx \mapsto x^n and of nann \mapsto a^n).

[L4]

A nonzero square is positive: t0t \ne 0 gives t2>0t^2 > 0 (Squares of nonzero elements are positive).

[L5]

Order and arithmetic: 1>01 > 0, hence 2=1+1>02 = 1 + 1 > 0 and 2>12 > 1; sums of positives are positive; adding a constant preserves the order; a positive has a positive inverse, and a quotient of positives is positive (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Inverses of positives are positive, and reciprocation reverses order, Ordered field, Complete ordered field (least-upper-bound property)).

[L6]

Monotone sequences, with consecutive comparisons sufficing (Nondecreasing, increasing, nonincreasing, decreasing, monotone, and eventually monotone sequences), and boundedness below of a subset of R\mathbb{R} (Lower bound, bounded below, bounded set).

[L7]

Monotone convergence: a nonincreasing sequence whose range is bounded below converges, to the infimum of its range (A nondecreasing sequence bounded above converges to the supremum of its range, and a nonincreasing sequence bounded below to the infimum, Limits and Cauchy sequences of reals).

[L8]

Algebra of limits, including the quotient case when the denominators and the limit are nonzero (Algebra of limits: sums, scalar multiples, products and quotients); limits preserve non-strict inequalities (Limits preserve non-strict inequalities); a sequence and its tails have the same limits (Convergence depends only on the tail); limits are unique (A sequence has at most one limit).

Verification

technique · direct
1.1

Every term is positive, since gg takes values in AA by construction.

givenL5
1.2

By induction, (gj)2>2(g_j)^2 > 2 for every jj. Base: (g0)2=4>2(g_0)^2 = 4 > 2. Step: assuming (gj)2>2(g_j)^2 > 2, the identity (gj+1)22=((gj)222gj)2(g_{j+1})^2 - 2 = \Big(\dfrac{(g_j)^2 - 2}{2 g_j}\Big)^2 holds by field arithmetic, and its right-hand side is the square of a nonzero element, since (gj)22>0(g_j)^2 - 2 > 0 and 2gj>02g_j > 0, hence is >0> 0.

givenL1L4L5
2.1

Every term satisfies gj>2g_j > \sqrt 2: both gjg_j and 2\sqrt 2 are 0\ge 0, and (2)2=2<(gj)2(\sqrt 2)^2 = 2 < (g_j)^2.

step 1.1step 1.2L2L3
2.2

The sequence is strictly decreasing: gjgj+1=gj12(gj+2/gj)=(gj)222gj>0g_j - g_{j+1} = g_j - \tfrac12\big(g_j + 2/g_j\big) = \dfrac{(g_j)^2 - 2}{2 g_j} > 0, since the numerator is positive by step 1.2 and the denominator by step 1.1; consecutive comparisons then give strict decrease, hence also that (gj)(g_j) is nonincreasing.

step 1.1step 1.2L5L6
3.1

The range of (gj)(g_j) is bounded below by 2\sqrt 2, so by monotone convergence (gj)(g_j) converges; write LL for its limit.

step 2.1step 2.2L6L7
4.1

L2L \ge \sqrt 2: the inequality gj>2g_j > \sqrt 2 holds at every index, so it passes to the limit in its non-strict form. In particular L>0L > 0, since 2>0\sqrt 2 > 0 by (2)2=2>0(\sqrt 2)^2 = 2 > 0 and 20\sqrt 2 \ge 0.

step 2.1step 3.1L2L4L8
5.1

By the algebra of limits, using gj0g_j \ne 0 for every jj and L0L \ne 0, the sequence j12(gj+2/gj)j \mapsto \tfrac12\big(g_j + 2/g_j\big) converges to 12(L+2/L)\tfrac12\big(L + 2/L\big).

step 1.1step 3.1step 4.1L8
6.1

The sequence jgj+1j \mapsto g_{j+1} is the first tail of (gj)(g_j), so it also converges to LL; and it is the same sequence as in step 5.1, by the recursion clause.

step 3.1L8
7.1

By uniqueness of limits, L=12(L+2/L)L = \tfrac12(L + 2/L), hence 2L=L+2/L2L = L + 2/L, hence L=2/LL = 2/L and L2=2L^2 = 2.

step 5.1step 6.1L8L5
8.1

Since L0L \ge 0 and L2=2L^2 = 2, uniqueness of the nonnegative square root gives L=2L = \sqrt 2. So (gj)(g_j), and with it (xk)(x_k), is strictly decreasing, stays above 2\sqrt 2, and converges to 2\sqrt 2.

step 4.1step 7.1step 2.1step 2.2L2

Remarks

  • The identification of the limit is the interesting half. Monotone convergence produces LL but says only that it is the infimum of the range, which is not a usable description. Passing to the limit in the recursion turns the description into an equation, L=(L+2/L)/2L = (L + 2/L)/2, and that equation has exactly one nonnegative solution. The step that makes this legitimate is Convergence depends only on the tail: the shifted sequence (gj+1)(g_{j+1}) has the same limit as (gj)(g_j), so the two sides of the recursion may be compared in the limit.

  • The hypothesis L0L \ne 0 is not free. The quotient case of Algebra of limits: sums, scalar multiples, products and quotients requires it, and it is supplied by step 4.1, not assumed. Had the sequence been allowed to approach 00 the argument would break exactly there, and this is the usual place where a proof of this example is incomplete.

  • Convergence is very fast, though nothing above uses that. The identity in step 1.2 also gives gj+12=(gj2)2/(2gj)g_{j+1} - \sqrt 2 = (g_j - \sqrt 2)^2/(2 g_j), so the error is squared at each step: the iteration is Newton's method applied to u22u^2 - 2. The contractive estimate of Every contractive sequence is Cauchy, hence converges, with error bound xxkck1x2x1/(1c)|x - x_k| \le c^{k-1}|x_2 - x_1|/(1-c) for k1k \ge 1 would give only geometric decay, so it is a weaker tool here, and the monotone route is both shorter and sharper.

  • Nothing in the argument is special to 22. The same proof with 22 replaced by any a>0a > 0, starting from any x1>0x_1 > 0 with x12>ax_1^2 > a, converges to a\sqrt a. The starting value 22 is chosen because 22=4>22^2 = 4 > 2 makes the base case of step 1.2 immediate.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

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