Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck passverified 2026-08-02 (claude-opus-5)
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.

For n1n \ge 1 the congruence classes modulo nn form an abelian group (Z/n,+)(\mathbb{Z}/n, +) of order nn, generated by the class of 11

Example

Fix a natural number n1n \ge 1 and write nˉ:=ι(n)\bar n := \iota(n) for the corresponding positive integer, ι:NZ\iota : \mathbb{N} \to \mathbb{Z} being the embedding of The naturals embed in the integers. For a,bZa, b \in \mathbb{Z} define

ab(modn):    ab=qnˉ  for some qZ,a \equiv b \pmod n \quad :\iff \quad a - b = q \bar n \ \text{ for some } q \in \mathbb{Z},

that is, nˉ(ab)\bar n \mid (a - b) (Division with remainder in Z\mathbb{Z}: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b). Then:

  1. \equiv is an equivalence relation on Z\mathbb{Z} (Equivalence relation, equivalence class, and the quotient set A/A/{\sim}); its classes are the congruence classes modulo nn, and the quotient set is written Z/n\mathbb{Z}/n;
  2. [a]+[b]:=[a+b][a] + [b] := [a+b] is a well-defined binary operation on Z/n\mathbb{Z}/n, and (Z/n,+,[0])(\mathbb{Z}/n, +, [0]) is an abelian group (Group and abelian group);
  3. Z/n\mathbb{Z}/n is finite of order nn: Z/n=n|\mathbb{Z}/n| = n (The order G|G| of a finite group and the order ord(g)\operatorname{ord}(g) of an element, with ord(g)=\operatorname{ord}(g) = \infty when no positive power of gg is the identity);
  4. Z/n=[1]\mathbb{Z}/n = \langle [1] \rangle, so it is cyclic, generated by the class of 11 (The subgroup S\langle S \rangle generated by a subset, the cyclic subgroup g\langle g \rangle, and cyclic groups).

The hypothesis n1n \ge 1 is needed for claim 3, and for claim 3 only: at n=0n = 0 the relation is equality, so Z/0\mathbb{Z}/0 has one class for each integer and is infinite, and there is no natural number nn with Z/0=n|\mathbb{Z}/0| = n. Claims 1, 2 and 4 do hold at n=0n = 0, where Z/0\mathbb{Z}/0 is an infinite cyclic group generated by [1][1].

Facts & Assumptions

Given: A natural number n1n \ge 1, the integer nˉ=ι(n)\bar n = \iota(n), and the relation aba \equiv b meaning ab=qnˉa - b = q\bar n for some qZq \in \mathbb{Z} (The integers as equivalence classes of pairs of naturals, Arithmetic on the integers).

[L1]

Z\mathbb{Z} is a commutative ring, with uv:=u+(v)u - v := u + (-v) (The integers form a commutative ring, Arithmetic on the integers); its order is total and antisymmetric and compatible with addition, and positives are closed under multiplication (The integers form a totally ordered ring, Order on the integers).

[L2]

ι\iota is injective, preserves addition, multiplication and order, and its image is exactly the nonnegative integers; ι(0)=0\iota(0) = 0, ι(1)=1\iota(1) = 1; hence nˉ>0\bar n > 0 because n1n \ge 1 (The naturals embed in the integers, Order on the natural numbers, The natural numbers N\mathbb{N} (von Neumann)). Moreover n={sN:s<n}n = \{\, s \in \mathbb{N} : s < n \,\}: a natural number is exactly the set of the naturals below it (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n).

[L3]

An equivalence relation is a reflexive, symmetric and transitive relation; [a]={b:ab}[a] = \{ b : a \sim b \} and the quotient set is the set of classes (Equivalence relation, equivalence class, and the quotient set A/A/{\sim}); and aba \sim b if and only if [a]=[b][a] = [b] (The equivalence classes of an equivalence relation are nonempty, cover AA, and are pairwise equal or disjoint; conversely every such cover arises from exactly one equivalence relation).

[L4]

Division with remainder: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b (Division with remainder in Z\mathbb{Z}: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b).

[L6]

Powers in a group written additively: g0g^{0} is the identity, gσ(m)=gm+gg^{\sigma(m)} = g^{m} + g, and gx=gkg^{x} = -g^{k} when x<0x < 0 and x=ι(k)-x = \iota(k) (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

[L7]

Induction on N\mathbb{N} (The principle of mathematical induction); on N\mathbb{N} exactly one of s<ts<t, s=ts=t, t<st<s holds (Trichotomy of the order on N\mathbb{N}).

Verification

technique · direct
1.1

\equiv is reflexive, since aa=0=0nˉa - a = 0 = 0 \cdot \bar n; symmetric, since ab=qnˉa - b = q\bar n gives ba=(q)nˉb - a = (-q)\bar n; and transitive, since ab=qnˉa - b = q\bar n and bc=qnˉb - c = q'\bar n give ac=(ab)+(bc)=(q+q)nˉa - c = (a-b) + (b-c) = (q + q')\bar n. So it is an equivalence relation, and Z/n\mathbb{Z}/n is its quotient set.

L1L3
1.2

The operation is well defined: if aaa \equiv a' and bbb \equiv b', say aa=qnˉa - a' = q\bar n and bb=qnˉb - b' = q'\bar n, then (a+b)(a+b)=(aa)+(bb)=(q+q)nˉ(a+b) - (a'+b') = (a - a') + (b - b') = (q+q')\bar n, so a+ba+ba + b \equiv a' + b' and [a+b]=[a+b][a+b] = [a'+b']. Hence [a]+[b]:=[a+b][a] + [b] := [a+b] depends only on the classes.

