Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28
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.

gcd(1071,462)=21\gcd(1071, 462) = 21 by the Euclidean algorithm, with the back-substitution giving 21=74623107121 = 7 \cdot 462 - 3 \cdot 1071

Example

The remainder descent of The Euclidean algorithm: for aZa \in \mathbb{Z} and b>0b > 0 the remainder descent from (a,b)(a,b) terminates, and the last nonzero remainder is gcd(a,b)\gcd(a,b) from (1071,462)(1071, 462) is

1071=2462+147,462=3147+21,147=721+0,1071 = 2 \cdot 462 + 147, \qquad 462 = 3 \cdot 147 + 21, \qquad 147 = 7 \cdot 21 + 0,

so the second coordinates are 462,  147,  21,  0462,\; 147,\; 21,\; 0: the descent stops after three divisions, the last nonzero remainder is 2121, and

gcd(1071,462)  =  21.\gcd(1071, 462) \;=\; 21 .

Reading the divisions backwards gives Bézout coefficients:

21  =  4623147  =  4623(10712462)  =  746231071,21 \;=\; 462 - 3 \cdot 147 \;=\; 462 - 3(1071 - 2 \cdot 462) \;=\; 7 \cdot 462 - 3 \cdot 1071 ,

that is, 1071(3)+4627=211071 \cdot (-3) + 462 \cdot 7 = 21.

Numerals. For kNk \in \mathbb{N} the symbol kk written inside Z\mathbb{Z} means ι(k)\iota(k), where ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is the embedding of The naturals embed in the integers. Since ι\iota is injective and preserves addition, multiplication and order, each numerical identity and inequality below is the image of the corresponding one in N\mathbb{N}, checked there by the ordinary decimal arithmetic of N\mathbb{N}.

Facts & Assumptions

Given: The integers 10711071, 462462, 147147, 2121 and 00, with numerals read as above through ι\iota (The naturals embed in the integers, The integers as equivalence classes of pairs of naturals).

[L1]

Z\mathbb{Z} 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).

[L2]

For aZa \in \mathbb{Z} and b>0b > 0 there is exactly one pair (q,r)(q,r) with a=qb+ra = qb + r and 0r<b0 \le r < b (Division with remainder in Z\mathbb{Z}: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b).

[L5]

The descent of The Euclidean algorithm: for aZa \in \mathbb{Z} and b>0b > 0 the remainder descent from (a,b)(a,b) terminates, and the last nonzero remainder is gcd(a,b)\gcd(a,b) from (a,b)(a,b) with b>0b > 0 sends (u,v)(u,v) with v>0v > 0 to (v,uqv)(v, u - qv), where qq is the quotient of uu by vv; it terminates at the least index NN with vanishing second coordinate, and the last nonzero remainder equals gcd(a,b)\gcd(a,b).

[L7]

Verification

technique · direct
1.1

The three divisions are correct and are the ones [L2] produces. First, 2462=9242 \cdot 462 = 924 and 924+147=1071924 + 147 = 1071, with 0147<4620 \le 147 < 462. Second, 3147=4413 \cdot 147 = 441 and 441+21=462441 + 21 = 462, with 021<1470 \le 21 < 147. Third, 721=1477 \cdot 21 = 147 and 147+0=147147 + 0 = 147, with 00<210 \le 0 < 21. In each line the remainder satisfies the constraint of [L2], so by the uniqueness there it is the remainder.

L1L2algebra
2.1

Applying [L3] to the three identities in turn gives gcd(1071,462)=gcd(462,147)=gcd(147,21)=gcd(21,0)\gcd(1071,462) = \gcd(462,147) = \gcd(147,21) = \gcd(21,0).

step 1.1L3
2.2

Back-substitution. From the second division, 21=462314721 = 462 - 3 \cdot 147; from the first, 147=10712462147 = 1071 - 2 \cdot 462. Substituting, 21=4623(10712462)=462+646231071=74623107121 = 462 - 3(1071 - 2 \cdot 462) = 462 + 6 \cdot 462 - 3 \cdot 1071 = 7 \cdot 462 - 3 \cdot 1071.

step 1.1L1algebra
3.1

gcd(21,0)=21=21\gcd(21,0) = |21| = 21, since 21021 \ge 0. Hence gcd(1071,462)=21\gcd(1071,462) = 21.

step 2.1L1L4
3.2

The result checks numerically: 7462=32347 \cdot 462 = 3234, 31071=32133 \cdot 1071 = 3213, and 32343213=213234 - 3213 = 21.

step 2.2algebra
4.1

In the language of [L5], the descent from (1071,462)(1071,462) is (1071,462)(462,147)(147,21)(21,0)(1071,462) \mapsto (462,147) \mapsto (147,21) \mapsto (21,0), so the second coordinates are 462,147,21,0462, 147, 21, 0; the least index with vanishing second coordinate is N=3N = 3, the last nonzero remainder is 2121, and it equals gcd(1071,462)\gcd(1071,462) as [L5] asserts.

step 1.1step 3.1L5
4.2

So 1071(3)+4627=21=gcd(1071,462)1071 \cdot (-3) + 462 \cdot 7 = 21 = \gcd(1071,462), an explicit instance of [L6] with (x,y)=(3,7)(x,y) = (-3, 7).

step 3.1step 2.2step 3.2L6
5.1

Finally 21107121 \mid 1071 and 2146221 \mid 462 directly: 2151=107121 \cdot 51 = 1071 and 2122=46221 \cdot 22 = 462, so the value found is indeed a common divisor, as it must be.

step 3.1L7algebra

Remarks

Depends on

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