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

gcd\gcd is symmetric and unchanged by signs: gcd(a,b)=gcd(b,a)=gcd(a,b)\gcd(a,b) = \gcd(b,a) = \gcd(|a|,|b|); moreover gcd(a,0)=a\gcd(a,0) = |a|, gcd(a,1)=1\gcd(a,1) = 1, gcd(a,a)=a\gcd(a,a) = |a|, and gcd(a,b)1\gcd(a,b) \ge 1 unless a=b=0a = b = 0

Statement

For all a,bZa, b \in \mathbb{Z}, with gcd\gcd as in Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0:

  1. gcd(a,b)=gcd(b,a)\gcd(a,b) = \gcd(b,a);
  2. gcd(a,b)=gcd(a,b)\gcd(a,b) = \gcd(|a|,|b|);
  3. gcd(a,0)=a\gcd(a,0) = |a|, and in particular gcd(0,0)=0\gcd(0,0) = 0;
  4. gcd(a,1)=1\gcd(a,1) = 1;
  5. gcd(a,a)=a\gcd(a,a) = |a|;
  6. gcd(a,b)1\gcd(a,b) \ge 1 unless a=b=0a = b = 0, in which case gcd(a,b)=0\gcd(a,b) = 0.

Facts & Assumptions

Given: Integers aa and bb, and the set D(a,b)={d:da and db}D(a,b) = \{\, d : d \mid a \text{ and } d \mid b \,\} of common divisors (Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0).

[L1]

For (a,b)(0,0)(a,b) \ne (0,0), gcd(a,b)\gcd(a,b) is the unique greatest element of D(a,b)D(a,b) and satisfies gcd(a,b)1\gcd(a,b) \ge 1; and gcd(0,0)=0\gcd(0,0) = 0 by convention (Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0).

[L2]

dad \mid a means a=dqa = dq for some qq; every dd satisfies d0d \mid 0; 0a0 \mid a only for a=0a = 0; and 1a1 \mid a, aaa \mid a for every aa (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq).

[L7]

Z\mathbb{Z} is a commutative ring with x1=xx \cdot 1 = x, x(1)=xx \cdot (-1) = -x and (x)=x-(-x) = x; its order is total, antisymmetric, transitive and compatible with addition, and positives are closed under multiplication (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers).

Proof

technique · direct
1.1

101 \ne 0 and 101-1 \le 0 \le 1. If 1=01 = 0 then 1=0=0=1-1 = -0 = 0 = 1, contradicting 111 \ne -1. By totality 010 \le 1 or 101 \le 0; in the second case adding 1-1 gives 010 \le -1, and 10-1 \ne 0, so 0<10 < -1 and hence 0<(1)(1)=10 < (-1)(-1) = 1, contradicting 101 \le 0 by antisymmetry. So 010 \le 1, and adding 1-1 gives 10-1 \le 0.

L5L7
1.2

xx|x| \mid x for every xx: by totality x0x \ge 0, when x=x=x1x = |x| = |x| \cdot 1, or x0x \le 0, when x=x|x| = -x and so x=(x)=x=x(1)x = -(-x) = -|x| = |x| \cdot (-1).

L6L7
1.3

For every dd and xx: dxd \mid x if and only if dxd \mid |x|, because x|x| is xx or x-x and the two conditions dxd \mid x, dxd \mid -x are equivalent.

L3L6
1.4

Claim 1. The condition defining D(a,b)D(a,b) is unchanged when aa and bb are interchanged, so D(a,b)=D(b,a)D(a,b) = D(b,a); and (a,b)=(0,0)(a,b) = (0,0) exactly when (b,a)=(0,0)(b,a) = (0,0). Hence the two greatest elements coincide in the first case, and both values are 00 in the second.

L1
1.5

Claim 5. D(a,a)={d:da}=D(a,0)D(a,a) = \{\, d : d \mid a \,\} = D(a,0), and (a,a)=(0,0)(a,a) = (0,0) exactly when (a,0)=(0,0)(a,0) = (0,0), so gcd(a,a)=gcd(a,0)\gcd(a,a) = \gcd(a,0).

L1L2
1.6

Claim 6 is [L1] restated: for (a,b)(0,0)(a,b) \ne (0,0) the value gcd(a,b)\gcd(a,b) is 1\ge 1 because 11 is a common divisor and gcd(a,b)\gcd(a,b) is greatest, and at (0,0)(0,0) the value is 00 by convention.

L1L2
2.1

Claim 2. By step 1.3, D(a,b)=D(a,b)D(a,b) = D(|a|,|b|); and a=0|a| = 0 exactly when a=0a = 0, so (a,b)=(0,0)(a,b) = (0,0) exactly when (a,b)=(0,0)(|a|,|b|) = (0,0). Hence the values agree in both cases.

step 1.3L1L6
2.2

Claim 3. D(a,0)={d:da}D(a,0) = \{\, d : d \mid a \,\}, since every dd divides 00. If a=0a = 0 this is Z\mathbb{Z} and gcd(0,0)=0=0\gcd(0,0) = 0 = |0| by the convention. If a0a \ne 0, then aD(a,0)|a| \in D(a,0) by step 1.2, and every dD(a,0)d \in D(a,0) satisfies dad \le |a| by [L4], so a|a| is the greatest element of D(a,0)D(a,0) and gcd(a,0)=a\gcd(a,0) = |a|.

step 1.2L1L2L4L6
2.3

Claim 4. Every dD(a,1)d \in D(a,1) satisfies d1d \mid 1, hence d=1d = 1 or d=1d = -1; and 1D(a,1)1 \in D(a,1) since 1a1 \mid a and 111 \mid 1. Also (a,1)(0,0)(a,1) \ne (0,0) because 101 \ne 0. Since 11-1 \le 1 by step 1.1, the greatest element of D(a,1)D(a,1) is 11, so gcd(a,1)=1\gcd(a,1) = 1.

step 1.1L1L2L5L7
3.1

Claim 3's second half and claim 5 now read off: gcd(0,0)=0=0\gcd(0,0) = 0 = |0|, and gcd(a,a)=gcd(a,0)=a\gcd(a,a) = \gcd(a,0) = |a|.

step 2.2step 1.5
4.1

Claims 1 to 6 are established.

step 1.4step 2.1step 2.2step 2.3step 3.1step 1.6

Remarks

  • Claim 2 is what lets every later argument assume the arguments are nonnegative, and claim 1 lets it assume they are in either order. Both are used without comment below.

  • Every clause is checked at the boundary. Claim 3 covers a=0a = 0, where it returns the convention gcd(0,0)=0\gcd(0,0) = 0 rather than contradicting it; claim 4 holds at a=0a = 0, giving gcd(0,1)=1\gcd(0,1) = 1; and claim 5 holds at a=0a = 0, giving gcd(0,0)=0\gcd(0,0) = 0. There is no pair at which a clause above is silent.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 58 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