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.
by the Euclidean algorithm, with the back-substitution giving
Example
The remainder descent of The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is from is
so the second coordinates are : the descent stops after three divisions, the last nonzero remainder is , and
Reading the divisions backwards gives Bézout coefficients:
that is, .
Numerals. For the symbol written inside means , where is the embedding of The naturals embed in the integers. Since is injective and preserves addition, multiplication and order, each numerical identity and inequality below is the image of the corresponding one in , checked there by the ordinary decimal arithmetic of .
Facts & Assumptions
Given: The integers , , , and , with numerals read as above through (The naturals embed in the integers, The integers as equivalence classes of pairs of naturals).
is a commutative ring, and its order is total, antisymmetric, transitive and compatible with addition (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers).
For and there is exactly one pair with and (Division with remainder in : for and there are unique with and ).
The descent of The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is from with sends with to , where is the quotient of by ; it terminates at the least index with vanishing second coordinate, and the last nonzero remainder equals .
For the equation has an integer solution (Bézout's identity: for integers not both zero, is the least positive element of ; in particular has an integer solution), and the extended descent computes one (The extended Euclidean algorithm: the same descent produces integers with , so Bézout coefficients are computed and not merely shown to exist).
means for some (Divisibility in : when for some integer ).
Verification
The three divisions are correct and are the ones [L2] produces. First, and , with . Second, and , with . Third, and , with . In each line the remainder satisfies the constraint of [L2], so by the uniqueness there it is the remainder.
Applying [L3] to the three identities in turn gives .
Back-substitution. From the second division, ; from the first, . Substituting, .
, since . Hence .
The result checks numerically: , , and .
In the language of [L5], the descent from is , so the second coordinates are ; the least index with vanishing second coordinate is , the last nonzero remainder is , and it equals as [L5] asserts.
So , an explicit instance of [L6] with .
Finally and directly: and , so the value found is indeed a common divisor, as it must be.
Remarks
-
Three divisions, and the count is exact for this pair only. Nothing here, and nothing on the companion page, proves a bound on the number of divisions in terms of the size of the inputs.
-
The back-substitution is not a second algorithm. It is the same descent read in reverse, and The extended Euclidean algorithm: the same descent produces integers with , so Bézout coefficients are computed and not merely shown to exist performs it forwards, carrying the coefficient pairs alongside the remainders instead of recovering them afterwards.
-
The coefficients are not unique: as well, and Bézout coefficients are not unique: and , and for nonzero every solution has the form describes the whole family.
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)$
- The extended Euclidean algorithm: the same descent produces integers $x, y$ with $ax + by = \gcd(a,b)$, so Bézout coefficients are computed and not merely shown to exist
- If $a = qb + r$ then $a, b$ and $b, r$ have exactly the same common divisors, so $\gcd(a,b) = \gcd(b,r)$
- $\gcd$ is symmetric and unchanged by signs: $\gcd(a,b) = \gcd(b,a) = \gcd(|a|,|b|)$; moreover $\gcd(a,0) = |a|$, $\gcd(a,1) = 1$, $\gcd(a,a) = |a|$, and $\gcd(a,b) \ge 1$ unless $a = b = 0$
- Bézout's identity: for integers $a, b$ not both zero, $\gcd(a,b)$ is the least positive element of $\{\, ax + by : x, y \in \mathbb{Z} \,\}$; in particular $ax + by = \gcd(a,b)$ has an integer solution
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- 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 integers as equivalence classes of pairs of naturals
- Arithmetic on the integers
- Order on the integers
- The integers form a commutative ring
- The integers form a totally ordered ring
- The naturals embed in the integers
- The absolute value $|a|$ of an integer
- Absolute value in $\mathbb{Z}$: $|a| \ge 0$; $|a| = 0$ exactly when $a = 0$; $|-a| = |a|$; $|ab| = |a|\,|b|$; $-|a| \le a \le |a|$; and $|a| \le c$ exactly when $-c \le a \le c$
Used by
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 59 results over 21 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
- Euclidean algorithm (Wikipedia) (standard reference, not scraped)