Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck 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 m∈N the Euclidean algorithm on (Fm+3,Fm+2) takes exactly m+1 divisions, with quotient 1 in the first m of them and quotient 2 in the last

Example

The sequence. Write k+1 for σ(k) and k+2 for σ(σ(k)) (Addition of natural numbers). By the recursion theorem (The recursion theorem) applied to the set Z×Z, the element (0,1) and the function (u,v)↦(v, u+v), there is exactly one G:N→Z×Z with G(0)=(0,1) and G(k+1)=(v, u+v) whenever G(k)=(u,v). Define Fk to be the first coordinate of G(k). Then G(k)=(Fk,Fk+1) for every k, so

F0=0,F1=1,Fk+2=Fk+1+Fk,

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

Coprimality. For every k∈N,

gcd⁡(Fk+1, Fk)  =  1,

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

The division count. For m∈N let R be the remainder descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (Fm+3, Fm+2), which is legitimate because Fm+2>0, and for k below the terminating index N let qk be the quotient used at step k, so that ak=qkbk+bk+1 with 0≤bk+1<bk. Then

N=m+1,qk=1  for k<m,qm=2.

Equivalently, on (Fn+2,Fn+1) with n=m+1≥1 the algorithm performs exactly n divisions. At m=0 the pair is (F3,F2)=(2,1), there is a single division 2=2⋅1+0, and the list of quotients equal to 1 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:N→Z described above, with F0=0, F1=1 and Fk+2=Fk+1+Fk.

[L1]

Z is a commutative ring; its order is total, antisymmetric and transitive and is compatible with addition; positives are closed under multiplication; x<y means x≤y together with x≠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).

[L3]

For a set X, an α∈X and f:X→X there is exactly one g:N→X with g(0)=α and g(σ(k))=f(g(k)) (The recursion theorem).

[L4]

ι:N→Z is injective, preserves order, and has image the nonnegative integers (The naturals embed in the integers); hence 0<x in Z implies 1≤x, since x=ι(k) with k≠0, so σ(0)≤k by the discreteness of [L2] and order preservation gives 1=ι(1)≤ι(k)=x (Discreteness: σ(n) is the immediate successor).

[L5]

For u∈Z and v>0 there is exactly one pair (q,r) with u=qv+r and 0≤r<v (Division with remainder in Z: for a∈Z and b>0 there are unique q,r∈Z with a=qb+r and 0≤r<b).

[L8]

The descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (a,b) with b>0 satisfies R(0)=(a,b) and R(k+1)=(bk, ak−qkbk) whenever bk>0, with qk the quotient of ak by bk; it is the unique such sequence, and N is the least index with bN=0.

[L9]

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

Verification

technique · induction
1.1

G(k)=(Fk,Fk+1) for every k, by induction: it holds at k=0 since G(0)=(0,1)=(F0,F1), and if G(k)=(Fk,Fk+1) then G(k+1)=(Fk+1, Fk+Fk+1), whose first coordinate is Fk+1, so the second is Fk+2 by definition of F as the first coordinate one step later. Hence Fk+2=Fk+1+Fk.

L1L2L3
1.2

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

ih
2.1

For every k: Fk≥0 and Fk+1≥1. By induction, at k=0 this is F0=0≥0 and F1=1≥1; and if it holds at k then Fk+1≥1≥0 and Fk+2=Fk+1+Fk≥1+0=1, using compatibility of the order with addition.

step 1.1L1L2L4
2.2

Coprimality. By induction on k: at k=0, gcd⁡(F1,F0)=gcd⁡(1,0)=∣1∣=1 by [L7]. If gcd⁡(Fk+1,Fk)=1, then Fk+2=1⋅Fk+1+Fk and [L6] give gcd⁡(Fk+2,Fk+1)=gcd⁡(Fk+1,Fk)=1. So gcd⁡(Fk+1,Fk)=1 for every k, and consecutive Fibonacci numbers are coprime.

step 1.1L1L2L6L7L9
2.3

Base case of the division count, m=0. Here F2=F1+F0=1 and F3=F2+F1=1+1=2, so the descent starts at (2,1) with b0=1>0. Dividing, 2=q⋅1+r with 0≤r<1 forces r=0, since 0<r would give 1≤r by [L4]; hence q=2 and R(1)=(1,0). So N=1=m+1, the single quotient is q0=2, and there is no index k<m=0.

basestep 1.1L1L4L5L8
3.1

For every m: 0≤Fm+1, 0<Fm+2 and Fm+2<Fm+3. The first two are step 2.1; and Fm+3=Fm+2+Fm+1 with Fm+1≥1>0 gives Fm+2<Fm+3.

step 1.1step 2.1L1
4.1

Inductive step. Consider the descent R′ from (Fm+4,Fm+3); it is legitimate since Fm+3>0 by step 3.1. Its first division is Fm+4=1⋅Fm+3+Fm+2, and 0≤Fm+2<Fm+3 by step 3.1, so by the uniqueness in [L5] the quotient is q0′=1 and R′(1)=(Fm+3,Fm+2).

step 1.1step 3.1L5L8
5.1

The shifted sequence k↦R′(k+1) starts at (Fm+3,Fm+2) and obeys the same recursion as R′, hence, by the uniqueness in [L3], equals the descent from (Fm+3,Fm+2). Therefore its terminating index is m+1 by step 1.2, so R′ terminates at index 1+(m+1)=(m+1)+1; and its quotients are q0′=1 followed by the quotients of step 1.2, that is 1 repeated m+1 times and then 2. This is the claim at m+1.

step 1.2step 4.1L3L8
6.1

By induction the division count holds for every m∈N: the descent from (Fm+3,Fm+2) takes exactly m+1 divisions, with quotient 1 in the first m and quotient 2 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 · two levels

50 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