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 modulo has one two-square representation up to signs and order
Statement
Let be prime. There are unique positive integers with odd, even, and
Every ordered signed representation of is obtained from this pair by changing signs and interchanging coordinates (Representations and primitive representations as sums of two squares).
Facts & Assumptions
Given: A prime .
A representation of a nonnegative integer as a sum of two squares is an ordered pair such that (Representations and primitive representations as sums of two squares).
A prime is a sum of two integer squares if and only if or (Fermat's two-square theorem for primes).
For an odd integer, two essentially different normalized representations force a factorisation with (Two essentially different two-square representations factor an odd integer).
Proof
By [L1], choose integers with .
Neither coordinate is zero, since a prime cannot be a square of an integer greater than one. Since is odd, exactly one coordinate is odd: two odd squares sum to modulo , and two even squares give an even sum. Changing signs and interchanging coordinates therefore turns every representation into a positive normalized one.
If two normalized representations differed, their positive odd coordinates would differ; order them as and apply [L2]. This would write the prime as a product of two integers greater than one, a contradiction. Hence the normalized representation is unique.
Step 1.1 supplies the normalized pair, step 2.1 makes it unique, and undoing the sign changes and interchange in step 1.2 gives all ordered signed representations and no others.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
10 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
- P. Hackman, Elementary Number Theory, Chapter E, Theorem E.I.3 (standard reference, not scraped)