The Recursive SpiralRFPA/AVPT & the Odisena Infinity Engine

Appendix B

Appendix B — Proof Notes

Sketches, at the level of a careful undergraduate review. Each is a FACT with a citation to a standard treatment.

B.1 — Convergence of ratios to φ. Let rn=Fn+1/Fn. Dividing Fn+1=Fn+Fn-1 by Fn gives rn=1+1/rn-1. If rnr, then r=1+1/r, so r2-r-1=0, whose positive root is φ. Convergence itself follows because the map x1+1/x is a contraction near φ; alternatively, it follows directly from Binet's formula below.[•]

B.2 — Binet's formula (by characteristic equation). The recurrence Fn=Fn-1+Fn-2 is linear with characteristic equation x2=x+1, roots φ and ψ. The general solution is Fn=Aφn+Bψn. Imposing F0=0 and F1=1 gives A=1/5, B=-1/5, hence Fn=(φn-ψn)/5. Since |ψ|<1, ψn0, so Fnφn/5; because |ψn/5|<1/2 for all n0, Fn is the nearest integer to φn/5.[•]

B.3 — Cassini's identity (by induction or determinant). Taking determinants of the Q-matrix identity Qn=[Fn+1FnFnFn-1]: since detQ=-1, det(Qn)=(-1)n, and expanding the right side gives Fn+1Fn-1-Fn2=(-1)n, which is Cassini's identity. This is the slickest proof and shows why the identity's sign alternates.[•]

B.4 — Time complexity of naive recursion. Let T(n) be the number of calls to compute Fn by naive recursion. Then T(n)=T(n-1)+T(n-2)+1, which itself grows like the Fibonacci numbers, i.e. like φn. Hence naive recursion is exponential; iteration and memoization reduce this to linear by preserving intermediate results, and matrix exponentiation to logarithmic by repeated squaring.[•]

B.5 — Tiling interpretation. The number of ways to tile a 2×n board with 1×2 dominoes satisfies D(n)=D(n-1)+D(n-2) with D(0)=D(1)=1, giving D(n)=Fn+1. The recurrence arises because a tiling ends either in one vertical domino (reducing to 2×(n-1)) or two stacked horizontal dominoes (reducing to 2×(n-2)).[•]

B.6 — Sum identity by telescoping. To show i=1nFi=Fn+2-1: write each term using the recurrence as Fi=Fi+2-Fi+1. Then the sum telescopes: i=1n(Fi+2-Fi+1)=Fn+2-F2=Fn+2-1, since F2=1. Telescoping is the additive analogue of preservation — each term cancels against its neighbor, leaving only the boundary terms, so the whole history collapses to its endpoints. This is a small, clean example of a running total that can be validated in one step against a closed form rather than by re-adding the whole sequence, exactly the kind of cheap invariant check Chapter 8 recommends.

B.7 — GCD property (sketch). To show gcd(Fm,Fn)=Fgcd(m,n): the key lemma is gcd(Fm,Fn)=gcd(Fm,Fn-m) for n>m, which follows from the addition formula Fn=Fn-mFm+1+Fn-m-1Fm (identity 6 of Appendix A) by reducing modulo Fm. Iterating this lemma performs the Euclidean algorithm on the indices, so the index of the resulting Fibonacci number is gcd(m,n).[•] This identity is striking because it means the Fibonacci numbers carry the divisibility structure of their own indices — a form of preserved provenance built into the sequence itself: the arithmetic relationship between positions survives in the arithmetic relationship between values.