Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-16
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 p be an odd prime. The nonzero quadratic-residue classes form the subgroup

((Z/p)×)2:={u2:u∈(Z/p)×}.

For every primitive root g modulo p, this subgroup is ⟨g2⟩ and has index two in (Z/p)×.

Facts & Assumptions

Given: An odd prime p and the unit group G=(Z/p)×.

[L1]
[L2]

For a group element g, the subgroup ⟨g⟩ is exactly the set of all integer powers of g (⟨g⟩={ gn:n∈Z }, and every cyclic group is abelian).

[L4]

The quadratic-residue classes modulo p are exactly the image of squaring on G (Quadratic residuosity is representative-independent and the residues are the image of squaring).

[L6]

For every integer t, there are unique integers q,r with t=2q+r and 0≤r<2 (Division with remainder in Z: for a∈Z and b>0 there are unique q,r∈Z with a=qb+r and 0≤r<b).

[L7]

The index [G:H] of a finite-index subgroup is the cardinality of its coset space G/H (The coset set G/H and the index [G:H] of a subgroup).

Proof

technique · direct
1.1L1L2L3choose

By [L1] and [L3], choose g∈G with G=⟨g⟩; then every u∈G is gt for some t∈Z by [L2].

2.1L4L5L6step 1.1

If u=gt, then u2=g2t by [L5], so every square lies in ⟨g2⟩; conversely (g2)q=(gq)2, so every element of ⟨g2⟩ is a square. By [L4], the quadratic-residue classes are therefore exactly ⟨g2⟩.

3.1L2L5L7step 1.1step 2.1∎

Write each exponent as t=2q+r with r∈{0,1} by [L6]. Then gt lies in ⟨g2⟩ when r=0 and in g⟨g2⟩ when r=1. These cosets are distinct: if g=g2q, then the order p−1 of g would divide the odd integer 2q−1, impossible because p−1 is even. Hence there are exactly two cosets, so the subgroup has index two by [L7].

Depends on

Used by

Dependency tree · two levels

40 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