Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 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.

Euler's criterion: (a/p)a(p1)/2(modp)

Statement

For every integer a and odd prime p,

(ap)a(p1)/2(modp).

Facts & Assumptions

Given: An integer a and an odd prime p.

[L1]

The Legendre symbol is 0 when pa, 1 when a is a quadratic residue modulo p, and 1 when a is a quadratic nonresidue (The Legendre symbol, including its zero value).

[L2]

If n1 admits a primitive root, gcd(a,n)=1, m1, and d=gcd(m,φ(n)), then xma(modn) is soluble exactly when aφ(n)/d1(modn) (Euler's criterion: if n has a primitive root, gcd(a,n)=1, and m1, then xma(modn) is solvable if and only if aφ(n)/gcd(φ(n),m)1(modn)).

[L3]

Every prime admits a primitive root modulo that prime (Every prime modulus admits a primitive root).

[L4]

For every prime p, φ(p)=p1 (φ(1)=1, and φ(p)=p1 for every prime p).

[L6]

For every prime p, the quotient Z/p is a field (For every prime p, the two operations on Z/p make it a field).

[L8]

A nonzero polynomial of degree n over an integral domain has at most n distinct roots (A nonzero polynomial of degree n over an integral domain has at most n distinct roots).

Proof

technique · direct
1.1

If pa, then [L1] gives (a/p)=0, while (p1)/21 and hence a(p1)/20(modp). The criterion holds in this case.

L1givenalgebra
1.2

Suppose pa. By [L9], gcd(a,p)=1; [L3] and [L4] specialise [L2] with m=2 and d=2. Thus a is a square modulo p exactly when a(p1)/21(modp).

L1L2L3L4L9algebra
1.3

Put y=[a(p1)/2]p. By [L5], y2=[1]p. Facts [L6] and [L7] make Z/p an integral domain, and [L8] says that the degree-two polynomial X21 has at most two roots there. The two distinct roots [1]p and [1]p already exist because p is odd, so y is one of them.

L5L6L7L8algebra
2.1

In the unit case, step 1.2 gives y=[1]p exactly for a quadratic residue; otherwise step 1.3 forces y=[1]p. These are precisely the two values prescribed by [L1]. Combining this with step 1.1 proves the congruence for every integer a.

L1step 1.1step 1.2step 1.3

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 117 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