← LibraryQuasiprimal Algebras and Pixley's TheoremEngineering · MathematicsLesson 6/10← PrevNext →
GuidePublished 6 Aug 20265 min readBy Kevin Joginuniversal algebraabstract algebramathematicsquasiprimal

Boolean Constructions and Discriminator Varieties

Quasiprimal Algebras and Pixley's Theorem

Quasiprimality relaxes primality to a single requirement: the discriminator must be a term operation. Pixley's theorem characterises exactly which finite algebras qualify.

Engineering · Mathematics5 min readKV-MATH-0242
Learning objectives

01Quasiprimality

A finite algebra A with at least two elements is quasiprimal when the ternary discriminator on A is a term operation of A.

Primal
Every operation is a term operation
Maximal demand. Forces no subalgebras, no congruences, no automorphisms.
Quasiprimal
The discriminator is a term operation
One operation only. Allows proper subalgebras and non-trivial automorphisms, but still forces simplicity.
Key resultQuasiprimal implies simple

If the discriminator is a term operation and θ is a congruence relating distinct a and b, then applying the discriminator gives t(a, b, c) = a related to t(a, a, c) = c for arbitrary c. So every element is θ-related to a, and θ is everything. A quasiprimal algebra is therefore simple.

Simplicity is forced, but the other two consequences of primality are not. A quasiprimal algebra may have proper subalgebras and may have non-trivial automorphisms — and Pixley's theorem says exactly how these must interact.

02Pixley's theorem

The characterisation is in terms of inner isomorphisms — isomorphisms between subalgebras of A.

Key resultPixley's characterisation

A finite algebra A is quasiprimal if and only if every operation on A that preserves all inner isomorphisms of A is a term operation. Equivalently: the term operations of A are exactly the operations commuting with every isomorphism between subalgebras of A.

ProcedureReading the criterion
in: finite algebra A → out: quasiprimal or not
  1. input: finite algebra A
  2. compute Sub(A), the subuniverses of A
  3. compute Iso(A), the set of isomorphisms between members of Sub(A)
  4. (this includes automorphisms and identity maps on subalgebras)
  5. for a candidate operation g on A:
  6. g preserves an inner isomorphism φ : C → D when applying g
  7. inside C and then φ agrees with applying φ then g inside D
  8. A is quasiprimal iff every operation preserving ALL inner isomorphisms
  9. is already a term operation
  10. output: quasiprimality decision
This is a Galois-connection statement: term operations and inner isomorphisms are polarities of each other. Caveat: computing Iso(A) is expensive, so the practical test is usually to search directly for a discriminator term.

The theorem is a clone-theoretic statement: it identifies the clone of term operations with the clone of operations preserving a specified relational structure. This operation–relation Galois connection is the standard framework for clone theory and reappears in the algebraic approach to constraint satisfaction.

03What primality adds

Primal is quasiprimal plus the vanishing of all inner structure.

Comparing the two conditions
FeaturePrimalQuasiprimal
Discriminator is a term operationYesYes
SimpleYesYes
Proper subalgebrasNonePermitted
Non-trivial automorphismsNonePermitted
Inner isomorphismsonly identitiesmay be rich
Every operation a term operationYesOnly those preserving inner isomorphisms
Generated varietyequivalent to Boolean algebrasa discriminator variety

So primality is the case where the only inner isomorphisms are the identity maps, which makes the preservation condition vacuous and every operation a term operation. Pixley's theorem contains Foster's as the degenerate case.

04Generated varieties

A quasiprimal algebra generates a discriminator variety, and Jónsson's lemma pins down its subdirectly irreducibles precisely.

  1. The discriminator is a term operation
    So V(A) is a discriminator variety by definition, and inherits the whole structural package: arithmetical, semisimple, CEP, Boolean product representation.
  2. Jónsson's lemma applies
    V(A) is congruence-distributive and A is finite, so the subdirectly irreducibles lie in HS({A}).
  3. Quotients are trivial
    A is simple, so H({A}) contributes only A and the trivial algebra. The subdirectly irreducibles are therefore among the subalgebras of A.
  4. Conclusion
    The subdirectly irreducible members of V(A) are exactly the subalgebras of A on which the discriminator term still acts as the discriminator — a finite, computable list bounded by |A|.

Every member of V(A) is then a Boolean product of algebras from that finite list. The variety is completely described by a finite amount of data, which is as good as structure theory gets.

05Deciding quasiprimality in practice

The practical route is not Pixley's criterion but a direct search for a discriminator term.

ProcedureSearching for a discriminator term
in: finite algebra A → out: discriminator term or 'not quasiprimal'
  1. input: finite algebra A of finite type
  2. target: a ternary term t with t(a,b,c) = c when a = b, and = a when a ≠ b
  3. enumerate term operations of increasing depth:
  4. depth 0: projections
  5. depth k+1: apply each basic operation to depth-k term operations
  6. at each stage check whether any ternary term operation matches the target table
  7. the clone of a finite algebra is finite, so the search terminates
  8. output: a discriminator term, or a proof that none exists
Termination: the number of distinct ternary operations on A is |A|^(|A|³), finite, so generation stabilises. Caveat: that bound is astronomically large even for small A; practical implementations such as UACalc use much better search strategies and should be preferred to a naive enumeration.
CautionThe naive bound is not a usable algorithm

Quoting |A|^(|A|³) as the search space makes the procedure sound feasible for small algebras and it is not — for |A| = 4 that is already 4^64. Use a purpose-built tool. The sourcing policy page routes to the current ones.

06Where quasiprimality sits

The clone-theoretic hierarchy
ConditionClone requirementConsequence
Primalclone = all operationsV(A) ≃ Boolean algebras
Quasiprimalclone contains the discriminatorV(A) a discriminator variety
Functionally completepolynomial clone = all operationsA is simple with no proper subalgebras up to constants
Demi-semi-primal and variantsweaker conditionsstudied in the older literature
Arbitrary finite algebrano conditionno general structure theory

The older literature contains a proliferation of primality variants — semiprimal, demi-semi-primal, hemiprimal and others — most of which were absorbed once quasiprimality and the discriminator were identified as the right notions. The source treats quasiprimality as the central case and the earlier taxonomy as largely superseded.

Frequently asked

Can a quasiprimal algebra have non-trivial automorphisms?

Yes — that is precisely what distinguishes it from primality. The automorphisms are inner isomorphisms from A to itself, and Pixley's theorem says term operations must commute with them. A primal algebra is rigid; a quasiprimal one need not be.

Are all quasiprimal algebras finite?

The definition as usually stated is for finite algebras, and Pixley's theorem uses finiteness essentially. Infinite algebras with a discriminator term operation exist and generate discriminator varieties, but the characterisation via inner isomorphisms does not extend unchanged.

Is quasiprimality preserved by subalgebras?

A subalgebra of a quasiprimal algebra inherits the discriminator term, so the term still acts as the discriminator on it, making the subalgebra quasiprimal too. This is why the subdirectly irreducibles of the generated variety are exactly the subalgebras.

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

Discriminator VarietiesGuide · MathematicsNEXT LESSON →Functionally Complete AlgebrasGuide · MathematicsBoolean ProductsGuide · MathematicsSkew-free AlgebrasGuide · Mathematics