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.
The extended Euclidean algorithm: the same descent produces integers with , so Bézout coefficients are computed and not merely shown to exist
Statement
Let and , and let and be the remainder descent and its terminating index from The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is . Define by
where in the first clause is the unique quotient of by given by Division with remainder in : for and there are unique with and . Let
be the function supplied by the recursion theorem (The recursion theorem), and write . Then for every
In particular, at the terminating index ,
so the descent that computes computes a pair of Bézout coefficients alongside it.
Facts & Assumptions
Given: , , the descent and terminating index of The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is , and the map and sequence described above.
is a commutative ring: addition and multiplication are associative and commutative, , , , multiplication distributes over addition, and every has an additive inverse; we write for (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
For and there is exactly one pair of integers with and (Division with remainder in : for and there are unique with and ).
For a set , an and there is exactly one with and (The recursion theorem, The natural numbers (von Neumann)).
Induction on (The principle of mathematical induction).
The descent satisfies ; for every ; with the quotient of by when , and when ; is the least index with ; and (The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is , Common divisor, and the greatest common divisor , with the convention ).
The order on is total and antisymmetric; means together with (The integers form a totally ordered ring, Order on the integers).
Proof
is a well-defined function: for the quotient of by is unique by [L2], so the first clause depends only on the argument; the second clause is the identity; and the two conditions and are exhaustive and exclusive by totality. So [L3] applies with and produces .
Base case, : ; and , .
Induction hypothesis: fix and assume , and .
Inductive step, case . Then , so both recursions take their first clause with the same divisor and the same dividend, hence with the same quotient by [L2]. Therefore .
Inductive step, case . Then , so and , while ; all three equalities are inherited unchanged. Since , the two cases are exhaustive.
Back in the case of step 2.1, the coefficients transport: , since ; and by distributivity.
By induction the three equalities hold for every .
At the terminating index this reads , so is a pair of Bézout coefficients for and , obtained from the descent itself.
Remarks
-
What "computed" means here. The coefficients are produced by a recursion over whose every step is an application of the division algorithm and four ring operations; nothing in the argument appeals to the existence of a least element of a set. That is the difference from Bézout's identity: for integers not both zero, is the least positive element of ; in particular has an integer solution, where the coefficients come from a well-ordering argument and the proof gives no way to find them.
-
The Bézout pair produced is not the only one. The companion page records the full family of solutions and a second pair for the same equation (Bézout coefficients are not unique: and , and for nonzero every solution has the form ↗).
-
Only the first four coordinates of are needed for the conclusion; the last two are carried because the recursion for reads off the previous values of , which is what makes the whole thing a single application of the recursion theorem instead of a mutual recursion.
Depends on
- The Euclidean algorithm: for $a \in \mathbb{Z}$ and $b > 0$ the remainder descent from $(a,b)$ terminates, and the last nonzero remainder is $\gcd(a,b)$
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- Division with remainder in $\mathbb{Z}$: for $a \in \mathbb{Z}$ and $b > 0$ there are unique $q, r \in \mathbb{Z}$ with $a = qb + r$ and $0 \le r < b$
- The recursion theorem
- The principle of mathematical induction
- The natural numbers $\mathbb{N}$ (von Neumann)
- The integers form a commutative ring
- Arithmetic on the integers
- The integers as equivalence classes of pairs of naturals
- The integers form a totally ordered ring
- Order on the integers
Used by
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 58 results over 23 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
- Extended Euclidean algorithm (Wikipedia) (standard reference, not scraped)