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

A prime congruent to 3 modulo 4 divides both coordinates of a divisible two-square sum

Statement

If q≡3(mod4) is prime and q∣x2+y2, then q∣x and q∣y. Consequently q2∣x2+y2.

Facts & Assumptions

Given: A prime q≡3(mod4) and integers x,y such that q∣x2+y2.

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)∈Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

[L1]

For an odd prime p, (−1/p)=1 if and only if p≡1(mod4), while (−1/p)=−1 if and only if p≡3(mod4) (First supplement: (−1/p)=(−1)(p−1)/2).

[F2]

For an odd prime p, the Legendre symbol is 0 when p divides the numerator, 1 when its nonzero class is a square, and −1 otherwise (The Legendre symbol, including its zero value).

[L2]

For every prime p, addition and multiplication make Z/p a field (For every prime p, the two operations on Z/p make it a field).

[L3]

If a prime p divides ab, then p∣a or p∣b (Euclid's lemma: if p is prime and p∣ab then p∣a or p∣b).

[F3]

The congruence a≡b(modn) means that n∣(a−b) (Congruence modulo an integer: a≡b(modn) when n∣(a−b), including the moduli 0 and 1).

Proof

technique · direct
1.1givenF1F3

The divisibility hypothesis is the congruence x2+y2≡0(modq).

2.1step 1.1L3algebra

If q∣y, then step 1.1 gives q∣x2, so [L3] gives q∣x; the same argument with the coordinates interchanged handles q∣x.

2.2step 1.1L2F2F3algebra

If neither coordinate were divisible by q, the nonzero class of y would be invertible in the field Z/q, and step 1.1 would give (xy−1)2=−1. Thus −1 would be a nonzero quadratic residue and (−1/q)=1.

3.1step 2.2L1F2given

Since q≡3(mod4), [L1] instead gives (−1/q)=−1, contradicting step 2.2.

4.1step 2.1step 3.1algebra∎

Hence at least one coordinate is divisible by q, and step 2.1 makes both divisible by q. Writing x=qx0 and y=qy0 gives x2+y2=q2(x02+y02).

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