Alphabeta Math
CorollaryStatement: 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.

Division with remainder for any nonzero divisor: for aZa \in \mathbb{Z} and b0b \ne 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < |b|

Statement

Let a,bZa, b \in \mathbb{Z} with b0b \ne 0. Then there is exactly one pair (q,r)(q,r) of integers with

a  =  qb+r,0r<b,a \;=\; qb + r, \qquad 0 \le r < |b|,

the absolute value being that of The absolute value a|a| of an integer. Moreover bab \mid a (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq) holds exactly when r=0r = 0.

Facts & Assumptions

Given: Integers aa and bb with b0b \ne 0.

[L1]

For aZa \in \mathbb{Z} and b>0b' > 0 there is exactly one pair (Q,r)(Q,r) of integers with a=Qb+ra = Q b' + r and 0r<b0 \le r < b' (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).

[L2]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x+0=xx + 0 = x, x1=xx \cdot 1 = x, multiplication distributes over addition, and every xx has an additive inverse x-x, with (x)=x-(-x) = x and (x)(y)=xy(-x)(-y) = xy (The integers form a commutative ring, Arithmetic on the integers).

[L3]

The order on Z\mathbb{Z} is total, antisymmetric and transitive; x<yx < y means xyx \le y together with xyx \ne y (The integers form a totally ordered ring, Order on the integers).

[L5]

bab \mid a means a=bsa = bs for some sZs \in \mathbb{Z} (Divisibility in Z\mathbb{Z}: dad \mid a when a=dqa = dq for some integer qq).

Proof

technique · cases
1.1

0<b0 < |b|: indeed b0|b| \ge 0, and b0|b| \ne 0 because b0b \ne 0.

L4given
1.2

Case b>0b > 0: put ε:=1\varepsilon := 1. Then b=b|b| = b, so εb=b\varepsilon |b| = b, and ε2=1\varepsilon^{2} = 1.

assume-case posL2L4
1.3

Case b<0b < 0: put ε:=1\varepsilon := -1. Then b=b|b| = -b, so εb=(b)=b\varepsilon |b| = -(-b) = b, and ε2=(1)(1)=1\varepsilon^{2} = (-1)(-1) = 1.

assume-case negL2L4
2.1

Since b0b \ne 0, totality gives 0b0 \le b or b0b \le 0, hence b>0b > 0 or b<0b < 0; so in either case there is an integer ε\varepsilon with b=εbb = \varepsilon|b| and ε2=1\varepsilon^{2} = 1.

step 1.2step 1.3L3givencases
2.2

By [L1] applied to aa and the positive integer b|b|, there is exactly one pair (Q,r)(Q,r) of integers with a=Qb+ra = Q|b| + r and 0r<b0 \le r < |b|.

step 1.1L1
3.1

Existence. Put q:=εQq := \varepsilon Q. Then qb=εQεb=ε2Qb=Qbqb = \varepsilon Q \cdot \varepsilon |b| = \varepsilon^{2} Q |b| = Q|b|, so a=qb+ra = qb + r with 0r<b0 \le r < |b|.

step 2.1step 2.2L2
3.2

Uniqueness. Suppose a=q1b+r1=q2b+r2a = q_1 b + r_1 = q_2 b + r_2 with 0ri<b0 \le r_i < |b| for i=1,2i = 1, 2. Since b=εbb = \varepsilon|b|, this reads a=(εq1)b+r1=(εq2)b+r2a = (\varepsilon q_1)|b| + r_1 = (\varepsilon q_2)|b| + r_2, two representations of the form required by [L1] for the divisor b|b|; hence εq1=εq2\varepsilon q_1 = \varepsilon q_2 and r1=r2r_1 = r_2. Multiplying the first equation by ε\varepsilon and using ε2=1\varepsilon^{2} = 1 gives q1=q2q_1 = q_2.

step 2.1step 2.2L1L2
4.1

The remainder test. If r=0r = 0 then a=qba = qb, so bab \mid a. Conversely, if bab \mid a, say a=bsa = bs, then a=sb+0a = sb + 0 and 00<b0 \le 0 < |b| by step 1.1, so this is a representation of the required form and uniqueness forces r=0r = 0.

step 1.1step 3.1step 3.2L2L5
5.1

Existence is step 3.1, uniqueness is step 3.2, and the remainder test is step 4.1, which is the full statement.

step 3.1step 3.2step 4.1

Remarks

Depends on

Used by

Dependency tree · next 3 levels

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