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.
Every prime is a sum of four integer squares
Statement
Every prime is a sum of four integer squares. That is, for every prime (Prime and composite integers: is prime when and its only positive divisors are and ) there is a quadruple with (Representations as sums of four squares).
Facts & Assumptions
Given: A prime .
An integer is prime when and with force or (Prime and composite integers: is prime when and its only positive divisors are and ).
A representation of a nonnegative integer as a sum of four squares is an ordered quadruple with (Representations as sums of four squares).
For every prime there is an integer with for which is a sum of four integer squares (Some multiple with is a sum of four squares).
If is prime, and is a sum of four integer squares, then there is an integer with for which is a sum of four integer squares (Descent step: a smaller multiple of is a sum of four squares).
Let be nonempty. If has an upper bound, it has a greatest element; if has a lower bound, it has a least element. In each case the element is unique (A nonempty set of integers bounded above has a greatest element, and a nonempty set of integers bounded below has a least element).
Proof
Suppose, for contradiction, that the prime is not a sum of four integer squares.
Let be the set of integers with for which is a sum of four integer squares; is nonempty by [L1].
The set is bounded below by , so [L3] gives it a least element , and because .
The value is impossible: it would make a sum of four integer squares, against step 1.1. Hence , and with step 2.1 this gives .
Applying [L2] to the prime and the multiplier , whose hypotheses and " is a sum of four integer squares" are step 3.1 and membership of in , gives an integer with for which is a sum of four integer squares.
Then , so while , contradicting the leastness of ; the assumption of step 1.1 therefore fails, and is a sum of four integer squares.
Remarks
What makes the descent terminate. The proof does not iterate the descent lemma; it applies it once, to the least multiplier, and reads the contradiction off leastness. The least element is supplied by [L3], for a set of integers bounded below, so no appeal to an infinite descending chain is needed and no infinite regress is written.
Where the hypothesis that is prime enters. Twice, through [L1] and through [L2]. In [L1] it supplies the congruence and the bound used to obtain a multiplier below ; in the construction underlying [L2] it is used when a positive divisor of is forced to be or . For a composite modulus the multiplier can stall above , so the statement proved here is genuinely about primes; the passage from primes to all nonnegative integers is Lagrange's four-square theorem: every nonnegative integer is a sum of four integer squares, and it uses Sums of four squares are closed under products rather than a further descent.
Depends on
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- Representations as sums of four squares
- Some multiple $pm$ with $1\le m<p$ is a sum of four squares
- Descent step: a smaller multiple of $p$ is a sum of four squares
- A nonempty set of integers bounded above has a greatest element, and a nonempty set of integers bounded below has a least element
Used by
Dependency tree · two levels
28 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
- Keith Conrad, Proofs by Descent, §6, Theorem 6.6 (standard reference, not scraped)
- MIT 18.781 Theory of Numbers, Lecture 22, Theorem 80 (standard reference, not scraped)