Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck 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 1≤n<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 d∣p 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,n∈Z, a≡b(modn) means n∣(a−b) (Congruence modulo an integer: a≡b(modn) when n∣(a−b), including the moduli 0 and 1).

[F4]

For d,a∈Z, d∣a means a=dq for some q∈Z (Divisibility in Z: d∣a when a=dq for some integer q).

[L1]

For all integers x1,…,x4,y1,…,y4, setting z1=x1y1+x2y2+x3y3+x4y4, z2=x1y2−x2y1−x3y4+x4y3, z3=x1y3+x2y4−x3y1−x4y2 and z4=x1y4−x2y3+x3y2−x4y1 gives (x12+x22+x32+x42)(y12+y22+y32+y42)=z12+z22+z32+z42 (Euler's four-square product identity).

[L2]

For an integer m≥1 and a∈Z there is exactly one integer r with a≡r(modm) and −m<2r≤m, and consequently 4r2≤m2 (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 a′2+b′2+c′2+d′2=mn for an integer n with 1≤n<m (The centred residue quadruple of pm=a2+b2+c2+d2 has norm mn with 1≤n<m).

[L4]

If a≡a′(modn) and b≡b′(modn), then a+b≡a′+b′(modn), a−b≡a′−b′(modn) and ab≡a′b′(modn) (Congruent integers may be added, subtracted and multiplied: representative changes preserve both arithmetic operations).

[L5]

If x,y∈Z are nonzero then xy≠0; consequently, if xz=yz and z≠0, then x=y (The integers have no zero divisors; multiplicative cancellation).

Proof

technique · direct
1.1givenF2choose

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

2.1step 1.1L2construct

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 a≡a′, b≡b′, c≡c′ and d≡d′ modulo m.

3.1step 1.1step 2.1L3F1

By [L3] applied to p, m and the representation of step 1.1, there is an integer n with 1≤n<m and a′2+b′2+c′2+d′2=mn.

3.2step 1.1step 2.1L4F3algebra

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

3.3step 2.1L4F3algebra

Put B=ab′−ba′−cd′+dc′, C=ac′+bd′−ca′−db′ and D=ad′−bc′+cb′−da′; the same substitution and [L4] give B≡ab−ba−cd+dc=0, C≡ac+bd−ca−db=0 and D≡ad−bc+cb−da=0 modulo m.

4.1step 1.1step 2.1step 3.1L1

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.

4.2step 3.2step 3.3F3F4construct

By [F3] and [F4] the congruences of steps 3.2 and 3.3 say m∣A, m∣B, m∣C and m∣D; write A=mA1, B=mB1, C=mC1, D=mD1 with A1,B1,C1,D1∈Z.

5.1step 4.1step 4.2algebra

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

6.1step 5.1L5algebra

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

7.1step 3.1step 6.1F2∎

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

Remarks

The sign pattern is doing the work. Steps 3.2 and 3.3 substitute a′≡a, b′≡b, c′≡c, d′≡d 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