L1L3
1.3

ι\iota reflects the order: if ι(s)<ι(t)\iota(s) < \iota(t) then s<ts < t, since otherwise tst \le s would give ι(t)ι(s)\iota(t) \le \iota(s), contradicting antisymmetry.

L1L2L7
1.4

Distinct such representatives give distinct classes: let s,tNs, t \in \mathbb{N} with s<ns < n, t<nt < n and [ι(s)]=[ι(t)][\iota(s)] = [\iota(t)], so ι(s)ι(t)=qnˉ\iota(s) - \iota(t) = q\bar n for some qq, that is ι(s)=qnˉ+ι(t)\iota(s) = q\bar n + \iota(t). Both ι(s)\iota(s) and ι(t)\iota(t) are nonnegative and, ι\iota preserving the order, both are <ι(n)=nˉ< \iota(n) = \bar n. So ι(s)\iota(s) is written as qnˉ+ι(t)q\bar n + \iota(t) with 0ι(t)<nˉ0 \le \iota(t) < \bar n and also as 0nˉ+ι(s)0 \cdot \bar n + \iota(s) with 0ι(s)<nˉ0 \le \iota(s) < \bar n; the uniqueness clause of division with remainder forces q=0q = 0 and ι(t)=ι(s)\iota(t) = \iota(s), whence s=ts = t by injectivity of ι\iota.

L1L2L3L4
1.5

In the group Z/n\mathbb{Z}/n the kk-th power of [1][1] in additive notation is [ι(k)][\iota(k)] for every kNk \in \mathbb{N}: the set of kk for which this holds contains 00, since the identity is [0]=[ι(0)][0] = [\iota(0)], and is closed under σ\sigma, since the power at σ(k)\sigma(k) is the power at kk plus [1][1], that is [ι(k)]+[1]=[ι(k)+1]=[ι(σ(k))][\iota(k)] + [1] = [\iota(k) + 1] = [\iota(\sigma(k))].

L1L2L6L7
2.1

(Z/n,+,[0])(\mathbb{Z}/n, +, [0]) is an abelian group: associativity, commutativity, the identity law [a]+[0]=[a+0]=[a][a] + [0] = [a+0] = [a] and the inverse law [a]+[a]=[0][a] + [-a] = [0] all follow from the corresponding identities in Z\mathbb{Z} applied to representatives, which is legitimate by step 1.2.

step 1.2L1L5
2.2

Every class has a representative rr with 0r<nˉ0 \le r < \bar n: given aa, divide a=qnˉ+ra = q\bar n + r with 0r<nˉ0 \le r < \bar n, so ar=qnˉa - r = q\bar n and [a]=[r][a] = [r]. Moreover r0r \ge 0 gives r=ι(s)r = \iota(s) for a unique sNs \in \mathbb{N}, and ι(s)<ι(n)\iota(s) < \iota(n) gives s<ns < n.

step 1.3L2L3L4
3.1

The map φ:nZ/n\varphi : n \to \mathbb{Z}/n with φ(s)=[ι(s)]\varphi(s) = [\iota(s)] is well defined, the elements of the natural number nn being exactly the naturals s<ns < n; it is surjective by step 2.2 and injective by step 1.4, hence a bijection. So Z/nn\mathbb{Z}/n \approx n and Z/n=n|\mathbb{Z}/n| = n.

step 2.2step 1.4L2L5
3.2

For a negative integer xx with x=ι(k)-x = \iota(k), the xx-th power of [1][1] is the inverse of [ι(k)][\iota(k)], namely [ι(k)]=[x][-\iota(k)] = [x]; with step 1.5 this gives that the set of integer powers of [1][1] is {[a]:aZ}=Z/n\{\, [a] : a \in \mathbb{Z} \,\} = \mathbb{Z}/n.

step 2.1step 1.5L1L2L6
4.1

Since [1]\langle [1] \rangle is exactly the set of integer powers of [1][1], step 3.2 gives [1]=Z/n\langle [1] \rangle = \mathbb{Z}/n, so Z/n\mathbb{Z}/n is cyclic, generated by [1][1].

step 3.2L5
5.1

Claims 1 to 4 are established in steps 1.1, 2.1, 3.1 and 4.1.

step 1.1step 2.1step 3.1step 4.1

Remarks

  • The hypothesis n1n \ge 1 is carried by the title and by the statement, not left implicit. It is used twice and in an essential way: nˉ>0\bar n > 0 is what makes Division with remainder in Z\mathbb{Z}: for aZa \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with a=qb+ra = qb + r and 0r<b0 \le r < b applicable in step 2.2, and it is what makes the count in step 3.1 come out as nn. At n=0n = 0 the relation \equiv is equality on Z\mathbb{Z}, the quotient set is in bijection with Z\mathbb{Z} itself, and the group is infinite.

  • No greatest common divisor is used anywhere above, and none is available at this point in the reading order. Only division with remainder is needed. The multiplicative structure of Z/n\mathbb{Z}/n, where the units are the classes coprime to nn, does need gcd theory and belongs to a later page.

  • The elements are congruence classes, that is subsets of Z\mathbb{Z}, and [a][a] is a set. Nothing above ever names an element of Z/n\mathbb{Z}/n except through a representative, which is why step 1.2 has to be checked before the operation may be written down at all.

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: 90 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