Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26
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.

The centred residue quadruple of pm=a2+b2+c2+d2 has norm mn with 1n<m

Statement

Let p be a prime (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p), let m be an integer with 1<m<p, and let a,b,c,d be integers with pm=a2+b2+c2+d2. Write a,b,c,d for the least absolute remainders of a,b,c,d modulo m (The least absolute remainder modulo a positive integer). Then there is an integer n with 1n<m and

a2+b2+c2+d2=mn.

Facts & Assumptions

Given: A prime p, an integer m with 1<m<p, integers a,b,c,d with pm=a2+b2+c2+d2, and the least absolute remainders a,b,c,d of a,b,c,d modulo m.

[F1]

An integer p is prime when p>1 and dp with d>0 force d=1 or d=p; in words, p exceeds 1, and its only positive divisors are 1 and p (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p).

[F2]

For a,b,nZ, ab(modn) means n(ab) (Congruence modulo an integer: ab(modn) when n(ab), including the moduli 0 and 1).

[F3]

For d,aZ, da means a=dq for some qZ (Divisibility in Z: da when a=dq for some integer q).

[L1]

For an integer m1 and aZ there is exactly one integer r with ar(modm) and m<2rm, and consequently 4r2m2 (The least absolute remainder modulo a positive integer).

[L2]

If aa(modn) and bb(modn), then a+ba+b(modn) and abab(modn) (Congruent integers may be added, subtracted and multiplied: representative changes preserve both arithmetic operations).

[L3]

Divisibility is linear: da and db imply dax+by for all x,yZ; in particular da+b and dab (Divisibility is reflexive and transitive on Z, and is linear: if da and db then dax+by for all integers x,y; also da implies dac, da and da).

[L4]

If xz=yz and z0, then x=y (The integers have no zero divisors; multiplicative cancellation).

Proof

technique · direct
1.1

Since m>1 the hypothesis m1 of [L1] holds, so a,b,c,d are defined and satisfy aa(modm), bb(modm), cc(modm), dd(modm) together with m<2am, 4a2m2 and the same three conditions for b, c and d.

givenL1construct
2.1

By [L2] applied to the products aa, bb, cc, dd and then to the sums, a2+b2+c2+d2a2+b2+c2+d2=pm(modm), and pm0(modm) since mpm; so by [F2] the modulus m divides a2+b2+c2+d2, and by [F3] there is an integer n with a2+b2+c2+d2=mn.

givenstep 1.1L2F2F3algebra
3.1

The left-hand side of step 2.1 is a sum of squares, hence at least 0, and m>0, so n0.

step 2.1algebra
3.2

Summing the four bounds 4a2m2, 4b2m2, 4c2m2, 4d2m2 of step 1.1 gives 4mn4m2, hence mnm2 and, dividing by the positive integer m, nm.

step 1.1step 2.1algebra
4.1

If n=0 then a2+b2+c2+d2=0 forces a=b=c=d=0, so [F2] and step 1.1 give ma, mb, mc and md; writing a=mα, b=mβ, c=mγ, d=mδ with [F3] then gives pm=m2(α2+β2+γ2+δ2).

step 2.1step 3.1F2F3algebra
4.2

If n=m then step 3.2 holds with equality, so each of the four bounds of step 1.1 is an equality: 4a2=m2 and likewise for b, c, d.

step 3.2step 1.1algebra
5.1

In the case n=0, cancelling the nonzero factor m in step 4.1 by [L4] gives p=m(α2+β2+γ2+δ2), so m is a positive divisor of p and [F1] forces m=1 or m=p, both excluded by 1<m<p; hence n1.

step 4.1F1L4algebra
5.2

In the case of step 4.2, m2=(2a)2 with m>0 gives 2a=m or 2a=m, and the normalisation m<2am of step 1.1 leaves 2a=m; so m=2s with s:=a a positive integer, and the same argument gives b=c=d=s.

step 4.2step 1.1algebra
6.1

Still in the case n=m, as(modm) gives a=s+mt=s(1+2t) for some integer t by [F2] and [F3], so a2s2=s2((1+2t)21)=4s2t(t+1), which m2=4s2 divides; the same holds for b, c and d.

step 5.2step 1.1F2F3algebra
7.1

In the same case, summing the four differences of step 6.1 and using [L3], m2 divides (a2+b2+c2+d2)4s2=pmm2, and m2 divides m2, so m2pm.

step 6.1L3algebra
8.1

Still in the case n=m, writing pm=m2k as [F3] permits and cancelling the nonzero factor m by [L4] gives p=mk, so m is a positive divisor of p and [F1] forces m=1 or m=p, both excluded by 1<m<p; hence nm.

step 7.1F1F3L4algebra
9.1

Therefore n1 by step 5.1, nm by step 3.2 and nm by step 8.1, that is 1n<m, with a2+b2+c2+d2=mn from step 2.1.

step 2.1step 3.2step 5.1step 8.1

Remarks

The two excluded values are excluded for the same reason. Both n=0 and n=m end in mp, which the hypotheses 1<m<p rule out. They differ in how they get there: n=0 says the four coordinates are already multiples of m, while n=m says each is congruent to half of m, and the second is possible only when m is even.

Why the even case cannot be waved away. The normalisation m<2rm admits 2r=m, so for even m a centred coordinate really can attain the bound 4r2=m2, and then the estimate of step 3.2 gives only nm rather than n<m. Steps 4.2 to 8.1 are what remove the remaining value. An alternative treatment halves all four coordinates first so that only odd moduli are descended through; the route taken here keeps the modulus arbitrary and pays for it with this one extra argument.

Depends on

Used by

Dependency tree · two levels

23 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