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

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

Example

For integers a,b,c, the equation

ax+by=c

has a solution (x,y)∈Z×Z if and only if gcd⁡(a,b)∣c (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0, Divisibility in Z: d∣a when a=dq for some integer q).

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

  • 6x+15y=9 is solvable, since 3∣9; explicitly 6⋅(−1)+15⋅1=9;
  • 6x+15y=7 has no solution, since 3∤7: dividing, 7=2⋅3+1 with remainder 1≠0.

Numerals. For k∈N the symbol k inside Z means ι(k), the embedding of The naturals embed in the integers; the numerical identities below are the images of the corresponding identities in N.

Facts & Assumptions

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

[L1]

Z is a commutative ring: addition and multiplication are associative and commutative, x⋅1=x, x⋅0=0, x⋅(−1)=−x, multiplication distributes over addition, and every x 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 is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers).

[L3]

g is a common divisor of a and b, g≥0, and gcd⁡(0,0)=0 (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0).

[L7]

d∣u means u=dq for some q; 0∣u only for u=0 (Divisibility in Z: d∣a when a=dq for some integer q).

[L8]

For u∈Z and v>0 there is exactly one pair (q,r) with u=qv+r and 0≤r<v, and v∣u holds exactly when r=0 (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).

Verification

technique · direct
1.1L3L6

If ax+by=c has a solution, then g∣a and g∣b give g∣ax+by=c by [L6].

1.2L1L4L7

Conversely suppose g∣c, say c=gk. If (a,b)≠(0,0), take x0,y0 with ax0+by0=g and multiply by k: a(x0k)+b(y0k)=gk=c, a solution.

1.3L1L3L7

If instead (a,b)=(0,0) then g=0, so 0∣c forces c=0, and a⋅0+b⋅0=0=c is a solution. The two cases are exhaustive.

1.4L1L5L6L7algebra

gcd⁡(6,15)=3. Indeed 3≥0; 6=3⋅2 and 15=3⋅5, so 3∣6 and 3∣15; and 6⋅(−2)+15⋅1=−12+15=3, so every common divisor of 6 and 15 divides 3 by [L6]. By [L5] this is exactly the characterisation of gcd⁡(6,15).

2.1step 1.1step 1.2step 1.3

So solvability of ax+by=c is equivalent to g∣c.

3.1step 2.1step 1.4L1L7algebra

3∣9, since 9=3⋅3; so 6x+15y=9 is solvable by step 2.1, and 6⋅(−1)+15⋅1=−6+15=9 exhibits a solution.

4.1step 2.1step 1.4L1L2L8algebra∎

3∤7: since 3>0, [L8] applies, and 7=2⋅3+1 with 0≤1<3 is the unique such representation, so the remainder is 1≠0 and 3 does not divide 7. Hence 6x+15y=7 has no integer solution by step 2.1.

Remarks

Depends on

Dependency tree · 2 levels

Sources