Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck passverified 2026-08-02 (claude-opus-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.

Consecutive Fibonacci numbers are coprime, and for every mNm \in \mathbb{N} the Euclidean algorithm on (Fm+3,Fm+2)(F_{m+3}, F_{m+2}) takes exactly m+1m+1 divisions, with quotient 11 in the first mm of them and quotient 22 in the last

Example

The sequence. Write k+1k+1 for σ(k)\sigma(k) and k+2k+2 for σ(σ(k))\sigma(\sigma(k)) (Addition of natural numbers). By the recursion theorem (The recursion theorem) applied to the set Z×Z\mathbb{Z} \times \mathbb{Z}, the element (0,1)(0,1) and the function (u,v)(v,u+v)(u,v) \mapsto (v,\, u+v), there is exactly one G:NZ×ZG : \mathbb{N} \to \mathbb{Z} \times \mathbb{Z} with G(0)=(0,1)G(0) = (0,1) and G(k+1)=(v,u+v)G(k+1) = (v,\, u+v) whenever G(k)=(u,v)G(k) = (u,v). Define FkF_k to be the first coordinate of G(k)G(k). Then G(k)=(Fk,Fk+1)G(k) = (F_k, F_{k+1}) for every kk, so

F0=0,F1=1,Fk+2=Fk+1+Fk,F_0 = 0, \qquad F_1 = 1, \qquad F_{k+2} = F_{k+1} + F_k ,

and the sequence begins 0,1,1,2,3,5,8,130, 1, 1, 2, 3, 5, 8, 13. The indexing starts at F0=0F_0 = 0, and the statements below depend on that choice.

Coprimality. For every kNk \in \mathbb{N},

gcd(Fk+1,Fk)  =  1,\gcd(F_{k+1},\, F_k) \;=\; 1 ,

so consecutive Fibonacci numbers are coprime (Coprime integers: gcd(a,b)=1\gcd(a,b) = 1).

The division count. For mNm \in \mathbb{N} let RR be the remainder descent of The Euclidean algorithm: for aZa \in \mathbb{Z} and b>0b > 0 the remainder descent from (a,b)(a,b) terminates, and the last nonzero remainder is gcd(a,b)\gcd(a,b) from (Fm+3,Fm+2)(F_{m+3},\, F_{m+2}), which is legitimate because Fm+2>0F_{m+2} > 0, and for kk below the terminating index NN let qkq_k be the quotient used at step kk, so that ak=qkbk+bk+1a_k = q_k b_k + b_{k+1} with 0bk+1<bk0 \le b_{k+1} < b_k. Then

N=m+1,qk=1  for k<m,qm=2.N = m+1, \qquad q_k = 1 \ \text{ for } k < m, \qquad q_m = 2 .

Equivalently, on (Fn+2,Fn+1)(F_{n+2}, F_{n+1}) with n=m+11n = m+1 \ge 1 the algorithm performs exactly nn divisions. At m=0m = 0 the pair is (F3,F2)=(2,1)(F_3,F_2) = (2,1), there is a single division 2=21+02 = 2 \cdot 1 + 0, and the list of quotients equal to 11 is empty.

What is not claimed. Nothing here says these pairs are the worst case for their size; that is Lamé's theorem, and no bound on the number of divisions in terms of the size of the inputs is available at this point in the reading order.

Facts & Assumptions

Given: The sequence F:NZF : \mathbb{N} \to \mathbb{Z} described above, with F0=0F_0 = 0, F1=1F_1 = 1 and Fk+2=Fk+1+FkF_{k+2} = F_{k+1} + F_k.

[L1]

Z\mathbb{Z} is a commutative ring; its order is total, antisymmetric and transitive and is compatible with addition; positives are closed under multiplication; x<yx < y means xyx \le y together with xyx \ne y (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

Induction on N\mathbb{N} (The principle of mathematical induction); σ(k)=k+1\sigma(k) = k+1 (Addition of natural numbers, The natural numbers N\mathbb{N} (von Neumann)); m<nm < n iff σ(m)n\sigma(m) \le n on N\mathbb{N} (Discreteness: σ(n)\sigma(n) is the immediate successor, Order on the natural numbers).

[L3]

For a set XX, an αX\alpha \in X and f:XXf : X \to X there is exactly one g:NXg : \mathbb{N} \to X with g(0)=αg(0) = \alpha and g(σ(k))=f(g(k))g(\sigma(k)) = f(g(k)) (The recursion theorem).

[L4]

ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is injective, preserves order, and has image the nonnegative integers (The naturals embed in the integers); hence 0<x0 < x in Z\mathbb{Z} implies 1x1 \le x, since x=ι(k)x = \iota(k) with k0k \ne 0, so σ(0)k\sigma(0) \le k by the discreteness of [L2] and order preservation gives 1=ι(1)ι(k)=x1 = \iota(1) \le \iota(k) = x (Discreteness: σ(n)\sigma(n) is the immediate successor).

[L5]

For uZu \in \mathbb{Z} and v>0v > 0 there is exactly one pair (q,r)(q,r) with u=qv+ru = qv + r and 0r<v0 \le r < v (Division with remainder in Z\mathbb{Z}: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b).

[L8]

The descent of The Euclidean algorithm: for aZa \in \mathbb{Z} and b>0b > 0 the remainder descent from (a,b)(a,b) terminates, and the last nonzero remainder is gcd(a,b)\gcd(a,b) from (a,b)(a,b) with b>0b > 0 satisfies R(0)=(a,b)R(0) = (a,b) and R(k+1)=(bk,akqkbk)R(k+1) = (b_k,\, a_k - q_k b_k) whenever bk>0b_k > 0, with qkq_k the quotient of aka_k by bkb_k; it is the unique such sequence, and NN is the least index with bN=0b_N = 0.

[L9]

uu and vv are coprime exactly when gcd(u,v)=1\gcd(u,v) = 1 (Coprime integers: gcd(a,b)=1\gcd(a,b) = 1).

Verification

technique · induction
1.1

G(k)=(Fk,Fk+1)G(k) = (F_k, F_{k+1}) for every kk, by induction: it holds at k=0k = 0 since G(0)=(0,1)=(F0,F1)G(0) = (0,1) = (F_0, F_1), and if G(k)=(Fk,Fk+1)G(k) = (F_k,F_{k+1}) then G(k+1)=(Fk+1,Fk+Fk+1)G(k+1) = (F_{k+1},\, F_k + F_{k+1}), whose first coordinate is Fk+1F_{k+1}, so the second is Fk+2F_{k+2} by definition of FF as the first coordinate one step later. Hence Fk+2=Fk+1+FkF_{k+2} = F_{k+1} + F_k.

L1L2L3
1.2

Induction hypothesis: fix mm and assume that the descent from (Fm+3,Fm+2)(F_{m+3},F_{m+2}) terminates at index m+1m+1 with quotients qk=1q_k = 1 for k<mk < m and qm=2q_m = 2.

ih
2.1

For every kk: Fk0F_k \ge 0 and Fk+11F_{k+1} \ge 1. By induction, at k=0k = 0 this is F0=00F_0 = 0 \ge 0 and F1=11F_1 = 1 \ge 1; and if it holds at kk then Fk+110F_{k+1} \ge 1 \ge 0 and Fk+2=Fk+1+Fk1+0=1F_{k+2} = F_{k+1} + F_k \ge 1 + 0 = 1, using compatibility of the order with addition.

step 1.1L1L2L4
2.2

Coprimality. By induction on kk: at k=0k = 0, gcd(F1,F0)=gcd(1,0)=1=1\gcd(F_1,F_0) = \gcd(1,0) = |1| = 1 by [L7]. If gcd(Fk+1,Fk)=1\gcd(F_{k+1},F_k) = 1, then Fk+2=1Fk+1+FkF_{k+2} = 1 \cdot F_{k+1} + F_k and [L6] give gcd(Fk+2,Fk+1)=gcd(Fk+1,Fk)=1\gcd(F_{k+2},F_{k+1}) = \gcd(F_{k+1},F_k) = 1. So gcd(Fk+1,Fk)=1\gcd(F_{k+1},F_k) = 1 for every kk, and consecutive Fibonacci numbers are coprime.

step 1.1L1L2L6L7L9
2.3

Base case of the division count, m=0m = 0. Here F2=F1+F0=1F_2 = F_1 + F_0 = 1 and F3=F2+F1=1+1=2F_3 = F_2 + F_1 = 1 + 1 = 2, so the descent starts at (2,1)(2,1) with b0=1>0b_0 = 1 > 0. Dividing, 2=q1+r2 = q \cdot 1 + r with 0r<10 \le r < 1 forces r=0r = 0, since 0<r0 < r would give 1r1 \le r by [L4]; hence q=2q = 2 and R(1)=(1,0)R(1) = (1,0). So N=1=m+1N = 1 = m+1, the single quotient is q0=2q_0 = 2, and there is no index k<m=0k < m = 0.

basestep 1.1L1L4L5L8
3.1

For every mm: 0Fm+10 \le F_{m+1}, 0<Fm+20 < F_{m+2} and Fm+2<Fm+3F_{m+2} < F_{m+3}. The first two are step 2.1; and Fm+3=Fm+2+Fm+1F_{m+3} = F_{m+2} + F_{m+1} with Fm+11>0F_{m+1} \ge 1 > 0 gives Fm+2<Fm+3F_{m+2} < F_{m+3}.

step 1.1step 2.1L1
4.1

Inductive step. Consider the descent RR' from (Fm+4,Fm+3)(F_{m+4}, F_{m+3}); it is legitimate since Fm+3>0F_{m+3} > 0 by step 3.1. Its first division is Fm+4=1Fm+3+Fm+2F_{m+4} = 1 \cdot F_{m+3} + F_{m+2}, and 0Fm+2<Fm+30 \le F_{m+2} < F_{m+3} by step 3.1, so by the uniqueness in [L5] the quotient is q0=1q'_0 = 1 and R(1)=(Fm+3,Fm+2)R'(1) = (F_{m+3}, F_{m+2}).

step 1.1step 3.1L5L8
5.1

The shifted sequence kR(k+1)k \mapsto R'(k+1) starts at (Fm+3,Fm+2)(F_{m+3},F_{m+2}) and obeys the same recursion as RR', hence, by the uniqueness in [L3], equals the descent from (Fm+3,Fm+2)(F_{m+3},F_{m+2}). Therefore its terminating index is m+1m+1 by step 1.2, so RR' terminates at index 1+(m+1)=(m+1)+11 + (m+1) = (m+1)+1; and its quotients are q0=1q'_0 = 1 followed by the quotients of step 1.2, that is 11 repeated m+1m+1 times and then 22. This is the claim at m+1m+1.

step 1.2step 4.1L3L8
6.1

By induction the division count holds for every mNm \in \mathbb{N}: the descent from (Fm+3,Fm+2)(F_{m+3},F_{m+2}) takes exactly m+1m+1 divisions, with quotient 11 in the first mm and quotient 22 in the last; together with step 2.2 this is the whole example.

step 2.2step 2.3step 5.1L2discharge-induction

Remarks

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: 66 results over 24 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