Alphabeta Math
ExampleConstruction: AI-adaptedVerification: 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.

ax+by=cax + by = c has an integer solution exactly when gcd(a,b)c\gcd(a,b) \mid c: 6x+15y=96x + 15y = 9 is solvable and 6x+15y=76x + 15y = 7 is not

Example

For integers a,b,ca, b, c, the equation

ax+by=cax + by = c

has a solution (x,y)Z×Z(x,y) \in \mathbb{Z} \times \mathbb{Z} if and only if gcd(a,b)c\gcd(a,b) \mid c (Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0, Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq).

With a=6a = 6 and b=15b = 15, where gcd(6,15)=3\gcd(6,15) = 3:

  • 6x+15y=96x + 15y = 9 is solvable, since 393 \mid 9; explicitly 6(1)+151=96 \cdot (-1) + 15 \cdot 1 = 9;
  • 6x+15y=76x + 15y = 7 has no solution, since 373 \nmid 7: dividing, 7=23+17 = 2 \cdot 3 + 1 with remainder 101 \ne 0.

Numerals. For kNk \in \mathbb{N} the symbol kk inside Z\mathbb{Z} means ι(k)\iota(k), the embedding of The naturals embed in the integers; the numerical identities below are the images of the corresponding identities in N\mathbb{N}.

Facts & Assumptions

Given: Integers a,b,ca, b, c, and g:=gcd(a,b)g := \gcd(a,b).

[L1]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x1=xx \cdot 1 = x, x0=0x \cdot 0 = 0, x(1)=xx \cdot (-1) = -x, multiplication distributes over addition, and every xx has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

The order on Z\mathbb{Z} is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers).

[L3]

gg is a common divisor of aa and bb, g0g \ge 0, and gcd(0,0)=0\gcd(0,0) = 0 (Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0).

[L7]

dud \mid u means u=dqu = dq for some qq; 0u0 \mid u only for u=0u = 0 (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq).

[L8]

For uZu \in \mathbb{Z} and v>0v > 0 there is exactly one pair (q,r)(q,r) with u=qv+ru = qv + r and 0r<v0 \le r < v, and vuv \mid u holds exactly when r=0r = 0 (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).

Verification

technique · direct
1.1

If ax+by=cax + by = c has a solution, then gag \mid a and gbg \mid b give gax+by=cg \mid ax + by = c by [L6].

L3L6
1.2

Conversely suppose gcg \mid c, say c=gkc = gk. If (a,b)(0,0)(a,b) \ne (0,0), take x0,y0x_0, y_0 with ax0+by0=ga x_0 + b y_0 = g and multiply by kk: a(x0k)+b(y0k)=gk=ca(x_0 k) + b(y_0 k) = gk = c, a solution.

L1L4L7
1.3

If instead (a,b)=(0,0)(a,b) = (0,0) then g=0g = 0, so 0c0 \mid c forces c=0c = 0, and a0+b0=0=ca \cdot 0 + b \cdot 0 = 0 = c is a solution. The two cases are exhaustive.

L1L3L7
1.4

gcd(6,15)=3\gcd(6,15) = 3. Indeed 303 \ge 0; 6=326 = 3 \cdot 2 and 15=3515 = 3 \cdot 5, so 363 \mid 6 and 3153 \mid 15; and 6(2)+151=12+15=36 \cdot (-2) + 15 \cdot 1 = -12 + 15 = 3, so every common divisor of 66 and 1515 divides 33 by [L6]. By [L5] this is exactly the characterisation of gcd(6,15)\gcd(6,15).

L1L5L6L7algebra
2.1

So solvability of ax+by=cax + by = c is equivalent to gcg \mid c.

step 1.1step 1.2step 1.3
3.1

393 \mid 9, since 9=339 = 3 \cdot 3; so 6x+15y=96x + 15y = 9 is solvable by step 2.1, and 6(1)+151=6+15=96 \cdot (-1) + 15 \cdot 1 = -6 + 15 = 9 exhibits a solution.

step 2.1step 1.4L1L7algebra
4.1

373 \nmid 7: since 3>03 > 0, [L8] applies, and 7=23+17 = 2 \cdot 3 + 1 with 01<30 \le 1 < 3 is the unique such representation, so the remainder is 101 \ne 0 and 33 does not divide 77. Hence 6x+15y=76x + 15y = 7 has no integer solution by step 2.1.

step 2.1step 1.4L1L2L8algebra

Remarks

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 54 results over 20 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