Alphabeta Math
Session-authored (Fable 5 assisted)
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.

15 results · all verified · 13 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 2 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Binary Operations, Monoids, Groups and Subgroups

1 · Prerequisites

2 · Summary

Objective. This page opens the abstract algebra track. Everything the library has built so far, the naturals, the integers, the rationals and the reals, was built one structure at a time, and each construction re-proved the same handful of facts about its own operation: associativity, an identity, inverses, cancellation. This page isolates that handful into axioms and proves the facts once, for every structure satisfying them at once. The axioms themselves say nothing about numbers, and no result below is about a particular number system. Numbers do enter, in three specific places and as the library's own N\mathbb{N} and Z\mathbb{Z}: as exponents, as counts, and in the division algorithm that the order of an element turns out to need, which is proved here for want of an earlier home. The number systems reappear as examples of groups only on the companion page linked under Prerequisites above.

One operation, and the two uniqueness results that license the notation. Binary operation on a set; associativity, commutativity, and a subset closed under the operation fixes what an operation is and what it means for a subset to be closed under it; Left identity, right identity, and two-sided identity for a binary operation keeps left, right and two-sided identities apart. The separation matters, because A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity then proves the sharp statement that a left identity and a right identity for the same operation are equal, so a two-sided identity is unique when it exists. That is what makes "the identity" legitimate language in Semigroup and monoid. One level up the same device recurs: Left inverse, right inverse, and invertible element of a monoid separates left, right and two-sided inverses and In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided proves that in a monoid a left inverse and a right inverse of the same element coincide, this time using associativity, which is essential. Only then does Group and abelian group define a group as a monoid in which every element is invertible and write g1g^{-1}.

The first consequences. In a group e1=ee^{-1} = e, (g1)1=g(g^{-1})^{-1} = g and (gh)1=h1g1(gh)^{-1} = h^{-1}g^{-1}, the order of the last product being essential gives e1=ee^{-1} = e, (g1)1=g(g^{-1})^{-1} = g and (gh)1=h1g1(gh)^{-1} = h^{-1}g^{-1}, and settles that the reversal in the last is essential by showing (gh)1=g1h1(gh)^{-1} = g^{-1}h^{-1} holds exactly when gg and hh commute. Cancellation in a group: gx=gygx = gy or xg=ygxg = yg forces x=yx = y; equivalently left and right translation by gg are bijections of GG, so gx=hgx = h and xg=hxg = h each have exactly one solution proves cancellation on both sides, in the form that left and right translation by gg are bijections of GG, so each of gx=hgx = h and xg=hxg = h has exactly one solution. The invertible elements of a monoid form a group under the restricted operation runs the construction in the other direction: the invertible elements of any monoid form a group, and a monoid is a group exactly when that is all of it.

The symmetric group, homed here rather than later. The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition introduces Sym(X)\operatorname{Sym}(X), the bijections of a set under composition, together with cycle notation, and Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements proves it is a group and that it fails to be abelian as soon as XX has three distinct elements. The non-abelian clause is phrased with three named points and no counting, so it is available for any set whatever. This material is placed here, rather than with the combinatorics of SnS_n, because group actions need Sym(X)\operatorname{Sym}(X) earlier than the finite symmetric groups are studied, and because it supplies this page's own non-abelian witnesses.

Long products, and the exponent laws. Associativity is an axiom about three factors; that brackets may be dropped in a product of any length is a theorem. The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity defines i<ngi\prod_{i<n} g_i by recursion, with the empty product equal to the identity, and Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either proves the splitting law, the regrouping law that is the precise form of "the bracketing does not matter", and, in a commutative monoid, invariance under permuting the factors. Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e then defines gng^{n} for natural nn in a monoid and for integer nn in a group, splitting on the sign of the exponent rather than on a representative of it, and Exponent laws in a group: gm+n=gmgng^{m+n} = g^{m}g^{n} and (gm)n=gmn(g^{m})^{n} = g^{mn} for all m,nZm, n \in \mathbb{Z}, and (gh)n=gnhn(gh)^{n} = g^{n}h^{n} when gg and hh commute proves the exponent laws. The last of those, (gh)n=gnhn(gh)^{n} = g^{n}h^{n}, carries the hypothesis that gg and hh commute, in its statement and in its title, because it is false without it; the companion page exhibits the failure at n=2n = 2.

Subgroups. Subgroup asks for three closure conditions; One-step subgroup test: a nonempty HGH \subseteq G is a subgroup iff gh1Hgh^{-1} \in H for all g,hHg, h \in H; the identity and the inverses of HH are then those of GG replaces them by the single test gh1Hgh^{-1} \in H on a nonempty subset, and settles the point that a subset which happens to be a group under the restricted operation must carry the identity and the inverses of the ambient group, cancellation being what forces it. The intersection of a nonempty family of subgroups of GG is a subgroup of GG shows intersections of subgroups are subgroups, which is exactly what makes The subgroup S\langle S \rangle generated by a subset, the cyclic subgroup g\langle g \rangle, and cyclic groups work: S\langle S \rangle is defined from outside, as the intersection of all subgroups containing SS, and g={gn:nZ}\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}, and every cyclic group is abelian identifies the single-generator case from inside, g={gn:nZ}\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}, and deduces that every cyclic group is abelian. Unions of subgroups are almost never subgroups, which the companion page records.

Division with remainder, minted here too. Nothing earlier in the library supplies division with remainder in Z\mathbb{Z}, and two results below are unprovable without it, so 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 proves it, for a positive divisor, from the ordered ring structure and the well-ordering principle. No absolute value on Z\mathbb{Z} is needed and none is used. The relation "bb divides aa" is defined there for use here; the systematic theory of divisibility belongs to a later page, which must record that its general notion restricts to this one rather than introduce a second silently.

Order. The order of an element is definable only once something is known to exist, so the existence comes first: In a finite group, every element gg satisfies gn=eg^{n} = e for some natural n1n \ge 1 proves that in a finite group some positive power of every element is the identity, using the pigeonhole principle directly on the map kgkk \mapsto g^{k} rather than any statement about subsets of finite sets. 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 then defines G|G|, using the fact that a finite set is equinumerous with exactly one natural number, and ord(g)\operatorname{ord}(g) as the least positive nn with gn=eg^{n} = e, using the well-ordering principle, with ord(g)=\operatorname{ord}(g) = \infty when no such nn exists. If ord(g)=n\operatorname{ord}(g) = n then gk=eg^{k} = e iff kk is an integer multiple of nn, the powers g0,,gn1g^{0}, \dots, g^{n-1} are distinct, and g\langle g \rangle has exactly nn elements; if gg has infinite order then gj=gkg^{j} = g^{k} only for j=kj = k is the payoff: gk=eg^{k} = e exactly when ord(g)\operatorname{ord}(g) divides kk, the powers g0,,gn1g^{0}, \dots, g^{n-1} are distinct, and g=ord(g)|\langle g \rangle| = \operatorname{ord}(g), so the order of an element is the order of the group it generates.

Homomorphisms, definition only. Monoid homomorphism and group homomorphism defines monoid and group homomorphisms, and A group homomorphism automatically satisfies f(e)=ef(e) = e' and f(g1)=f(g)1f(g^{-1}) = f(g)^{-1}, and f(gn)=f(g)nf(g^{n}) = f(g)^{n} for every nZn \in \mathbb{Z}; for monoid homomorphisms preservation of the identity must be assumed explains why the two definitions differ: a group homomorphism automatically preserves the identity, the inverses and all integer powers, whereas for monoids preservation of the identity has to be assumed, as the constant map 00 on (Z,)(\mathbb{Z},\cdot) shows. Kernels, images, isomorphisms and the isomorphism theorems belong to a later page and are not used here.

What is deliberately absent. There is no direct product of groups on this page, since the page that develops products already lists it; no greatest common divisor, since nothing here needs one; and no notion of isomorphism, since the homomorphism theory is developed later. Twenty-nine items are proved here, seven of them marked as landmarks in the flowchart above.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Binary operation on a set; associativity, commutativity, and a subset closed under the operation

Definition

A binary operation on a set SS is a function (A function is a relation ff with (a,b)f(a,b) \in f and (a,c)f(a,c) \in f implying b=cb = c; f:ABf : A \to B, the value f(a)f(a), domain and codomain) whose domain is the Cartesian product S×SS \times S (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}A \times B := \{\, z \in \mathcal{P}(\mathcal{P}(A \cup B)) : \exists a \in A\ \exists b \in B\ z = (a,b) \,\}),

  :  S×SS,* \;:\; S \times S \longrightarrow S,

written in infix form xy:=(x,y)x * y := *(x,y). That the value always lies in SS is part of the definition, and is referred to as SS being closed under *. The pair (S,)(S,*) is called a set equipped with a binary operation.

The operation * is

  • associative when (xy)z=x(yz)(x * y) * z = x * (y * z) for all x,y,zSx, y, z \in S;
  • commutative when xy=yxx * y = y * x for all x,ySx, y \in S.

Two elements x,ySx, y \in S commute when xy=yxx * y = y * x; so * is commutative exactly when every two elements of SS commute.

A subset TST \subseteq S is closed under * when xyTx * y \in T for all x,yTx, y \in T. In that case the restriction of * to T×TT \times T has all its values in TT and is therefore a binary operation on TT, called the restricted operation or the operation induced on TT; it is again associative if * is, and again commutative if * is, since both conditions are equations required of elements of TT, which are in particular elements of SS.

Remarks

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Left identity, right identity, and two-sided identity for a binary operation

Definition

Let * be a binary operation on a set SS (Binary operation on a set; associativity, commutativity, and a subset closed under the operation) and let eSe \in S. Then ee is

  • a left identity for * when ex=xe * x = x for every xSx \in S;
  • a right identity for * when xe=xx * e = x for every xSx \in S;
  • a two-sided identity, or simply an identity, when it is both.

Remarks

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity

Statement

Let * be a binary operation on a set SS (Binary operation on a set; associativity, commutativity, and a subset closed under the operation). If eSe \in S is a left identity and fSf \in S is a right identity for * (Left identity, right identity, and two-sided identity for a binary operation), then e=fe = f. Consequently:

  1. * has at most one two-sided identity;
  2. if * has a two-sided identity ee, then ee is the only left identity and the only right identity for *.

No associativity is assumed.

Facts & Assumptions

Given: A binary operation * on a set SS, an element eSe \in S with ex=xe * x = x for all xSx \in S, and an element fSf \in S with xf=xx * f = x for all xSx \in S (Left identity, right identity, and two-sided identity for a binary operation).

[A1]

ee is a left identity: ex=xe * x = x for every xSx \in S.

[A2]

ff is a right identity: xf=xx * f = x for every xSx \in S.

Proof

technique · direct
1.1

Evaluate efe * f using [A1] with x=fx = f: ef=fe * f = f.

A1
1.2

Evaluate the same element efe * f using [A2] with x=ex = e: ef=ee * f = e.

A2
2.1

The two evaluations are of the same element of SS, so e=ef=fe = e * f = f.

step 1.1step 1.2
3.1

If e1e_1 and e2e_2 are two-sided identities, then e1e_1 is in particular a left identity and e2e_2 a right identity, so e1=e2e_1 = e_2 by step 2.1; this is claim 1.

step 2.1given
3.2

If ee is a two-sided identity and gg is any left identity, then gg is a left identity and ee a right identity, so g=eg = e by step 2.1; if gg is any right identity, then ee is a left identity and gg a right identity, so e=ge = g by step 2.1. This is claim 2.

step 2.1given
4.1

Hence a left identity and a right identity always coincide, and a two-sided identity, when it exists, is unique and is the unique one-sided identity on either side.

step 2.1step 3.1step 3.2

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Semigroup and monoid

Definition

A semigroup is a pair (S,)(S,*) consisting of a set SS and an associative binary operation * on SS (Binary operation on a set; associativity, commutativity, and a subset closed under the operation).

A monoid is a triple (M,,e)(M,*,e) in which (M,)(M,*) is a semigroup and eMe \in M is a two-sided identity for * (Left identity, right identity, and two-sided identity for a binary operation), that is,

ex  =  x  =  xefor every xM.e * x \;=\; x \;=\; x * e \qquad \text{for every } x \in M .

By A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity a binary operation has at most one two-sided identity, so ee is determined by (M,)(M,*) and may be called the identity of MM; it is written ee, or eMe_M when several monoids are in play, and 11 or 00 in multiplicative or additive notation. For that reason a monoid is often written simply as (M,)(M,*), or as MM.

A semigroup or monoid is commutative (for monoids also called abelian) when its operation is commutative.

A subset NMN \subseteq M is a submonoid when eNe \in N and NN is closed under *; the restricted operation then makes (N,,e)(N,*,e) a monoid, associativity being inherited (Binary operation on a set; associativity, commutativity, and a subset closed under the operation).

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Left inverse, right inverse, and invertible element of a monoid

Definition

Let (M,,e)(M,*,e) be a monoid (Semigroup and monoid) and let gMg \in M. An element hMh \in M is

  • a left inverse of gg when hg=eh * g = e;
  • a right inverse of gg when gh=eg * h = e;
  • a two-sided inverse, or simply an inverse, of gg when it is both, that is when hg=e=ghh * g = e = g * h.

The element gg is invertible, or a unit of MM, when it has a two-sided inverse. The set of units of MM is written M×M^{\times}.

The identity is always invertible, since ee=ee * e = e exhibits ee as a two-sided inverse of itself.

Remarks

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided

Statement

Let (M,,e)(M,*,e) be a monoid (Semigroup and monoid) and let gMg \in M. If hh is a left inverse of gg and hh' is a right inverse of gg (Left inverse, right inverse, and invertible element of a monoid), then h=hh = h'. Consequently:

  1. an invertible element gg has exactly one two-sided inverse, written g1g^{-1};
  2. for an invertible gg, every left inverse of gg and every right inverse of gg equals g1g^{-1}, so a single one-sided equation hg=eh * g = e or gh=eg * h = e already forces h=g1h = g^{-1};
  3. if gg has both a left inverse and a right inverse then gg is invertible.

Associativity is used, and is essential.

Facts & Assumptions

Given: A monoid (M,,e)(M,*,e), an element gMg \in M, an element hMh \in M with hg=eh * g = e, and an element hMh' \in M with gh=eg * h' = e (Left inverse, right inverse, and invertible element of a monoid).

[A1]

hg=eh * g = e.

[A2]

gh=eg * h' = e.

[L1]

* is associative: (xy)z=x(yz)(x * y) * z = x * (y * z) for all x,y,zMx, y, z \in M (Semigroup and monoid, Binary operation on a set; associativity, commutativity, and a subset closed under the operation).

[L2]

ee is a two-sided identity: ex=x=xee * x = x = x * e for every xMx \in M (Semigroup and monoid, Left identity, right identity, and two-sided identity for a binary operation).

Proof

technique · direct
1.1

Since ee is a right identity and gh=eg * h' = e, we may write h=he=h(gh)h = h * e = h * (g * h').

A2L2
1.2

Since ee is a left identity and hg=eh * g = e, we may write h=eh=(hg)hh' = e * h' = (h * g) * h'.

A1L2
1.3

