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 square is congruent to , or modulo
Statement
Call an integer even when divides it and odd otherwise (Divisibility in : when for some integer ). Let . Then is congruent to , to or to modulo (Congruence modulo an integer: when , including the moduli and ). More precisely, if is odd then , and if is even then or .
Consequently, if is odd then , and if is even then .
Facts & Assumptions
Given: An integer .
For , means (Congruence modulo an integer: when , including the moduli and ).
For , means for some (Divisibility in : when for some integer ).
For with there is exactly one pair of integers with and ; moreover holds exactly when (Division with remainder for any nonzero divisor: for and there are unique with and ).
Let be odd. For , the congruence is soluble if and only if (Unit square criterion and root count modulo powers of two).
Divisibility is transitive: and imply (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
Proof
By [L1] with there is exactly one pair with and , so or ; that is, for an integer , or for an integer , and these are the even and odd cases.
In the odd case, gives , so is odd; the congruence has the solution , so [L2] applied with and gives .
In the even case, gives , and by [L1] with applied to the integer is itself either or for an integer .
If then , so and .
If then , so , whence and .
Steps 1.2, 2.1 and 2.2 cover every integer , so is congruent to , to or to modulo , with occurring exactly in the odd case.
For the modulo- consequence: in the odd case and , so [L3] gives and ; in the even case either , whence by [L3], or for an integer , whence directly, so in both.
Remarks
Where the odd case comes from. The published criterion Unit square criterion and root count modulo powers of two says that for an odd is a square modulo exactly when . Reading it at in the direction "soluble implies ", with and the solution already in hand, is the whole odd case. The elementary route is also short — gives with even — and the citation is used instead because the criterion is the general statement of which this is the special case.
Which residues actually occur. All three do: , and realise the residues , and . So the list cannot be shortened, and the modulo- classification of squares is exactly this list.
Depends on
- Congruence modulo an integer: $a\equiv b\pmod n$ when $n\mid(a-b)$, including the moduli $0$ and $1$
- Division with remainder for any nonzero divisor: for $a \in \mathbb{Z}$ and $b \ne 0$ there are unique $q, r \in \mathbb{Z}$ with $a = qb + r$ and $0 \le r < |b|$
- Unit square criterion and root count modulo powers of two
- Divisibility is reflexive and transitive on $\mathbb{Z}$, and is linear: if $d \mid a$ and $d \mid b$ then $d \mid ax + by$ for all integers $x, y$; also $d \mid a$ implies $d \mid ac$, $-d \mid a$ and $d \mid -a$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
Used by
Dependency tree · two levels
14 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
- Evan Dummit, Number Theory (part 9): The Geometry of Numbers, §9.1.3 (standard reference, not scraped)
- Karl-Dieter Crisman, Number Theory: In Context and Interactive, §14.2 (standard reference, not scraped)