Chapter 5Mathematical Structuresnotes.en.pdf:124-126

Magma → Semigroup → Monoid

Build structures by adding axioms

Def 1.6MagmaDef 1.7SemigroupDef 1.8Monoid
Concept

We build algebraic structures by stacking axioms: each level adds a property to the previous one. This produces the magma hierarchy (notes p.124-126, slides Chapter 8 Example 1.7-1.10).

Magma G,\langle G, \circ \rangle (Def 1.6):
- A set GG with a binary operation :G×GG\circ : G \times G \to G (closure).
- Just: a,bGabGa, b \in G \Rightarrow a \circ b \in G.

Semigroup (Def 1.7): a magma + associativity:

a,b,cG. (ab)c=a(bc)\forall a, b, c \in G.\ (a \circ b) \circ c = a \circ (b \circ c)

(You can regroup without changing the result.)

Monoid (Def 1.8): a semigroup + an identity element ee:

aG. ae=ea=a\forall a \in G.\ a \circ e = e \circ a = a

Each level inherits everything from the level below. So every monoid is a semigroup; every semigroup is a magma. The arrows in a theory graph go "upward" — adding axioms.

Examples:
- N,+\langle \mathbb{N}, + \rangle is a monoid with identity 0. (Not a group because subtraction can leave N\mathbb{N}.)
- N,\langle \mathbb{N}, \cdot \rangle is a monoid with identity 1.
- String concatenation Σ,,ε\langle \Sigma^*, \cdot, \varepsilon \rangle is a monoid with empty string as identity.

Theory graph direction (notes p.196): arrows go from the GENERAL (magma) at the TOP to the SPECIFIC (ring) at the BOTTOM, with each arrow ADDING an axiom. So Magma → Semigroup → Monoid → Group → AbelGroup → Ring.

Animation — theory_graph
Transcript — click a line to jump9 cues
  1. 0.0sAlgebraic Structures Hierarchy
  2. 1.1sSix nodes: magma, semigroup, monoid, group, abelian, ring.
  3. 2.9sArrow magma -> semigroup: add closure.
  4. 4.0sArrow semigroup -> monoid: add associativity.
  5. 5.2sArrow monoid -> group: add identity.
  6. 6.3sArrow group -> abelian: add inverses.
  7. 7.5sArrow abelian -> ring: add commutativity.
  8. 8.7sRing is highlighted as the richest structure.
  9. 9.3sEach structure adds exactly one property.
Practice — score 100% to advance
Multiple choice
Q1
What property does a magma add to a plain set?
Q2
What axiom does a semigroup add to a magma?
Q3
What axiom does a monoid add to a semigroup?
Q4
Is every monoid a semigroup?
Q5
Is N,+\langle \mathbb{N}, + \rangle a monoid?
Q6
Is N,+\langle \mathbb{N}, + \rangle a group?
Order the steps
Arrange these proof steps in the correct order using the arrows.
1
Magma: a set G with a binary operation ◦: G × G → G (closure)
2
Group: monoid + inverse: ∀a. ∃a⁻¹. a ◦ a⁻¹ = e
3
Monoid: semigroup + identity element e: a ◦ e = e ◦ a = a
4
Abelian Group: group + commutativity: a ◦ b = b ◦ a
5
Semigroup: magma + associativity: (a ◦ b) ◦ c = a ◦ (b ◦ c)
Loading…