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.
The nonzero squares modulo an odd prime form an index-two subgroup
Statement
Let be an odd prime. The nonzero quadratic-residue classes form the subgroup
For every primitive root modulo , this subgroup is and has index two in .
Facts & Assumptions
Given: An odd prime and the unit group .
The group is cyclic of order (For every prime , the multiplicative group is cyclic).
For a group element , the subgroup is exactly the set of all integer powers of (, and every cyclic group is abelian).
A group is cyclic exactly when it is generated by one element (The subgroup generated by a subset, the cyclic subgroup , and cyclic groups).
The quadratic-residue classes modulo are exactly the image of squaring on (Quadratic residuosity is representative-independent and the residues are the image of squaring).
Integer powers in a group satisfy and (Exponent laws in a group: and for all , and when and commute).
For every integer , there are unique integers with and (Division with remainder in : for and there are unique with and ).
The index of a finite-index subgroup is the cardinality of its coset space (The coset set and the index of a subgroup).
Proof
By [L1] and [L3], choose with ; then every is for some by [L2].
If , then by [L5], so every square lies in ; conversely , so every element of is a square. By [L4], the quadratic-residue classes are therefore exactly .
Write each exponent as with by [L6]. Then lies in when and in when . These cosets are distinct: if , then the order of would divide the odd integer , impossible because is even. Hence there are exactly two cosets, so the subgroup has index two by [L7].
Depends on
- Quadratic residuosity is representative-independent and the residues are the image of squaring
- For every prime $p$, the multiplicative group $(\mathbb Z/p\mathbb Z)^\times$ is cyclic
- The subgroup $\langle S \rangle$ generated by a subset, the cyclic subgroup $\langle g \rangle$, and cyclic groups
- $\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}$, and every cyclic group is abelian
- Exponent laws in a group: $g^{m+n} = g^{m}g^{n}$ and $(g^{m})^{n} = g^{mn}$ for all $m, n \in \mathbb{Z}$, and $(gh)^{n} = g^{n}h^{n}$ **when $g$ and $h$ commute**
- Division with remainder in $\mathbb{Z}$: for $a \in \mathbb{Z}$ and $b > 0$ there are unique $q, r \in \mathbb{Z}$ with $a = qb + r$ and $0 \le r < b$
- The coset set $G/H$ and the index $[G:H]$ of a subgroup
Used by
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 106 results over 22 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- W. Stein, Elementary Number Theory, Section 4.1 (standard reference, not scraped)