Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passaudited 2026-07-31
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.

If n1n\ge1, d=gcd(a,n)d=\gcd(a,n) and dbd\mid b, then axb(modn)ax\equiv b\pmod n reduces to a congruence with coprime coefficient modulo n/dn/d

Statement

Let a,bZa,b\in\mathbb Z, let n1n\ge1, and put d:=gcd(a,n)d:=\gcd(a,n). If dbd\mid b, write

a=da,n=dn,b=db.a=da',\qquad n=dn',\qquad b=db'.

Then d>0d>0, the integers a,na',n' are coprime, and for every xZx\in\mathbb Z,

axb(modn)axb(modn).ax\equiv b\pmod n\quad\Longleftrightarrow\quad a'x\equiv b'\pmod{n'}.

Thus the reduced modulus is the positive integer n=n/dn'=n/d and its coefficient is coprime to it (Congruence modulo an integer: ab(modn)a\equiv b\pmod n when n(ab)n\mid(a-b), including the moduli 00 and 11).

Facts & Assumptions

Given: Integers a,ba,b, a positive integer nn, d:=gcd(a,n)d:=\gcd(a,n), and dbd\mid b.

[L1]

The gcd is a nonnegative common divisor, and it is positive when its two arguments are not both zero (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]

If d=gcd(u,v)0d=\gcd(u,v)\ne0, then the uniquely determined quotients u/du/d and v/dv/d are coprime (If d=gcd(a,b)d = \gcd(a,b) is nonzero then a/da/d and b/db/d are coprime, The integers have no zero divisors; multiplicative cancellation).

Proof

technique · direct
1.1

Since n>0n>0, the pair (a,n)(a,n) is not (0,0)(0,0), so d>0d>0 by [L1]. Because dd divides a,n,ba,n,b, there are integers a,n,ba',n',b' with a=daa=da', n=dnn=dn' and b=dbb=db'; these quotients are unique by cancellation, n>0n'>0, and a,na',n' are coprime by [L2].

L1L2L3
2.1

For any integer xx, the congruence axb(modn)ax\equiv b\pmod n says dnd(axb)dn'\mid d(a'x-b'), so it holds exactly when there is an integer qq with d(axb)=dnqd(a'x-b')=dn'q; since d0d\ne0, cancellation makes this equivalent to axb=nqa'x-b'=n'q, namely axb(modn)a'x\equiv b'\pmod{n'}.

step 1.1L3L4

Depends on

Used by

Dependency tree · next 3 levels

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