Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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 theorem: if n1n\ge1 and gcd(a,n)=1\gcd(a,n)=1, then aφ(n)1(modn)a^{\varphi(n)}\equiv1\pmod n

Statement

Let n1n\ge1 be an integer and let aZa\in\mathbb Z. If gcd(a,n)=1\gcd(a,n)=1, then

aφ(n)1(modn).a^{\varphi(n)}\equiv1\pmod n.

Facts & Assumptions

Given: A positive integer nn and an integer aa with gcd(a,n)=1\gcd(a,n)=1.

[F1]

The unit group (Z/n)×(\mathbb Z/n)^\times is finite of order φ(n)\varphi(n) and has identity [1]n[1]_n (The unit group (Z/n)×(\mathbb{Z}/n)^\times and Euler's totient φ(n)=(Z/n)×\varphi(n)=\lvert(\mathbb{Z}/n)^\times\rvert for n1n\ge1).

[L1]

The class [a]n[a]_n is a unit if and only if gcd(a,n)=1\gcd(a,n)=1 (For n1n\ge1, [a]n[a]_n is a unit if and only if gcd(a,n)=1\gcd(a,n)=1).

Proof

technique · direct
1.1

By [L1], [a]n(Z/n)×[a]_n\in(\mathbb Z/n)^\times. Applying [L2] in that group gives [a]nφ(n)=[1]n[a]_n^{\varphi(n)}=[1]_n.

givenF1L1L2
2.1

By [F2], the equality is [aφ(n)]n=[1]n[a^{\varphi(n)}]_n=[1]_n, which is equivalent to aφ(n)1(modn)a^{\varphi(n)}\equiv1\pmod n.

step 1.1F2

Depends on

Used by

Dependency tree · next 3 levels

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