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.

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)

Statement

Let n1 admit a primitive root, let gcd(a,n)=1, and let m1. Put d=gcd(m,φ(n)). Then

xma(modn)

is solvable if and only if

aφ(n)/d1(modn).

Facts & Assumptions

Given: Integers n1, a, and m1 satisfying the stated hypotheses, and d=gcd(m,φ(n)).

[L1]

A primitive root has order φ(n) (Primitive roots modulo n).

[L2]

Relative to a primitive root g, every unit has a unique index modulo φ(n) (The index indg(a) of a unit relative to a primitive root).

[L3]

Index calculus turns a power into scalar multiplication of its index (Index calculus: products become sums and powers become scalar multiples modulo φ(n)).

[L6]

A class modulo n is a unit exactly when its representative is coprime to n (For n1, [a]n is a unit if and only if gcd(a,n)=1).

Proof

technique · direct
1.1

Choose a primitive root g, put f=φ(n), and let k=indg(a). By [L6], a is a unit. If xm=a, then x(xm1a1)=1, so every solution x is also a unit.

L1L2L6choosealgebra
1.2

Again by [L1] and [L3], af/d=1 exactly when fkf/d. Since df by [L5], this is equivalent to dk.

L1L3L5algebra
2.1

By [L2] and [L3], writing a candidate unit as x=gy turns xm=a in the unit group into myk(modf). By [L4], this is solvable exactly when dk.

step 1.1L2L3L4
3.1

Steps 2.1 and 1.2 give the claimed biconditional. The argument also covers n=1 and m=1, where f=d=1.

step 2.1step 1.2

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

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