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

Euler's four-square product identity

Statement

Let x1,x2,x3,x4 and y1,y2,y3,y4 be integers, and set

z1=x1y1+x2y2+x3y3+x4y4,z2=x1y2x2y1x3y4+x4y3,z3=x1y3+x2y4x3y1x4y2,z4=x1y4x2y3+x3y2x4y1.

Then

(x12+x22+x32+x42)(y12+y22+y32+y42)=z12+z22+z32+z42.

Facts & Assumptions

Given: Integers x1,x2,x3,x4,y1,y2,y3,y4, and z1,z2,z3,z4 defined by the four displayed formulas.

Proof

technique · direct
1.1

Expanding the left-hand side term by term gives the sixteen products xi2yj2 with 1i4 and 1j4, each with coefficient 1.

givenalgebra
1.2

Squaring z1 gives z12=x12y12+x22y22+x32y32+x42y42+2(x1x2y1y2+x1x3y1y3+x1x4y1y4+x2x3y2y3+x2x4y2y4+x3x4y3y4).

givenalgebra
1.3

Squaring z2 gives z22=x12y22+x22y12+x32y42+x42y32+2(x1x2y1y2x1x3y2y4+x1x4y2y3+x2x3y1y4x2x4y1y3x3x4y3y4).

givenalgebra
1.4

Squaring z3 gives z32=x12y32+x22y42+x32y12+x42y22+2(x1x2y3y4x1x3y1y3x1x4y2y3x2x3y1y4x2x4y2y4+x3x4y1y2).

givenalgebra
1.5

Squaring z4 gives z42=x12y42+x22y32+x32y22+x42y12+2(x1x2y3y4+x1x3y2y4x1x4y1y4x2x3y2y3+x2x4y1y3x3x4y1y2).

givenalgebra
2.1

The terms xi2yj2 occurring in steps 1.2 to 1.5 are the sixteen products of step 1.1, each occurring once: z12 contributes the pairs (i,j) with i=j, z22 those with {i,j}={1,2} or {3,4}, z32 those with {i,j}={1,3} or {2,4}, and z42 those with {i,j}={1,4} or {2,3}.

step 1.1step 1.2step 1.3step 1.4step 1.5algebra
2.2

The remaining terms of steps 1.2 to 1.5 cancel in six pairs of coordinate pairs: 2x1x2y1y2 and 2x3x4y3y4 from z12 against their negatives in z22; 2x1x3y1y3 and 2x2x4y2y4 from z12 against their negatives in z32; 2x1x4y1y4 and 2x2x3y2y3 from z12 against their negatives in z42; 2x1x4y2y3 and 2x2x3y1y4 from z22 against their negatives in z32; 2x1x3y2y4 and 2x2x4y1y3 from z42 against their negatives in z22; and 2x1x2y3y4 and 2x3x4y1y2 from z32 against their negatives in z42.

step 1.2step 1.3step 1.4step 1.5algebra
3.1

Adding steps 1.2 to 1.5 and using steps 2.1 and 2.2, the sum z12+z22+z32+z42 equals the sixteen products of step 1.1, which is the left-hand side; since the computation used only the ring axioms, it is an identity of polynomials with integer coefficients and holds for every choice of the eight integers, negative or zero included.

step 2.1step 2.2algebra

Used by

Dependency tree · 0 levels

Nothing. This result depends on no other item in the library.

Sources