Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + claude-sonnet-5)audited 2026-08-17
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 number of square roots of a unit modulo n is the product of the local counts

Statement

Let [a]n be a unit square modulo n1. The number of square roots is the product of the local root counts.

More explicitly, write n=2ei<rpiei with distinct odd primes pi. The number of roots of x2a(modn) is 2rce, where

ce={1,e=0 or e=1,2,e=2,4,e3.

For odd n=i<rpiei, the soluble unit congruence x2a(modn) has exactly 2r roots. At n=1 the empty product gives one root.

Facts & Assumptions

Given: A positive integer n and a unit [a]n for which x2a(modn) is soluble.

[L1]

A soluble unit square congruence modulo an odd prime power has exactly two root classes (Unit square criterion and root count modulo odd prime powers).

[L2]

A soluble unit square congruence modulo 2e has one root for e=1, two roots for e=2, and four roots for e3 (Unit square criterion and root count modulo powers of two).

[L3]

The Chinese remainder map is a group isomorphism from the unit group modulo a product of pairwise coprime positive integers to the product of their unit groups, including the empty product (For pairwise coprime positive moduli, the Chinese remainder bijection restricts to an isomorphism of unit groups).

Proof

technique · direct
1.1

By [L4], group the finite prime factorisation of n into its pairwise coprime prime-power factors. Restrict the CRT isomorphism [L3] to the equation u2=[a]n. It gives a bijection from the global root set to the Cartesian product of the root sets in those components, because an element satisfies the global equation exactly when each component satisfies its local equation.

L3L4given
2.1

The cardinality of that finite Cartesian product is the product of its local cardinalities. Each odd-prime-power factor contributes 2 by [L1], while [L2] gives the factor ce for the two-part; if there are no prime-power factors, the empty product is 1. This is the displayed formula.

step 1.1L1L2algebra

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 102 results over 26 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