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

aa and bb are coprime if and only if ax+by=1ax + by = 1 for some integers x,yx, y; and in that case the only common divisors of aa and bb are 11 and 1-1

Statement

Let a,bZa, b \in \mathbb{Z}. Then aa and bb are coprime (Coprime integers: gcd(a,b)=1\gcd(a,b) = 1) if and only if

ax+by  =  1for some x,yZ.ax + by \;=\; 1 \qquad \text{for some } x, y \in \mathbb{Z} .

When this holds, the set of common divisors of aa and bb is exactly {1,1}\{1, -1\}.

Facts & Assumptions

Given: Integers aa and bb.

[L6]

Z\mathbb{Z} is a commutative ring, with x0=0x \cdot 0 = 0, x+0=xx + 0 = x, (x)=x-(-x) = x and (x)(y)=xy(-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

101 \ne 0 and 010 \le 1. If 1=01 = 0 then 1=0=0=1-1 = -0 = 0 = 1, contradicting 111 \ne -1 in [L5]. By totality either 010 \le 1 or 101 \le 0; in the second case adding 1-1 gives 010 \le -1, and 10-1 \ne 0 since otherwise 1=01 = 0, so 0<10 < -1 and hence 0<(1)(1)=10 < (-1)(-1) = 1, which with 101 \le 0 contradicts antisymmetry.

L5L6
1.2

Conversely, suppose ax+by=1ax + by = 1 for some x,yx, y. Every common divisor cc of aa and bb divides ax+by=1ax + by = 1 by [L4], hence c=1c = 1 or c=1c = -1 by [L5].

L4L5
2.1

Suppose aa and bb are coprime, so gcd(a,b)=1\gcd(a,b) = 1. Then (a,b)(0,0)(a,b) \ne (0,0), since gcd(0,0)=01\gcd(0,0) = 0 \ne 1; so [L2] supplies x0,y0x_0, y_0 with ax0+by0=gcd(a,b)=1a x_0 + b y_0 = \gcd(a,b) = 1.

step 1.1L1L2L7
2.2

The integer 11 then satisfies all four conditions of [L3]: 101 \ge 0 by step 1.1, 1a1 \mid a and 1b1 \mid b by [L4], and every common divisor of aa and bb divides 11 by step 1.2. Hence gcd(a,b)=1\gcd(a,b) = 1, that is, aa and bb are coprime.

step 1.1step 1.2L1L3L4
3.1

So coprimality and the solvability of ax+by=1ax + 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 11 or 1-1; conversely 11 and 1-1 are common divisors of any pair, since 1a1 \mid a, 1b1 \mid b, 1a-1 \mid a and 1b-1 \mid b. So the set of common divisors is exactly {1,1}\{1,-1\}, and it has two elements since 111 \ne -1.

step 1.2L4L5

Remarks

Depends on

Used by

Dependency tree · next 3 levels

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