Alphabeta Math
LemmaStatement: AI-adaptedProof: 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.

a and b are coprime if and only if ax+by=1 for some integers x,y; and in that case the only common divisors of a and b are 1 and −1

Statement

Let a,b∈Z. Then a and b are coprime (Coprime integers: gcd⁡(a,b)=1) if and only if

ax+by  =  1for some x,y∈Z.

When this holds, the set of common divisors of a and b is exactly {1,−1}.

Facts & Assumptions

Given: Integers a and b.

[L6]

Z is a commutative ring, with x⋅0=0, x+0=x, −(−x)=x and (−x)(−y)=xy (The integers form a commutative ring, Arithmetic on the integers); its order is total, antisymmetric and transitive and is compatible with addition, and positives are closed under multiplication (The integers form a totally ordered ring, Order on the integers).

Proof

technique · direct
1.1

1≠0 and 0≤1. If 1=0 then −1=−0=0=1, contradicting 1≠−1 in [L5]. By totality either 0≤1 or 1≤0; in the second case adding −1 gives 0≤−1, and −1≠0 since otherwise 1=0, so 0<−1 and hence 0<(−1)(−1)=1, which with 1≤0 contradicts antisymmetry.

L5L6
1.2

Conversely, suppose ax+by=1 for some x,y. Every common divisor c of a and b divides ax+by=1 by [L4], hence c=1 or c=−1 by [L5].

L4L5
2.1

Suppose a and b are coprime, so gcd⁡(a,b)=1. Then (a,b)≠(0,0), since gcd⁡(0,0)=0≠1; so [L2] supplies x0,y0 with ax0+by0=gcd⁡(a,b)=1.

step 1.1L1L2L7
2.2

The integer 1 then satisfies all four conditions of [L3]: 1≥0 by step 1.1, 1∣a and 1∣b by [L4], and every common divisor of a and b divides 1 by step 1.2. Hence gcd⁡(a,b)=1, that is, a and b are coprime.

step 1.1step 1.2L1L3L4
3.1

So coprimality and the solvability of ax+by=1 are equivalent, by step 2.1 and step 2.2.

step 2.1step 2.2
4.1

When they hold, step 1.2 shows every common divisor is 1 or −1; conversely 1 and −1 are common divisors of any pair, since 1∣a, 1∣b, −1∣a and −1∣b. So the set of common divisors is exactly {1,−1}, and it has two elements since 1≠−1.

step 1.2L4L5∎

Remarks

Depends on

Used by

Dependency tree · two levels

44 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