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

Division with remainder for any nonzero divisor: for a∈Z and b≠0 there are unique q,r∈Z with a=qb+r and 0≤r<∣b∣

Statement

Let a,b∈Z with b≠0. Then there is exactly one pair (q,r) of integers with

a  =  qb+r,0≤r<∣b∣,

the absolute value being that of The absolute value ∣a∣ of an integer. Moreover b∣a (Divisibility in Z: d∣a when a=dq for some integer q) holds exactly when r=0.

Facts & Assumptions

Given: Integers a and b with b≠0.

[L1]

For a∈Z and b′>0 there is exactly one pair (Q,r) of integers with a=Qb′+r and 0≤r<b′ (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).

[L2]

Z is a commutative ring: addition and multiplication are associative and commutative, x+0=x, x⋅1=x, multiplication distributes over addition, and every x has an additive inverse −x, with −(−x)=x and (−x)(−y)=xy (The integers form a commutative ring, Arithmetic on the integers).

[L3]

The order on Z is total, antisymmetric and transitive; x<y means x≤y together with x≠y (The integers form a totally ordered ring, Order on the integers).

[L5]

b∣a means a=bs for some s∈Z (Divisibility in Z: d∣a when a=dq for some integer q).

Proof

technique · cases
1.1

0<∣b∣: indeed ∣b∣≥0, and ∣b∣≠0 because b≠0.

L4given
1.2

Case b>0: put ε:=1. Then ∣b∣=b, so ε∣b∣=b, and ε2=1.

assume-case posL2L4
1.3

Case b<0: put ε:=−1. Then ∣b∣=−b, so ε∣b∣=−(−b)=b, and ε2=(−1)(−1)=1.

assume-case negL2L4
2.1

Since b≠0, totality gives 0≤b or b≤0, hence b>0 or b<0; so in either case there is an integer ε with b=ε∣b∣ and ε2=1.

step 1.2step 1.3L3givencases
2.2

By [L1] applied to a and the positive integer ∣b∣, there is exactly one pair (Q,r) of integers with a=Q∣b∣+r and 0≤r<∣b∣.

step 1.1L1
3.1

Existence. Put q:=εQ. Then qb=εQ⋅ε∣b∣=ε2Q∣b∣=Q∣b∣, so a=qb+r with 0≤r<∣b∣.

step 2.1step 2.2L2
3.2

Uniqueness. Suppose a=q1b+r1=q2b+r2 with 0≤ri<∣b∣ for i=1,2. Since b=ε∣b∣, this reads a=(εq1)∣b∣+r1=(εq2)∣b∣+r2, two representations of the form required by [L1] for the divisor ∣b∣; hence εq1=εq2 and r1=r2. Multiplying the first equation by ε and using ε2=1 gives q1=q2.

step 2.1step 2.2L1L2
4.1

The remainder test. If r=0 then a=qb, so b∣a. Conversely, if b∣a, say a=bs, then a=sb+0 and 0≤0<∣b∣ by step 1.1, so this is a representation of the required form and uniqueness forces r=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

  • What this discharges. 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 is stated for a positive divisor, and its own Remarks record that "the version for b≠0, with 0≤r<∣b∣, follows once absolute values are in hand". Absolute values on Z arrive on this page (The absolute value ∣a∣ of an integer), so the promise is discharged here.

  • The remainder is still taken nonnegative, and that is a choice. With a=−7 and b=−3 the statement above gives −7=3⋅(−3)+2, so q=3 and r=2, whereas truncating the quotient toward zero would give q=2 and r=−1, which the constraint 0≤r excludes. The clause 0≤r<∣b∣ is the one every use below makes, and no other convention is introduced anywhere on this page.

Depends on

Used by

Dependency tree · two levels

29 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