Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck 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 by the Euclidean algorithm, with the back-substitution giving 21=7⋅462−3⋅1071

Example

The remainder descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (1071,462) is

1071=2⋅462+147,462=3⋅147+21,147=7⋅21+0,

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

gcd⁡(1071,462)  =  21.

Reading the divisions backwards gives Bézout coefficients:

21  =  462−3⋅147  =  462−3(1071−2⋅462)  =  7⋅462−3⋅1071,

that is, 1071⋅(−3)+462⋅7=21.

Numerals. For k∈N the symbol k written inside Z means ι(k), where ι:N→Z 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 N, checked there by the ordinary decimal arithmetic of N.

Facts & Assumptions

Given: The integers 1071, 462, 147, 21 and 0, with numerals read as above through ι (The naturals embed in the integers, The integers as equivalence classes of pairs of naturals).

[L1]

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 a∈Z and b>0 there is exactly one pair (q,r) with a=qb+r and 0≤r<b (Division with remainder in Z: for a∈Z and b>0 there are unique q,r∈Z with a=qb+r and 0≤r<b).

[L5]

The descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (a,b) with b>0 sends (u,v) with v>0 to (v,u−qv), where q is the quotient of u by v; it terminates at the least index N with vanishing second coordinate, and the last nonzero remainder equals gcd⁡(a,b).

[L7]

Verification

technique · direct
1.1

The three divisions are correct and are the ones [L2] produces. First, 2⋅462=924 and 924+147=1071, with 0≤147<462. Second, 3⋅147=441 and 441+21=462, with 0≤21<147. Third, 7⋅21=147 and 147+0=147, with 0≤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).

step 1.1L3
2.2

Back-substitution. From the second division, 21=462−3⋅147; from the first, 147=1071−2⋅462. Substituting, 21=462−3(1071−2⋅462)=462+6⋅462−3⋅1071=7⋅462−3⋅1071.

step 1.1L1algebra
3.1

gcd⁡(21,0)=∣21∣=21, since 21≥0. Hence gcd⁡(1071,462)=21.

step 2.1L1L4
3.2

The result checks numerically: 7⋅462=3234, 3⋅1071=3213, and 3234−3213=21.

step 2.2algebra
4.1

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

step 1.1step 3.1L5
4.2

So 1071⋅(−3)+462⋅7=21=gcd⁡(1071,462), an explicit instance of [L6] with (x,y)=(−3,7).

step 3.1step 2.2step 3.2L6
5.1

Finally 21∣1071 and 21∣462 directly: 21⋅51=1071 and 21⋅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 · two levels

42 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