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.
Semigroup and monoid
Definition
A semigroup is a pair consisting of a set and an associative binary operation on (Binary operation on a set; associativity, commutativity, and a subset closed under the operation).
A monoid is a triple in which is a semigroup and is a two-sided identity for (Left identity, right identity, and two-sided identity for a binary operation), that is,
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 is determined by and may be called the identity of ; it is written , or when several monoids are in play, and or in multiplicative or additive notation. For that reason a monoid is often written simply as , or as .
A semigroup or monoid is commutative (for monoids also called abelian) when its operation is commutative.
A subset is a submonoid when and is closed under ; the restricted operation then makes a monoid, associativity being inherited (Binary operation on a set; associativity, commutativity, and a subset closed under the operation).
Remarks
-
The definite article is earned, not assumed. Writing "the identity" presupposes uniqueness, and that is exactly what A left identity and a right identity for the same binary operation are equal; hence there is at most one two-sided identity supplies, from the two defining equations alone. This is the first of the two uniqueness obligations on this page; the second is uniqueness of inverses (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), which is what will license writing "the inverse".
-
A monoid is data, not a property. carries the identity as part of the structure. The uniqueness result says nothing is lost by suppressing it from the notation, and nothing is gained by keeping it.
-
Every group is a monoid (Group and abelian group), and the invertible elements of a monoid form a group (The invertible elements of a monoid form a group under the restricted operation), so the two notions are tied together in both directions.