Associativity identifies the two right-hand sides: h(gh)=(hg)hh * (g * h') = (h * g) * h'.

L1
2.1

Combining, h=h(gh)=(hg)h=hh = h * (g * h') = (h * g) * h' = h', which is the stated equality of a left inverse and a right inverse.

step 1.1step 1.2step 1.3
3.1

Claim 3: if hh is a left inverse and hh' a right inverse of gg, then h=hh = h' by step 2.1, so this common element satisfies both hg=eh * g = e and gh=eg * h = e and is a two-sided inverse; hence gg is invertible.

step 2.1A1A2
3.2

Claim 1: let uu and vv be two-sided inverses of gg. Then uu is a left inverse and vv is a right inverse of gg, so u=vu = v by step 2.1; the two-sided inverse of an invertible element is therefore unique, and the notation g1g^{-1} is legitimate.

step 2.1given
3.3

Claim 2: let gg be invertible with two-sided inverse g1g^{-1}. If hg=eh * g = e then hh is a left inverse and g1g^{-1} is a right inverse of gg, so h=g1h = g^{-1} by step 2.1; if gh=eg * h = e then g1g^{-1} is a left inverse and hh a right inverse, so g1=hg^{-1} = h by step 2.1.

step 2.1given
4.1

A left inverse and a right inverse of the same element coincide, an invertible element has exactly one inverse, and either one-sided equation already identifies it.

step 2.1step 3.1step 3.2step 3.3

Remarks

  • Where associativity enters. Step 1.3 is the only use of it, and it is indispensable: for a non-associative operation with a two-sided identity an element can have several distinct left inverses. This is why the lemma is stated for monoids and not for arbitrary operations with an identity, in contrast with A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity, which needs no associativity at all.

  • What this licenses. Group and abelian group defines a group as a monoid all of whose elements are invertible, and then writes g1g^{-1} and treats it as two-sided. Claim 1 is what makes that notation well defined, and claim 2 is the working form used throughout: to identify an inverse it suffices to verify one of the two equations, provided the element is already known to be invertible.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Group and abelian group

Definition

A group is a monoid (G,,e)(G,*,e) (Semigroup and monoid) in which every element is invertible (Left inverse, right inverse, and invertible element of a monoid). Written out, a group is a set GG with a binary operation * (Binary operation on a set; associativity, commutativity, and a subset closed under the operation) and an element eGe \in G such that

  • (G1) (xy)z=x(yz)(x * y) * z = x * (y * z) for all x,y,zGx, y, z \in G;
  • (G2) ex=x=xee * x = x = x * e for every xGx \in G;
  • (G3) for every xGx \in G there is yGy \in G with yx=e=xyy * x = e = x * y.

By A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity the element ee of (G2) is unique, and by In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided the element yy of (G3) is unique for each xx and is determined by either one of the two equations alone. So the notations ee for the identity and x1x^{-1} for the inverse of xx are legitimate, and asserting yx=ey * x = e alone already says y=x1y = x^{-1}.

A group is abelian, or commutative, when its operation is commutative: xy=yxx * y = y * x for all x,yGx, y \in G.

Notation. The operation is usually written multiplicatively, xyxy for xyx * y, with identity ee (or 11) and inverse x1x^{-1}. For an abelian group it is often written additively, x+yx + y, with identity 00 and inverse x-x; the two notations describe the same notion and nothing below depends on the choice. We write GG for the group when the operation is understood.

Remarks

  • Why (G3) may be stated one-sidedly in practice. The axiom as written asks for a two-sided inverse. Because In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided is proved before this definition, and is proved in the sharp form "a left inverse and a right inverse of the same element coincide", verifying either equation for a candidate yy suffices once the element is known to be invertible. Nothing on this page ever uses a one-sided inverse without that lemma standing behind it.

  • A group is a monoid, not merely like one. Every statement proved for monoids applies verbatim to groups. In the other direction the invertible elements of a monoid form a group (The invertible elements of a monoid form a group under the restricted operation), so groups arise inside every monoid.

  • The axioms are not independent of the notation, but the content is. Read additively, (G1)–(G3) are exactly the additive axioms in the definition of a field (Field), whose axiom (A) says in as many words that (F,+)(F,+) is an abelian group and whose axiom (M) says the same of (F{0},)(F \setminus \{0\}, \cdot); so every field already carries two groups.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

In a group e1=ee^{-1} = e, (g1)1=g(g^{-1})^{-1} = g and (gh)1=h1g1(gh)^{-1} = h^{-1}g^{-1}, the order of the last product being essential

Statement

Let GG be a group (Group and abelian group) with identity ee. For all g,hGg, h \in G:

  1. e1=ee^{-1} = e;
  2. (g1)1=g(g^{-1})^{-1} = g; in particular inversion gg1g \mapsto g^{-1} is its own two-sided inverse as a map GGG \to G, hence a bijection of GG;
  3. (gh)1=h1g1(gh)^{-1} = h^{-1} g^{-1};
  4. (gh)1=g1h1(gh)^{-1} = g^{-1} h^{-1} holds if and only if gg and hh commute. So the reversal of order in claim 3 cannot be dropped in general, and in an abelian group it may be.

Facts & Assumptions

Given: A group GG with identity ee, and elements g,hGg, h \in G; g1g^{-1} denotes the unique two-sided inverse of gg (Group and abelian group, Left inverse, right inverse, and invertible element of a monoid).

[L1]

Uniqueness of inverses in the sharp form: if xx is invertible and yx=ey * x = e or xy=ex * y = e, then y=x1y = x^{-1}; and an element with a left and a right inverse is invertible with that common element as inverse (In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided).

[L2]

The group axioms: * is associative, ee is a two-sided identity, and every element has a two-sided inverse (Group and abelian group, Left identity, right identity, and two-sided identity for a binary operation).

Proof

technique · direct
1.1

ee=ee \, e = e by the identity law, so ee is a two-sided inverse of ee; since inverses are unique, e1=ee^{-1} = e, which is claim 1.

L1L2
1.2

The defining equations of g1g^{-1} are g1g=eg^{-1} g = e and gg1=eg\, g^{-1} = e; read with g1g^{-1} in the role of the element being inverted, they say that gg is a two-sided inverse of g1g^{-1}. Uniqueness gives (g1)1=g(g^{-1})^{-1} = g, which is the equation of claim 2.

L1L2
1.3

Compute (gh)(h1g1)=g(hh1)g1=geg1=gg1=e(gh)(h^{-1}g^{-1}) = g\,(h h^{-1})\,g^{-1} = g\,e\,g^{-1} = g g^{-1} = e, using associativity to regroup and the identity law twice.

L2
1.4

Compute likewise (h1g1)(gh)=h1(g1g)h=h1eh=h1h=e(h^{-1}g^{-1})(gh) = h^{-1}(g^{-1}g)h = h^{-1} e\, h = h^{-1} h = e.

L2
2.1

By steps 1.3 and 1.4 the element h1g1h^{-1}g^{-1} is a two-sided inverse of ghgh, so ghgh is invertible and (gh)1=h1g1(gh)^{-1} = h^{-1}g^{-1} by uniqueness; this is claim 3.

step 1.3step 1.4L1
2.2

Inversion is a map GGG \to G by claim (G3) and uniqueness, and step 1.2 says it composed with itself is the identity map of GG, so it is a bijection of GG onto itself; this completes claim 2.

step 1.2L1L2
3.1

Suppose gh=hggh = hg. Applying step 2.1 to the pair (h,g)(h,g) gives (hg)1=g1h1(hg)^{-1} = g^{-1}h^{-1}, and gh=hggh = hg gives (gh)1=(hg)1(gh)^{-1} = (hg)^{-1}; hence (gh)1=g1h1(gh)^{-1} = g^{-1}h^{-1}.

step 2.1given
3.2

Conversely suppose (gh)1=g1h1(gh)^{-1} = g^{-1}h^{-1}. Taking inverses of both sides and using step 2.1 on the right and step 1.2 on the left gives gh=((gh)1)1=(g1h1)1=(h1)1(g1)1=hggh = ((gh)^{-1})^{-1} = (g^{-1}h^{-1})^{-1} = (h^{-1})^{-1}(g^{-1})^{-1} = hg.

step 1.2step 2.1
4.1

Steps 3.1 and 3.2 give claim 4: (gh)1=g1h1(gh)^{-1} = g^{-1}h^{-1} holds exactly when gg and hh commute, so the reversal in claim 3 is essential precisely for non-commuting pairs, and is harmless in an abelian group.

step 3.1step 3.2
5.1

Claims 1, 2, 3 and 4 are established in steps 1.1, 2.2, 2.1 and 4.1.

step 1.1step 2.1step 2.2step 4.1

Remarks

  • Claim 4 is what makes the wording of claim 3 more than a stylistic preference: a pair with (gh)1g1h1(gh)^{-1} \ne g^{-1}h^{-1} exists in a group exactly when some two of its elements fail to commute. That non-abelian groups exist is settled below by Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements, which shows Sym(X)\operatorname{Sym}(X) is non-abelian whenever XX has three distinct elements.

  • Claim 2 is used constantly in the form "inversion is a bijection": a statement quantified over all gg may be re-read as a statement quantified over all g1g^{-1} without loss.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

Cancellation in a group: gx=gygx = gy or xg=ygxg = yg forces x=yx = y; equivalently left and right translation by gg are bijections of GG, so gx=hgx = h and xg=hxg = h each have exactly one solution

Statement

Let GG be a group (Group and abelian group) and let gGg \in G. Define the left translation λg:GG\lambda_g : G \to G by λg(x)=gx\lambda_g(x) = gx and the right translation ρg:GG\rho_g : G \to G by ρg(x)=xg\rho_g(x) = xg. Then:

  1. Cancellation. For all x,yGx, y \in G: if gx=gygx = gy then x=yx = y, and if xg=ygxg = yg then x=yx = y.
  2. λg\lambda_g and ρg\rho_g are bijections of GG (Injection, surjection, bijection), with inverse maps λg1\lambda_{g^{-1}} and ρg1\rho_{g^{-1}} respectively.
  3. For every hGh \in G the equation gx=hgx = h has exactly one solution in GG, namely x=g1hx = g^{-1}h; and xg=hxg = h has exactly one solution, namely x=hg1x = hg^{-1}.

Facts & Assumptions

Given: A group GG with identity ee, an element gGg \in G with inverse g1g^{-1}, and the maps λg(x)=gx\lambda_g(x) = gx, ρg(x)=xg\rho_g(x) = xg (Group and abelian group).

[L1]

The group axioms: associativity, ee a two-sided identity, and g1g=e=gg1g^{-1}g = e = g g^{-1} (Group and abelian group, Left identity, right identity, and two-sided identity for a binary operation).

[L3]

A map is bijective exactly when it has a two-sided inverse map; injective means f(x)=f(y)f(x) = f(y) forces x=yx = y (Injection, surjection, bijection).

Proof

technique · direct
1.1

Suppose gx=gygx = gy. Multiplying on the left by g1g^{-1} and regrouping, x=ex=(g1g)x=g1(gx)=g1(gy)=(g1g)y=ey=yx = e x = (g^{-1}g)x = g^{-1}(gx) = g^{-1}(gy) = (g^{-1}g)y = e y = y.

L1
1.2

Suppose xg=ygxg = yg. Multiplying on the right by g1g^{-1} and regrouping, x=xe=x(gg1)=(xg)g1=(yg)g1=y(gg1)=ye=yx = x e = x(g g^{-1}) = (xg)g^{-1} = (yg)g^{-1} = y(g g^{-1}) = y e = y.

L1
1.3

For every xGx \in G, λg1(λg(x))=g1(gx)=(g1g)x=ex=x\lambda_{g^{-1}}(\lambda_g(x)) = g^{-1}(gx) = (g^{-1}g)x = ex = x, and λg(λg1(x))=g(g1x)=(gg1)x=ex=x\lambda_g(\lambda_{g^{-1}}(x)) = g(g^{-1}x) = (g g^{-1})x = ex = x.

L1
1.4

For every xGx \in G, ρg1(ρg(x))=(xg)g1=x(gg1)=x\rho_{g^{-1}}(\rho_g(x)) = (xg)g^{-1} = x(g g^{-1}) = x, and ρg(ρg1(x))=(xg1)g=x(g1g)=x\rho_g(\rho_{g^{-1}}(x)) = (x g^{-1})g = x(g^{-1}g) = x.

L1
1.5

Existence in claim 3: g(g1h)=(gg1)h=eh=hg(g^{-1}h) = (g g^{-1})h = eh = h, so x=g1hx = g^{-1}h solves gx=hgx = h; and (hg1)g=h(g1g)=he=h(hg^{-1})g = h(g^{-1}g) = he = h, so x=hg1x = hg^{-1} solves xg=hxg = h.

L1
2.1

Claim 1 is steps 1.1 and 1.2.

step 1.1step 1.2
2.2

By step 1.3 the map λg1\lambda_{g^{-1}} is a two-sided inverse of λg\lambda_g, so λg\lambda_g is a bijection of GG with inverse λg1\lambda_{g^{-1}}; by step 1.4 the same holds for ρg\rho_g with inverse ρg1\rho_{g^{-1}}. This is claim 2.

step 1.3step 1.4L3
2.3

Uniqueness in claim 3: if gx=h=gxgx = h = gx' then x=xx = x' by step 1.1, and if xg=h=xgxg = h = x'g then x=xx = x' by step 1.2.

step 1.1step 1.2
3.1

Cancellation holds on both sides, both translations are bijections, and each of the two equations has exactly one solution.

step 2.1step 2.2step 1.5step 2.3

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The invertible elements of a monoid form a group under the restricted operation

Statement

Let (M,,e)(M,*,e) be a monoid (Semigroup and monoid) and let M×M^{\times} be its set of invertible elements (Left inverse, right inverse, and invertible element of a monoid). Then M×M^{\times} contains ee, is closed under * and under inversion, and (M×,,e)(M^{\times}, *, e) is a group (Group and abelian group), called the group of units of MM.

Moreover MM is itself a group exactly when M×=MM^{\times} = M.

Facts & Assumptions

Given: A monoid (M,,e)(M,*,e) and its set of units M×={gM:g has a two-sided inverse in M}M^{\times} = \{\, g \in M : g \text{ has a two-sided inverse in } M \,\} (Left inverse, right inverse, and invertible element of a monoid).

[L1]

* is associative and ee is a two-sided identity for it (Semigroup and monoid).

[L3]

A group is a monoid in which every element is invertible (Group and abelian group).

[L4]

If a subset of MM is closed under *, the restriction of * to it is a binary operation on it, and associativity is inherited (Binary operation on a set; associativity, commutativity, and a subset closed under the operation).

Proof

technique · direct
1.1

eM×e \in M^{\times}, since ee=ee * e = e exhibits ee as a two-sided inverse of itself.

L1
1.2

Let g,hM×g, h \in M^{\times} with inverses g1,h1g^{-1}, h^{-1}. Then (gh)(h1g1)=g(hh1)g1=geg1=gg1=e(g * h) * (h^{-1} * g^{-1}) = g * (h * h^{-1}) * g^{-1} = g * e * g^{-1} = g * g^{-1} = e and (h1g1)(gh)=h1(g1g)h=h1eh=h1h=e(h^{-1} * g^{-1}) * (g * h) = h^{-1} * (g^{-1} * g) * h = h^{-1} * e * h = h^{-1} * h = e, the regroupings being licensed by associativity. So h1g1h^{-1} * g^{-1} is a two-sided inverse of ghg * h in MM, whence ghM×g * h \in M^{\times}.

L1L2
1.3

Let gM×g \in M^{\times}. The equations g1g=e=gg1g^{-1} * g = e = g * g^{-1} read with g1g^{-1} as the element being inverted say that gg is a two-sided inverse of g1g^{-1}; hence g1M×g^{-1} \in M^{\times}.

L2
1.4

If M×=MM^{\times} = M then MM is a monoid in which every element is invertible, that is a group; conversely if MM is a group then every element of MM is invertible, so MM×M \subseteq M^{\times}, and M×MM^{\times} \subseteq M always, giving M×=MM^{\times} = M.

L3given
2.1

By step 1.2 the set M×M^{\times} is closed under *, so * restricts to a binary operation on M×M^{\times}, associative because it is associative on MM.

step 1.2L1L4
3.1

By step 1.1 the element ee lies in M×M^{\times}, and ex=x=xee * x = x = x * e holds for every xM×x \in M^{\times} because it holds for every xMx \in M; so (M×,,e)(M^{\times}, *, e) is a monoid.

step 1.1step 2.1L1
4.1

Every gM×g \in M^{\times} is invertible in M×M^{\times}: its inverse g1g^{-1} lies in M×M^{\times} by step 1.3, and the two equations g1g=e=gg1g^{-1} * g = e = g * g^{-1} are equations between elements of M×M^{\times}. Hence (M×,,e)(M^{\times},*,e) is a group.

step 1.3step 3.1L3
5.1

The units of MM form a group under the restricted operation, with the same identity, and this group is all of MM exactly when MM is a group.

step 3.1step 4.1step 1.4

Remarks

  • The point of step 4.1 is that invertibility is a condition relative to a containing structure: gg is a unit of M×M^{\times} because the witness g1g^{-1} was shown to lie in M×M^{\times}, not merely in MM. Skipping step 1.3 would leave a genuine gap.

  • The lemma is the source of most of the small examples of groups: the units of (Z,)(\mathbb{Z},\cdot) are {1,1}\{1,-1\}, and the units of a field under multiplication are exactly the nonzero elements.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition

Definition

Let XX be a set. A permutation of XX is a bijection f:XXf : X \to X (Injection, surjection, bijection). The symmetric group of XX is the set of all permutations of XX,

Sym(X)  :=  {f:XX  :  f is a bijection},\operatorname{Sym}(X) \;:=\; \{\, f : X \to X \;:\; f \text{ is a bijection} \,\},

equipped with composition as its operation,

(fg)(x)  =  f(g(x))(xX),(f \circ g)(x) \;=\; f(g(x)) \qquad (x \in X),

and with the identity map idX\mathrm{id}_X, given by idX(x)=x\mathrm{id}_X(x) = x, as distinguished element.

Composition of two bijections of XX is again a bijection of XX (Injection, surjection, bijection), so Sym(X)\operatorname{Sym}(X) is closed under \circ and \circ is a binary operation on it (Binary operation on a set; associativity, commutativity, and a subset closed under the operation); and idX\mathrm{id}_X is a bijection of XX, so it is an element of Sym(X)\operatorname{Sym}(X), and it is a two-sided identity for composition (Left identity, right identity, and two-sided identity for a binary operation) because fidX=f=idXff \circ \mathrm{id}_X = f = \mathrm{id}_X \circ f holds pointwise for every ff. That (Sym(X),,idX)(\operatorname{Sym}(X), \circ, \mathrm{id}_X) is a group is Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements.

Cycle notation for a finite list of distinct points. For distinct elements x0,x1,,xk1x_0, x_1, \dots, x_{k-1} of XX with k2k \ge 2, the symbol (x0x1xk1)(x_0\,x_1\,\cdots\,x_{k-1}) denotes the permutation sending xix_i to xi+1x_{i+1} for i<k1i < k-1, sending xk1x_{k-1} to x0x_0, and fixing every element of XX outside {x0,,xk1}\{x_0,\dots,x_{k-1}\}. It is a bijection, because the map described sends the set {x0,,xk1}\{x_0,\dots,x_{k-1}\} onto itself by a rule with an evident inverse (send each xi+1x_{i+1} back to xix_i and x0x_0 back to xk1x_{k-1}) and fixes the complement pointwise. A transposition is such a symbol with k=2k = 2, that is (ab)(a\,b) with aba \ne b: it exchanges aa and bb and fixes everything else, and it satisfies (ab)(ab)=idX(a\,b) \circ (a\,b) = \mathrm{id}_X.

A product of cycle symbols means their composite, so (ab)(cd)(a\,b)(c\,d) is (ab)(cd)(a\,b) \circ (c\,d).

Remarks

  • Order of composition. With the convention (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) the right-hand factor acts first. Both conventions are in use in the literature; this one is the one already fixed for function composition in the library and is the one used in every computation on this page and its companion.

  • Why this is defined here rather than with the finite symmetric groups. Sym(X)\operatorname{Sym}(X) for an arbitrary set XX is the ambient object needed as soon as one speaks of a group acting on a set, which is earlier in the reading order than the combinatorial study of SnS_n; homing it here keeps every citation of it backward-pointing.

  • The general cycle notation above is used on this page only for transpositions; cycles of length 33 and 44, and products of two disjoint transpositions, appear on the companion examples page. The systematic theory, including the factorisation of an arbitrary permutation of a finite set into disjoint cycles, belongs to a later page.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements

Statement

For every set XX, the triple (Sym(X),,idX)(\operatorname{Sym}(X), \circ, \mathrm{id}_X) of The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition is a group (Group and abelian group); the inverse of a permutation ff is its inverse function f1f^{-1}.

If XX contains three distinct elements aa, bb, cc, then Sym(X)\operatorname{Sym}(X) is not abelian: the transpositions τ=(ab)\tau = (a\,b) and ρ=(bc)\rho = (b\,c) satisfy τρρτ\tau \circ \rho \ne \rho \circ \tau.

Facts & Assumptions

Given: A set XX; Sym(X)\operatorname{Sym}(X) the set of bijections XXX \to X with the operation fgf \circ g defined by (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) and the element idX\mathrm{id}_X (The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition); and, for the second claim, three distinct elements a,b,cXa, b, c \in X together with the transpositions τ=(ab)\tau = (a\,b) and ρ=(bc)\rho = (b\,c) of The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition.

[L1]

A composite of two bijections XXX \to X is a bijection XXX \to X, so \circ is a binary operation on Sym(X)\operatorname{Sym}(X); idX\mathrm{id}_X is a bijection; and a bijection ff has a two-sided inverse function f1f^{-1}, which is itself a bijection (Injection, surjection, bijection, The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition).

[L2]

Two functions XXX \to X are equal exactly when they agree at every point of XX.

[L3]

A group is a monoid in which every element is invertible; a monoid is an associative operation with a two-sided identity (Group and abelian group, Semigroup and monoid, Left inverse, right inverse, and invertible element of a monoid).

Proof

technique · direct
1.1

Composition is associative: for f,g,hSym(X)f, g, h \in \operatorname{Sym}(X) and xXx \in X, both ((fg)h)(x)((f \circ g) \circ h)(x) and (f(gh))(x)(f \circ (g \circ h))(x) evaluate to f(g(h(x)))f(g(h(x))), so the two composites agree at every point and are equal.

L2given
1.2

idX\mathrm{id}_X is a two-sided identity: for fSym(X)f \in \operatorname{Sym}(X) and xXx \in X, (fidX)(x)=f(x)(f \circ \mathrm{id}_X)(x) = f(x) and (idXf)(x)=f(x)(\mathrm{id}_X \circ f)(x) = f(x), so fidX=f=idXff \circ \mathrm{id}_X = f = \mathrm{id}_X \circ f.

L1L2given
1.3

Every fSym(X)f \in \operatorname{Sym}(X) is invertible in Sym(X)\operatorname{Sym}(X): the inverse function f1f^{-1} is again a bijection XXX \to X, hence lies in Sym(X)\operatorname{Sym}(X), and it satisfies f1(f(x))=xf^{-1}(f(x)) = x and f(f1(x))=xf(f^{-1}(x)) = x for every xx, that is f1f=idX=ff1f^{-1} \circ f = \mathrm{id}_X = f \circ f^{-1}.

L1L2
1.4

The transposition τ=(ab)\tau = (a\,b) satisfies τ(a)=b\tau(a) = b, τ(b)=a\tau(b) = a and τ(x)=x\tau(x) = x for x{a,b}x \notin \{a,b\}; the transposition ρ=(bc)\rho = (b\,c) satisfies ρ(b)=c\rho(b) = c, ρ(c)=b\rho(c) = b and ρ(x)=x\rho(x) = x for x{b,c}x \notin \{b,c\}. Both are bijections of XX, being their own inverses.

givenL1
2.1

By steps 1.1 and 1.2 the pair (Sym(X),)(\operatorname{Sym}(X), \circ) with the element idX\mathrm{id}_X is a monoid; by step 1.3 every element of it is invertible; hence it is a group, and the inverse of ff is the inverse function f1f^{-1}.

step 1.1step 1.2step 1.3L3
2.2

Evaluate the two composites at cc. Since cac \ne a and cbc \ne b, τ(c)=c\tau(c) = c, so (ρτ)(c)=ρ(τ(c))=ρ(c)=b(\rho \circ \tau)(c) = \rho(\tau(c)) = \rho(c) = b. And ρ(c)=b\rho(c) = b, so (τρ)(c)=τ(ρ(c))=τ(b)=a(\tau \circ \rho)(c) = \tau(\rho(c)) = \tau(b) = a.

step 1.4given
3.1

The two composites take different values at cc, because aba \ne b; hence τρρτ\tau \circ \rho \ne \rho \circ \tau and Sym(X)\operatorname{Sym}(X) is not abelian.

step 2.2L2given
4.1

Sym(X)\operatorname{Sym}(X) is a group under composition, and it fails to be abelian as soon as XX has three distinct elements.

step 2.1step 3.1

Remarks

  • "Three distinct elements", not a cardinality hypothesis. The second claim is stated and proved with three named, pairwise distinct points of XX. No notion of the size of XX is used, so the statement is available for any XX whatever, finite or not, and needs nothing about counting.

  • For XX with at most two elements Sym(X)\operatorname{Sym}(X) is abelian: it has at most two elements itself, and any group with at most two elements is abelian, since one of any two of its elements is then the identity.

  • The witness pair τ,ρ\tau, \rho is reused on the companion page to show that the exponent law (gh)n=gnhn(gh)^n = g^n h^n genuinely needs its commuting hypothesis.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity

Definition

Let (M,,e)(M,\cdot,e) be a monoid (Semigroup and monoid) and let g:NMg : \mathbb{N} \to M be a family of elements of MM, written gi:=g(i)g_i := g(i). There is exactly one function Pg:NMP_g : \mathbb{N} \to M satisfying

Pg(0)=e,Pg(σ(n))=Pg(n)gn(nN),P_g(0) = e, \qquad P_g(\sigma(n)) = P_g(n) \cdot g_n \quad (n \in \mathbb{N}),

and we write

i<ngi  :=  Pg(n),also written g0g1gn1.\prod_{i<n} g_i \;:=\; P_g(n), \qquad \text{also written } g_0 g_1 \cdots g_{n-1}.

In particular the empty product is i<0gi=e\prod_{i<0} g_i = e, and i<1gi=eg0=g0\prod_{i<1} g_i = e \cdot g_0 = g_0.

Why the recursion is legitimate. The clause Pg(σ(n))=Pg(n)gnP_g(\sigma(n)) = P_g(n) \cdot g_n consults nn as well as Pg(n)P_g(n), so The recursion theorem does not apply to it directly. Apply that theorem instead with the set A=N×MA = \mathbb{N} \times M, the element a=(0,e)a = (0,e), and the function F:AAF : A \to A given by F(n,x)=(σ(n),xgn)F(n,x) = (\sigma(n),\, x \cdot g_n): it yields a unique H:NN×MH : \mathbb{N} \to \mathbb{N} \times M with H(0)=(0,e)H(0) = (0,e) and H(σ(n))=F(H(n))H(\sigma(n)) = F(H(n)). Writing H(n)=(H1(n),H2(n))H(n) = (H_1(n), H_2(n)), induction (The principle of mathematical induction) gives H1(n)=nH_1(n) = n for every nn, since H1(0)=0H_1(0) = 0 and H1(σ(n))=σ(H1(n))H_1(\sigma(n)) = \sigma(H_1(n)). Hence H(σ(n))=(σ(n),H2(n)gn)H(\sigma(n)) = (\sigma(n),\, H_2(n) \cdot g_n), so Pg:=H2P_g := H_2 satisfies the two displayed equations. It is the only such function: if QQ satisfies them too, then {n:Pg(n)=Q(n)}\{ n : P_g(n) = Q(n) \} contains 00 and is closed under σ\sigma, hence is all of N\mathbb{N} by induction.

The value depends only on g0,,gn1g_0,\dots,g_{n-1}. If g,g:NMg, g' : \mathbb{N} \to M satisfy gi=gig_i = g'_i for every i<ni < n, then Pg(n)=Pg(n)P_g(n) = P_{g'}(n). Indeed the set of nn for which this implication holds contains 00, both products then being ee; and if it holds at nn, and g,gg, g' agree at every i<σ(n)i < \sigma(n), then they agree at every i<ni < n and also at nn itself, because i<σ(n)i < \sigma(n) is equivalent to ini \le n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n), so Pg(σ(n))=Pg(n)gn=Pg(n)gn=Pg(σ(n))P_g(\sigma(n)) = P_g(n) \cdot g_n = P_{g'}(n) \cdot g'_n = P_{g'}(\sigma(n)). Induction finishes it. This is what makes the notation g0g1gn1g_0 g_1 \cdots g_{n-1} unambiguous: it names a value determined by the first nn terms alone, and a finite list uu of length nn, that is a function u:nMu : n \to M on the von Neumann natural n={0,,n1}n = \{0,\dots,n-1\} (The natural numbers N\mathbb{N} (von Neumann)), determines the product i<nui:=Pu~(n)\prod_{i<n} u_i := P_{\tilde u}(n) computed from any extension u~:NM\tilde u : \mathbb{N} \to M of uu.

Remarks

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either

Statement

Let (M,,e)(M,\cdot,e) be a monoid and let g:NMg : \mathbb{N} \to M, with finite products i<ngi\prod_{i<n} g_i as in The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity.

  1. Splitting law. For all m,nNm, n \in \mathbb{N},

    i<m+ngi  =  (i<mgi)(j<ngm+j).\prod_{i<m+n} g_i \;=\; \Bigl(\prod_{i<m} g_i\Bigr) \cdot \Bigl(\prod_{j<n} g_{m+j}\Bigr).

  2. Regrouping law (bracketing does not matter). Let s:NNs : \mathbb{N} \to \mathbb{N} satisfy s0=0s_0 = 0 and sjsσ(j)s_j \le s_{\sigma(j)} for every jj, and for each jj let cjc_j be the unique natural number with sj+cj=sσ(j)s_j + c_j = s_{\sigma(j)}. Put Bj:=l<cjgsj+lB_j := \prod_{l<c_j} g_{s_j + l}, the product of the jj-th block of consecutive factors. Then for every rNr \in \mathbb{N},

    j<rBj  =  i<srgi.\prod_{j<r} B_j \;=\; \prod_{i<s_r} g_i .

    In words: cut the list g0,,gsr1g_0, \dots, g_{s_r - 1} into consecutive blocks in any way whatever, multiply out each block, and multiply the results in order; the answer is the product of the whole list.

  3. Commutative case (order does not matter). Suppose in addition that MM is commutative. Let nNn \in \mathbb{N} and let πSym(n)\pi \in \operatorname{Sym}(n) be a permutation of the von Neumann natural n={0,,n1}n = \{0,\dots,n-1\} (The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition). Let h:NMh : \mathbb{N} \to M be any family with hi=gπ(i)h_i = g_{\pi(i)} for every i<ni < n. Then

    i<nhi  =  i<ngi.\prod_{i<n} h_i \;=\; \prod_{i<n} g_i .

Facts & Assumptions

Given: A monoid (M,,e)(M,\cdot,e), a family g:NMg : \mathbb{N} \to M, and the products of The product g0g1gn1g_0 g_1 \cdots g_{n-1} of a finite list in a monoid, by recursion, with the empty product (n=0n = 0) equal to the identity, which satisfy i<0ui=e\prod_{i<0} u_i = e and i<σ(n)ui=(i<nui)un\prod_{i<\sigma(n)} u_i = \bigl(\prod_{i<n} u_i\bigr) \cdot u_n for every family u:NMu : \mathbb{N} \to M, and whose value i<nui\prod_{i<n} u_i depends only on u0,,un1u_0, \dots, u_{n-1}.

[L1]

Induction on N\mathbb{N} (The principle of mathematical induction).

[L2]

The monoid laws: \cdot is associative and ee is a two-sided identity (Semigroup and monoid).

[L3]

Addition on N\mathbb{N}: m+0=mm + 0 = m and m+σ(n)=σ(m+n)m + \sigma(n) = \sigma(m+n), so in particular m+1=σ(m)m + 1 = \sigma(m) (Addition of natural numbers); addition is commutative and associative (Addition is commutative, Addition is associative) and cancellative (Addition is cancellative).

[L4]

Order on N\mathbb{N}: mnm \le n means m+k=nm + k = n for some kNk \in \mathbb{N}, and m<nm < n means mnm \le n with mnm \ne n (Order on the natural numbers); mn    m+kn+km \le n \iff m + k \le n + k and m<n    m+k<n+km < n \iff m + k < n + k (Order is compatible with addition); exactly one of m<nm < n, m=nm = n, n<mn < m holds (Trichotomy of the order on N\mathbb{N}); m<n    σ(m)nm < n \iff \sigma(m) \le n (Discreteness: σ(n)\sigma(n) is the immediate successor); and every n0n \ne 0 is a successor (Every nonzero natural number is a successor).

[L5]

On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, so n={m:m<n}n = \{\, m : m < n \,\}; and m<σ(n)    mnm < \sigma(n) \iff m \le n; and nnn \notin n (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, The natural numbers N\mathbb{N} (von Neumann)).

[L6]

A permutation of nn is a bijection nnn \to n; bijections are injective and surjective, and composites of injections are injective (The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition, Injection, surjection, bijection).

Proof

technique · induction
1.1

Splitting law, base n=0n = 0: the left side is i<m+0gi=i<mgi\prod_{i<m+0} g_i = \prod_{i<m} g_i, and the right side is (i<mgi)j<0gm+j=(i<mgi)e=i<mgi\bigl(\prod_{i<m} g_i\bigr) \cdot \prod_{j<0} g_{m+j} = \bigl(\prod_{i<m} g_i\bigr) \cdot e = \prod_{i<m} g_i; so the two agree, for every mm.

basegivenL2L3
1.2

Splitting law, inductive hypothesis: fix nn and assume i<m+ngi=(i<mgi)(j<ngm+j)\prod_{i<m+n} g_i = \bigl(\prod_{i<m} g_i\bigr) \cdot \bigl(\prod_{j<n} g_{m+j}\bigr) for every mm and every family gg.

ih
1.3

Write uj:=gm+ju_j := g_{m+j}, a family NM\mathbb{N} \to M, so that j<ngm+j=j<nuj\prod_{j<n} g_{m+j} = \prod_{j<n} u_j and un=gm+nu_n = g_{m+n}.

given
1.4

In claim 2 the natural cjc_j exists because sjsσ(j)s_j \le s_{\sigma(j)}, and it is unique by cancellation, so BjB_j is well defined for every jj and B:NMB : \mathbb{N} \to M is a family.

givenL3L4
1.5

Regrouping law, base r=0r = 0: the left side is j<0Bj=e\prod_{j<0} B_j = e and the right side is i<s0gi=i<0gi=e\prod_{i<s_0} g_i = \prod_{i<0} g_i = e.

basegiven
1.6

Regrouping law, inductive hypothesis: assume j<rBj=i<srgi\prod_{j<r} B_j = \prod_{i<s_r} g_i for this rr.

ih
1.7

Commutative case, base n=0n = 0: both products are empty, hence both equal ee.

basegiven
1.8

Commutative case, inductive hypothesis: fix nn and assume that for every family gg, every πSym(n)\pi \in \operatorname{Sym}(n) and every family hh with hi=gπ(i)h_i = g_{\pi(i)} for i<ni<n, one has i<nhi=i<ngi\prod_{i<n} h_i = \prod_{i<n} g_i.

ih
1.9

Successor step, the data. Let πSym(σ(n))\pi \in \operatorname{Sym}(\sigma(n)) and let hh satisfy hi=gπ(i)h_i = g_{\pi(i)} for every i<σ(n)i < \sigma(n). Put k:=π1(n)k := \pi^{-1}(n), so k<σ(n)k < \sigma(n), that is knk \le n, and let rr be the natural with k+r=nk + r = n; then k+σ(r)=σ(k+r)=σ(n)k + \sigma(r) = \sigma(k+r) = \sigma(n).

givenL3L4L5L6choose
1.10

The skip map. Define δ:NN\delta : \mathbb{N} \to \mathbb{N} by δ(i)=i\delta(i) = i when i<ki < k and δ(i)=σ(i)\delta(i) = \sigma(i) when kik \le i; the two clauses are exhaustive and mutually exclusive by trichotomy, so δ\delta is a function. It is injective: two arguments below kk with equal images are equal; two arguments at least kk have equal images only if their successors agree, hence only if they agree; and if i<kji < k \le j then δ(i)=i<kj<σ(j)=δ(j)\delta(i) = i < k \le j < \sigma(j) = \delta(j).

L4L5construct
2.1

Splitting law, successor step: m+σ(n)=σ(m+n)m + \sigma(n) = \sigma(m+n), so i<m+σ(n)gi=i<σ(m+n)gi=(i<m+ngi)gm+n\prod_{i<m+\sigma(n)} g_i = \prod_{i<\sigma(m+n)} g_i = \bigl(\prod_{i<m+n} g_i\bigr) \cdot g_{m+n}; applying the hypothesis and then associativity, this equals ((i<mgi)j<nuj)un=(i<mgi)((j<nuj)un)=(i<mgi)j<σ(n)uj\bigl(\bigl(\prod_{i<m} g_i\bigr) \cdot \prod_{j<n} u_j\bigr) \cdot u_n = \bigl(\prod_{i<m} g_i\bigr) \cdot \bigl(\bigl(\prod_{j<n} u_j\bigr) \cdot u_n\bigr) = \bigl(\prod_{i<m} g_i\bigr) \cdot \prod_{j<\sigma(n)} u_j, which is the claim at σ(n)\sigma(n).

step 1.2step 1.3givenL2L3
2.2

δ\delta maps nn into σ(n){k}\sigma(n) \setminus \{k\}, and onto it. If i<ki < k then δ(i)=ik\delta(i) = i \ne k and i<kn<σ(n)i < k \le n < \sigma(n). If ki<nk \le i < n then δ(i)=σ(i)\delta(i) = \sigma(i) with ki<σ(i)k \le i < \sigma(i), so δ(i)k\delta(i) \ne k, and i<ni < n gives σ(i)<σ(n)\sigma(i) < \sigma(n) by compatibility of the order with adding 11. Conversely let y<σ(n)y < \sigma(n) with yky \ne k. If y<ky < k then y<kny < k \le n, so y<ny < n and y=δ(y)y = \delta(y). If k<yk < y then y0y \ne 0, so y=σ(x)y = \sigma(x) for some xx; from k<σ(x)k < \sigma(x) we get kxk \le x, and from σ(x)<σ(n)\sigma(x) < \sigma(n) we get x<nx < n, so y=σ(x)=δ(x)y = \sigma(x) = \delta(x) with x<nx < n.

step 1.9step 1.10L4L5
3.1

By induction the splitting law holds for all m,nNm, n \in \mathbb{N}; this is claim 1.

step 1.1step 2.1L1
3.2

The reduced permutation. Set π:=πδ\pi' := \pi \circ \delta restricted to nn. By step 2.2 it maps nn into π[σ(n){k}]\pi[\sigma(n) \setminus \{k\}], and since π\pi is a bijection of σ(n)\sigma(n) with π(k)=n\pi(k) = n, that image set is σ(n){n}=n\sigma(n) \setminus \{n\} = n; the same step gives surjectivity onto it, and π\pi' is injective as a composite of injections. So πSym(n)\pi' \in \operatorname{Sym}(n).

step 1.9step 2.2L5L6
4.1

Regrouping law, successor step: j<σ(r)Bj=(j<rBj)Br=(i<srgi)l<crgsr+l\prod_{j<\sigma(r)} B_j = \bigl(\prod_{j<r} B_j\bigr) \cdot B_r = \bigl(\prod_{i<s_r} g_i\bigr) \cdot \prod_{l<c_r} g_{s_r+l} by the hypothesis, and the splitting law with m=srm = s_r and n=crn = c_r turns the right-hand side into i<sr+crgi=i<sσ(r)gi\prod_{i<s_r + c_r} g_i = \prod_{i<s_{\sigma(r)}} g_i. By induction claim 2 holds for every rr.

step 3.1step 1.4step 1.5step 1.6givenL1
4.2

Splitting the permuted product. By step 1.9 and the splitting law, i<σ(n)hi=i<k+σ(r)hi=(i<khi)(j<σ(r)hk+j)\prod_{i<\sigma(n)} h_i = \prod_{i<k+\sigma(r)} h_i = \bigl(\prod_{i<k} h_i\bigr) \cdot \bigl(\prod_{j<\sigma(r)} h_{k+j}\bigr); and since σ(r)=1+r\sigma(r) = 1 + r, a second application of the splitting law to the family jhk+jj \mapsto h_{k+j} gives j<σ(r)hk+j=(j<1hk+j)(l<rhk+1+l)=hkl<rhk+σ(l)\prod_{j<\sigma(r)} h_{k+j} = \bigl(\prod_{j<1} h_{k+j}\bigr) \cdot \bigl(\prod_{l<r} h_{k+1+l}\bigr) = h_k \cdot \prod_{l<r} h_{k+\sigma(l)}.

step 3.1step 1.9givenL3
4.3

Recognising the shorter permuted product. Let wi:=hδ(i)w_i := h_{\delta(i)}. For i<ki<k one has wi=hiw_i = h_i, and for l<rl<r one has wk+l=hσ(k+l)=hk+σ(l)w_{k+l} = h_{\sigma(k+l)} = h_{k+\sigma(l)}; so the splitting law at m=km = k, n=rn = r gives i<nwi=(i<khi)l<rhk+σ(l)\prod_{i<n} w_i = \bigl(\prod_{i<k} h_i\bigr) \cdot \prod_{l<r} h_{k+\sigma(l)}. Moreover wi=hδ(i)=gπ(δ(i))=gπ(i)w_i = h_{\delta(i)} = g_{\pi(\delta(i))} = g_{\pi'(i)} for every i<ni<n, by step 2.2 and step 3.2.

step 3.1step 1.9step 1.10step 2.2step 3.2L3
5.1

Moving the removed factor to the end. hk=gπ(k)=gnh_k = g_{\pi(k)} = g_n, and MM is commutative, so (i<khi)(hkl<rhk+σ(l))=((i<khi)l<rhk+σ(l))gn\bigl(\prod_{i<k} h_i\bigr) \cdot \bigl(h_k \cdot \prod_{l<r} h_{k+\sigma(l)}\bigr) = \bigl(\bigl(\prod_{i<k} h_i\bigr) \cdot \prod_{l<r} h_{k+\sigma(l)}\bigr) \cdot g_n, using commutativity to exchange hkh_k with the block to its right and associativity to regroup.

step 1.9step 4.2givenL2
6.1

Applying the hypothesis. The family ww satisfies wi=gπ(i)w_i = g_{\pi'(i)} for i<ni<n with πSym(n)\pi' \in \operatorname{Sym}(n), so the inductive hypothesis gives i<nwi=i<ngi\prod_{i<n} w_i = \prod_{i<n} g_i; combining with steps 4.2, 5.1 and 4.3, i<σ(n)hi=(i<ngi)gn=i<σ(n)gi\prod_{i<\sigma(n)} h_i = \bigl(\prod_{i<n} g_i\bigr) \cdot g_n = \prod_{i<\sigma(n)} g_i, which is the claim at σ(n)\sigma(n).

step 1.8step 3.2step 4.2step 5.1step 4.3given
7.1

By induction claim 3 holds for every nn; with claims 1 and 2 already established, the theorem is proved.

step 3.1step 4.1step 1.7step 6.1L1discharge-induction

Remarks

  • What "does not depend on the bracketing" means here, exactly. The library introduces no formal syntax of bracketed expressions, so the claim is made in the equivalent working form of claim 2: any way of cutting the list into consecutive blocks, multiplying each block out, and multiplying the block values in order returns the same element. Every bracketing of g0g1gn1g_0 g_1 \cdots g_{n-1} is obtained by iterating that cut, so claim 2 is what is used whenever one drops brackets in a long product.

  • The order of the factors is a separate question from the bracketing. Claim 2 holds in any monoid and never moves a factor past another; claim 3 does move factors, and is false without commutativity. In Sym({1,2,3})\operatorname{Sym}(\{1,2,3\}) the two transpositions (12)(1\,2) and (23)(2\,3) already give τρρτ\tau\rho \ne \rho\tau (Sym(X)\operatorname{Sym}(X) is a group under composition, and it is non-abelian whenever XX has at least three distinct elements).

  • The empty product carries the induction. Both inductions start at n=0n = 0 with the value ee; N\mathbb{N} contains 00, so this is a real base case and not a degenerate convention.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e

Definition

Natural exponents, in a monoid. Let (M,,e)(M,\cdot,e) be a monoid (Semigroup and monoid) and gMg \in M. By the recursion theorem (The recursion theorem), applied with the set MM, the element ee and the function xxgx \mapsto x \cdot g from MM to MM, there is exactly one function NM\mathbb{N} \to M, written ngnn \mapsto g^{n}, with

g0=e,gσ(n)=gng(nN).g^{0} = e, \qquad g^{\sigma(n)} = g^{n} \cdot g \quad (n \in \mathbb{N}).

In particular g0=eg^{0} = e for every gg, including g=eg = e, and g1=gσ(0)=eg=gg^{1} = g^{\sigma(0)} = e \cdot g = g. Since N\mathbb{N} contains 00 (The natural numbers N\mathbb{N} (von Neumann)), the exponent 00 is a genuine value of the definition and not a separate convention.

Integer exponents, in a group. Let GG be a group (Group and abelian group) and gGg \in G. Write ι:NZ\iota : \mathbb{N} \to \mathbb{Z} for the embedding ι(k)=[(k,0)]\iota(k) = [(k,0)] of The naturals embed in the integers, which is injective, preserves addition, multiplication and order, and has as image exactly the nonnegative integers. For xZx \in \mathbb{Z} define

  • gx:=gkg^{x} := g^{k}, the natural power, when 0x0 \le x and x=ι(k)x = \iota(k);
  • gx:=(gk)1g^{x} := (g^{k})^{-1} when x<0x < 0 and x=ι(k)-x = \iota(k).

Why this is well defined. The order on Z\mathbb{Z} is total and antisymmetric (The integers form a totally ordered ring, Order on the integers), so exactly one of 0x0 \le x and x<0x < 0 holds and the two clauses never both apply. In the first clause xx is nonnegative, so x=ι(k)x = \iota(k) for some kNk \in \mathbb{N}, and kk is unique because ι\iota is injective. In the second clause x<0x < 0 gives 0=x+(x)<0+(x)=x0 = x + (-x) < 0 + (-x) = -x by compatibility of the order with addition (The integers form a totally ordered ring, Arithmetic on the integers), so x-x is a positive integer and again x=ι(k)-x = \iota(k) for a unique kk. The inverse (gk)1(g^{k})^{-1} is a single determined element by In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided and Left inverse, right inverse, and invertible element of a monoid. Finally the two readings of gι(k)g^{\iota(k)}, as a natural power and as an integer power, agree by construction, so no ambiguity is introduced.

Abbreviation. In an exponent we write kk for the integer ι(k)\iota(k) when a natural number kk is used where an integer is expected; this is unambiguous because ι\iota is injective and preserves the arithmetic and the order, and because the two readings of gkg^{k} agree as just noted.

Additive notation. When the group is written additively the same object is written ngn g or ngn \cdot g rather than gng^{n}, with 0g=00 g = 0 and σ(n)g=ng+g\sigma(n) g = n g + g; the definitions are identical, only the symbols differ.

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Exponent laws in a group: gm+n=gmgng^{m+n} = g^{m}g^{n} and (gm)n=gmn(g^{m})^{n} = g^{mn} for all m,nZm, n \in \mathbb{Z}, and (gh)n=gnhn(gh)^{n} = g^{n}h^{n} when gg and hh commute

Statement

Let GG be a group (Group and abelian group) with identity ee, let g,hGg, h \in G, and let powers be as in Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e. For all m,nZm, n \in \mathbb{Z}:

  1. gm+n=gmgng^{m+n} = g^{m} g^{n};
  2. gm=(gm)1g^{-m} = (g^{m})^{-1};
  3. (gm)n=gmn(g^{m})^{n} = g^{mn};
  4. gmgn=gngmg^{m} g^{n} = g^{n} g^{m}: any two powers of one element commute;
  5. if gh=hggh = hg then (gh)n=gnhn(gh)^{n} = g^{n} h^{n}.

Claim 5 is false in general without its hypothesis: in a group in which gg and hh do not commute the equation can fail already at n=2n = 2, and a witness is recorded on the companion page.

Claims 1 and 3 hold in any monoid (Semigroup and monoid) for exponents in N\mathbb{N}, and so does claim 5 for exponents in N\mathbb{N} under the same commuting hypothesis; only the extension to negative exponents needs inverses.

Facts & Assumptions

Given: A group GG with identity ee and elements g,hGg, h \in G; powers gng^{n} for nNn \in \mathbb{N} defined by g0=eg^{0} = e and gσ(n)=gngg^{\sigma(n)} = g^{n} g, and gxg^{x} for xZx \in \mathbb{Z} defined by gι(k)=gkg^{\iota(k)} = g^{k} and gι(k)=(gk)1g^{-\iota(k)} = (g^{k})^{-1} for ι(k)>0\iota(k) > 0 (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e). Throughout, ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is the embedding of The naturals embed in the integers, and a natural number written where an integer is expected means its image under ι\iota.

[L1]

Induction on N\mathbb{N} (The principle of mathematical induction).

[L2]

The group laws: associativity, the two-sided identity ee, and two-sided inverses (Group and abelian group, Semigroup and monoid).

[L3]

(uv)1=v1u1(uv)^{-1} = v^{-1}u^{-1}, (u1)1=u(u^{-1})^{-1} = u and e1=ee^{-1} = e in a group (In a group e1=ee^{-1} = e, (g1)1=g(g^{-1})^{-1} = g and (gh)1=h1g1(gh)^{-1} = h^{-1}g^{-1}, the order of the last product being essential).

[L4]

ι\iota is injective, preserves addition, multiplication and order, and its image is exactly the set of nonnegative integers; ι(0)=0\iota(0) = 0 and ι(1)=1\iota(1) = 1 (The naturals embed in the integers, Arithmetic on the integers).

[L5]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x+0=xx + 0 = x, x1=xx \cdot 1 = x, multiplication distributes over addition, and every xx has an additive inverse x-x (The integers form a commutative ring, Arithmetic on the integers); every integer is [(a,b)][(a,b)] for naturals a,ba, b, and then [(a,b)]=ι(a)ι(b)[(a,b)] = \iota(a) - \iota(b) (The integers as equivalence classes of pairs of naturals).

[L6]

The order on Z\mathbb{Z} is total and compatible with addition, so exactly one of 0x0 \le x, x<0x < 0 holds, and x<0x < 0 implies 0<x0 < -x (The integers form a totally ordered ring, Order on the integers).

[L7]

On N\mathbb{N}: addition satisfies m+0=mm + 0 = m and m+σ(n)=σ(m+n)m + \sigma(n) = \sigma(m+n), so σ(n)=n+1\sigma(n) = n + 1 (Addition of natural numbers, The natural numbers N\mathbb{N} (von Neumann)); it is commutative (Addition is commutative); mnm \le n means m+k=nm + k = n for some kk (Order on the natural numbers); and exactly one of a<ba < b, a=ba = b, b<ab < a holds (Trichotomy of the order on N\mathbb{N}).

Proof

technique · induction
1.1

Natural exponents, base of claim 1: for every mNm \in \mathbb{N}, gm+0=gm=gme=gmg0g^{m+0} = g^{m} = g^{m} e = g^{m} g^{0}.

basegivenL2L7
1.2

Natural exponents, inductive hypothesis for claim 1: fix nNn \in \mathbb{N} and assume gm+n=gmgng^{m+n} = g^{m} g^{n} for every mNm \in \mathbb{N} and every gg.

ih
1.3

Suppose gh=hggh = hg; base of the commuting sub-claim: gh0=ge=eg=h0gg h^{0} = g e = e g = h^{0} g.

basegivenL2
1.4

Inductive hypothesis of the commuting sub-claim: assume ghn=hngg h^{n} = h^{n} g.

ih
1.5

Base of claim 5 for natural exponents: (gh)0=e=ee=g0h0(gh)^{0} = e = e \cdot e = g^{0} h^{0}.

basegivenL2
1.6

Inductive hypothesis of claim 5 for natural exponents: assume gh=hggh = hg and (gh)n=gnhn(gh)^{n} = g^{n} h^{n}.

ih
1.7

If uv=vuuv = vu in GG then uv1=v1uu v^{-1} = v^{-1} u: multiplying uv=vuuv = vu on the left and on the right by v1v^{-1} gives v1(uv)v1=v1(vu)v1v^{-1}(uv)v^{-1} = v^{-1}(vu)v^{-1}, and regrouping both sides gives v1u=uv1v^{-1} u = u v^{-1}. Consequently u1v1=(vu)1=(uv)1=v1u1u^{-1} v^{-1} = (vu)^{-1} = (uv)^{-1} = v^{-1} u^{-1}.

L2L3
1.8

Claim 2 for a nonnegative exponent. If k=0k = 0 then ι(0)=0-\iota(0) = 0, so gι(0)=g0=eg^{-\iota(0)} = g^{0} = e and (g0)1=e1=e(g^{0})^{-1} = e^{-1} = e. If k0k \ne 0 then 0<ι(k)0 < \iota(k) because ι\iota preserves the order, so ι(k)<0-\iota(k) < 0 and the second clause of the definition gives gι(k)=(gk)1g^{-\iota(k)} = (g^{k})^{-1} directly.

givenL3L4L6
1.9

Claim 3 for a nonnegative second exponent, base: (gx)0=e=g0=gx0(g^{x})^{0} = e = g^{0} = g^{x \cdot 0}, since x0=0x \cdot 0 = 0 in Z\mathbb{Z}.

basegivenL5
1.10

Claim 3 for a nonnegative second exponent, inductive hypothesis: assume (gx)ι(n)=gxι(n)(g^{x})^{\iota(n)} = g^{x \iota(n)} for this nNn \in \mathbb{N} and every xZx \in \mathbb{Z}.

ih
2.1

Successor step for claim 1 with natural exponents: gm+σ(n)=gσ(m+n)=gm+ng=(gmgn)g=gm(gng)=gmgσ(n)g^{m+\sigma(n)} = g^{\sigma(m+n)} = g^{m+n} g = (g^{m} g^{n}) g = g^{m}(g^{n} g) = g^{m} g^{\sigma(n)}; by induction, gm+n=gmgng^{m+n} = g^{m} g^{n} for all m,nNm, n \in \mathbb{N}, in any monoid.

step 1.2givenL1L2L7
2.2

Successor step for the commuting sub-claim: ghσ(n)=g(hnh)=(ghn)h=(hng)h=hn(gh)=hn(hg)=(hnh)g=hσ(n)gg h^{\sigma(n)} = g(h^{n} h) = (g h^{n})h = (h^{n} g)h = h^{n}(gh) = h^{n}(hg) = (h^{n} h)g = h^{\sigma(n)} g; by induction ghn=hngg h^{n} = h^{n} g for every nNn \in \mathbb{N} whenever gh=hggh = hg.

step 1.3step 1.4givenL1L2
2.3

Claim 2 in general. If 0x0 \le x then x=ι(k)x = \iota(k) and step 1.8 gives gx=(gk)1=(gx)1g^{-x} = (g^{k})^{-1} = (g^{x})^{-1}. If x<0x < 0 then 0<x0 < -x, so x=ι(k)-x = \iota(k) and by definition gx=(gk)1g^{x} = (g^{k})^{-1}, whence (gx)1=gk=gx(g^{x})^{-1} = g^{k} = g^{-x}. This is claim 2.

step 1.8givenL3L4L6
3.1

Successor step for claim 5 with natural exponents: assuming gh=hggh = hg, (gh)σ(n)=(gh)n(gh)=(gnhn)(gh)=gn((hng)h)=gn((ghn)h)=(gng)(hnh)=gσ(n)hσ(n)(gh)^{\sigma(n)} = (gh)^{n}(gh) = (g^{n} h^{n})(gh) = g^{n}((h^{n} g)h) = g^{n}((g h^{n})h) = (g^{n} g)(h^{n} h) = g^{\sigma(n)} h^{\sigma(n)}, the fourth equality being step 2.2 applied to gg and hnh^{n}; by induction (gh)n=gnhn(gh)^{n} = g^{n} h^{n} for every nNn \in \mathbb{N}.

step 1.5step 1.6step 2.2givenL1L2
3.2

Normal form. Let xZx \in \mathbb{Z} and write x=ι(a)ι(b)x = \iota(a) - \iota(b) with a,bNa, b \in \mathbb{N}, possible since x=[(a,b)]x = [(a,b)] for some naturals. Then gx=ga(gb)1g^{x} = g^{a}(g^{b})^{-1}. Indeed, by trichotomy either bab \le a, say a=b+ca = b + c, in which case x=ι(c)x = \iota(c) and ga(gb)1=(gbgc)(gb)1=(gcgb)(gb)1=gc=gxg^{a}(g^{b})^{-1} = (g^{b} g^{c})(g^{b})^{-1} = (g^{c} g^{b})(g^{b})^{-1} = g^{c} = g^{x}, using step 2.1 twice together with commutativity of addition on N\mathbb{N}; or a<ba < b, say b=a+cb = a + c with c0c \ne 0, in which case x=ι(c)x = -\iota(c) and ga(gb)1=ga(gagc)1=ga((gc)1(ga)1)=((gc)1ga)(ga)1=(gc)1=gxg^{a}(g^{b})^{-1} = g^{a}(g^{a} g^{c})^{-1} = g^{a}\bigl((g^{c})^{-1}(g^{a})^{-1}\bigr) = \bigl((g^{c})^{-1} g^{a}\bigr)(g^{a})^{-1} = (g^{c})^{-1} = g^{x}, the third equality using step 1.7 with u=gau = g^{a} and v=gcv = g^{c}, which commute by step 2.1.

step 1.7step 2.1step 1.8givenL2L3L4L5L7
4.1

Claim 1 for integer exponents. Write x=ι(a)ι(b)x = \iota(a) - \iota(b) and y=ι(c)ι(d)y = \iota(c) - \iota(d), so x+y=ι(a+c)ι(b+d)x + y = \iota(a+c) - \iota(b+d). By step 3.2 and step 2.1, gx+y=ga+c(gb+d)1=(gagc)(gbgd)1=(gagc)((gd)1(gb)1)g^{x+y} = g^{a+c}(g^{b+d})^{-1} = (g^{a} g^{c})(g^{b} g^{d})^{-1} = (g^{a} g^{c})\bigl((g^{d})^{-1}(g^{b})^{-1}\bigr). On the other side gxgy=(ga(gb)1)(gc(gd)1)=(gagc)((gb)1(gd)1)g^{x} g^{y} = \bigl(g^{a}(g^{b})^{-1}\bigr)\bigl(g^{c}(g^{d})^{-1}\bigr) = (g^{a} g^{c})\bigl((g^{b})^{-1}(g^{d})^{-1}\bigr), moving (gb)1(g^{b})^{-1} past gcg^{c} by step 1.7, since gbg^{b} and gcg^{c} commute by step 2.1. Finally (gb)1(gd)1=(gd)1(gb)1(g^{b})^{-1}(g^{d})^{-1} = (g^{d})^{-1}(g^{b})^{-1} by step 1.7 again, so the two sides agree.

step 1.7step 2.1step 3.2L2L3L4L5
4.2

Claim 5 for a negative exponent: assume gh=hggh = hg and let n<0n < 0, so n=ι(k)-n = \iota(k) with kNk \in \mathbb{N}. Then (gh)n=((gh)n)1=(gkhk)1=(hk)1(gk)1=hngn(gh)^{n} = \bigl((gh)^{-n}\bigr)^{-1} = (g^{k} h^{k})^{-1} = (h^{k})^{-1}(g^{k})^{-1} = h^{n} g^{n} by claim 2 and step 3.1; and gkg^{k} and hkh^{k} commute, by step 2.2 applied twice, so their inverses commute by step 1.7, giving hngn=gnhnh^{n} g^{n} = g^{n} h^{n}. With step 3.1 this proves claim 5 for every nZn \in \mathbb{Z}.

step 1.7step 2.2step 3.1step 2.3L3L6
5.1

Claim 4. By claim 1 and commutativity of addition in Z\mathbb{Z}, gxgy=gx+y=gy+x=gygxg^{x} g^{y} = g^{x+y} = g^{y+x} = g^{y} g^{x}.

step 4.1L5
5.2

Claim 3, successor step: (gx)σ(n)=(gx)ngx=gxι(n)gx=gxι(n)+x=gx(ι(n)+1)=gxι(σ(n))(g^{x})^{\sigma(n)} = (g^{x})^{n} g^{x} = g^{x\iota(n)} g^{x} = g^{x\iota(n) + x} = g^{x(\iota(n) + 1)} = g^{x \iota(\sigma(n))}, using the hypothesis, then claim 1, then distributivity in Z\mathbb{Z}, then ι(σ(n))=ι(n+1)=ι(n)+1\iota(\sigma(n)) = \iota(n+1) = \iota(n) + 1. By induction, (gx)y=gxy(g^{x})^{y} = g^{xy} for every xZx \in \mathbb{Z} and every y0y \ge 0. When x=ι(m)x = \iota(m) is itself nonnegative the two exponents xι(n)x\iota(n) and xx occurring here are nonnegative as well, so the appeal to claim 1 is an appeal to its monoid form, step 2.1, and the computation uses no inverse; that is the natural-exponent case, valid in any monoid.

step 4.1step 2.1step 1.9step 1.10givenL1L4L5L7
6.1

Claim 3 for a negative second exponent: let y<0y < 0, so 0<y0 < -y. Applying claim 2 to the element gxg^{x} gives (gx)y=((gx)y)1(g^{x})^{y} = \bigl((g^{x})^{-y}\bigr)^{-1}, which by step 5.2 equals (gx(y))1=(g(xy))1=((gxy)1)1=gxy\bigl(g^{x(-y)}\bigr)^{-1} = \bigl(g^{-(xy)}\bigr)^{-1} = \bigl((g^{xy})^{-1}\bigr)^{-1} = g^{xy}, using claim 2 once more and then (u1)1=u(u^{-1})^{-1} = u. Together with step 5.2 this is claim 3.

step 2.3step 5.2L3L5L6
7.1

Claims 1 to 5 are established: claim 1 in step 4.1, claim 2 in step 2.3, claim 3 in step 6.1, claim 4 in step 5.1 and claim 5 in steps 3.1 and 4.2; the natural-exponent forms of claims 1, 3 and 5 are steps 2.1, 5.2 and 3.1, and use no inverses.

step 2.1step 3.1step 2.3step 4.1step 5.1step 5.2step 6.1step 4.2discharge-induction

Remarks

  • The commuting hypothesis in claim 5 is not a technicality. Without it the law fails, and the title of this item carries the hypothesis for that reason. The published Laws of integer exponents states the corresponding law without a hypothesis, and is correct because it is about a field, where multiplication is commutative by definition; nothing there transfers to a general group.

  • Where each law is really used. Claim 1 is what makes xgxx \mapsto g^{x} a homomorphism from (Z,+)(\mathbb{Z},+) and hence what makes cyclic subgroups behave; claim 4 is why every cyclic group is abelian (g={gn:nZ}\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}, and every cyclic group is abelian); claim 2 is what lets every statement about negative exponents be reduced to a statement about natural ones, which is how the case analysis above is kept finite.

  • The proof splits an arbitrary integer as ι(a)ι(b)\iota(a) - \iota(b) rather than by cases on its sign wherever possible. That is deliberate: the normal form of step 3.2 is proved once and then every integer identity is a computation with natural powers and inverses.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Subgroup

Definition

Let GG be a group (Group and abelian group) with identity ee. A subset HGH \subseteq G is a subgroup of GG, written HGH \le G, when

By (S2) the operation of GG restricts to a binary operation on HH; it is associative there because it is associative on GG, the element ee of (S1) is a two-sided identity for it (Left identity, right identity, and two-sided identity for a binary operation), and (S3) supplies for each xHx \in H a two-sided inverse lying in HH (Left inverse, right inverse, and invertible element of a monoid). So a subgroup, with the restricted operation, is itself a group, and its identity and its inverses are those of GG.

Every group GG has the two trivial subgroups {e}\{e\} and GG itself; a subgroup HH with HGH \ne G is called proper.

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

One-step subgroup test: a nonempty HGH \subseteq G is a subgroup iff gh1Hgh^{-1} \in H for all g,hHg, h \in H; the identity and the inverses of HH are then those of GG

Statement

Let GG be a group (Group and abelian group) with identity ee and let HGH \subseteq G be nonempty. Then HH is a subgroup of GG (Subgroup) if and only if

gh1Hfor all g,hH.g h^{-1} \in H \qquad \text{for all } g, h \in H .

Moreover, if HGH \subseteq G is nonempty, closed under the operation of GG, and is a group under that restricted operation with some identity element ff and some inverse xx^{\ast} for each xHx \in H, then f=ef = e and x=x1x^{\ast} = x^{-1} for every xHx \in H; so HH is a subgroup in the sense of Subgroup, and "subgroup" and "subset that is a group under the restricted operation" agree.

Facts & Assumptions

Given: A group GG with identity ee, and a nonempty subset HGH \subseteq G.

[L1]

A subgroup is a subset containing ee and closed under the operation and under inverses; it is then a group under the restricted operation, with identity ee and with the inverses of GG (Subgroup).

[L2]

The group laws in GG: associativity, the two-sided identity ee, and two-sided inverses (Group and abelian group).

[L5]

Uniqueness of inverses in a monoid, in the sharp form: if xx is invertible and yx=ey x = e or xy=ex y = e, then y=x1y = x^{-1} (In a monoid, a left inverse and a right inverse of the same element are equal; hence an invertible element has exactly one inverse, and it is two-sided).

Proof

technique · direct
1.1

Necessity. Suppose HH is a subgroup and let g,hHg, h \in H. Then h1Hh^{-1} \in H by closure under inverses, and gh1Hg h^{-1} \in H by closure under the operation.

L1
1.2

Sufficiency, the identity. Suppose gh1Hg h^{-1} \in H for all g,hHg, h \in H. Since HH is nonempty, choose xHx \in H; taking g=h=xg = h = x gives xx1=eHx x^{-1} = e \in H.

givenL2choose
1.3

The second claim, the identity. Let HH be nonempty, closed under the operation, and a group under the restricted operation with identity fHf \in H. Then ff=ff f = f in HH, hence in GG; also fe=ff e = f in GG. Cancelling ff on the left in ff=feff = fe gives f=ef = e.

givenL2L4
2.1

Sufficiency, inverses. Let hHh \in H. Taking g=eg = e, which lies in HH by step 1.2, gives eh1=h1He h^{-1} = h^{-1} \in H.

step 1.2givenL2
2.2

The second claim, inverses. Let xHx \in H with inverse xHx^{\ast} \in H for the restricted operation, so xx=f=ex^{\ast} x = f = e by step 1.3. Since xx is invertible in GG, uniqueness of inverses gives x=x1x^{\ast} = x^{-1}; in particular x1Hx^{-1} \in H.

step 1.3L5
3.1

Sufficiency, products. Let g,hHg, h \in H. By step 2.1, h1Hh^{-1} \in H, so applying the hypothesis to the pair gg and h1h^{-1} gives g(h1)1Hg (h^{-1})^{-1} \in H, and (h1)1=h(h^{-1})^{-1} = h, so ghHgh \in H.

step 2.1givenL3
3.2

Hence such an HH contains ee by step 1.3, is closed under the operation by assumption, and is closed under inverses by step 2.2: it is a subgroup in the sense of Subgroup.

step 1.3step 2.2L1
4.1

Steps 1.2, 2.1 and 3.1 verify (S1), (S3) and (S2), so HH is a subgroup; with step 1.1 this proves the equivalence.

step 1.1step 1.2step 2.1step 3.1L1
5.1

The one-step test characterises subgroups among nonempty subsets, and a nonempty subset that is a group under the restricted operation is a subgroup with the same identity and the same inverses as GG.

step 4.1step 3.2

Remarks

  • Why the second claim is needed at all. Nothing in the phrase "is a group under the restricted operation" forces the identity of that group to be the identity of GG; the hypothesis only says some element acts as an identity within HH. Cancellation in GG is what collapses the two, and it is available because GG is a group. In a monoid the corresponding statement is false: a subset closed under the operation can be a monoid whose identity is not the identity of the ambient monoid, as {0}\{0\} inside (Z,,1)(\mathbb{Z},\cdot,1) shows, where 00 is an idempotent acting as an identity on that subset.

  • Nonemptiness cannot be dropped from the one-step test, since the empty set satisfies the condition vacuously and is not a subgroup: it does not contain ee.

  • Closure under the operation alone is not enough, even for a nonempty subset: the nonnegative integers inside (Z,+)(\mathbb{Z},+) are closed under addition and contain 00, but are not a subgroup, as recorded on the companion page.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The intersection of a nonempty family of subgroups of GG is a subgroup of GG

Statement

Let GG be a group (Group and abelian group) and let H\mathcal{H} be a nonempty set of subgroups of GG (Subgroup). Then the intersection

K  =  HHH  =  {xG  :  xH for every HH}K \;=\; \bigcap_{H \in \mathcal{H}} H \;=\; \{\, x \in G \;:\; x \in H \text{ for every } H \in \mathcal{H} \,\}

is a subgroup of GG. In particular the intersection of two subgroups is a subgroup.

Facts & Assumptions

Given: A group GG with identity ee, a nonempty set H\mathcal{H} of subgroups of GG, and KK the intersection of the members of H\mathcal{H}.

[L1]

Each HHH \in \mathcal{H} contains ee, is closed under the operation, and is closed under inverses (Subgroup).

[L2]

One-step test: a nonempty subset SGS \subseteq G with gh1Sg h^{-1} \in S for all g,hSg, h \in S is a subgroup (One-step subgroup test: a nonempty HGH \subseteq G is a subgroup iff gh1Hgh^{-1} \in H for all g,hHg, h \in H; the identity and the inverses of HH are then those of GG).

Proof

technique · direct
1.1

KGK \subseteq G, since every member of H\mathcal{H} is a subset of GG and H\mathcal{H} is nonempty.

givenL1
1.2

eKe \in K, since eHe \in H for every HHH \in \mathcal{H}; in particular KK is nonempty.

L1
1.3

Let g,hKg, h \in K and let HHH \in \mathcal{H} be arbitrary. Then g,hHg, h \in H, so h1Hh^{-1} \in H by closure under inverses and gh1Hg h^{-1} \in H by closure under the operation.

L1given
2.1

Since HH was arbitrary in step 1.3, gh1g h^{-1} lies in every member of H\mathcal{H}, that is gh1Kg h^{-1} \in K.

step 1.3
3.1

KK is a nonempty subset of GG satisfying the one-step test, hence a subgroup of GG.

step 1.1step 1.2step 2.1L2

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

The subgroup S\langle S \rangle generated by a subset, the cyclic subgroup g\langle g \rangle, and cyclic groups

Definition

Let GG be a group (Group and abelian group) and SGS \subseteq G a subset. The set of subgroups of GG containing SS is nonempty, since GG itself is such a subgroup, so its intersection is a subgroup of GG by The intersection of a nonempty family of subgroups of GG is a subgroup of GG. That intersection is the subgroup generated by SS,

S  :=  {H  :  HG and SH}.\langle S \rangle \;:=\; \bigcap \{\, H \;:\; H \le G \text{ and } S \subseteq H \,\} .

It contains SS, being an intersection of sets each containing SS, and it is contained in every subgroup of GG that contains SS; so it is the smallest subgroup of GG containing SS, and these two properties determine it uniquely. The elements of SS are called generators.

For a single element gGg \in G we write g:={g}\langle g \rangle := \langle \{g\}\rangle and call it the cyclic subgroup generated by gg. A group GG is cyclic when G=gG = \langle g \rangle for some gGg \in G.

By convention ={e}\langle \varnothing \rangle = \{e\}: the trivial subgroup is the smallest subgroup containing the empty set, and this is a consequence of the definition, not a stipulation, since every subgroup contains ee (Subgroup).

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

g={gn:nZ}\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}, and every cyclic group is abelian

Statement

Let GG be a group and gGg \in G, with integer powers as in Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e. Then

g  =  {gn  :  nZ},\langle g \rangle \;=\; \{\, g^{n} \;:\; n \in \mathbb{Z} \,\} ,

the cyclic subgroup generated by gg (The subgroup S\langle S \rangle generated by a subset, the cyclic subgroup g\langle g \rangle, and cyclic groups) being exactly the set of integer powers of gg. Consequently every cyclic group is abelian, and so is every cyclic subgroup of any group.

Facts & Assumptions

Given: A group GG with identity ee, an element gGg \in G, and the set P:={gn:nZ}P := \{\, g^{n} : n \in \mathbb{Z} \,\} of its integer powers (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

[L1]

g\langle g \rangle is the smallest subgroup of GG containing gg: it is a subgroup, it contains gg, and it is contained in every subgroup containing gg (The subgroup S\langle S \rangle generated by a subset, the cyclic subgroup g\langle g \rangle, and cyclic groups).

[L2]

Exponent laws: gm+n=gmgng^{m+n} = g^{m}g^{n}, gm=(gm)1g^{-m} = (g^{m})^{-1}, and gmgn=gngmg^{m}g^{n} = g^{n}g^{m}, for all m,nZm, n \in \mathbb{Z} (Exponent laws in a group: gm+n=gmgng^{m+n} = g^{m}g^{n} and (gm)n=gmn(g^{m})^{n} = g^{mn} for all m,nZm, n \in \mathbb{Z}, and (gh)n=gnhn(gh)^{n} = g^{n}h^{n} when gg and hh commute).

[L3]

g0=eg^{0} = e, g1=gg^{1} = g, and gσ(k)=gkgg^{\sigma(k)} = g^{k} g for kNk \in \mathbb{N}; a natural number kk in an exponent means the integer ι(k)\iota(k) (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e, The naturals embed in the integers).

[L4]

One-step test: a nonempty SGS \subseteq G with xy1Sx y^{-1} \in S for all x,ySx, y \in S is a subgroup (One-step subgroup test: a nonempty HGH \subseteq G is a subgroup iff gh1Hgh^{-1} \in H for all g,hHg, h \in H; the identity and the inverses of HH are then those of GG, Subgroup).

[L5]

Z\mathbb{Z} is a commutative ring, so m+(n)m + (-n) is again an integer and addition is commutative (The integers form a commutative ring, The integers as equivalence classes of pairs of naturals); its order is total, and every x0x \ge 0 is ι(k)\iota(k) for a unique natural kk while every x<0x < 0 has x=ι(k)-x = \iota(k) for a unique natural kk (The integers form a totally ordered ring, Order on the integers, The naturals embed in the integers).

[L6]

Induction on N\mathbb{N} (The principle of mathematical induction).

Proof

technique · direct
1.1

PP is nonempty, since g0=ePg^{0} = e \in P, and PGP \subseteq G by construction.

L3given
1.2

For x=gmx = g^{m} and y=gny = g^{n} in PP: xy1=gm(gn)1=gmgn=gm+(n)Px y^{-1} = g^{m}(g^{n})^{-1} = g^{m} g^{-n} = g^{m+(-n)} \in P, since m+(n)m + (-n) is an integer.

L2L5
1.3

g=g1Pg = g^{1} \in P.

L3
1.4

Let HH be any subgroup of GG with gHg \in H. Then gkHg^{k} \in H for every natural kk: the set of such kk contains 00, because g0=eHg^{0} = e \in H, and it is closed under σ\sigma, because gσ(k)=gkgg^{\sigma(k)} = g^{k} g is a product of two elements of HH; induction finishes it.

L3L4L6given
2.1

By steps 1.1 and 1.2 and the one-step test, PP is a subgroup of GG, and by step 1.3 it contains gg; hence gP\langle g \rangle \subseteq P, since g\langle g \rangle is contained in every subgroup containing gg.

step 1.1step 1.2step 1.3L1L4
2.2

Let HH be any subgroup of GG with gHg \in H, and let xZx \in \mathbb{Z}. If x0x \ge 0 then x=ι(k)x = \iota(k) and gx=gkHg^{x} = g^{k} \in H by step 1.4. If x<0x < 0 then x=ι(k)-x = \iota(k), so gx=(gk)1g^{x} = (g^{k})^{-1}, which lies in HH because gkHg^{k} \in H by step 1.4 and HH is closed under inverses. So PHP \subseteq H.

step 1.4L3L4L5
3.1

Taking H=gH = \langle g \rangle in step 2.2, which is legitimate because g\langle g \rangle is a subgroup containing gg, gives PgP \subseteq \langle g \rangle; with step 2.1 this proves g=P\langle g \rangle = P.

step 2.1step 2.2L1
4.1

Any two elements of PP commute: gmgn=gngmg^{m} g^{n} = g^{n} g^{m} for all integers m,nm, n. Hence g\langle g \rangle is abelian, by step 3.1.

step 3.1L2
5.1

If GG is cyclic, say G=gG = \langle g \rangle, then GG is abelian by step 4.1; and every cyclic subgroup of any group is abelian for the same reason.

step 3.1step 4.1L1

Remarks

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

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

Statement

Let a,bZa, b \in \mathbb{Z} (The integers as equivalence classes of pairs of naturals) with b>0b > 0. Then there exist integers qq and rr with

a  =  qb+r,0r<b,a \;=\; qb + r, \qquad 0 \le r < b,

and the pair (q,r)(q,r) with these two properties is unique.

We say bb divides aa, written bab \mid a, when a=qba = qb for some qZq \in \mathbb{Z}; by the above, for b>0b > 0 this holds exactly when the remainder rr is 00.

Facts & Assumptions

Given: Integers aa and bb with b>0b > 0, and the embedding ι:NZ\iota : \mathbb{N} \to \mathbb{Z}, ι(k)=[(k,0)]\iota(k) = [(k,0)], of The naturals embed in the integers.

[L1]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x+0=xx + 0 = x, x1=xx \cdot 1 = x, multiplication distributes over addition, and every xx has an additive inverse x-x; we write uvu - v for u+(v)u + (-v) (The integers form a commutative ring, Arithmetic on the integers).

[L2]

The order on Z\mathbb{Z} is total, antisymmetric and transitive, is compatible with addition (xyx \le y implies x+zy+zx + z \le y + z), and positives are closed under multiplication (0<x0 < x and 0<y0 < y imply 0<xy0 < xy) (The integers form a totally ordered ring, Order on the integers).

[L3]

ι\iota is injective, preserves addition, multiplication and order, and its image is exactly the set of nonnegative integers; ι(0)=0\iota(0) = 0 and ι(1)=1\iota(1) = 1 (The naturals embed in the integers, Arithmetic on the integers).

[L4]

Every nonempty subset of N\mathbb{N} has a least element (The well-ordering principle).

[L5]

On N\mathbb{N}: every k0k \ne 0 is a successor σ(j)\sigma(j) (Every nonzero natural number is a successor); σ(j)=j+1=1+j\sigma(j) = j + 1 = 1 + j (The natural numbers N\mathbb{N} (von Neumann), Addition is commutative); mnm \le n means m+t=nm + t = n for some tNt \in \mathbb{N} (Order on the natural numbers); and exactly one of m<nm < n, m=nm = n, n<mn < m holds (Trichotomy of the order on N\mathbb{N}).

Proof

technique · direct
1.1

Sums and products of nonnegative integers are nonnegative: if 0u0 \le u and 0v0 \le v then uu+vu \le u + v by compatibility with addition, so 0u+v0 \le u + v by transitivity; and if either factor is 00 then uv=0uv = 0, while if both are positive then 0<uv0 < uv.

L1L2
1.2

Discreteness: if 0<x0 < x in Z\mathbb{Z} then 1x1 \le x. Indeed xx is nonnegative, so x=ι(k)x = \iota(k) for some kNk \in \mathbb{N}, and k0k \ne 0 because ι(0)=0x\iota(0) = 0 \ne x; hence k=σ(j)=1+jk = \sigma(j) = 1 + j for some jj, so 1k1 \le k in N\mathbb{N}, and applying ι\iota, which preserves the order, gives 1=ι(1)ι(k)=x1 = \iota(1) \le \iota(k) = x.

L3L5
1.3

ι\iota reflects the order: if ι(m)<ι(n)\iota(m) < \iota(n) then m<nm < n. For otherwise trichotomy on N\mathbb{N} gives nmn \le m, whence ι(n)ι(m)\iota(n) \le \iota(m) because ι\iota preserves the order, and this together with ι(m)<ι(n)\iota(m) < \iota(n) contradicts antisymmetry.

L2L3L5
1.4

Write a=ι(a1)ι(a2)a = \iota(a_1) - \iota(a_2) with a1,a2Na_1, a_2 \in \mathbb{N}, which is possible because a=[(a1,a2)]a = [(a_1,a_2)] for some naturals and [(a1,a2)]=[(a1,0)]+[(0,a2)]=ι(a1)ι(a2)[(a_1,a_2)] = [(a_1,0)] + [(0,a_2)] = \iota(a_1) - \iota(a_2).

L1L3given
1.5

Uniqueness. Suppose a=q1b+r1=q2b+r2a = q_1 b + r_1 = q_2 b + r_2 with 0ri<b0 \le r_i < b for i=1,2i = 1, 2, and set d:=q1q2d := q_1 - q_2. Ring arithmetic gives db=r2r1d b = r_2 - r_1.

L1given
2.1

From 0<b0 < b and step 1.2, 1b1 \le b, so 0b10 \le b - 1 by compatibility with addition.

step 1.2L1L2
2.2

Put q0:=ι(a2)q_0 := -\iota(a_2). Then aq0b=a+ι(a2)b=(ι(a1)ι(a2))+ι(a2)b=ι(a1)+ι(a2)(b1)a - q_0 b = a + \iota(a_2) b = \bigl(\iota(a_1) - \iota(a_2)\bigr) + \iota(a_2) b = \iota(a_1) + \iota(a_2)(b - 1), by ring arithmetic.

step 1.4L1
2.3

If 0<d0 < d then 1d1 \le d by step 1.2, so 0d10 \le d - 1 and hence 0(d1)b0 \le (d-1)b by step 1.1, that is bdbb \le db; but r10r_1 \ge 0 gives r2r1r2<br_2 - r_1 \le r_2 < b, so bdb=r2r1<bb \le db = r_2 - r_1 < b, contradicting antisymmetry.

step 1.1step 1.2step 1.5L1L2
2.4

If d<0d < 0 then 0<d0 < -d, and the same computation with the roles of the two pairs interchanged, using (d)b=r1r2(-d)b = r_1 - r_2, gives br1r2<bb \le r_1 - r_2 < b, again a contradiction.

step 1.1step 1.2step 1.5L1L2
3.1

The integer aq0ba - q_0 b is nonnegative: ι(a1)0\iota(a_1) \ge 0 and ι(a2)0\iota(a_2) \ge 0 because both lie in the image of ι\iota, b10b - 1 \ge 0 by step 2.1, and sums and products of nonnegative integers are nonnegative.

step 1.1step 2.1step 2.2L3
3.2

Hence d=0d = 0 by totality, so q1=q2q_1 = q_2, and then r1=aq1b=aq2b=r2r_1 = a - q_1 b = a - q_2 b = r_2.

step 1.5step 2.3step 2.4L1L2
4.1

Hence the set T:={kN:ι(k)=aqb for some qZ}T := \{\, k \in \mathbb{N} : \iota(k) = a - qb \text{ for some } q \in \mathbb{Z} \,\} is nonempty, since aq0ba - q_0 b is a nonnegative integer and therefore equals ι(k)\iota(k) for some kNk \in \mathbb{N}.

step 3.1L3
5.1

By well-ordering let r0r_0 be the least element of TT, choose qZq \in \mathbb{Z} with ι(r0)=aqb\iota(r_0) = a - qb, and set r:=ι(r0)r := \iota(r_0). Then a=qb+ra = qb + r and 0r0 \le r.

step 4.1L1L3L4choose
6.1

Suppose brb \le r. Then 0rb0 \le r - b by compatibility with addition, and rb=(aqb)b=a(q+1)br - b = (a - qb) - b = a - (q+1)b by ring arithmetic, so rb=ι(k)r - b = \iota(k') for some kNk' \in \mathbb{N} with kTk' \in T. Also b<0-b < 0, since 0<b0 < b, so rb<rr - b < r, that is ι(k)<ι(r0)\iota(k') < \iota(r_0), whence k<r0k' < r_0 by step 1.3. This contradicts the minimality of r0r_0.

step 1.3step 5.1L1L2L3given
7.1

Therefore brb \le r fails, and by totality of the order r<br < b; with step 5.1 this establishes existence of a pair (q,r)(q,r) with a=qb+ra = qb + r and 0r<b0 \le r < b.

step 5.1step 6.1L2
8.1

Existence is step 7.1 and uniqueness is step 3.2, so for every aZa \in \mathbb{Z} and every b>0b > 0 there is exactly one pair (q,r)(q,r) of integers with a=qb+ra = qb + r and 0r<b0 \le r < b.

step 7.1step 3.2

Remarks

  • Stated for a positive divisor only. Nothing here needs an absolute value on Z\mathbb{Z}, and none is available at this point in the reading order. The version for b0b \ne 0, with 0r<b0 \le r < |b|, follows once absolute values are in hand and is not needed by anything on this page.

  • Why it is proved here. The characterisation of the order of an element, gk=eg^{k} = e exactly when ord(g)\operatorname{ord}(g) divides kk, and the count g=ord(g)|\langle g \rangle| = \operatorname{ord}(g), are both unprovable without division with remainder (If ord(g)=n\operatorname{ord}(g) = n then gk=eg^{k} = e iff kk is an integer multiple of nn, the powers g0,,gn1g^{0}, \dots, g^{n-1} are distinct, and g\langle g \rangle has exactly nn elements; if gg has infinite order then gj=gkg^{j} = g^{k} only for j=kj = k). No earlier page in the library supplies it.

  • This is not a theory of divisibility. The relation bab \mid a is defined here for use on this page and its companion; greatest common divisors, primes and unique factorisation are developed on a later page, and that page must record that its general divisibility in a ring restricts on Z\mathbb{Z} to the relation defined here, rather than introduce a second notion silently.

  • A published claim this theorem falsified. A published example on the metric spaces companion page used to record in its Remarks that this library had no divisibility theory at all in which to state or prove Euclid's lemma. That was true when it was written; the present item, which is earlier in the reading order, made it false, and the sentence has since been narrowed to say that the example itself neither establishes nor assumes that lemma. Nothing here depends on that example, and nothing here supplies Euclid's lemma either: what is proved above is division with remainder, and no more.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

In a finite group, every element gg satisfies gn=eg^{n} = e for some natural n1n \ge 1

Statement

Let GG be a group (Group and abelian group) whose underlying set is finite (Finite, countably infinite, countable, uncountable), and let gGg \in G. Then there is a natural number n1n \ge 1 with gn=eg^{n} = e, the power being the natural power of Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e.

Facts & Assumptions

Given: A group GG with identity ee whose underlying set is finite, and an element gGg \in G; natural powers gkg^{k} with g0=eg^{0} = e and gσ(k)=gkgg^{\sigma(k)} = g^{k} g (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

[L1]

GG finite means GmG \approx m for some mNm \in \mathbb{N}, that is, there is a bijection β:Gm\beta : G \to m (Finite, countably infinite, countable, uncountable, Equinumerous sets, ABA \approx B and ABA \preceq B).

[L2]

Claim 1 of the pigeonhole principle: for every mNm \in \mathbb{N} there is no injection σ(m)m\sigma(m) \to m (The pigeonhole principle on N\mathbb{N}).

[L3]

On N\mathbb{N} the order is membership, so the elements of the natural number σ(m)\sigma(m) are exactly the natural numbers k<σ(m)k < \sigma(m), and the elements of mm are exactly the natural numbers k<mk < m (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, The natural numbers N\mathbb{N} (von Neumann)).

[L4]

A map ff is injective when f(x)=f(y)f(x) = f(y) forces x=yx = y; a bijection is injective (Injection, surjection, bijection).

[L7]

On N\mathbb{N}: exactly one of i<ji < j, i=ji = j, j<ij < i holds (Trichotomy of the order on N\mathbb{N}); iji \le j means i+k=ji + k = j for some kk (Order on the natural numbers); every k0k \ne 0 is a successor σ(t)=1+t\sigma(t) = 1 + t (Every nonzero natural number is a successor, Addition is commutative), so k0k \ne 0 implies 1k1 \le k.

Proof

technique · direct
1.1

Fix a bijection β:Gm\beta : G \to m with mNm \in \mathbb{N}, available because GG is finite.

L1choose
2.1

Define F:σ(m)mF : \sigma(m) \to m by F(k):=β(gk)F(k) := \beta(g^{k}). This is a function: every element kk of σ(m)\sigma(m) is a natural number, so the natural power gkg^{k} is defined and lies in GG, and β\beta sends it into mm.

step 1.1L3given
3.1

FF is not injective, since there is no injection σ(m)m\sigma(m) \to m. Hence there are i,jσ(m)i, j \in \sigma(m) with iji \ne j and F(i)=F(j)F(i) = F(j).

step 2.1L2choose
4.1

From β(gi)=β(gj)\beta(g^{i}) = \beta(g^{j}) and injectivity of β\beta we get gi=gjg^{i} = g^{j}.

step 1.1step 3.1L4
4.2

By trichotomy and iji \ne j, one of i<ji < j and j<ij < i holds; interchanging the names if necessary, assume i<ji < j. Then i+k=ji + k = j for some kNk \in \mathbb{N}, and k0k \ne 0, since k=0k = 0 would give i=ji = j.

step 3.1L7
5.1

Hence gigk=gi+k=gj=gi=gieg^{i} g^{k} = g^{i+k} = g^{j} = g^{i} = g^{i} e, and cancelling gig^{i} on the left gives gk=eg^{k} = e.

step 4.1step 4.2L5L6given
6.1

Finally k0k \ne 0 gives 1k1 \le k, so n:=kn := k is a natural number with n1n \ge 1 and gn=eg^{n} = e.

step 4.2step 5.1L7

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

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

Definition

The order of a finite group. Let GG be a group (Group and abelian group) whose underlying set is finite (Finite, countably infinite, countable, uncountable), so that GnG \approx n for some nNn \in \mathbb{N} (Equinumerous sets, ABA \approx B and ABA \preceq B). That natural number is unique: if GnG \approx n and GnG \approx n' then nnn \approx n', since \approx is symmetric and transitive, and then n=nn = n' by claim 3 of The pigeonhole principle on N\mathbb{N}. The order of GG is that unique natural number, written G|G|. A group is infinite when its underlying set is not finite, and G|G| is then not defined.

The order of an element. Let GG be any group and gGg \in G, with natural powers as in Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e. Put

Sg  :=  {kN  :  k1 and gk=e}    N.S_g \;:=\; \{\, k \in \mathbb{N} \;:\; k \ge 1 \text{ and } g^{k} = e \,\} \;\subseteq\; \mathbb{N}.

  • If SgS_g \ne \varnothing, the order of gg is its least element,

    ord(g)  :=  minSg    N,\operatorname{ord}(g) \;:=\; \min S_g \;\in\; \mathbb{N},

    which exists by the well-ordering principle (The well-ordering principle): every nonempty subset of N\mathbb{N} has a least element, and that element is unique, being \le every element of SgS_g and a member of it. We then say gg has finite order.

  • If Sg=S_g = \varnothing we say gg has infinite order and write ord(g)=\operatorname{ord}(g) = \infty, where \infty is a symbol reserved for this case and is not a natural number. No arithmetic is performed with it here.

By construction ord(g)1\operatorname{ord}(g) \ge 1 whenever it is finite, and ord(g)=1\operatorname{ord}(g) = 1 exactly when g=eg = e, since g1=gg^{1} = g.

Every element of a finite group has finite order. If GG is finite then SgS_g \ne \varnothing for every gGg \in G, by In a finite group, every element gg satisfies gn=eg^{n} = e for some natural n1n \ge 1, so ord(g)\operatorname{ord}(g) is a natural number.

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

If ord(g)=n\operatorname{ord}(g) = n then gk=eg^{k} = e iff kk is an integer multiple of nn, the powers g0,,gn1g^{0}, \dots, g^{n-1} are distinct, and g\langle g \rangle has exactly nn elements; if gg has infinite order then gj=gkg^{j} = g^{k} only for j=kj = k

Statement

Let GG be a group, gGg \in G, and let orders be as in 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. Throughout, a natural number written where an integer is expected means its image under the embedding ι:NZ\iota : \mathbb{N} \to \mathbb{Z} of The naturals embed in the integers.

Finite order. Suppose ord(g)=n\operatorname{ord}(g) = n with nNn \in \mathbb{N}, n1n \ge 1. Then:

  1. for every kZk \in \mathbb{Z}, gk=eg^{k} = e if and only if k=qnk = qn for some qZq \in \mathbb{Z}, that is, if and only if nkn \mid k (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);
  2. the powers g0,g1,,gn1g^{0}, g^{1}, \dots, g^{n-1} are pairwise distinct: if i,jNi, j \in \mathbb{N} with i<ni < n, j<nj < n and gi=gjg^{i} = g^{j}, then i=ji = j;
  3. g={gs:sN, s<n}\langle g \rangle = \{\, g^{s} : s \in \mathbb{N},\ s < n \,\} and gn\langle g \rangle \approx n; so g\langle g \rangle is finite with g=n=ord(g)|\langle g \rangle| = n = \operatorname{ord}(g).

Infinite order. If ord(g)=\operatorname{ord}(g) = \infty then for j,kZj, k \in \mathbb{Z}, gj=gkg^{j} = g^{k} implies j=kj = k; so the integer powers of gg are pairwise distinct and g\langle g \rangle is not finite.

Facts & Assumptions

Given: A group GG with identity ee and an element gGg \in G; Sg={kN:k1, gk=e}S_g = \{\, k \in \mathbb{N} : k \ge 1,\ g^{k} = e \,\}, and ord(g)=minSg\operatorname{ord}(g) = \min S_g when SgS_g \ne \varnothing, ord(g)=\operatorname{ord}(g) = \infty otherwise (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).

[L1]

Exponent laws: gx+y=gxgyg^{x+y} = g^{x}g^{y}, gx=(gx)1g^{-x} = (g^{x})^{-1} and (gx)y=gxy(g^{x})^{y} = g^{xy} for all x,yZx, y \in \mathbb{Z}; the first also holds for natural exponents in any monoid (Exponent laws in a group: gm+n=gmgng^{m+n} = g^{m}g^{n} and (gm)n=gmn(g^{m})^{n} = g^{mn} for all m,nZm, n \in \mathbb{Z}, and (gh)n=gnhn(gh)^{n} = g^{n}h^{n} when gg and hh commute, Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

[L2]

g={gx:xZ}\langle g \rangle = \{\, g^{x} : x \in \mathbb{Z} \,\} (g={gn:nZ}\langle g \rangle = \{\, g^{n} : n \in \mathbb{Z} \,\}, and every cyclic group is abelian).

[L3]

Division with remainder: for kZk \in \mathbb{Z} and b>0b > 0 there are unique q,rZq, r \in \mathbb{Z} with k=qb+rk = 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).

[L4]

ι\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 (The naturals embed in the integers). The order on Z\mathbb{Z} is total and antisymmetric and Z\mathbb{Z} is a commutative ring (The integers form a totally ordered ring, The integers form a commutative ring, Order on the integers, The integers as equivalence classes of pairs of naturals).

[L6]

Induction on N\mathbb{N} (The principle of mathematical induction).

[L7]

On N\mathbb{N}: the order is membership, so n={sN:s<n}n = \{\, s \in \mathbb{N} : s < n \,\} (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n); iji \le j means i+t=ji + t = j for some tt (Order on the natural numbers); exactly one of i<ji<j, i=ji=j, j<ij<i holds (Trichotomy of the order on N\mathbb{N}).

[L8]

Finiteness and counting: AA is finite when AmA \approx m for some mNm \in \mathbb{N}, and that mm is unique (Finite, countably infinite, countable, uncountable, Equinumerous sets, ABA \approx B and ABA \preceq B, The pigeonhole principle on N\mathbb{N}); a bijection is an injective and surjective map (Injection, surjection, bijection).

Proof

technique · direct
1.1

ex=ee^{x} = e for every xZx \in \mathbb{Z}. For natural exponents the set of tt with et=ee^{t} = e contains 00, since e0=ee^{0} = e, and is closed under σ\sigma, since eσ(t)=ete=ee=ee^{\sigma(t)} = e^{t} e = e\,e = e; induction gives it for all naturals. For x<0x < 0 write x=ι(k)-x = \iota(k); then ex=(ek)1=e1=ee^{x} = (e^{k})^{-1} = e^{-1} = e.

givenL1L4L5L6
1.2

Assume ord(g)=n\operatorname{ord}(g) = n with n1n \ge 1. Then nSgn \in S_g, so gn=eg^{n} = e, and no natural ss with 1s<n1 \le s < n satisfies gs=eg^{s} = e, since nn is the least element of SgS_g. Also ι(n)>0\iota(n) > 0, because n1n \ge 1 and ι\iota preserves the order.

givenL4
1.3

Infinite order. Assume Sg=S_g = \varnothing and suppose gj=gkg^{j} = g^{k} with j,kZj, k \in \mathbb{Z} and jkj \ne k. Put x:=jkx := j - k, so x0x \ne 0 and gx=gjgk=gj(gk)1=eg^{x} = g^{j} g^{-k} = g^{j}(g^{k})^{-1} = e. Also gx=(gx)1=e1=eg^{-x} = (g^{x})^{-1} = e^{-1} = e. By totality one of xx and x-x is positive; call it yy, so gy=eg^{y} = e and y=ι(s)y = \iota(s) with sNs \in \mathbb{N} and s0s \ne 0, hence s1s \ge 1. Then sSgs \in S_g, contradicting Sg=S_g = \varnothing.

givenL1L4L5
2.1

The "if" half of claim 1: if k=qι(n)k = q\iota(n) for some qZq \in \mathbb{Z}, then gk=gι(n)q=(gι(n))q=(gn)q=eq=eg^{k} = g^{\iota(n) q} = (g^{\iota(n)})^{q} = (g^{n})^{q} = e^{q} = e.

step 1.1step 1.2L1L4
2.2

The "only if" half. Suppose gk=eg^{k} = e. Divide: k=qι(n)+rk = q\iota(n) + r with 0r<ι(n)0 \le r < \iota(n), legitimate since ι(n)>0\iota(n) > 0. Then e=gk=gqι(n)gr=(gn)qgr=eqgr=gre = g^{k} = g^{q\iota(n)} g^{r} = (g^{n})^{q} g^{r} = e^{q} g^{r} = g^{r}. Since 0r0 \le r, we have r=ι(s)r = \iota(s) for a unique sNs \in \mathbb{N}, and ι(s)<ι(n)\iota(s) < \iota(n) forces s<ns < n, because otherwise nsn \le s and ι\iota would give ι(n)ι(s)\iota(n) \le \iota(s), contradicting antisymmetry. So gs=eg^{s} = e with s<ns < n.

step 1.1step 1.2L1L3L4L7
2.3

Claim 2. Let i,jNi, j \in \mathbb{N} with i<ni < n, j<nj < n and gi=gjg^{i} = g^{j}. By trichotomy we may assume iji \le j, interchanging the names if necessary, and then i+t=ji + t = j for some tNt \in \mathbb{N}. Now gigt=gi+t=gj=gi=gieg^{i} g^{t} = g^{i+t} = g^{j} = g^{i} = g^{i} e, so gt=eg^{t} = e by cancellation. Moreover tjt \le j, since t+i=jt + i = j, and j<nj < n, so t<nt < n. If t1t \ge 1 then tSgt \in S_g with t<nt < n, impossible; so t=0t = 0 and i=ji = j.

step 1.2L1L5L7
2.4

Therefore in the infinite-order case gj=gkg^{j} = g^{k} forces j=kj = k. Moreover g\langle g \rangle is then not finite: a bijection ψ:gm\psi : \langle g \rangle \to m with mNm \in \mathbb{N} would make kψ(gι(k))k \mapsto \psi(g^{\iota(k)}) a map σ(m)m\sigma(m) \to m, and that map is injective, since ι\iota is injective, distinct integer exponents give distinct powers by step 1.3, and ψ\psi is injective; but claim 1 of the pigeonhole principle forbids an injection σ(m)m\sigma(m) \to m.

step 1.3L2L4L8
3.1

In step 2.2 the case s1s \ge 1 is impossible, since it would put ss in SgS_g below its least element; hence s=0s = 0, so r=0r = 0 and k=qι(n)k = q\iota(n). With step 2.1 this is claim 1.

step 1.2step 2.1step 2.2L4
3.2

Every integer power of gg is one of g0,,gn1g^{0}, \dots, g^{n-1}: given xZx \in \mathbb{Z}, divide x=qι(n)+rx = q\iota(n) + r with 0r<ι(n)0 \le r < \iota(n), write r=ι(s)r = \iota(s) with sNs \in \mathbb{N} and s<ns < n as in step 2.2, and compute gx=(gn)qgr=eqgs=gsg^{x} = (g^{n})^{q} g^{r} = e^{q} g^{s} = g^{s}.

step 1.1step 1.2step 2.2L1L3L4
4.1

Claim 3. By [L2] and step 3.2, g={gs:sN, s<n}\langle g \rangle = \{\, g^{s} : s \in \mathbb{N},\ s < n \,\}. The map φ:ng\varphi : n \to \langle g \rangle with φ(s)=gs\varphi(s) = g^{s} is well defined, the elements of the natural number nn being exactly the naturals s<ns < n; it is surjective by the displayed description and injective by step 2.3. So φ\varphi is a bijection, gn\langle g \rangle \approx n, and g\langle g \rangle is finite with g=n=ord(g)|\langle g \rangle| = n = \operatorname{ord}(g), the value g|\langle g \rangle| being the unique natural equinumerous with g\langle g \rangle.

step 2.3step 3.2L2L7L8
5.1

Claims 1, 2 and 3 are steps 3.1, 2.3 and 4.1, and the infinite-order statement is steps 1.3 and 2.4.

step 3.1step 2.3step 4.1step 1.3step 2.4

Remarks

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (z-ai/glm-5.2)audited 2026-07-27Open item page →

Monoid homomorphism and group homomorphism

Definition

Let (M,,e)(M,\cdot,e) and (M,,e)(M',\cdot',e') be monoids (Semigroup and monoid). A monoid homomorphism from MM to MM' is a function f:MMf : M \to M' such that

  • (H1) f(xy)=f(x)f(y)f(x \cdot y) = f(x) \cdot' f(y) for all x,yMx, y \in M;
  • (H2) f(e)=ef(e) = e'.

Let GG and GG' be groups (Group and abelian group). A group homomorphism from GG to GG' is a function f:GGf : G \to G' satisfying (H1) alone:

f(xy)  =  f(x)f(y)for all x,yG.f(xy) \;=\; f(x)\, f(y) \qquad \text{for all } x, y \in G .

Condition (H2) is not imposed for groups because it follows: a group homomorphism automatically satisfies f(e)=ef(e) = e' and f(x1)=f(x)1f(x^{-1}) = f(x)^{-1} (A group homomorphism automatically satisfies f(e)=ef(e) = e' and f(g1)=f(g)1f(g^{-1}) = f(g)^{-1}, and f(gn)=f(g)nf(g^{n}) = f(g)^{n} for every nZn \in \mathbb{Z}; for monoid homomorphisms preservation of the identity must be assumed). For monoids it does not follow and must be assumed, which is why the two definitions differ.

A homomorphism from a structure to itself is an endomorphism. The identity map of MM is a monoid homomorphism, and a composite of monoid homomorphisms is one, since (gf)(xy)=g(f(x)f(y))=g(f(x))g(f(y))(g \circ f)(xy) = g(f(x)f(y)) = g(f(x))\,g(f(y)) and (gf)(e)=g(e)=e(g \circ f)(e) = g(e') = e''; the same computation, without the second clause, shows a composite of group homomorphisms is a group homomorphism.

Remarks

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

A group homomorphism automatically satisfies f(e)=ef(e) = e' and f(g1)=f(g)1f(g^{-1}) = f(g)^{-1}, and f(gn)=f(g)nf(g^{n}) = f(g)^{n} for every nZn \in \mathbb{Z}; for monoid homomorphisms preservation of the identity must be assumed

Statement

Let GG and GG' be groups with identities ee and ee', and let f:GGf : G \to G' be a group homomorphism (Monoid homomorphism and group homomorphism), so f(xy)=f(x)f(y)f(xy) = f(x)f(y) for all x,yGx, y \in G. Then:

  1. f(e)=ef(e) = e';
  2. f(g1)=f(g)1f(g^{-1}) = f(g)^{-1} for every gGg \in G;
  3. f(gn)=f(g)nf(g^{n}) = f(g)^{n} for every gGg \in G and every nZn \in \mathbb{Z}, powers being those of Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e.

For monoid homomorphisms the analogue of claim 1 is false, so preservation of the identity has to be part of the definition: the map u:ZZu : \mathbb{Z} \to \mathbb{Z} with u(x)=0u(x) = 0 for every xx satisfies u(xy)=u(x)u(y)u(xy) = u(x)u(y) for the multiplicative monoid (Z,,1)(\mathbb{Z},\cdot,1), yet u(1)=01u(1) = 0 \ne 1.

Facts & Assumptions

Given: Groups GG, GG' with identities ee, ee', and a function f:GGf : G \to G' with f(xy)=f(x)f(y)f(xy) = f(x)f(y) for all x,yGx, y \in G (Monoid homomorphism and group homomorphism).

[A1]

f(xy)=f(x)f(y)f(xy) = f(x)f(y) for all x,yGx, y \in G.

[L1]

The group laws in GG and in GG' (Group and abelian group, Semigroup and monoid).

[L4]

Powers: g0=eg^{0} = e, gσ(k)=gkgg^{\sigma(k)} = g^{k}g for kNk \in \mathbb{N}, and gx=(gk)1g^{x} = (g^{k})^{-1} when x<0x < 0 and x=ι(k)-x = \iota(k), where ι:NZ\iota : \mathbb{N} \to \mathbb{Z} is the embedding of The naturals embed in the integers with image the nonnegative integers (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

[L6]

Induction on N\mathbb{N} (The principle of mathematical induction).

[L7]

Z\mathbb{Z} is a totally ordered commutative ring, so exactly one of 0x0 \le x and x<0x < 0 holds, and x<0x < 0 gives 0<x0 < -x (The integers form a commutative ring, The integers form a totally ordered ring, Arithmetic on the integers, Order on the integers, The integers as equivalence classes of pairs of naturals).

[L8]

(Z,,1)(\mathbb{Z},\cdot,1) is a commutative monoid: multiplication on Z\mathbb{Z} is associative and commutative with x1=xx \cdot 1 = x, and x0=0x \cdot 0 = 0 for every xx (The integers form a commutative ring, Arithmetic on the integers).

Proof

technique · direct
1.1

Applying [A1] with x=y=ex = y = e gives f(e)=f(ee)=f(e)f(e)f(e) = f(e\,e) = f(e)f(e); and f(e)=ef(e)f(e) = e' f(e) because ee' is the identity of GG'.

A1L1
1.2

Applying [A1] with y=g1y = g^{-1} gives f(g)f(g1)=f(gg1)=f(e)f(g)f(g^{-1}) = f(g g^{-1}) = f(e).

A1L1
1.3

Base of claim 3 for natural exponents: f(g0)=f(e)f(g^{0}) = f(e) and f(g)0=ef(g)^{0} = e'.

L4
1.4

The monoid statement. In the commutative monoid (Z,,1)(\mathbb{Z},\cdot,1) the constant map u(x)=0u(x) = 0 satisfies u(xy)=0=00=u(x)u(y)u(xy) = 0 = 0 \cdot 0 = u(x)u(y) for all x,yx, y, so it obeys the product law; but u(1)=0u(1) = 0 and the identity of the monoid is 11, and 010 \ne 1 in Z\mathbb{Z}. So a map obeying the product law between monoids need not send the identity to the identity, and (H2) is not redundant there.

L8given
2.1

From ef(e)=f(e)f(e)e' f(e) = f(e)f(e) and cancellation in GG' we get f(e)=ef(e) = e', which is claim 1.

step 1.1L2
3.1

By steps 1.2 and 2.1, f(g)f(g1)=ef(g)f(g^{-1}) = e', so f(g1)f(g^{-1}) is a right inverse of the invertible element f(g)f(g), and uniqueness of inverses gives f(g1)=f(g)1f(g^{-1}) = f(g)^{-1}: claim 2.

step 1.2step 2.1L3
3.2

Claim 3 for natural exponents. The set of kNk \in \mathbb{N} with f(gk)=f(g)kf(g^{k}) = f(g)^{k} contains 00, by step 1.3 and step 2.1, which give f(g0)=f(e)=e=f(g)0f(g^{0}) = f(e) = e' = f(g)^{0}; and it is closed under σ\sigma, since f(gσ(k))=f(gkg)=f(gk)f(g)=f(g)kf(g)=f(g)σ(k)f(g^{\sigma(k)}) = f(g^{k} g) = f(g^{k}) f(g) = f(g)^{k} f(g) = f(g)^{\sigma(k)}. By induction it is all of N\mathbb{N}.

step 1.3step 2.1A1L4L6
4.1

Claim 3 for negative exponents. Let x<0x < 0 and write x=ι(k)-x = \iota(k) with kNk \in \mathbb{N}, possible since 0<x0 < -x. Then gx=(gk)1g^{x} = (g^{k})^{-1}, so f(gx)=f((gk)1)=f(gk)1=(f(g)k)1=f(g)xf(g^{x}) = f\bigl((g^{k})^{-1}\bigr) = f(g^{k})^{-1} = \bigl(f(g)^{k}\bigr)^{-1} = f(g)^{x}, the last equality being the definition of the negative power of f(g)f(g).

step 3.1step 3.2L4L5L7
5.1

Every integer is either nonnegative, hence of the form ι(k)\iota(k) and covered by step 3.2, or negative and covered by step 4.1; so claim 3 holds for every nZn \in \mathbb{Z}.

step 3.2step 4.1L4L7
6.1

Claims 1, 2 and 3 are steps 2.1, 3.1 and 5.1, and step 1.4 shows the corresponding automatic identity preservation fails for monoids.

step 2.1step 3.1step 5.1step 1.4

Remarks

5 · Examples, counterexamples and false statements

None yet.

Sources