← LibrarySteiner Triple Systems, Squags and SloopsEngineering · MathematicsLesson 1/5← PrevNext →
GuidePublished 6 Aug 20266 min readBy Kevin Joginuniversal algebraabstract algebramathematicsSteiner triple system

Combinatorial and Automata Applications

Steiner Triple Systems, Squags and Sloops

A Steiner triple system is a combinatorial design. A squag is an algebra. They are the same object, and once the translation is made, the algebraic machinery applies to the design without further argument.

Engineering · Mathematics6 min readKV-MATH-0227
Learning objectives

01Steiner triple systems

A Steiner triple system on a finite set S is a collection of three-element subsets, called triples or blocks, such that every pair of distinct elements of S lies in exactly one triple. The order of the system is |S|.

Key resultThe admissibility condition

A Steiner triple system of order n exists precisely when n ≡ 1 or 3 (mod 6), together with the trivial cases n = 0 and n = 1. Kirkman established this in 1847. The counting argument for necessity is short: each element lies in (n−1)/2 triples, so n must be odd, and the total triple count n(n−1)/6 must be an integer.

The combinatorial description is complete but inert. It tells you what a triple system is; it gives no leverage for constructing new systems from old, for decomposing a system, or for understanding the class of all systems as a single object. Recasting the design as an algebra supplies all three.

02Squags: the quasigroup encoding

Define a binary operation on S by setting x·y to be the third element of the unique triple containing x and y, and x·x = x. The resulting algebra is a Steiner quasigroup, or squag.

Squag axioms:   x·x ≈ x,   x·y ≈ y·x,   x·(x·y) ≈ y
Idempotent, commutative, and each element is its own left inverse in the strong sense that multiplying twice by x returns the argument.
ProcedureTranslating between a triple system and its squag
in: Steiner triple system on S → out: squag on S, and back
  1. design → algebra:
  2. for x ≠ y: x·y := the third point of the unique triple {x, y, z}
  3. for x = y: x·x := x
  4. verify the three squag identities hold
  5. algebra → design:
  6. triples := { {x, y, x·y} : x ≠ y }
  7. idempotency ensures no degenerate triples arise
  8. x·(x·y) ≈ y ensures each pair determines exactly one triple
  9. the two translations are mutually inverse
Correctness: commutativity makes the triple {x, y, x·y} independent of the order of x and y; x·(x·y) ≈ y is exactly the uniqueness of the third point. Caveat: idempotency means the diagonal is fixed, so the algebra has no identity element — that is what distinguishes squags from sloops.

03Sloops: adding an identity

The alternative encoding adjoins a new element to serve as an identity. Given a triple system on S, take the universe S ∪ {e} and define a product that returns e when the arguments coincide.

Squag
Idempotent, no identity
x·x ≈ x. Universe is exactly the point set. Type (2). Subalgebras correspond to subsystems containing the relevant points.
Sloop
Has an identity, x·x ≈ e
Universe is the point set plus one adjoined element. Type (2, 0) — the identity is a nullary operation, so every subalgebra contains it.
Sloop axioms:   x·e ≈ x,   x·y ≈ y·x,   x·x ≈ e,   x·(x·y) ≈ y
A commutative loop of exponent two. The order of a sloop is one more than the order of the underlying triple system.

The choice between the two encodings is a choice of type, and it changes the subalgebra lattice exactly as the general theory predicts. Squags have no constant, so the empty set is a subuniverse; sloops have a nullary operation, so every subalgebra contains the identity and the smallest subalgebra is {e}.

04What the variety structure delivers

Both axiom sets are purely equational, so squags and sloops each form a variety. By Birkhoff's theorem the classes are closed under H, S and P, and every general theorem about varieties applies immediately.

  1. Products give new designs from old
    The direct product of two squags is a squag, so a triple system of order mn arises from systems of orders m and n. The combinatorial construction is not obvious; the algebraic one is a triviality.
  2. Subalgebras are subsystems
    A subuniverse of a squag is a subset closed under the operation, which is exactly a subsystem of the triple system — a subset carrying its own triple system on the induced blocks.
  3. Congruences give quotient designs
    A congruence on a squag yields a quotient squag, hence a quotient triple system. The combinatorial meaning is a partition of the points that respects blocks.
  4. Free squags exist
    The free squag on n generators is a legitimate object, and its structure encodes which triple-system identities are forced rather than accidental.
NoteThe general lesson

This is the pattern the source uses throughout Chapter III: take a combinatorial or computational structure, find an equational encoding, and inherit the whole variety machinery at no cost. The prediction in the preface that such 'applied universal algebra' would become prominent has been borne out, most visibly in the algebraic approach to constraint satisfaction.

05Congruence properties

Squags are congruence-permutable but not congruence-distributive, which places them in the modular but not arithmetical region of the classification.

Where squags and sloops sit
PropertySquagsNote
VarietyYesThree identities, type (2).
Congruence-permutableYesA Mal'cev term exists.
Congruence-modularYesFollows from permutability.
Congruence-distributiveNoNot arithmetical.
Locally finiteYesFinitely generated squags are finite.
Finitely basedYesThree identities suffice.

Local finiteness matters for the applications: a finitely generated squag is finite, so the free squag on n generators is a finite object and can in principle be computed. That computation is what tells you which triple systems are generated by n points.

06Enumeration data and where it belongs

The number of non-isomorphic Steiner triple systems of a given order is a natural question, and the answers are catalogue data of exactly the kind this collection does not transcribe.

CautionDesign counts are computed values with a shelf life

Counts of non-isomorphic triple systems, of Kirkman triple systems and of resolvable designs are the output of large computer searches. They have been extended repeatedly as computing power has grown, and figures printed in a 1981 text reflect what had been enumerated by then. Reproducing such a table here would create a plausible-looking artefact that ages silently.

The durable content is the method: the admissibility condition, the algebraic encoding, the construction of products and quotients, and the congruence properties. For current enumeration figures, consult the Handbook of Combinatorial Designs and the design-theory databases routed from the sourcing policy page. The distinction runs through the whole collection and is set out there.

Frequently asked

Why two encodings rather than one?

Because they answer different questions. The squag encoding keeps the universe equal to the point set, which makes subalgebras correspond directly to subsystems. The sloop encoding adds an identity, which makes the algebra a loop and connects the theory to the wider study of commutative loops of exponent two. Neither is canonical; the choice is a choice of type.

Does every squag come from a Steiner triple system?

Yes for finite squags — the translation is a bijection between Steiner triple systems and squags on the same underlying set. Infinite squags exist too and correspond to infinite triple systems, where the admissibility condition has no analogue.

Is the variety of squags generated by a single finite algebra?

No. Squags of different orders generate different subvarieties, and no single finite squag generates them all. This is why the variety is not locally finite in the strong sense of having a bounded free spectrum, even though each finitely generated member is finite.

Sources and further reading

Original KEVOS® explanatory article. Written from the topic map of the cited works; no text is reproduced from them.

Continue learning

NEXT LESSON →Quasigroups, Loops and Latin SquaresGuide · MathematicsOrthogonal Latin Squares and the Refutation of Euler's ConjectureGuide · MathematicsFinite State Acceptors and Recognisable LanguagesGuide · MathematicsSyntactic Monoids and Kleene's TheoremGuide · Mathematics