Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24
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.

Two essentially different two-square representations factor an odd integer

Statement

Let N be odd and suppose

N=x2+y2=u2+v2,

where x,u are positive odd integers, y,v are positive even integers, and 0<x<u. Then 0<v<y, and two essentially different normalized representations force a factorisation N=PQ with P,Q>1. More precisely, there are positive integers e,f,g,h such that

x=eg−fh,y=fg+eh,u=eg+fh,v=fg−eh,

and N=(e2+f2)(g2+h2).

Facts & Assumptions

Given: The two normalized representations and inequalities in the Statement.

[L1]

For all integers a,b,c,d, (a2+b2)(c2+d2)=(ac−bd)2+(ad+bc)2=(ac+bd)2+(ad−bc)2 (The Brahmagupta–Fibonacci two-square identity).

[F1]

An integer d is a common divisor of a and b when d∣a and d∣b (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0).

Proof

technique · direct
1.1givenalgebra

Since u2−x2=y2−v2>0, one has 0<v<y, and (u−x)(u+x)=(y−v)(y+v). All four factors are positive and even, so with A=(u+x)/2, B=(u−x)/2, C=(y+v)/2, and D=(y−v)/2 one has AB=CD.

2.1step 1.1F1choose

Let g=gcd⁡(A,C) and write A=eg, C=fg. Positivity gives e,f,g>0, and gcd⁡(e,f)=1, since a common divisor greater than one would make a common divisor of A,C larger than g.

3.1step 1.1step 2.1L2algebra

The equality AB=CD becomes eB=fD. Since gcd⁡(e,f)=1, [L2] gives e∣D and f∣B; write D=eh and B=fh with h>0.

4.1step 2.1step 3.1algebra

From A=eg, B=fh, C=fg, and D=eh one obtains u=A+B=eg+fh, x=A−B=eg−fh, y=C+D=fg+eh, and v=C−D=fg−eh.

5.1step 4.1L1algebra∎

By [L1], (e2+f2)(g2+h2)=(eg+fh)2+(fg−eh)2=u2+v2=N. Each factor exceeds one because all four entries are positive.

Depends on

Used by

Dependency tree · two levels

15 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