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.
Finite-rational Legendre criterion before the terminal convergent
Statement
Let and , with and reduced and . If , then is a convergent of the normalized finite regular continued fraction of . This is a finite-rational statement; it does not invoke the irrational-input Legendre theorem.
Facts & Assumptions
Given: Reduced with , and reduced with and .
A rational continued fraction terminates at its Euclidean quotient list, and normalized finite expansion chooses the representation whose last digit is at least unless the expansion is an integer (The continued-fraction algorithm terminates exactly on rational numbers, Normalized finite regular continued fractions are unique).
For convergents, and , and the finite-prefix formula is for the positive remaining tail (Convergents of a regular continued fraction, Convergents are given by the standard recurrences and tail formula, Complete-quotient tail formula).
Adjacent convergents satisfy (Determinant identity for consecutive convergents).
The complete quotient is at the last digit and otherwise ; the denominator recurrence is increasing after the possible initial equality (Complete quotients in the continued-fraction algorithm, Convergents of a regular continued fraction).
Reduced means coprime numerator and positive denominator, with gcd . If is coprime to and , then (Coprime integers: , If and then ; and if , and then ). Rational absolute value is multiplicative and satisfies the triangle inequality (Absolute value and the triangle inequality).
Proof
By [F1], write in normalized finite form. Since , is not an integer, so . Its terminal convergent equals by [F1] and [F2]. By [F3], any common divisor of divides , so this pair is coprime. Cross multiplication gives . Since , [F5] gives ; since , it also gives . Both denominators are positive, so they are equal: .
If , then is an integer and . Put and . The only possible such integers are and . The first is the zeroth convergent. If , then , hence ; the recurrence in [F2] gives . Thus is a convergent.
Suppose . Since , choose the largest with . Then ; the only repeated initial denominator can be , so and lies in (with when ). Put if , and otherwise let be the complete quotient after the prefix. By [F4], , and satisfies .
Put by [F3]. The integers and satisfy by expansion and ; hence . Cross multiplication using the tail formula [F2] gives . Since , it follows that . Finally and , so and .
The hypothesis makes the expression in step 3.1 less than . If , then , so . If , then because , so again . Both alternatives are impossible.
If , then is an integer. If , implies ; if , then and , while forces . Thus . Also implies , so . Hence , contradicting the strict hypothesis. Thus .
The alternatives , , and were excluded in steps 4.1–4.2, so . Then , hence and is the th convergent. The proof includes the terminal case because only was used, allowing equality at the terminal tail.
Depends on
- Finite and infinite regular continued fractions
- Convergents of a regular continued fraction
- Complete quotients in the continued-fraction algorithm
- Convergents are given by the standard recurrences and tail formula
- Determinant identity for consecutive convergents
- Complete-quotient tail formula
- The continued-fraction algorithm terminates exactly on rational numbers
- Normalized finite regular continued fractions are unique
- Coprime integers: $\gcd(a,b) = 1$
- If $\gcd(a,b) = 1$ and $a \mid bc$ then $a \mid c$; and if $a \mid c$, $b \mid c$ and $\gcd(a,b) = 1$ then $ab \mid c$
- Absolute value and the triangle inequality
Used by
Dependency tree · two levels
33 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
- Andrew M. Childs, Lecture Notes on Quantum Algorithms, §9 (standard reference, not scraped)
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)