Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedSession-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.

For coprime positive m,nm,n, every pair of residue classes modulo mm and nn has a unique simultaneous class modulo mnmn

Statement

Let m,nm,n be positive integers, a,bZa,b\in\mathbb Z, and d:=gcd(m,n)d:=\gcd(m,n). The simultaneous system

xa(modm),xb(modn)x\equiv a\pmod m,\qquad x\equiv b\pmod n

is solvable if and only if d(ab)d\mid(a-b). If it is solvable, all its solutions form one congruence class modulo mn/dmn/d.

In particular, when m,nm,n are coprime, every pair of classes [a]m,[b]n[a]_m,[b]_n determines a unique simultaneous class [x]mn[x]_{mn}. This includes m=1m=1 or n=1n=1.

Facts & Assumptions

Given: Positive integers m,nm,n, integers a,ba,b, and d:=gcd(m,n)d:=\gcd(m,n).

[L2]

Writing m=dmm=dm' and n=dnn=dn', the positive integers m,nm',n' 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).

[L5]

The quotient Z/c\mathbb Z/c consists of the congruence classes modulo cc (The congruence class [a]n[a]_n and the quotient set Z/n\mathbb{Z}/n).

Proof

technique · direct
1.1

If xx solves both congruences, then m(xa)m\mid(x-a) and n(xb)n\mid(x-b). Since dd divides m,nm,n, it divides both differences and therefore their difference bab-a; equivalently d(ab)d\mid(a-b).

L1L4
1.2

Conversely suppose d(ab)d\mid(a-b) and write ab=dca-b=dc, m=dmm=dm', n=dnn=dn' as in [L2]. Choose u,vu,v with um+vn=1um'+vn'=1 by [L3], put t:=uct:=-uc, and set x:=a+mtx:=a+mt. Then xa(modm)x\equiv a\pmod m, while xb=(ab)+dmt=d(cmuc)=dcnvx-b=(a-b)+d m't=d(c-m'uc)=dcn'v, so xb(modn)x\equiv b\pmod n.

L2L3L4
1.3

If x,yx,y are two solutions, then m(xy)m\mid(x-y), so xy=dmqx-y=dm'q for some integer qq. Also n=dn(xy)n=dn'\mid(x-y), hence cancellation of dd gives nmqn'\mid m'q; multiplying a Bézout identity for m,nm',n' by qq shows nqn'\mid q. Thus dmn=mn/ddm'n'=mn/d divides xyx-y.

L2L3L4
1.4

Conversely, if mn/d=dmnmn/d=dm'n' divides xyx-y, then both m=dmm=dm' and n=dnn=dn' divide xyx-y, so xx and yy satisfy exactly the same two residue conditions. Hence, when compatible, the solution set is one class modulo mn/dmn/d.

L2L4L5
2.1

When gcd(m,n)=1\gcd(m,n)=1, one has d=1d=1 and the compatibility condition is automatic; the modulus mn/dmn/d is mnmn, so steps 1.1 through 1.4 give the stated bijection between pairs of residue classes and simultaneous classes. The same proof applies when either modulus is 11.

step 1.1step 1.2step 1.3step 1.4L5

Depends on

Used by

Dependency tree · next 3 levels

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