# Pseudoelementary class

In logic, a pseudoelementary class is a class of structures derived from an elementary class (one definable in first-order logic) by omitting some of its sorts and relations. It is the mathematical logic counterpart of the notion in category theory of (the codomain of) a forgetful functor, and in physics of (hypothesized) hidden variable theories purporting to explain quantum mechanics. Elementary classes are (vacuously) pseudoelementary but the converse is not always true; nevertheless pseudoelementary classes share some of the properties of elementary classes such as being closed under ultraproducts.

## Definition

A pseudoelementary class is a reduct of an elementary class. That is, it is obtained by omitting some of the sorts and relations of a (many-sorted) elementary class.

## Examples

* The theory with equality of sets under union and intersection, whose structures are of the form (W, ∪, ∩), can be understood naively as the pseudoelementary class formed from the two-sorted elementary class of structures of the form (A, W, ∪, ∩, ∈) where ∈ ⊆ A×W and ∪ and ∩ are binary operations (qua ternary relations) on W. The theory of the latter class is axiomatized by In the intended interpretation A is a set of atoms a,b,..., W is a set of sets of atoms X,Y,... and ∈ is the membership relation between atoms and sets. The consequences of these axioms include all the laws of distributive lattices. Since the latter laws make no mention of atoms they remain meaningful for the structures obtained from the models of the above theory by omitting the sort A of atoms and the membership relation ∈. All distributive lattices are representable as sets of sets under union and intersection, whence this pseudoelementary class is in fact an elementary class, namely the variety of distributive lattices. In this example both classes (respectively before and after the omission) are finitely axiomatizable elementary classes. But whereas the standard approach to axiomatizing the latter class uses nine equations to axiomatize a distributive lattice, the former class only requires the three axioms above, making it faster to define the latter class as a reduct of the former than directly in the usual way.
    ∀X,Y∈W.∀a∈A.[ a ∈ X∪Y ⇔ a ∈ X ∨ a ∈ Y]
    ∀X,Y∈W.∀a∈A.[ a ∈ X∩Y ⇔ a ∈ X ∧ a ∈ Y]
    ∀X,Y∈W.[ (∀a∈A.[a ∈ X ⇔ a ∈ Y]) → X = Y]
* The theory with equality of binary relations under union R∪S, intersection R∩S, complement R$^−$, relational composition R;S, and relational converse R$^{˘{\displaystyle{\breve{\}}}}$, whose structures are of the form (W, ∪, ∩, −, ;, $^{˘{\displaystyle{\breve{\}}}}$), can be understood as the pseudoelementary class formed from the three-sorted elementary class of structures of the form (A, P, W, ∪, ∩, −, ;, $^{˘{\displaystyle{\breve{\}}}}$, λ, ρ, π, ∈). The intended interpretation of the three sorts are atoms, pairs of atoms, and sets of pairs of atoms, π: A×;A → P and λ,ρ: P → A are the evident pairing constructors and destructors, and ∈ ⊆ P×;W is the membership relation between pairs and relations (as sets of pairs). By analogy with Example 1, the purely relational connectives defined on W can be axiomatized naively in terms of atoms and pairs of atoms in the customary manner of introductory texts. The pure theory of binary relations can then be obtained as the theory of the pseudoelementary class of reducts of models of this elementary class obtained by omitting the atom and pair sorts and all relations involving the omitted sorts. In this example both classes are elementary, but only the former class is finitely axiomatizable, though the latter class (the reduct) was shown by Tarski in 1955 to be nevertheless a variety, namely RRA, the representable relation algebras.
* A primitive ring is a generalization of the notion of simple ring. It is definable in elementary (first-order) language in terms of the elements and ideals of a ring, giving rise to an elementary class of two-sorted structures comprising rings and ideals. The class of primitive rings is obtained from this elementary class by omitting the sorts and language associated with the ideals, and is hence a pseudoelementary class. In this example it is an open question whether this pseudoelementary class is elementary.
* The class of exponentially closed fields is a pseudoelementary class that is not elementary.

## Applications

A quasivariety defined logically as the class of models of a universal Horn theory can equivalently be defined algebraically as a class of structures closed under isomorphisms, subalgebras, and reduced products. Since the notion of reduced product is more intricate than that of direct product, it is sometimes useful to blend the logical and algebraic characterizations in terms of pseudoelementary classes. One such blended definition characterizes a quasivariety as a pseudoelementary class closed under isomorphisms, subalgebras, and direct products (the pseudoelementary property allows "reduced" to be simplified to "direct").
A corollary of this characterization is that one can (nonconstructively) prove the existence of a universal Horn axiomatization of a class by first axiomatizing some expansion of the structure with auxiliary sorts and relations and then showing that the pseudoelementary class obtained by dropping the auxiliary constructs is closed under subalgebras and direct products. This technique works for Example 2 because subalgebras and direct products of algebras of binary relations are themselves algebras of binary relations, showing that the class RRA of representable relation algebras is a quasivariety (and a fortiori an elementary class). This short proof is an effective application of abstract nonsense; the stronger result by Tarski that RRA is in fact a variety required more honest toil.