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

Descent step: a smaller multiple of p is a sum of four squares

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 suppose pm is a sum of four integer squares (Representations as sums of four squares). Then there is an integer n with 1n<m for which pn is a sum of four integer squares.

Facts & Assumptions

Given: A prime p, an integer m with 1<m<p, and a representation of pm as a sum of four integer squares.

[F1]

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

[F2]

A representation of a nonnegative integer n as a sum of four squares is an ordered quadruple (a,b,c,d)Z4 with n=a2+b2+c2+d2 (Representations as sums of four squares).

[F3]

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

[F4]

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

[L1]

For all integers x1,,x4,y1,,y4, setting z1=x1y1+x2y2+x3y3+x4y4, z2=x1y2x2y1x3y4+x4y3, z3=x1y3+x2y4x3y1x4y2 and z4=x1y4x2y3+x3y2x4y1 gives (x12+x22+x32+x42)(y12+y22+y32+y42)=z12+z22+z32+z42 (Euler's four-square product identity).

[L2]

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).

[L3]

If p is prime, 1<m<p and pm=a2+b2+c2+d2 for integers a,b,c,d, then the least absolute remainders a,b,c,d of a,b,c,d modulo m satisfy a2+b2+c2+d2=mn for an integer n with 1n<m (The centred residue quadruple of pm=a2+b2+c2+d2 has norm mn with 1n<m).

[L4]

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

[L5]

If x,yZ are nonzero then xy0; consequently, if xz=yz and z0, then x=y (The integers have no zero divisors; multiplicative cancellation).

Proof

technique · direct
1.1

Fix integers a,b,c,d with pm=a2+b2+c2+d2, which the hypothesis supplies.

givenF2choose
2.1

Since m>1, [L2] applies with modulus m; let a,b,c,d be the least absolute remainders of a,b,c,d modulo m, so aa, bb, cc and dd modulo m.

step 1.1L2construct
3.1

By [L3] applied to p, m and the representation of step 1.1, there is an integer n with 1n<m and a2+b2+c2+d2=mn.

step 1.1step 2.1L3F1
3.2

Put A=aa+bb+cc+dd; substituting the congruences of step 2.1 and using [L4] gives Aa2+b2+c2+d2(modm), and a2+b2+c2+d2=pm0(modm) by [F3], so A0(modm).

step 1.1step 2.1L4F3algebra
3.3

Put B=abbacd+dc, C=ac+bdcadb and D=adbc+cbda; the same substitution and [L4] give Babbacd+dc=0, Cac+bdcadb=0 and Dadbc+cbda=0 modulo m.

step 2.1L4F3algebra
4.1

Applying [L1] to x=(a,b,c,d) and y=(a,b,c,d) produces exactly the four quantities A,B,C,D of steps 3.2 and 3.3 as z1,z2,z3,z4, so (pm)(mn)=A2+B2+C2+D2.

step 1.1step 2.1step 3.1L1
4.2

By [F3] and [F4] the congruences of steps 3.2 and 3.3 say mA, mB, mC and mD; write A=mA1, B=mB1, C=mC1, D=mD1 with A1,B1,C1,D1Z.

step 3.2step 3.3F3F4construct
5.1

Substituting step 4.2 into step 4.1 gives pm2n=m2(A12+B12+C12+D12).

step 4.1step 4.2algebra
6.1

Since m>1 is nonzero, m20 by [L5], so cancelling m2 in step 5.1 by [L5] gives pn=A12+B12+C12+D12.

step 5.1L5algebra
7.1

The quadruple (A1,B1,C1,D1)Z4 therefore represents pn as a sum of four integer squares, with 1n<m from step 3.1.

step 3.1step 6.1F2

Remarks

The sign pattern is doing the work. Steps 3.2 and 3.3 substitute aa, bb, cc, dd into the four bilinear forms of [L1] and read off that all four become divisible by m: the first because it becomes the norm pm, the other three because they become expressions in which the terms cancel identically. That is a property of this particular choice of signs, and Why the descent fixes one sign pattern in the four-square identity records which other choices share it.

The hypothesis m>1 is used twice. It gives the modulus of [L2] and it is part of what [L3] needs; and it is not a restriction in practice, since m=1 is the case in which p itself is already a sum of four squares and no descent is wanted.

Depends on

Used by

Dependency tree · two levels

26 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