1 Introduction
In [Reference Keisler9], Keisler introduced the notion of randomizing a (classical) structure
$\mathcal M$
, which is a structure whose elements are viewed as
$\mathcal M$
-valued random variables. Keisler’s initial construction was presented in classical logic; the construction was later transported by Ben Yaacov and Keisler [Reference Ben Yaacov and Keisler4] into the context of continuous logic. In [Reference Ben Yaacov2], Ben Yaacov showed how to further generalize the construction to allow for randomizations of continuous theories as well.
Randomizations are known to preserve many important model-theoretic phenomena, such as countable categoricity, stability (but not simplicity),
$\omega $
-stability, NIP, etc. (see [Reference Ben Yaacov1] for the last statement). In this article, we investigate to what extent the randomization construction interacts nicely with ideas from computable structure theory. More precisely, we investigate the question as to whether or not there is a connection between a (countable, classical) structure
$\mathcal {M}$
having a computable presentation and its Borel randomization
$\mathcal {M}^{[0,1)}$
having a computable presentation. We now roughly define the italicized terms in the previous sentence; precise definitions will be given in the next section.
Given a countable (classical) structure
$\mathcal {M}$
, a presentation of
$\mathcal {M}$
is a function
$\nu :\mathbb N\to \mathcal M$
, which we think of as a labeling of the elements of
$\mathcal {M}$
(perhaps with repetitions). The presentation is computable if, roughly speaking, the operations and predicates on
$\mathcal {M}$
lift to computable functions and subsets of
$\mathbb N$
. An analogous definition of presentation can be given to a separable metric structure, with the difference being that the presentation labels a countable set that generates a dense subset of the structure; such points are said to be the special points of the presentation while the points in the pre-substructure that they generate are said to be generated points. To say that this presentation is computable amounts to the fact that (again, roughly speaking) one can compute generated points that approximate operations applied to generated points (and a similar statement for predicates).
Given a classical countable structure
$\mathcal {M}$
, its Borel randomization
$\mathcal {M}^{[0,1)}$
is the set of function
$f:[0,1)\to \mathcal {M}$
such that, for each
$a\in \mathcal {M}$
, we have that
$f^{-1}(a)$
is a Borel subset of
$[0,1)$
. We consider the Borel randomization as a structure (technically speaking, pre-structure) in a two-sorted continuous language, with one sort for the
$\mathcal {M}$
-valued random variables in the previous sentence and another for the probability algebra of
$[0,1)$
; for each first-order formula
$\varphi (\vec x)$
with
$\vec x=(x_1,\ldots ,x_n)$
, there is a function symbol
$[\![ \varphi (\cdot )]\!] $
which maps a tuple
$\vec f$
of random variables to the event
$[\![ \varphi (\vec f)]\!] :=\{\omega \in [0,1) \ {:} \ \mathcal {M}\models \varphi (\vec f(\omega ))\}$
. The pseudometric on the random variable sorts is given by
$d(f,g):=\mu [\![ f\not =g]\!] $
and the pseudometric on the probability algebra is the usual one given by
$d(A,B):=\mu (A\triangle B)$
. The completion of this pre-structure is then a metric structure, which we also refer to as
$\mathcal {M}^{[0,1)}$
.
The naïve guess might be that
$\mathcal {M}$
has a computable presentation if and only if
$\mathcal {M}^{[0,1)}$
has a computable presentation.Footnote
1
However, such a naïve statement presents two issues. First of all, since a computable presentation of
$\mathcal {M}^{[0,1)}$
can approximate the measure of the event
$[\![ \varphi (\vec f)]\!] $
, where
$\varphi (\vec x)$
is any formula (which may have quantifiers), it seems likely that any conclusion drawn about a presentation of
$\mathcal {M}$
would show that it is not only computable, but rather decidable, which means that one can effectively determine the truth of any formula with parameters in
$\mathcal {M}$
(and not just the quantifier-free ones, whose truth can be verified relative to a computable presentation). Since there are classical structures that admit a computable presentation but no decidable presentation, it seems more sensible to ask if
$\mathcal {M}$
has a decidable presentation if and only if
$\mathcal {M}^{[0,1)}$
has a computable presentation. Another (but related) reason for changing the question is that any computable presentation of a randomization is automatically decidable. The reason for this is that randomizations have effective quantifier elimination (see Section 5), which essentially follows from the atomic formulae in the randomization language having classifical quantifiers embedded in them.
Considering the modified question, in one direction, given a decidable presentation of
$\mathcal {M}$
, we show how to construct a natural “induced” presentation on
$\mathcal {M}^{[0,1)}$
, which we then show is computable. However, in the converse direction, it is not clear to us how to extract a presentation (decidable or otherwise) of
$\mathcal {M}$
from an arbitrary presentation of
$\mathcal {M}^{[0,1)}$
. That being said, if we somehow have “computable access” to the constant functions in
$\mathcal {M}^{[0,1)}$
, then we can indeed recover a decidable presentation of
$\mathcal {M}$
. Our main result can thus roughly be stated as follows.
Theorem. For any classical, countable structure
$\mathcal {M}$
, we have that
$\mathcal {M}$
has a decidable presentation if and only if
$\mathcal {M}^{[0,1)}$
has a computable presentation for which the constant functions are uniformly computable points.
In general, we do not know if the previous theorem is valid without the assumption that the constant functions are uniformly computable points. However, we will present a condition on a structure
$\mathcal {M}$
, called being effectively recognizable, for which we can remove this assumption.
Corollary. Suppose that
$\mathcal {M}$
is an effectively recognizable structure. Then
$\mathcal {M}$
has a decidable presentation if and only if
$\mathcal {M}^{[0,1)}$
has a computable presentation.
For any structure
$\mathcal {M}$
, its expansion
$\mathcal {M}_M$
obtained by naming the elements of
$\mathcal {M}$
is automatically effectively recognizable. Since
$\mathcal {M}$
has a decidable presentation if and only if
$\mathcal {M}_M$
has a decidable presentation, we have the following corollary.
Corollary. For any classical, countable structure
$\mathcal {M}$
, we have that
$\mathcal {M}$
has a decidable presentation if and only if
$\mathcal {M}_M^{[0,1)}$
has a computable presentation.
As mentioned above, the notions of “computable presentation” and “decidable presentation” coincide for
$\mathcal {M}^{[0,1)}$
, whence one may obtain more symmetric statements in the previous two results by replacing “computable” by “decidable.”
We also consider the question as to when
$\mathcal {M}^{[0,1)}$
is computably categorical, that is, when
$\mathcal {M}^{[0,1)}$
has a unique computable presentation (up to computable isomorphism). In Section 4, we establish the following.
Theorem. If
$\mathcal M$
is effectively
$\omega $
-categorical, then
$\mathcal {M}^{[0,1)}$
is computably categorical.
For the definition of effectively
$\omega $
-categorical structure, see Definition 4.7. The previous theorem includes the special case that
$\mathcal M$
is the two-element set with no further structure, whence we conclude that the unique atomless probability algebra is computably categorical, a result of interest in its own right.Footnote
2
In the final section, we show that any randomization admits effective quantifier-elimination. Quantifier-elimination for randomizations was first proven by Keisler in [Reference Keisler9] in his original presentation of randomizations as structures in first-order logic. In [Reference Ben Yaacov and Keisler4], where randomizations were treated as metric structures, quantifier-elimination was simply claimed without proof (see [Reference Ben Yaacov and Keisler4, Theorem 2.9]), and a reference to Keisler’s original paper [Reference Keisler9] was quoted. Here, we elaborate on how one might carry out Keisler’s proof of quantifier-elimination in the continuous setting, while paying attention to effective matters. Our proof also seems to necessitate the appropriate notion of a definable family of definable subsets of a metric structure, the basics of which we elaborate in the course of proving the theorem. Since effective quantifier-elimination in continuous logic seems to not have appeared in the literature before, we begin Section 5 by developing some basics facts about the notion.
There is a notion of randomization of metric structures (see [Reference Ben Yaacov2]) and as well as an effective structure theory for metric structures (see [Reference Franklin, Goldbring and McNicholl7]). It would be interesting to extend the results of this article to cover the case of randomizations of computable presentations of metric structures; we leave this for a future project.
We assume that the reader is familiar with basic continuous logic; the canonical reference is [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3]. It would help if the reader was familiar with basic effective metric structure theory, although we develop the amount of this material that we need in the following section.
2 Preliminaries
2.1 Randomizations
Fix a countable first-order language L and a countable L-structure
$\mathcal {M}$
; for simplicity, let us assume that
$\mathcal {M}$
is one-sorted. We define a two-sorted, continuous pre-structure
$\mathcal {M}^{[0,1)}$
as follows:
-
• The first sort, which we denote by $\mathcal {K}$
, is the set of functions
$f:[0,1)\to \mathcal {M}$
such that, for each
$a\in \mathcal {M}$
, we have that
$f^{-1}(\{a\})$
is a Borel subset of
$[0,1)$
. We think of such a function as an
$\mathcal {M}$
-valued random variable. -
• The second sort is the probability algebra $\mathcal {B}$
associated with the probability space
$[0,1)$
equipped with its Lebesgue measure. We treat this sort as a structure in the usual continuous language for probability algebras, that is, with function symbols for the Boolean operations and a predicate symbol for Lebesgue measure. -
• For each L-formula $\varphi (x_1,\ldots ,x_n)$
, we include a distinguished function
$\mathcal {K}^n\to \mathcal {B}$
given by $$ \begin{align*}[\![\varphi(f_1,\ldots,f_n)]\!]:=\{\omega\in [0,1) \ : \ \mathcal{M}\models \varphi(f_1(\omega),\ldots,f_n(\omega)\}.\end{align*} $$
We let
$L^R$
denote the language for which
$\mathcal {M}^{[0,1)}$
is a
$L^R$
-pre-structure. We refer to
$\mathcal {M}^{[0,1)}$
as the Borel randomization of
$\mathcal {M}$
. We will also use
$\mathcal {M}^{[0,1)}$
to denote the completed structure and
$\mathcal K$
to denote the corresponding sort of the completion. We hope that this does not cause the reader any confusion. If we have the need to specify that an element of sort
$\mathcal K$
from
$\mathcal {M}^{[0,1)}$
belongs to the pre-structure described above, we will say that element is a random variable from
$\mathcal {M}^{[0,1)}$
.
We will need to recall one important fact about
$\mathcal {M}^{[0,1)}$
.
Fact 2.1. For every L-formula
$\varphi (x_1,\ldots ,x_n,y)$
, every
$f_1,\ldots ,f_n\in \mathcal {K}$
, and every
$\epsilon>0$
, there is
$g\in \mathcal {K}$
such that
In the sequel, we abuse terminology and view
$\mathcal {M}$
as a subset of
$\mathcal {M}^{[0,1)}$
by identifying each element of
$\mathcal {M}$
with the associated constant random variable in
$\mathcal {K}$
.
We borrow terminology from measure theory and write
$\sum _{i=1}^n a_i\chi _{I_i}$
for the random variable which, for each
$i=1,\ldots ,n$
, is constantly
$a_i$
on the Borel set
$I_i$
(and where we implicitly assume that the
$I_i$
’s are pairwise disjoint); we call such an element of
$\mathcal {K}$
a simple function.
2.2 Presentations of structures
Suppose that
$\mathcal {N}$
is a separable metric structure, which, for simplicity, we momentarily assume is one-sorted and of diameter at most
$1$
. By a presentation of
$\mathcal {N}$
we mean a countable sequence
$(a_j)_{j\in \mathbb {N}}$
from
$\mathcal {N}$
that generates
$\mathcal {N}$
(that is, the closure of the sequence under the interpretations of function symbols is dense in
$\mathcal {N}$
). We may denote a presentation of
$\mathcal {N}$
as a pair
$\mathcal {N}^{\#}:=(\mathcal {N},(a_j)_{j\in \mathbb {N}})$
. The points
$a_j$
are called special points of the presentation and the points in the closure of the special points under the function symbols are called generated points of the presentation. The definition in the many-sorted case is analogous. Moreover, we extend the terminology to cover the case of pre-structures (where the metric need not be complete).
Note that the previous definition applies also to the case that
$\mathcal {N}$
is a countable classical structure treated as a continuous structure by equipping it with the discrete metric. In this case, the generated points of the presentation comprise all of
$\mathcal {N}$
.
From now on, when considering presentations of metric structures, we implicitly assume that the signature for
$\mathcal {N}$
is computable, whence one can produce an effective enumeration of the generated points of a presentation
$\mathcal {N}^{\#}$
of
$\mathcal {N}$
.
In connection with the convention just established, note that if L is a computable classical language, then the corresponding randomization language
$L^R$
is also computable.
A presentation
$\mathcal {N}^\#$
of
$\mathcal {N}$
is called computable if there is an algorithm for which, upon input an n-ary predicate symbol P of the language, an n-tuple
$\vec a$
of generated points of
$\mathcal {N}^\#$
, and rational
$\epsilon>0$
, returns a real number r such that
$|P^{\mathcal {N}}(\vec a)-r|<\epsilon $
.
In connection with presentations of randomizations in the next section, we note that the probability algebra associated with
$[0,1)$
, which we denote by
$\mathcal {B}([0,1))$
, has a “standard presentation” which consists of all of open intervals with rational endpointsFootnote
3
; it is clear that this presentation is computable.
Definition 2.2. Suppose that
$\mathcal {N}_1$
and
$\mathcal {N}_2$
are two structures with presentations
$\mathcal {N}_1^\#$
and
$\mathcal {N}_2^\#$
, respectively. An embedding
$f:\mathcal {N}_1\to \mathcal {N}_2$
is called a computable map from
$\mathcal {N}_1^\#$
to
$\mathcal {N}_2^\#$
if there is an algorithm such that, upon input a generated point p of
$\mathcal {N}_1^\#$
and rational
$\epsilon>0$
, returns a generated point q of
$\mathcal {N}_2^\#$
such that
$d(f(p),q)<\epsilon $
.Footnote
4
If, in addition, f is invertible and
$f^{-1}$
is a computable map from
$\mathcal {N}_2^\#$
to
$\mathcal {N}_1^\#$
, then we say that f is a computable isomorphism; when a computable isomorphism exists between
$\mathcal {N}_1^\#$
and
$\mathcal {N}_2^\#$
we say that
$\mathcal {N}_1^\#$
and
$\mathcal {N}_2^\#$
are computably isomorphic.
Definition 2.3. Suppose that
$\mathcal {N}^\#$
is a presentation of
$\mathcal {N}$
.
-
(1) A sequence $(p_n)_{n\in \mathbb {N}}$
from
$\mathcal {N}$
is called a computable sequence of
$\mathcal {N}^\#$
if there is an algorithm such that, upon input
$n\in \mathbb {N}$
and rational
$\epsilon>0$
, returns a generated point q of
$\mathcal {N}^\#$
such that
$d(p_n,q)<\epsilon $
. -
(2) A closed subset $X\subseteq \mathcal {N}$
is a c.e. closed subset of
$\mathcal {N}^\#$
if the set of open balls of the form
$B(p;\epsilon )$
, with p a generated point and
$\epsilon>0$
a rational number, that intersect X is c.e.
An open ball as in the second item of the previous definition is called a rational open ball of
$\mathcal {N}^\#$
. If
$U=B(p;\epsilon )$
and
$V=B(q;\delta )$
are two such rational open balls of
$\mathcal {N}^\#$
, we say that U is formally included in V if
$d(p,q)+\epsilon <\delta $
.
Let us call a presentation
$\mathcal {N}^\#$
of
$\mathcal {N}$
weakly computable if there is an algorithm such that, upon inputs generated points p and q of
$\mathcal {N}^\#$
and rational
$\epsilon>0$
, returns a rational number r such that
$|d(p,q)-r|<\epsilon $
. Note that in case that
$\mathcal {N}$
is a classical structure equipped with the discrete metric, saying that
$\mathcal {N}^\#$
is weakly computable is equivalent to saying that the equality relation on the generated points is computable. Returning to our discussion of rational open balls, we note that if
$\mathcal {N}^\#$
is weakly computable, then the formal inclusion relation between rational open balls is c.e.
Following [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3, Section 6], the continuous functions generated by the unary functions
$0$
,
$1$
, and
$\frac {x}{2}$
and the binary function
$x\ \stackrel{.}{-}\ y$
by closing under composition are called restricted. A formula is called restricted if all connectives used in its formation are restricted.
If
$\mathcal {N}^\#$
is a computable presentation, then it follows that there is an algorithm such that, upon input a restricted quantifier-free formula
$\varphi (\vec x)$
, a tuple
$\vec f$
of generated points of
$\mathcal {N}^\#$
, and rational
$\epsilon>0$
, returns a rational number r such that
$|\varphi (\vec f)^{\mathcal {N}}-r|<\epsilon $
. If
$\mathcal {N}^\#$
satisfies the assertion of the previous sentence for all restricted formulae (and not just the quantifier-free ones), then we say that
$\mathcal {N}^\#$
is a decidable presentation of
$\mathcal {N}$
. In the case that
$\mathcal {N}$
is a classical structure with the discrete metric, this is equivalent to saying that one may decide whether or not
$\mathcal {N}\models \varphi (\vec f)$
for any formula
$\varphi (\vec x)$
and any generated tuple
$\vec f$
of
$\mathcal {N}^\#$
.
2.3 Presentations of randomizations
Fix a presentation
$\mathcal M^\#$
of
$\mathcal M$
. We obtain an induced presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
whose
$i^{\text {th}}$
special point is the random variable which is the simple function
$\sum _{j=1}^n a_j\chi _{I_j}$
, where i is the code for the finite sequence
$(i_1,\ldots ,i_n,J_1,\ldots ,J_n)$
,
$a_j$
is the
$i_j^{\text {th}}$
generated point of
$\mathcal {M}^\#$
, and where
$J_k$
is the
$k^{\text {th}}$
generated point of the standard presentation of
$\mathcal {B}([0,1))$
. Note that this is indeed a presentation of
$\mathcal {M}^{[0,1)}$
as such simple functions are dense in
$\mathcal {K}$
and all generated elements of the standard presentation of
$\mathcal {B}([0,1))$
are easily seen to be generated elements of
$(\mathcal {M}^{[0,1)})^\#$
; in fact, the presentation on
$\mathcal {B}([0,1))$
induced by
$(\mathcal {M}^{[0,1)})^\#$
is (computably isomorphic to) the standard presentation of
$\mathcal {B}([0,1))$
. Note also that, since there are no function symbols with co-domain
$\mathcal {K}$
, the special points and generated points in
$\mathcal {K}$
coincide; in fact, this comment holds for any presentation of
$\mathcal {M}^{[0,1)}$
. Finally note that the notions of computable presentation and weakly computable presentation coincide for randomizations as the only predicate symbol
$\mu $
is defined in terms of the distance to the bottom element of the probability algebra.
Definition 2.4. We say that a presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
is aware if
$\mathcal M$
is a c.e. closed set of
$(\mathcal {M}^{[0,1)})^\#$
.
Lemma 2.5. If
$\mathcal M^\#$
is a weakly computable presentation of
$\mathcal M$
, then the induced presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
is aware.
Proof. Given a special point
$f=\sum _{j=1}^n a_j \chi _{I_j}$
of
$(\mathcal {M}^{[0,1)})^\#$
and rational
$\epsilon>0$
, to see if
$B(f;\epsilon )$
intersects
$\mathcal M$
, one needs to check if there are indices
$j_1,\ldots ,j_t$
such that
$a_{j_1},\ldots ,a_{j_t}$
coincide and for which
$\sum _{p=1}^t \mu (I_{j_p})>\epsilon $
; this can be done since the presentation
$\mathcal M^\#$
is weakly computable.
Proposition 2.6. For an arbitrary computable presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
, the following are equivalent:
-
(1) $(\mathcal {M}^{[0,1)})^\#$
is aware. -
(2) There is an enumeration $(a_n)_{n\in \mathbb N}$
of
$\mathcal {M}$
that is a computable sequence of
$(\mathcal {M}^{[0,1)})^\#$
.
Proof. First suppose that
$\mathcal {M}$
is a c.e. closed set of
$(\mathcal {M}^{[0,1)})^\#$
. Since
$\mathcal {M}$
is a discrete subset of
$\mathcal {K}$
, it is closed. Now suppose that
$(U_n)_{n\in \mathbb {N}}$
is a c.e. enumeration of all of the rational open balls of
$(\mathcal {M}^{[0,1)})^\#$
of radius less than
$1/2$
that intersect
$\mathcal {M}$
. Let
$a_n$
be the unique element of
$\mathcal {M}$
in
$U_n$
. Then
$(a_n)_{n\in \mathbb {N}}$
is an enumeration of
$\mathcal {M}$
. To see that
$(a_n)_{n\in \mathbb {N}}$
is a computable sequence of
$(\mathcal {M}^{[0,1)})^\#$
, it suffices to note that, given
$n\in \mathbb {N}$
and
$\epsilon>0$
, one may search for the first m such that
$U_m$
is formally included in
$U_n$
and whose radius is less than
$\epsilon $
; it follows that the center q of
$U_m$
is a generated point of
$(\mathcal {M}^{[0,1)})^\#$
with
$d(a_n,q)<\epsilon $
.
Conversely, suppose that there is an enumeration
$(a_n)_{n\in \mathbb {N}}$
of
$\mathcal {M}$
that is a computable sequence of
$(\mathcal {M}^{[0,1)})^\#$
. To computably enumerate the rational open balls that intersect
$\mathcal {M}$
, it suffices to list, for each
$n\in \mathbb {N}$
and rational
$\epsilon>0$
, a generated point
$p_{n,\epsilon }$
of
$(\mathcal {M}^{[0,1)})^\#$
such that
$d(a_n,p_{n,\epsilon })<\epsilon $
, and then to include in the enumeration all rational open balls that formally include some
$B(p_{n,\epsilon };\epsilon )$
.
Definition 2.7. If
$(\mathcal {M}^{[0,1)})^\#$
is an aware presentation of
$\mathcal {M}^{[0,1)}$
, we define the induced presentation
$\mathcal M^{(\#)}$
of
$\mathcal M$
as follows: let
$(B(f_i;r_i))_{i\in \mathbb N}$
be an effective listing of the rational open balls of
$(\mathcal {M}^{[0,1)})^\#$
which intersect the constant functions and for which
$r_i<1/2$
. In this case,
$B(f_i;r_i)$
contains a unique constant random variable, which we declare to be the
$i^{\text {th}}$
special point of
$\mathcal {M}^{(\#)}$
.
In the context of the previous definition, note that the induced presentation
$\mathcal M^{(\#)}$
of
$\mathcal M$
is such that the presentation is an actual enumeration of
$\mathcal M$
, whence it is automatically weakly computable.
If one starts with a weakly computable presentation
$\mathcal {M}^\#$
of
$\mathcal M$
, then passes to the induced presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
, which is aware by Lemma 2.5, and then passes to the induced presentation
$\mathcal M^{(\#)}$
on
$\mathcal M$
, it is natural to compare
$\mathcal {M}^\#$
and
$\mathcal {M}^{(\#)}$
. The proof of the following lemma is left to the reader.
Lemma 2.8. In the above notation, the presentations
$\mathcal {M}^\#$
and
$\mathcal {M}^{(\#)}$
are computably isomorphic.
Now suppose that one starts with a computable aware presentation
$(\mathcal {M}^{[0,1)})^\#$
of
$\mathcal {M}^{[0,1)}$
, then passes to the induced presentation
$\mathcal {M}^{(\#)}$
of
$\mathcal {M}$
, and then to the corresponding induced presentation
$(\mathcal {M}^{[0,1)})^{(\#)}$
of
$\mathcal {M}^{[0,1)}$
; it is once again natural to compare
$(\mathcal {M}^{[0,1)})^\#$
and
$(\mathcal {M}^{[0,1)})^{(\#)}$
and we will again see that these presentation are computably isomorphic.
First, note that, for any automorphism
$\sigma $
of
$\mathcal {B}([0,1))$
there is an induced automorphism, also denoted by
$\sigma $
, on
$\mathcal {M}^{[0,1)}$
, given on random variables f by
$\sigma (f)(\omega ):=f(\sigma ^{-1}(\omega ))$
, where
$\sigma $
is any measure-preserving transformation of
$[0,1)$
that induces
$\sigma $
on
$\mathcal {B}([0,1))$
. If
$\varphi (x_1,\ldots ,x_n)$
is an L-formula and
$f_1,\ldots ,f_n$
are elements of
$\mathcal {K}$
, we clearly have
If
$(\mathcal {M}^{[0,1)})^\#$
is a presentation of
$\mathcal {M}^{[0,1)}$
, then we obtain a new presentation
$(\mathcal {M}^{[0,1)})^{\#,\sigma }$
of
$\mathcal {M}^{[0,1)}$
whose special points are those obtained by applying
$\sigma $
to the special points of
$(\mathcal {M}^{[0,1)})^\#$
. Note that
$\sigma $
is a computable isomorphism from
$(\mathcal {M}^{[0,1)})^\#$
to
$(\mathcal {M}^{[0,1)})^{\#,\sigma }$
if the original automorphism
$\sigma $
on the probability algebra was computable. The presentation
$\mathcal {B}([0,1))^{\#,\sigma }$
of
$\mathcal {B}([0,1))$
induced by
$(\mathcal {M}^{[0,1)})^{\#,\sigma }$
is that obtained by applying
$\sigma $
to the special points of
$\mathcal {B}([0,1))^\#$
. By computable categoricity of
$\mathcal {B}([0,1))$
(see Section 4), we obtain the following proposition.
Proposition 2.9. Any aware presentation of
$\mathcal {M}^{[0,1)}$
is computably isomorphic to one that induces the standard presentation on
$\mathcal {B}([0,1))$
.
Proposition 2.10. Suppose that
$(\mathcal {M}^{[0,1)})^\#$
is a computable aware presentation of
$\mathcal {M}^{[0,1)}$
. Let
$\mathcal M^{(\#)}$
be the induced presentation of
$\mathcal M$
which then induces the presentation
$(\mathcal {M}^{[0,1)})^{(\#)}$
on
$\mathcal {M}^{[0,1)}$
. Then
$(\mathcal {M}^{[0,1)})^\#$
is computably isomorphic to
$(\mathcal {M}^{[0,1)})^{(\#)}$
. Consequently, any computable aware presentation of
$\mathcal {M}^{[0,1)}$
is computably isomorphic to the induced presentation on
$\mathcal {M}^{[0,1)}$
from a presentation of
$\mathcal {M}$
(which will later be proven to be a decidable presentation of
$\mathcal {M})$
.
Proof. By Proposition 2.9, we may assume that the induced presentation on
$\mathcal {B}([0,1))$
is the standard presentation. Since the metric on the special points of
$(\mathcal {M}^{[0,1)})^\#$
is computable, it suffices to show that each special point of
$(\mathcal {M}^{[0,1)})^{(\#)}$
is uniformly a computable point of
$(\mathcal {M}^{[0,1)})^\#$
(for then the identity map on
$\mathcal {M}^{[0,1)}$
will be a computable isomorphism from
$(\mathcal {M}^{[0,1)})^{(\#)}$
to
$(\mathcal {M}^{[0,1)})^\#$
). So consider a special point f of
$(\mathcal {M}^{[0,1)})^{(\#)}$
, which is a simple function
$\sum _i a_i \chi _{I_i}$
, where
$I_i$
is an interval in
$[0,1)$
with rational endpoints. By the definition of
$\mathcal {M}^{(\#)}$
, we may search for special points
$f_i$
of
$(\mathcal {M}^{[0,1)})^\#$
such that
$d(a_i,f_i)$
is sufficiently small. We then search for a special point g of
$(\mathcal {M}^{[0,1)})^\#$
for which
$d([\![ g=f_i]\!] , I_i)$
is sufficiently close to
$\mu (I_i)$
for each
$i=1,\ldots ,n$
. It follows that g is a special point of
$(\mathcal {M}^{[0,1)})^\#$
close to f, as desired.
We suspect that the following question has a negative answer, but we have been unable to provide a counterexample.
Question 2.11. Are all computable presentations of
$\mathcal {M}^{[0,1)}$
aware?
3 Computable presentations of randomizations
Until further notice, we fix a presentation
$\mathcal M^\#$
of
$\mathcal M$
and let
$(\mathcal {M}^{[0,1)})^\#$
be the induced randomization of
$\mathcal {M}^{[0,1)}$
. If
$\varphi (\vec x)$
is an L-formula and
$\mathbf {d}$
is a Turing degree, let us say that
$\varphi (\vec x)$
is
$\mathbf {d}$
-computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
if there is an algorithm with oracle
$\mathbf {d}$
such that, upon inputs generated points
$\vec f$
of
$(\mathcal {M}^{[0,1)})^\#$
and
$\epsilon>0$
, returns a rational number q such that
$|\mu [\![ \varphi (\vec f)]\!] -q|<\epsilon $
. If the algorithm instead merely returns a non-decreasing sequence of rational lower bounds that converge to
$\mu [\![ \varphi (\vec f)]\!] $
, we say that
$\varphi (\vec x)$
is
$\mathbf {d}$
-left c.e. with respect to
$(\mathcal {M}^{[0,1)})^\#$
. Note that if
$\varphi (\vec x)$
is
$\mathbf {d}$
-left c.e. with respect to
$(\mathcal {M}^{[0,1)})^\#$
, then it is
$\mathbf {d}'$
-computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
.
Proposition 3.1. Suppose that
$\varphi (x,\vec y)$
is an L-formula that is
$\mathbf {d}$
-computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
. Then
$\exists x\varphi (x,\vec y)$
is
$\mathbf {d}$
-left c.e. with respect to
$(\mathcal {M}^{[0,1)})^\#$
.
Proof. By Fact 2.1, the events
$[\![ \varphi (f,\vec g)]\!] $
approximate
$[\![ \exists x\varphi (x,\vec g)]\!] $
arbitrarily well from within; the result now follows from the assumption that
$\varphi (x,\vec y)$
is
$\mathbf {d}$
-computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
.
Proposition 3.2. If
$\mathcal M^\#$
is a computable presentation of
$\mathcal {M}$
, then any quantifier-free L-formula
$\varphi (\vec x)$
is computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
. Moreover, an algorithm witnessing that
$\varphi (\vec x)$
is computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
can be obtained from an algorithm witnessing that
$\mathcal {M}^\#$
is a computable presentation of
$\mathcal {M}$
.
Proof. Suppose
$\vec x=(x_1,\ldots ,x_n)$
and consider a tuple
$\vec f=(f_1,\ldots ,f_n)$
of special points of
$(\mathcal {M}^{[0,1)})^\#$
. Write
$f_i=\sum _j a_{ij}\chi _{I_{ij}}$
. Set
since
$\mathcal M^\#$
is computable, we see that X can be computed from
$\varphi $
and
$\vec f$
; it then follows that
$\mu [\![ \varphi (\vec f)]\!] =\sum _{(j(1),\ldots ,j(n))\in X}\mu (I_{1j(1)}\cap \cdots \cap I_{nj(n)})$
, which can then be effectively approximated.
Corollary 3.3. If
$\mathcal M^\#$
is computable, then
$(\mathcal {M}^{[0,1)})^\#$
is
$\mathbf {0}^{(\omega )}$
-computable.
In Proposition 3.2, if we assume that
$\mathcal {M}^\#$
is a decidable presentation of
$\mathcal {M}$
, then the same proof shows that all L-formulae are computable with respect to
$(\mathcal {M}^{[0,1)})^\#$
and in a uniform manner. In other words, we have the following improvement of Corollary 3.3.
Corollary 3.4. If
$\mathcal M^\#$
is decidable, then
$(\mathcal {M}^{[0,1)})^\#$
is computable.
As stated in Section 1, since
$\mathcal {M}^{[0,1)}$
has effective quantifier-elimination (see Section 5), there is no difference between a computable presentation of
$\mathcal {M}^{[0,1)}$
and a decidable one. Consequently, the previous corollary could be restated in a more symmetric fashion: if
$\mathcal {M}^\#$
is decidable, then
$(\mathcal {M}^{[0,1)})^\#$
is decidable.
We can now obtain a partial converse to the previous corollary, which is one of the main results of this article.
Theorem 3.5.
$\mathcal M$
has a decidable presentation if and only if
$\mathcal {M}^{[0,1)}$
has an aware computable presentation.
Proof. If
$\mathcal M$
has a decidable presentation, then the induced presentation on
$\mathcal {M}^{[0,1)}$
is aware by Lemma 2.5 and computable by Corollary 3.4.
Conversely, suppose that
$(\mathcal {M}^{[0,1)})^\#$
is a computable aware presentation of
$\mathcal {M}^{[0,1)}$
. By Proposition 2.10, we may assume that
$(\mathcal {M}^{[0,1)})^\#$
is the presentation induced by a presentation
$\mathcal {M}^\#$
of
$\mathcal {M}$
. In order to show that
$\mathcal {M}^\#$
is decidable, fix an arbitrary formula
$\varphi (\vec x)$
and tuple
$\vec a$
of generated points of
$\mathcal {M}^\#$
. Since
$\vec a$
can also be construed as a tuple of generated points of
$(\mathcal {M}^{[0,1)})^\#$
(and whose
$(\mathcal {M}^{[0,1)})^\#$
-indices can be computed from their
$\mathcal {M}^\#$
-indices), we can approximate
$\mu [\![ \varphi (\vec a)]\!] $
to within
$1/2$
; since the value of
$\mu [\![ \varphi (\vec a)]\!] $
is either
$1$
or
$0$
, depending on whether or not
$\mathcal {M}\models \varphi (\vec a)$
, this allows us to decide the latter statement.
The proof of the second half of the preceding corollary ultimately relied on the computable categoricity of
$\mathcal {B}([0,1))$
. The reader might appreciate an argument which avoids this result, which goes as follows. Maintain the notation in the previous proof. Recall that we have a c.e. enumeration
$B(f_k;r_k)$
of all of the rational open balls intersecting
$\mathcal {M}$
. Suppose that each constant element
$a_k$
was first found as being contained in the rational open ball
$B(f_{i_k};r_{i_k})$
. Now for each
$k=1,\ldots ,n$
, find
$j_k\in \mathbb N$
such that
$r_{j_k}$
is sufficiently small and for which
$B(f_{j_k};r_{j_k})$
is formally included in
$B(f_{i_k},r_{i_k})$
; note that
$a_k$
is the unique constant function in
$B(f_{j_k};r_{j_k})$
. By assumption, one can approximate
$\mu [\![ \varphi (f_{j_1},\ldots ,f_{j_k})]\!] $
arbitrarily well; if each
$r_{j_1},\ldots ,r_{j_n}$
is sufficiently small, then there is a large measure set of
$\omega \in [0,1)$
for which
$f_{j_k}(\omega )=a_k$
for all
$k=1,\ldots ,n$
; consequently,
$\mu [\![ \varphi (f_{j_1},\ldots ,f_{j_k})]\!] $
should be close to
$1$
or
$0$
, allowing one to decide whether or not
$\mathcal {M}\models \varphi (\vec a)$
.
The following question is related to Question 2.11 above.
Question 3.6. Can one drop the “awareness” assumption in the previous theorem?
One idea we had concerning the previous question was to find structures
$\mathcal M$
and
${\mathcal {N}}$
such that
$\mathcal M$
has a decidable presentation,
${\mathcal {N}}$
has a computable presentation but no decidable presentation, and satisfying
$\mathcal {M}^{[0,1)}\cong \mathcal {N}^{[0,1)}$
. In this case,
$\mathcal {N}^{[0,1)}$
would have a computable presentation, showing that one could not drop the awareness assumption in the previous theorem. However, this attempt is doomed to fail as one can show that
$\mathcal {M}^{[0,1)}\cong \mathcal {N}^{[0,1)}$
implies that
$\mathcal {M}\cong \mathcal {N}$
. Indeed, if
$\varphi $
is the Scott sentence for
$\mathcal {M}$
, then given that Borel randomizations and
$L_{\omega _1,\omega }$
formulae interact properly (see [Reference Keisler and Iovino10]), from
$\mathcal {M}^{[0,1)}\cong \mathcal {N}^{[0,1)}$
and the fact that
$\mathcal {M}^{[0,1)}\models [\![ \varphi ]\!] $
, one concludes that
$\mathcal {N}^{[0,1)}\models [\![ \varphi ]\!] $
and thus
$\mathcal {N}\models \varphi $
, whence
$\mathcal {M}\cong \mathcal {N}$
.
In certain circumstances, any computable presentation of
$\mathcal {M}^{[0,1)}$
is automatically aware. We isolate one such situation here.
Definition 3.7. We say that
$\mathcal {M}$
is effectively recognizable if there is a presentation
$\mathcal {M}^\#$
of
$\mathcal {M}$
for which there is an algorithm such that, upon input a generated point a of
$\mathcal {M}^\#$
returns an L-formula
$\varphi _a(x)$
such that
$\varphi _a(\mathcal {M})=\{a\}$
. In this case, we call such a presentation
$\mathcal {M}^\#$
an effectively recognizable presentation.
Examples 3.8.
-
(1) The standard presentation of the field $\mathbb {R}_{\operatorname {alg}}$
of real algebraic numbers is effectively recognizable. Indeed, given a generated point a of
$\mathbb {R}_{\operatorname {alg}}$
, one first searches for a polynomial
$f(x)\in \mathbb {Q}[x]$
such that
$f(a)=0$
. Suppose that f has n distinct roots in
$\mathbb {R}_{\operatorname {alg}}$
. Using effective quantifier elimination for real closed fields, one can then effectively determine the unique
$i\in \{1,\ldots ,n\}$
such that
$a=a_i$
. The formula
$\psi _a(x)$
then asserts that x is the
$i^{\text {th}}$
solution of f. -
(2) For any L-structure $\mathcal {M}$
, its expansion
$\mathcal {M}_M$
obtained by naming all constants in
$\mathcal {M}$
is effectively recognizable.
Lemma 3.9. If
$\mathcal {M}^\#$
is an effectively recognizable presentation, then the presentation
$(\mathcal {M}^{[0,1)})^\#$
is aware if it is computable.
Proof. Suppose that
$B(f;\epsilon )$
is a rational open ball and a is a generated point of
$\mathcal {M}$
with corresponding formula
$\varphi _a(x)$
. One then proceeds to approximate
$\mu [\![ \varphi _a(\vec f)]\!] $
; if one finds that this measure exceeds
$1-\epsilon $
, this implies that
$f(\omega )=a$
for a set of
$\omega $
’s of measure at least
$1-\epsilon $
, that is,
$d(f,a)<\epsilon $
, whence one returns this ball
$B(f;\epsilon )$
as intersecting
$\mathcal {M}$
.
4 Computable categoricity of certain randomizations
In this section, we prove that
$\mathcal {M}^{[0,1)}$
is computably categorical when
$\mathcal M$
is “effectively
$\omega $
-categorical”, a notion that we define below. As a warm-up, we treat the special case that
$\mathcal M$
is the two-element set with no extra structure, which yields that
$\mathcal {B}([0,1))$
, is computably categorical, a result of interest in its own right. We note that this result can be proven by modifying the techniques in [Reference Clanin, McNicholl and Stull5]; here we give a direct proof that will generalize to a larger class of randomizations.
Suppose that
$\vec A=(A_1,\dots ,A_m)$
is a tuple from
$\mathcal {B}([0,1))$
and
$p(x)\in S_1(\vec A)$
. By quantifier-elimination for atomless probability algebras [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3, Proposition 16.6], setting
$n=2^m$
, there are
$r_1,\dots ,r_n\in [0,1]$
, such that, for any
$C\in \mathcal {B}([0,1))$
, we have that C realizes
$p(x)$
if and only if
Here, we interpret
$A^1=A$
and
$A^0=[0,1)\setminus A$
.
Set
$\psi _p(x,\vec A)$
to be the formula
so
$C\in \mathcal {B}([0,1))$
realizes
$p(x)$
if and only if
$\psi _p(C,\vec A)=0$
; in other words,
$\psi _p$
isolates p. We first show that
$\psi _p(x,\vec A)$
isolates p in an effective way.
Lemma 4.1. For any
$\epsilon>0$
and
$B\in \mathcal {B}([0,1))$
for which
$\psi _p(B, \vec A)<\dfrac {\epsilon }{n}$
, there is
$B'\in \mathcal {B}([0,1))$
such that
$B'$
realizes p and
$d(B,B')<\epsilon $
.
Proof. Suppose that
$\psi _p(B, \vec A)<\dfrac {\epsilon }{n}$
. For each
$i=1,\dots ,n$
, do the following:
-
i) If $\mu (B\cap A_1^{i(1)}\cap \dots \cap A_m^{i(m)})-r_i>0$
, set $$ \begin{align*}B_i'=(B\cap A_1^{i(1)}\cap\dots\cap A_m^{i(m)})\backslash D_i,\end{align*} $$
where $D_i\kern1.3pt{\subseteq}\kern1.3pt B\cap A_1^{i(1)}\cap \dots \cap A_m^{i(m)}$
and
$\mu (D_i)\kern1.3pt{=}\kern1.3pt\mu (B\kern1.3pt{\cap}\kern1.3pt A_1^{i(1)}\cap \dots \cap A_m^{i(m)}) \kern1.3pt{-}\kern1.3pt r_i.$
-
ii) If $\mu (B\cap A_1^{k_1(i)}\cap \dots \cap A_m^{k_m(i)})-r_i<0$
, set $$ \begin{align*}B_i'=(B\cap A_1^{i(1)}\cap\dots\cap A_m^{i(m)})\cup D_i,\end{align*} $$
where $D_i\subseteq A_1^{i(1)}\cap \dots \cap A_m^{i(m)}$
,
$D_i\cap (B\cap A_1^{i(1)}\cap \dots \cap A_m^{i(m)})=\emptyset $
, and
$\mu (D_i)=r_i-\mu (B\cap A_1^{i(1)}\cap \dots \cap A_m^{i(m)}).$
-
iii) If $\mu (B\cap A_1^{i(1)}\cap \dots \cap A_m^{i(m)})-r_i=0$
, set $$ \begin{align*}B_i'=B\cap A_1^{i(1)}\cap\dots\cap A_m^{i(m)}.\end{align*} $$
Set
$B'=\displaystyle \bigcup _{i=1}^nB_i'\in \mathcal {B}([0,1))$
. By construction,
$B'$
realizes p. Furthermore, note that
Lemma 4.2. Suppose that
$\mathcal {B}([0,1))^\#$
is a computable presentation of
$\mathcal {B}([0,1))$
,
$\vec A$
a tuple of
$\mathcal {B}([0,1))^\#$
-computable elements of
$\mathcal {B}([0,1))$
, and
$p(x)\in S_1(\vec A)$
. Further suppose that the corresponding real numbers
$r_1,\ldots ,r_n$
are computable real numbers. Then the set of realizations of p in
$\mathcal {B}([0,1))$
is a c.e. closed subset of
$\mathcal {B}([0,1))^\#$
. Moreover, an index for the set of realizations of p can be computed from indices for
$A_1,\ldots ,A_m$
and
$r_1,\ldots ,r_n$
.
Proof. Let
$\mathcal {G}$
denote the set of generated points of
$\mathcal {B}([0,1))^\#$
. Let
$\Omega $
denote the set of realizations of p, so
$\Omega =\{E\in \mathcal {B}([0,1))\ : \ \psi _p(E,\vec A)=0\}.$
We now describe an algorithm which enumerates all pairs
$(C,\epsilon )$
, where
$C\in \mathcal G$
and
$\epsilon>0$
is rational, for which
$B(C,\epsilon )\cap \Omega \neq \emptyset $
.
We first note that, since
$\vec A$
is computable, given rational
$\delta>0$
, one can compute a tuple of generated points
$\vec A_\delta $
such that
$d(\vec A,\vec A_\delta )<\Delta _{\psi _p}(\delta )$
Footnote
5
, and thus, for every
$C\in \mathcal G$
, we have
$|\psi _p(C,\vec A)-\psi _p(C,\vec A_\delta )|<\delta .$
Here is the desired algorithm: for each pair
$(C,\epsilon )$
as above, we infinitely often return to considering this pair by searching for
$D\in \mathcal G$
and rational
$\delta>0$
such that
$d(C,D)<\epsilon $
and
$\psi _p(D,\vec A_\delta )+\delta <(\epsilon -d(C,D))/2^{|\vec A|}.$
Note that we can indeed effectively approximate
$\psi _p(D,\vec A_\delta )$
since the presentation is computable.
First suppose we find such D and
$\delta $
; we need to know that
$B(C,\epsilon )\cap \Omega \not =\emptyset $
. We know that
$\psi _p(D,\vec A)<(\epsilon -d(C,D))/2^{|\vec A|}$
and thus, by Lemma 4.1, there is
$D'\in \Omega $
such that
$d(D,D')<\epsilon -d(C,D)$
; it follows that
and so
$D'\in B(C,\epsilon )\cap \Omega $
.
We now need to verify that if
$B(C,\epsilon )\cap \Omega \not =\emptyset $
, then this algorithm will eventually let us know this fact. Take
$E\in B(C,\epsilon )\cap \Omega $
. Since
$\psi _p(E,\vec A)=0$
, there is
$D\in \mathcal G$
such that
$d(C,D)<\epsilon $
and
$\psi _p(D,\vec A)<\eta /2^{|\vec A|}$
for rational
$\eta <\epsilon -d(C,D)$
; it follows that, for sufficiently small
$\delta $
, that
$\psi _p(D,\vec A_\delta )+\delta <\epsilon -d(C,D)$
and our search will succeed.
Note finally that the uniformity statement holds by the description of the algorithm.
The following is a general fact from effective metric structure theory (see [Reference Eagle, Goldbring, McNicholl and Miller6, Lemma 1.10]).
Fact 4.3. Suppose that
${\mathcal {N}}^\#$
is a computable presentation of a metric structure
${\mathcal {N}}$
. Then every nonempty c.e. closed subset X of
${\mathcal {N}}^\#$
contains a computable point; moreover, an index for the computable point can be computed from an index for X.
Theorem 4.4.
$\mathcal {B}([0,1))$
is computably categorical.
Proof. Fix computable presentations
$\mathcal {B}([0,1))^\#$
and
$\mathcal {B}([0,1))^\dagger $
of
$\mathcal {B}([0,1))$
. Let
$(A_n)$
and
$(B_n)$
be effective enumerations of the generated points of
$\mathcal {B}([0,1))^\#$
and
$\mathcal {B}([0,1))^\dagger $
, respectively. We effectively build a sequence
$(\phi _n)$
of partial elementary maps from
$\mathcal {B}([0,1))$
to
$\mathcal {B}([0,1))$
, where each domain is finite and such that:
-
• For each n, $\phi _n\subseteq \phi _{n+1}$
. -
• If $n=2s$
, then
$A_s$
is in the domain of
$\phi _n$
. -
• If $n=2s+1$
, then
$B_s$
is in the range of
$\phi _n$
. -
• The domain of $\phi _n$
is a finite tuple of
$\mathcal {B}([0,1))^\#$
-computable points, and the codes of these points can be computed from n. -
• The range of $\phi _n$
is a finite tuple of
$\mathcal {B}([0,1))^\dagger $
-computable points, and the indices of these points can be computed from n.
Suppose that
$\phi _{n-1}$
has been defined. We treat only the case
$n=2s$
, the other case being handled similarly. Let
$\{C_1,\ldots ,C_{n-1}\}$
denote the domain of
$\phi _{n-1}$
. Let
$p_0(x)=\operatorname {tp}(A_s/\vec C)$
and let
$p(x):=\phi _{n-1}(p_0)$
; in other words,
$p\in S_1(\phi _{n-1}(\vec C))$
is the type determined by the formula
$\psi _p(x)$
obtained by replacing each occurrence of
$C_i$
with
$\phi _{n-1}(C_i)$
; since
$\phi _{n-1}$
is partial elementary, p is indeed a consistent type. Note also that the real numbers in
$\psi _p$
are computable, and their indices can be computed from n and indices for
$C_1,\ldots ,C_{n-1}$
, which, by induction, are computable from
$n-1$
. By countable saturation, p is realized in
$\mathcal {B}([0,1))$
. By Lemma 4.2 and Fact 4.3, we can compute the index of a
$\mathcal {B}([0,1))^\dagger $
-computable point D that realizes p, and we define
$\phi _n:=\phi _{n-1}\cup \{(A_s,D)\}$
.
Set
$\Phi _0:=\bigcup _n \phi _n$
. Then
$\Phi _0$
is a partial elementary map from
$\mathcal {B}([0,1))$
to
$\mathcal {B}([0,1))$
with dense domain and range. It follows that
$\Phi _0$
extends to an automorphism
$\Phi $
of
$\mathcal {B}([0,1))$
. Moreover, by construction, the
$\Phi $
-image of each
$\mathcal {B}([0,1))^\#$
-rational point is uniformly
$\mathcal {B}([0,1))^\dagger $
-computable, whence
$\Phi $
is a computable isomorphism.
We now proceed to generalize this argument to certain randomizations
$\mathcal {M}^{[0,1)}$
. Fix a Borel randomization
$\mathcal {M}^{[0,1)}$
, a tuple
$\vec f=(f_1,\ldots ,f_n)\in \mathcal K$
, and a 1-type
$p\in S_1(\vec f)$
. By quantifier-elimination for randomizations (see the next section for an effective version), the type
$p(\vec X)$
is determined by the values of the formulae
$\mu [\![ \varphi (X,\vec f)]\!] $
as
$\varphi (x,y_1,\ldots ,y_n)$
ranges over all L-formulae. In general, this is an infinite amount of information and an argument as in the case of
$\mathcal {B}([0,1))$
is not possible.
However, if we assume that
$\mathcal M$
is
$\omega $
-categorical, then we can reduce this amount of information to a single formula. Indeed, let
$\theta _i(x,\vec y)$
,
$i=1,\ldots ,m$
, isolate the finitely many elements of
$S_{n+1}(\operatorname {Th}(\mathcal M))$
. Then p is determined by the formulae
$\mu [\![ \theta _i(X,\vec f)]\!] $
for
$i=1,\ldots ,m$
.Footnote
6
In other words, there are real numbers
$r_1,\ldots ,r_m$
such that, setting
$\psi _p(X,\vec Y)$
to be
we have that
$g\in \mathcal K$
realizes p if and only if
$\psi _p(g,\vec f)=0$
. Moreover, just as in the case of
$\mathcal {B}([0,1))$
, we have the following lemma.
Lemma 4.5. For any
$\epsilon>0$
and
$g\in \mathcal K$
, if
$\psi _p(g,\vec f)<\frac {\epsilon }{m}$
, then there is
$g'\in \mathcal K$
such that
$g'$
realizes p and
$d(g,g')<\epsilon $
.Footnote
7
Lemma 4.6. Suppose that
$(\mathcal {M}^{[0,1)})^\#$
is a computable presentation of
$\mathcal {M}^{[0,1)}$
,
$\vec f$
a tuple of
$(\mathcal {M}^{[0,1)})^\#$
-computable elements of
$\mathcal {M}^{[0,1)}$
, and
$p(X)\in S_1(\vec f)$
. Further suppose that the corresponding real numbers
$r_1,\ldots ,r_m$
are computable real numbers. Then the set of realizations of p in
$\mathcal {M}^{[0,1)}$
is a c.e. closed subset of
$(\mathcal {M}^{[0,1)})^\#$
. Moreover, an index for the set of realizations of p can be computed from indices for
$f_1,\ldots ,f_m$
and
$r_1,\ldots ,r_m$
.
In order to carry out the back-and-forth argument as in the proof of Theorem 4.4, we need to add one extra condition to
$\mathcal M$
.
Definition 4.7. Let
$\mathcal M$
be a classical
$\omega $
-categorical structure. We say that
$\mathcal M$
is effectively
$\omega $
-categorical if there is an algorithm such that, upon input
$n\in \mathbb N$
, returns a finite list of formulae
$\theta _1,\ldots ,\theta _m$
that isolate the finitely many elements of
$S_{n+1}(T)$
.
Example 4.8. If
$\mathcal M$
is a structure in a finite relational language with quantifier elimination, then
$\mathcal M$
is effectively
$\omega $
-categorical.
The reason we need to assume that
$\mathcal M$
is effectively
$\omega $
-categorical is the following. Work in the notation of the proof of Theorem 4.4 (but adapted to the context of randomizations). We have at this point constructed a partial elementary map
$\phi _{n-1}$
with domain
$\{f_1,\ldots ,f_{n-1}\}$
, a finite set of
$(\mathcal {M}^{[0,1)})^\#$
-computable points whose indices can be computed from
$n-1$
; we wish to add a
$(\mathcal {M}^{[0,1)})^\#$
-generated point g to the domain. We consider
$p_0(X):=\operatorname {tp}(g/\vec f)$
and set
$p(X):=\phi _{n-1}(p_0)$
. In order to find a
$(\mathcal {M}^{[0,1)})^\dagger $
code for the set of realizations of p, we need to compute the formula that isolates
$p_0$
, that is, we need to be able to compute the finite set of formulae isolating the relevant set of types in
$\operatorname {Th}(\mathcal M)$
. This is precisely what effective
$\omega $
-categoricity affords us. Thus, we may repeat the proof of Theorem 4.4 mutatis mutandis, obtaining the following theorem.
Theorem 4.9. Suppose that
$\mathcal M$
is an effectively
$\omega $
-categorical theory. Then
$\mathcal {M}^{[0,1)}$
is computably categorical.
We should point out that, in the context of the previous theorem,
$\mathcal {M}^{[0,1)}$
does indeed have a computable presentation, whence the theorem is not vacuous. Indeed, if
$\mathcal M$
is
$\omega $
-categorical, then it has a decidable presentation, whence the induced presentation on
$\mathcal {M}^{[0,1)}$
is computable by Corollary 3.3 above.
5 Effective quantifier-elimination for randomizations
In this section, we prove that every theory of randomizations (in a computable language) admits effective quantifier elimination. Since effective quantifier elimination seems not to have been considered before in continuous logic, we begin by defining the notion precisely and establishing some preliminary lemmas.
Definition 5.1. Suppose that T is a continuous theory in a computable language. We say that T has effective quantifier-elimination if there is an algorithm such that, upon input a restricted formula
$\varphi (\vec x)$
and rational
$\epsilon>0$
, returns a quantifier-free restricted formula
$\psi (\vec x)$
such that
$\|\varphi -\psi \|_T<\epsilon $
.
Here, given arbitrary formulae
$\varphi $
and
$\psi $
in the language for T, we define
Our goal in this section is to prove the following theorem.
Theorem 5.2. Suppose that L is a classical computable language. Then for any L-structure
$\mathcal M$
, the complete theory of
$\mathcal {M}^{[0,1)}$
has effective quantifier-elimination via an algorithm that depends only on L (and not on
$\mathcal M$
).
We begin by developing a useful test for effective quantifier-elimination.
Lemma 5.3. Suppose that there is an algorithm such that, upon input a restricted quantifier-free formula
$\varphi (x,\vec y)$
and
$\epsilon>0$
, returns a restricted quantifier-free formula
$\psi (\vec y)$
such that
Then T admits effective quantifier-elimination.
Proof. Suppose a restricted formula
$\varphi (\vec x)$
and rational
$\epsilon>0$
are given. First note that the procedure for converting a restricted formula into an equivalent restricted formula in prenex normal form is effective (see [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3, Proposition 6.9]), whence we may assume that
$\varphi $
is itself in prenex normal form. Write
with
$\psi (\vec x,\vec y)$
a quantifier-free restricted formula. By assumption, we may find a quantifier-free restricted formula
$\psi _1(\vec x,y_1,\ldots ,y_{m-1})$
such that
Similarly, one can find a quantifier-free restricted formula
$\psi _2(\vec x,y_1,\ldots ,y_{m-2})$
such that
Continuing in this way, we obtain a sequence of quantifier-free restricted formula
$\psi _1(\vec x,y_1,\ldots ,y_{m-1}),\ldots ,\psi _m(\vec x)$
. It follows that
$\|\varphi (\vec x)-\psi _m(\vec x)\|_T<\epsilon $
.
Our next goal is to establish the fact that atomless probability algebras admit effective quantifier elimination. Before doing so, we need a few preparatory results. The first one is well-known and follows from the proof of the corresponding classical fact.
Lemma 5.4. There is an algorithm such that, upon input
$n\geq 1$
and a code for a computable continuous function
$u:[0,1]^n\to [0,1]$
, returns a code for a modulus of uniform continuity for u.
Lemma 5.5. There is an algorithm such that, upon input a computable continuous function
$u:[0,1]^n\to [0,1]$
and rational
$\epsilon>0$
, returns a restricted function
$v:[0,1]^n\to [0,1]$
such that
$\|u-v\|_\infty <\epsilon $
.
Proof. Given a restricted function v, find
$n\in \mathbb N$
such that
For each
$k=1,\ldots ,2^n$
, find open intervals
$I_k,J_k\subseteq [0,1]$
with rational endpoints of length at most
$\epsilon /6$
such that
$u(k/2^n)\in I_k$
and
$v(k/2^n)\in J_k$
. The algorithm then checks if
if the answer is yes, then the algorithm returns
$\nu $
as the desired restricted function. To see that
$\nu $
is as claimed, note that, for any
$x\in [k/2^n,(k+1)/2^n)$
, we have
Also note that, if
$\nu $
is such that
$\|u-v\|_\infty <\epsilon /6$
, then indeed
$(\dagger )$
above holds, so the algorithm always terminates.
For a continuous function
$u:[0,1]^n\to [0,1]$
, define
$\min (u):[0,1]^n\to [0,1]$
by
$\min (u)(r_1,\ldots ,r_n):=\min \{u(s_1,\ldots ,s_n) \ : \ s_i\leq r_i \ i=1,\ldots ,n\}$
. Then
$\min (u)$
is itself a continuous function. Moreover, we have the following result, whose straightforward proof we leave to the reader.
Lemma 5.6. If u is computable, then so is
$\min (u)$
. Moreover, there is an algorithm such that, upon input the code for a computable continuous function
$u:[0,1]^n\to [0,1]$
, returns a code for
$\min (u)$
.
Theorem 5.7. The theory of atomless probability algebras admits effective quantifier-elimination.
Proof. Let T denote the theory of atomless probability algebras. We apply the test described in Lemma 5.3. Suppose that
$\varphi (x,\vec y)$
and
$\epsilon>0$
are given. Write
$\vec y=(y_1,\ldots ,y_n)$
. Without loss of generality, we may write
where
$u:[0,1]^{2^n}\to [0,1]$
is a restricted function and
$\vec y^k:=y_1^{k(1)}\cap \cdots \cap y_n^{k(n)}$
. We then have that
$\inf _x\varphi (x,\vec y)$
is equivalent to
$\min (u)((\mu (\vec y^k)_{k\in 2^n}))$
. By Lemma 5.6, we can compute a code for
$\min (u)$
from a code for u; by Lemma 5.5, we can then compute a restricted function v such that
$\|\min (u)-v\|_\infty <\epsilon $
. It follows that
$\|\inf _x\varphi (x,\vec y)-v((\mu (\vec y^k))_{k\in 2^n})\|_T<\epsilon $
.
The other ingredient needed in the proof of Theorem 5.2 is an appropriate notion of a family of definable sets in continuous logic. To the best of our knowledge, such a definition has not appeared in the literature thus far.
Definition 5.8. Suppose that
${\mathcal {N}}$
is a metric structure. A formula
$\varphi (\vec x,\vec y)$
defines a definable family of definable subsets of
${\mathcal {N}}$
if there is a function
$\Delta :(0,1)\to (0,1)$
such that, for all
$\vec a,\vec b\in {\mathcal {N}}$
and
$\epsilon>0$
, if
$\varphi (\vec a,\vec b)<\Delta (\epsilon )$
, then there is
$\vec a'\in {\mathcal {N}}$
such that
$d(\vec a,\vec a')<\epsilon $
and
$\varphi (\vec a',\vec b)=0$
.
In what follows, given a formula
$\varphi (\vec x,\vec y)$
and
$\vec b\in {\mathcal {N}}$
, we denote the zeroset of
$\varphi (\vec x,\vec b)$
by
$Z(\varphi (\vec x,\vec b)):=\{\vec a\in {\mathcal {N}} \ : \ \varphi (\vec a,\vec b)\}=0$
.
Proposition 5.9. Suppose that
$\varphi (\vec x,\vec y)$
defines a definable family of definable subsets of
${\mathcal {N}}$
. Then for any formula
$\psi (\vec x,\vec y,\vec z)$
, the predicate
is a definable predicate in
${\mathcal {N}}$
. Moreover:
-
(1) If $\varphi $
and
$\psi $
are quantifier-free, then P can be uniformly approximated (in
${\mathcal {N}}$
) by formulae of the form
$\inf _{\vec w}\chi (\vec x,\vec y,\vec z)$
with
$\chi $
quantifier-free and
$|\vec w|=2|\vec x|$
. -
(2) If the modulus $\Delta $
witnessing that
$\varphi $
defines a definable family of definable subsets of
${\mathcal {N}}$
is computable, then there is an algorithm such that, upon input a restricted quantifier-free formula
$\psi (\vec x,\vec y,\vec z)$
and rational
$\epsilon>0$
, returns a restricted quantifier-free formula
$\chi (\vec x,\vec y,\vec z)$
such that $$ \begin{align*}\|P(\vec b,\vec c)-\inf_{\vec x}\chi(\vec x,\vec b,\vec c)^{{\mathcal{N}}}\|<\epsilon\end{align*} $$
for all $\vec b,\vec c\in {\mathcal {N}}$
. Moreover, a code for this algorithm can be computed from a code for
$\Delta $
.
Proof. We follow the proofs of [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3, Theorem 9.17 and Proposition 9.19], just noting that they hold in this more general setting and that they hold effectively. Take a continuous, non-decreasing function
$\alpha :[0,1]\to [0,1]$
with
$\alpha (0)=0$
such that
$|\psi (\vec a,\vec b)-\psi (\vec a',\vec b)|\leq \alpha (d(\vec a,\vec a'))$
for all
$\vec a,\vec a',\vec b\in {\mathcal {N}}$
. Note that if
$\psi $
is restricted, then
$\alpha $
is computable and a code for
$\alpha $
can be computed from a code for the modulus of uniform continuity of
$\psi $
(see [Reference Goldbring and Hart8, Section 2]), which in turn can be computed from a code for
$\psi $
by Lemma 5.4 above. Since
$\varphi $
defines a definable family of definable subsets of
${\mathcal {N}}$
, there is a continuous, non-decreasing function
$\beta :[0,1]\to [0,1]$
such that
$\beta (0)=0$
and such that, for all
$\vec a,\vec b\in {\mathcal {N}}$
, one has
$d(\vec a,Z(\varphi (\vec x, \vec b)))\leq \beta (\varphi (\vec a,\vec b))$
. As in the previous sentence, if
$\Delta $
is computable, then a code for
$\beta $
can be computed from a code for
$\Delta $
.
Consider the formula
$\Phi (\vec x,\vec y)=\inf _{\vec x'}\min (\beta (\varphi (\vec x',\vec y))+d(\vec x,\vec x'),1)$
. Then for any
$\vec b\in {\mathcal {N}}$
, one has
$\Phi (\vec a,\vec b)=d(\vec a,Z(\varphi (\vec x,\vec b)))$
. Finally, set
One checks as in [Reference Ben Yaacov, Berenstein, Henson and Usvyatsov3, Theorem 9.17] that
$P(\vec b,\vec c)=\zeta (\vec b,\vec c)^{\mathcal {N}}$
for all
$\vec b,\vec c\in {\mathcal {N}}$
.
Setting
$\Lambda (\vec x,\vec x',\vec y)$
to be the quantifier-free portion of
$\Phi $
, we have that
$\Phi (\vec x,\vec y)$
is equivalent to the formula
As a result, if
$\varphi $
and
$\psi $
are quantifier-free, then
$\zeta $
is an existential formulae with
$2|\vec x|$
many existential quantifiers. If
$\beta $
is computable and
$\varphi $
is quantifier-free, then by Lemma 5.5, one can effectively approximate
$\Lambda $
by restricted quantifier-free formulae. Another application of Lemma 5.5 shows that if
$\psi $
is also quantifier-free and
$\alpha $
is computable, then
$\zeta $
can be effectively approximated by restricted quantifier-free formulae, uniformly in codes for
$\alpha $
and
$\psi $
, completing the proof of the proposition.
We now describe the particular family of definable sets that concern us in our proof of effective quantifier-elimination for randomizations. The fact motivating the family we describe below is the following.
Fact 5.10. Let
$\theta _i(x,\vec {y})$
,
$i=1,\dots ,n$
be a sequence of L-formulas such that
Consider a Borel randomization
$\mathcal {M}^{[0,1)}$
of an L-structure
$\mathcal M$
. Fix
$B_1,\dots ,B_n\in \mathcal {B}$
and random variables
$\vec {f}\in \mathcal {K}$
. Then the following are equivalent:
-
i) There exists a random variable $g\in \mathcal K$
such that, for each
$i=1,\ldots n$
, we have $$ \begin{align*}B_i=[\![\theta_i(g,\vec{f})]\!].\end{align*} $$
-
ii) The events $B_1,\ldots ,B_n$
form a partition of
$\top $
and, for each
$i=1,\ldots ,n$
, we have $$ \begin{align*}B_i\subseteq[\![\exists x\theta_i(x,\vec{f})]\!].\end{align*} $$
For
$\theta _1,\ldots ,\theta _n$
as in the previous fact, consider the formula
$\Phi (\vec {A},\vec {Y})$
, where
$\vec A$
is a tuple of variables in sort
$\mathcal B$
and
$\vec Y$
is a tuple of variables in sort
$\mathcal {K}$
, defined by
Note that, for a given tuple of random variables
$\vec f$
from
$\mathcal K$
, the zeroset of
$\Phi (\vec A,\vec f)$
are precisely those tuples
$\vec B$
satisfying (ii) in the previous fact.
Lemma 5.11. For any L-structure
$\mathcal M$
, the formula
$\Phi (\vec {A},\vec {Y})$
defines a definable family of definable subsets of
$\mathcal {M}^{[0,1)}$
. Moreover, the modulus for
$\Phi $
is computable and independent of the choice of
$\mathcal M$
.
Proof. Given
$\epsilon>0$
, we will show that, for any tuple of events
$\vec E$
and tuple
$\vec f$
from sort
$\mathcal K$
, if
then
$d\left (\vec E,Z(\Phi (\cdot ,\vec f))\right )<\epsilon .$
We leave it to the reader to check that, in what follows, we may assume, without loss of generality, that
$\vec f$
is a tuple of random variables; indeed, this follows from a simple continuity argument.
Step 1: Fix
$\delta>0$
and take
$\eta <(n/(n+1))\delta $
. For any
$\eta $
-partition
$\vec E$
, that is, a tuple
$\vec E$
such that
there is a partition
$\vec V$
such that
$d(\vec E,\vec V)<\delta $
.
To establish step 1, let
$N=2^n$
and for each
$k=1,\dots ,N$
, consider all the possible events given by
where each
$k:\{1,\dots ,n\}\to \{0,1\}$
,
$E_i^0=\neg E_i$
, and
$E_i^1=E_i$
. For each
$k=1,\dots ,N,$
set
If
$\Gamma (k)\neq \emptyset $
, let
$\{V_i^k\}_{i\in \Gamma (k)}$
be a “fair” (measurable) partition of
$E_1^{k(1)}\cap \dots \cap E_n^{k(n)}$
, that is, for each
$i\in \Gamma (k)$
, we have
If
$\Gamma (k)=\emptyset $
, let
$W_1,\dots ,W_n$
be a fair partition of
$E_1^0\cap \dots \cap E_n^0$
. For each
$i=1,\ldots , n$
, define
By construction,
$\vec V$
form a partition of
$\top $
. We now show that
$d(\vec E,\vec V)<\delta .$
First note that, by construction, for each
$i=1,\dots ,n$
, we have
$V_i\backslash W_i\subset E_i$
and
$E_i\cap W_i=\emptyset $
, and thus
Since
$1-\mu (\bigcup _{i=1}^n E_i)<\eta $
, then
$\mu (W_i)<\eta /n$
. In the same way, since
and
we have
$\mu \left (\bigcup _{i\neq j}^n(E_i\cap E_j)\right )<\eta $
and so
Consequently,
and
$d(\vec E,\vec V)<\delta $
as desired.
Step 2: Fix
$\epsilon>0$
, take
$\delta <\epsilon /(4(n+1))$
and
$\eta <(n/(n+1))\delta $
. Let
$\vec E$
be such that
$\Phi (\vec E,\vec f)<\eta $
. Since
$\vec E$
is an
$\eta $
-partition, by Step 1, there is a partition
$\vec V$
such that
$d(\vec E,\vec V)<\delta $
. We now show how to find
$\vec B$
such that
$\Phi (\vec B,\vec f)=0$
and
$d(\vec V,\vec B)< \epsilon /2$
, whence
$d(\vec E,\vec B)<\epsilon $
, as desired.
First note that, since for each
$i=1,\dots ,n$
,
$\mu (E_i)\dot -\mu (E_i\cap [\![ \exists x\theta _i(x,\vec f)]\!] )<\eta $
, we have:
Now for each
$i=1,\dots ,n$
, set
If
$\Sigma (i)\neq \emptyset $
, let
$\{B_j^i\}_{j\in \Sigma (i)}$
be a partition of
$V_i\cap [\![ \neg \exists x\theta _i(x,\vec f)]\!] $
such that, for all
$j\in \Sigma (i)$
, we have
$B_j^i\subseteq [\![ \exists x\theta _j(x,\vec f)]\!] $
. For
$k=1,\ldots ,n$
, set
By construction,
$\Phi (\vec B,\vec f)=0$
. Now, note that for each
$j=1,\dots ,n$
, we have
and thus
$d(\vec V,\vec B)<\epsilon /2$
, as desired.
Proof of Theorem 5.2.
We apply the test from Lemma 5.3. Towards that end, suppose we are given an existential restricted
$L^R$
-formula
$\varphi (\vec X,\vec A)$
, where
$\vec X$
is a tuple of variables of sort
$\mathcal K$
and
$\vec A$
is a tuple from sort
$\mathcal B$
. If
$\varphi $
has the form
$\inf _C \psi (\vec X,\vec A,C)$
, where C ranges over
$\mathcal B$
, then by (the proof of) effective quantifier-elimination for atomless probability algebras, we can effectively approximate
$\varphi $
by quantifier-free restricted formulae.
We thus assume that
$\varphi $
is an existential formula in
$L^R$
of the form
where
$\psi _1$
is a quantifier-free formula in
$L^R$
and
$X,\vec {Y}$
are variables in sort
$\mathcal {K}$
and
$\vec {A}$
are variables in sort
$\mathcal {B}$
. The variable X occurs in
$\psi _1$
in finitely many terms
$[\![ \varphi _i(X,\vec {Y})]\!] $
,
$i\leq m$
of sort
$\mathcal {B}$
, where each
$\varphi _i(x,\vec {y})$
is an
$\mathcal {L}$
formula. Let
$\theta _j(x,\vec {y})$
for
$j\leq n=2^m$
be the list of all possible conjunctions
where each
$k:\{1,\dots ,n\}\to \{0,1\}$
,
$\varphi _i^0=\neg \varphi _i$
and
$\varphi _i^1=\varphi _i$
for all
$i\leq m$
. So using Boolean Axioms, the formula
$\psi _1$
is equivalent to a quantifier-free
$\psi _2$
in which the variable X occurs only in terms
$[\![ \theta _j(X,\vec {Y})]\!] $
. Let
$\psi _3(\vec Y,\vec A,\vec B)$
be quantifier-free formula obtained from
$\psi _2$
by replacing each term
$[\![ \theta _j(X,\vec {Y})]\!] $
by a new variable
$B_j$
of sort
$\mathcal {B}$
.
Note that the variable X does not occur in
$\psi _3$
, and now
$\varphi $
is equivalent to
By Proposition 5.9, this latter expression is effectively approximable by formulae of the form
$\inf _{\vec B}\chi (\vec Y,\vec A,\vec B)$
with
$\chi $
a restricted quantifier-free formula. However, we already know from the first case that such existential formulae can themselves be effectively approximated by quantifier-free restricted formulae, finishing the proof of the theorem.
Funding
The first named author was partially supported by NSF grant DMS-2054477. He would also like to thank the UC Irvine Department of Mathematics for their hospitality. The second-named author was partially supported by NSF grant DMS-2054477.




