An ultraproduct is a structure obtained by identifying elements of a direct product of structures
that agree on a set of indices belonging to an ultrafilter.
To define it, let
be a formal language for first-order
logic, let
be an index set, and for each
, let
be a structure for
with underlying set
. Let
be an ultrafilter in the power set Boolean algebra
. On the Cartesian
product
,
define the equivalence relation
iff
. The universe of the ultraproduct
is the set of equivalence
classes for this relation. Its constants, relations, and operations are interpreted
as follows:
1. For each constant of
, the value of
is the equivalence
class of the family
.
2. For each -ary
relation
of
, the n-tuple
is in
iff the set
is a member of the
ultrafilter
.
3. For each -ary
operation
of
, and for each n-tuple
, the value of
is
.
The ultraproduct
of the family
is typically denoted
.