Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-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.

Eventually periodic regular continued fractions are quadratic irrationals

Statement

The value of every eventually periodic regular continued fraction is a quadratic irrational.

Facts & Assumptions

Given: An eventually periodic regular continued fraction α=[a0;a1,a2,].

[F1]

There are integers N0 and h1 such that an+h=an for every nN (Eventually periodic regular continued fractions).

[F2]

If pn/qn are the convergents of a finite prefix, then for every t>0, [a0;a1,,an,t]=tpn+pn1tqn+qn1. (Convergents are given by the standard recurrences and tail formula).

[F3]

For a finite regular continued fraction whose digits are all positive, the convergents satisfy q0=1, p0=a0>0, and, when n1, pn,qn>0 (Convergents of a regular continued fraction).

[F4]

Consecutive convergents satisfy pnqn1pn1qn=(1)n1. (Determinant identity for consecutive convergents).

[F5]

The finite convergents of an infinite regular continued fraction converge to its value (Every infinite regular continued fraction converges to a unique real number).

Proof

technique · direct
1.1

By increasing N if necessary, we may still assume. [F1, F2, F3, F5, algebra] an+h=an(nN) with N1. Let x=[aN;aN+1,,aN+h1,aN,aN+1,] be the purely periodic tail. For r1, let xr be the finite continued fraction formed from r copies of this period. By [F5], xrx, and [F2] gives xr+1=xrph1+ph2xrqh1+qh2, where the convergents are taken for the digit block aN,,aN+h1. The denominators are positive by [F3], so a direct difference calculation shows that the displayed fractional-linear expression preserves the limit xrx. Hence x=xph1+ph2xqh1+qh2. Clearing denominators yields the quadratic equation qh1x2+(qh2ph1)xph2=0.

F1F2F3F5algebra
2.1

The discriminant of the quadratic in step 1.1 is. [step 1.1, F3, F4, algebra] Δ=(qh2ph1)2+4qh1ph2=(ph1+qh2)24(ph1qh2ph2qh1). Putting m:=ph1+qh2>0, fact [F4] gives Δ=m24(1)h2. If h is odd, then Δ=m2+4, which cannot be a square because (nm)(n+m)=4 has no solution in integers with m>0. If h is even, then h2, fact [F3] gives ph1p12 and qh2q0=1, so m3; then Δ=m24, which cannot be a square because (mn)(m+n)=4 has no solution with m3. Therefore Δ is not a square, so the root x from step 1.1 is irrational.

step 1.1F3F4algebra
2.2

Append the finite tails xr of step 1.1 after the prefix. [F1, F2, F5, step 1.1, algebra] a0,,aN1. These are a subsequence of the convergents of α, so [F5] makes their values tend to α. By [F2] their values are xrpN1+pN2xrqN1+qN2. The same positive-denominator difference calculation used in step 1.1 lets r and gives α=xpN1+pN2xqN1+qN2. Clearing denominators and substituting the quadratic equation from step 1.1 shows that α also satisfies a quadratic equation over Q.

F1F2F5step 1.1algebra
3.1

Suppose that α were rational. Step 2.2 gives. [step 2.1, step 2.2, F4, algebra] x(αqN1pN1)=pN2αqN2. If αqN1pN1=0, then also pN2αqN2=0, and eliminating α yields pN1qN2pN2qN1=0, contrary to [F4]. Therefore x=pN2αqN2αqN1pN1 is rational, contradicting step 2.1. Hence α is irrational.

step 2.1step 2.2F4algebra
4.1

Steps 2.2 and 3.1 show that α is an irrational real root of a quadratic equation over Q, which is exactly the definition of a quadratic irrational (Quadratic irrationals).

step 2.2step 3.1

Depends on

Used by

Dependency tree · two levels

16 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