Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck 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:nZ}, 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 0r<2 (Division with remainder in Z: for aZ and b>0 there are unique q,rZ with a=qb+r and 0r<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.1

By [L1] and [L3], choose gG with G=g; then every uG is gt for some tZ by [L2].

L1L2L3choose
2.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.

L4L5L6step 1.1
3.1

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

L2L5L7step 1.1step 2.1

Depends on

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