Hostname: page-component-cd9895bd7-jkksz Total loading time: 0 Render date: 2024-12-25T17:47:44.509Z Has data issue: false hasContentIssue false

DEGREE SPECTRA OF ANALYTIC COMPLETE EQUIVALENCE RELATIONS

Published online by Cambridge University Press:  08 October 2021

DINO ROSSEGGER*
Affiliation:
DEPARTMENT OF MATHEMATICS UNIVERSITY OF CALIFORNIA, BERKELEY BERKELEY, CA, USA and INSTITUTE OF DISCRETE MATHEMATICS AND GEOMETRY TECHNISCHE UNIVERSITÄT WIEN VIENNA, AUSTRIA
Rights & Permissions [Opens in a new window]

Abstract

We study the bi-embeddability and elementary bi-embeddability relation on graphs under Borel reducibility and investigate the degree spectra realized by these relations. We first give a Borel reduction from embeddability on graphs to elementary embeddability on graphs. As a consequence we obtain that elementary bi-embeddability on graphs is a $\boldsymbol {\Sigma }^1_1$ complete equivalence relation. We then investigate the algorithmic properties of this reduction. We obtain that elementary bi-embeddability on the class of computable graphs is $\Sigma ^1_1$ complete with respect to computable reducibility and show that the elementary bi-embeddability and bi-embeddability spectra realized by graphs are related.

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2021. Published by Cambridge University Press on behalf of The Association for Symbolic Logic

1 Introduction

Equivalence relations on countable structures are among the most heavily studied objects in descriptive set theory and computability theory. In descriptive set theory, starting with the work of Friedman and Stanley [Reference Friedman and Stanley10], the complexity of equivalence relations on spaces of structures under Borel reducibility has seen much interest by experts, culminating in results by Louveau and Rosendal [Reference Louveau and Rosendal16], who showed that, among others, the bi-embeddability relation on graphs is $\boldsymbol {\Sigma }^1_1$ -complete. Since then there has been a constant stream of work on the complexity of the bi-embeddability relation, both on other classes of structures, see for instance [Reference Calderoni and Thomas4], and refinements of completeness notions, e.g., in [Reference Camerlo, Marcone and Ros5].

Equivalence relations are also one of the main objects of study in computability theory. Here, the equivalence relations are usually on the set of natural numbers and their complexity is established using computable reducibility. Identifying a computable structure with the index of the algorithm computing it, one can obtain completeness results like the ones in descriptive set theory for equivalence relations on computable structures [Reference Fokina and Friedman6, Reference Fokina, Friedman, Harizanov, Knight, Mccoy and Montalbán9]. One object of study in computable structure theory which also takes non-computable structures into account is degree spectra of structures, introduced by Knight [Reference Knight15]. The degree spectrum of a given structure is the set of sets of natural numbers Turing equivalent to one of its isomorphic copies. They provide a measure of the algorithmic complexity of countable structures.

Recently, researchers initiated the study of degree spectra with respect to other model theoretic equivalence relations such as bi-embeddability [Reference Fokina, Rossegger and Mauro7], elementary bi-embeddability [Reference Rossegger20], elementary equivalence [Reference Andrews and Knight1Reference Andrews, Cai, Diamondstone, Lempp and Miller3], or $\Sigma _n$ equivalence [Reference Fokina, Semuhin and Turetsky8]. One of the main goals in this line of research is to distinguish these equivalence relations with respect to the degree spectra they realize. While for elementary equivalence and $\Sigma _n$ equivalence examples that separate them from each other and from isomorphism and elementary bi-embeddability are known, so far all attempts to separate isomorphism, bi-embeddability, and elementary bi-embeddability have been unsuccessful.

There seem to be various reasons for this. That we can separate elementary equivalence and $\Sigma _n$ equivalence is the case because they have different levels in the Borel hierarchy while isomorphism and bi-embeddability are not even Borel. On the other hand bi-embeddability preserves very little structural properties and it is thus difficult to construct interesting examples. The aim of this article is to investigate the relationship between the degree spectra realized by the bi-embeddability relation and by the elementary bi-embeddability relation. First, we establish that elementary bi-embeddability on graphs is $\boldsymbol {\Sigma }^1_1$ complete with respect to Borel reducibility. We then proceed to establish a relationship between the degree spectra realized by the bi-embeddability and elementary bi-embeddability relation on graphs. Our main results are as follows.

Theorem 1.1. The elementary embeddability relation on graphs $\mathbin{\preccurlyeq}_{\mathfrak {G}}$ is a complete $\boldsymbol {\Sigma }^1_1$ quasi-order. In particular, the elementary bi-embeddability relation on graphs $\approxeq _{\mathfrak {G}}$ is a complete $\boldsymbol {\Sigma }^1_1$ equivalence relation.

As a corollary of Theorem 1.1 we obtain the corresponding result for elementary bi-embeddability on computable structures.

Theorem 1.2. The elementary embeddability relation on the class of computable graphs is a $\Sigma ^1_1$ complete quasi-order with respect to computable reducibility. In particular, the elementary bi-embeddability relation on computable graphs is a $\Sigma ^1_1$ complete equivalence relation with respect to computable reducibility.

The following result establishes a relationship between bi-embeddability spectra of graphs and elementary bi-embeddability spectra of graphs.

Theorem 1.3. Let $\mathcal {G}$ be an automorphically non-trivial graph, then there is a graph $\hat {\mathcal {G}}$ such that

$$ \begin{align*} \textit{DgSp}_\approxeq(\hat{\mathcal{G}})=\{X: X'\in \textit{DgSp}_\approx({\mathcal{G}})\}.\end{align*} $$

Note that in Theorem 1.3 we deal only with automorphically non-trivial graphs. This might seem like a shortcoming; however, automorphically trivial structures are not interesting from a computability theoretic point of view. In particular, every structure bi-embeddable with an automorphically trivial graph is computable and thus both its bi-embeddability spectrum and elementary bi-embeddability spectrum are the set of all computable sets.

The proofs of Theorems 1.1 and 1.2 are the topic of Section 3. In Section 4 we build on these results to prove Theorem 1.3. In Section 2 we give the necessary background and definitions.

2 Background

Our definitions follow for the most part [Reference Gao12, Reference Montalbán19]. We assume that all structures have universe $\omega $ and are relational. Let $\mathcal {L}$ be a relational language $(R_i)_{i\in \omega }$ where without loss of generality $R_i$ has arity i. Then each element $\mathcal {A}$ of $Mod(\mathcal {L})$ can be viewed as an element of the product space

$$ \begin{align*} X_{\mathcal{L}}=\prod_{i\in \omega} 2^{\omega^{i}},\end{align*} $$

and thus $Mod(\mathcal {L})$ becomes a compact Polish space on which we can define the Borel and projective hierarchy in the usual way.

Let $\mathcal {A}$ be an $\mathcal {L}$ -structure and $(\varphi _i^{at})_{i\in \omega }$ be a computable enumeration of the atomic $\mathcal {L}$ -sentences with variables in $\{x_1,x_2,\dots \}$ . The atomic diagram $D(\mathcal {A})$ of $\mathcal {A}$ is the element of Cantor space defined by

$$ \begin{align*} D(\mathcal{A})(i)=\begin{cases} 1 & \text{ if } \mathcal{A}\models \varphi_i^{at}[x_j{\rightarrow} j : j\in\omega],\\ 0 &\text{ otherwise.}\end{cases}\end{align*} $$

The Turing degree of a structure $\mathcal {A}$ is the degree of $D(\mathcal {A})$ . We will in general not distinguish between a structure as an element of $Mod(\mathcal {L})$ and its atomic diagram and assume that what is meant is clear from the context.

Variations of the following definition were independently suggested in [Reference Fokina, Semuhin and Turetsky8, Reference Miller, Poonen, Schoutens and Shlapentokh17, Reference Yu22].

Definition 2.1. Let E be an equivalence relation on $Mod(\mathcal {L})$ and $\mathcal {A}\in Mod(\mathcal {L})$ . Then the degree spectrum of $\mathcal {A}$ with respect to E, or, short E-spectrum of $\mathcal {A}$ , is the set

$$ \begin{align*} \textit{DgSp}_E(\mathcal{A})=\{ X: \exists \mathcal{B} \mathbin{E} \mathcal{A}\ D(\mathcal{B})\equiv_T X\}.\end{align*} $$

We write $\mathcal {A}\mathbin{\hookrightarrow}\mathcal {B}$ to say that $\mathcal {A}$ is embeddable in $\mathcal {B}$ , and $\mathcal {A}\approx \mathcal {B}$ to say that $\mathcal {A}$ is bi-embeddable with $\mathcal {B}$ , i.e., $\mathcal {A}\mathbin{\hookrightarrow}\mathcal {B}$ and $\mathcal {B}\mathbin{\hookrightarrow} \mathcal {A}$ . Further, we write $\mathcal {A}\mathbin{\preccurlyeq} \mathcal {B}$ to say that $\mathcal {A}$ is elementary embeddable in $\mathcal {B}$ and $\mathcal {A}\approxeq \mathcal {B}$ to say that $\mathcal {A}$ is elementary bi-embeddable with $\mathcal {B}$ , i.e., $\mathcal {A}\mathbin{\preccurlyeq} \mathcal {B}$ and $\mathcal {B}\mathbin{\preccurlyeq} \mathcal {A}$ .

Definition 2.2. Let $R,S$ be binary relations on a set X. The relation R is reducible to S if there is a function $f: X\mathbin{\rightarrow} X$ such that for all $x,y\in X$

$$ \begin{align*} x R y \Leftrightarrow f(x)Sf(y).\end{align*} $$

Assume $X=Mod(\mathcal {L})$ . Then

  1. (1) R is Borel reducible to S if f is Borel on $Mod(\mathcal {L})\times Mod(\mathcal {L}) $ ,

  2. (2) R is computably reducible to S if there is a computable operator $\Phi $ such that for all $\mathcal {A}\in Mod(\mathcal {L})$ , $\Phi ^{D(\mathcal {A})}=D(f(\mathcal {A}))$ .

Assume X is $\omega $ and that $(\mathcal {A}_i)_{i\in \omega }$ is a computable enumeration of all partial computable $\mathcal {L}$ structures. Then R is computably reducible to S if f is a computable function.

We say that an equivalence relation (quasi-order) $R\in \Gamma $ is a $\Gamma $ complete equivalence relation (quasi-order) for a complexity class $\Gamma $ with respect to x-reducibility if all equivalence relations (quasi-orders) in $\Gamma $ are x-reducible to R.

A standard reference on Borel reducibility is [Reference Gao12]. Computable reducibility on the natural numbers can be seen as a natural effectivization of Borel reducibility where one only considers computable structures. Fokina and Friedman [Reference Fokina and Friedman6] showed that bi-embeddability on trees and thus also graphs is $\Sigma ^1_1$ complete with respect to computable reducibility, and in [Reference Fokina, Friedman, Harizanov, Knight, Mccoy and Montalbán9] it is shown that isomorphism on graphs is $\Sigma ^1_1$ complete with respect to computable reducibility. This contrasts with Borel reducibility; it is well known that isomorphism on graphs is not $\boldsymbol {\Sigma }^1_1$ complete.

3 Elementary bi-embeddability is analytic complete

In this section we prove Theorems 1.1 and 1.2 and some lemmas needed for Theorem 1.3. The section is structured as follows. In Section 3.1 we give a reduction from embeddability on the class of graphs $\mathfrak {G}$ to elementary embeddability on a Borel class $\mathfrak {C}$ of structures in an infinite relational language. In Section 3.2 we show that graphs are complete for elementary embeddability. That is, for every Borel class, elementary embeddability on this class can be reduced to elementary embeddability on graphs. Theorem 1.1 then follows by composing the reductions given in Sections 3.1 and 3.2. For Theorem 1.2 we need a few more observations made at the end of this section.

3.1 The reduction from $\mathbin{\hookrightarrow}_{\mathfrak {G}}$ to $\mathbin{\preccurlyeq}_{\mathfrak {C}}$

The main idea of the construction is that for any given graph $\mathcal {G}$ we replace the edge relation with structures having the property that they are minimal under elementary embeddability.

Definition 3.1. A structure $\mathcal {A}$ is minimal if it does not have proper elementary substructures.

Minimal structures were investigated by Fuhrken [Reference Fuhrken11] who showed that there is a theory with $2^{\aleph _0}$ minimal models, and Shelah [Reference Shelah21] who showed that for every $n\leq \aleph _0$ , there is a theory with n minimal models. Later, Ikeda [Reference Ikeda14] investigated minimal models of minimal theories. Notice that a prime model is not necessarily minimal, as it might contain elementary substructures isomorphic to itself.

Given a graph $\mathcal {G}$ , if $x,y\in G$ and $xEy$ , then we associate a copy of a structure $\mathcal {A}$ with the pair $(x,y)$ and otherwise we associate a copy $\mathcal {B}$ with $(x,y)$ . The structures $\mathcal {A}$ and $\mathcal {B}$ will be elementary equivalent and minimal.

Before we formally state the reduction let us describe $\mathcal {A}$ and $\mathcal {B}$ . They will be models of the theory of the following structure studied by Shelah [Reference Shelah21]. The language of the theory contains countably many unary functions $F_\nu $ and unary relation symbols $R_\nu $ , one for each $\nu \in 2^{<\omega }$ . Consider the structure

$$ \begin{align*} \mathcal{S}=(2^\omega, \langle F_\nu\rangle_{\nu\in 2^{<\omega}}, \langle R_\nu\rangle_{\nu\in 2^{<\omega}}),\end{align*} $$

where $F_\nu $ is defined by $F_\nu (\sigma )(x)=\sigma (x)+\nu (x)\mod 2$ where we assume that $\nu (x)=0$ for $x\geq |\nu |$ and $R_\nu (\sigma )$ if and only if $\nu \prec \sigma $ . Shelah showed that the theory of $\mathcal {S}$ has quantifier elimination and that each element of $\mathcal {S}$ generates an elementary substructure that is minimal.

Let $\hat {\mathcal {S}_0}$ be the substructure of $\mathcal {S}$ generated by $\bar 0$ , the constant string of $0$ ’s, and $\hat {\mathcal {S}_1}$ be the substructure generated by $\bar 1$ , the constant string of $1$ ’s. These structures are countable and by Shelah’s argument, $\hat {\mathcal {S}}_0\equiv \hat {\mathcal {S}}_1\equiv \mathcal {S}$ . Furthermore, $\hat {\mathcal {S}}_0$ and $\hat {\mathcal {S}}_1 $ are minimal models of $Th(\mathcal {S})$ . To see this, let $x\in \hat S_0$ , then $x=F_\nu (\bar 0)$ and in particular, $\bar 0=F_\nu (x)$ for some $\nu \in 2^{<\omega }$ . So, the substructure of $\hat {\mathcal {S}}_0$ generated by x is already $\hat {\mathcal {S}}_0$ .

As we require our structures in $\mathfrak {C}$ to be of relational syntax we will let $\mathcal {S}_0$ and $\mathcal {S}_1$ be the structures corresponding to $\hat {\mathcal {S}}_0$ , respectively $\hat {\mathcal {S}}_1$ , after we replace each $F_\nu ^{\mathcal {S}_i}$ by its graph $\textit{graph}_{F_\nu }^{\mathcal {S}_i}=\{(\sigma ,F_\nu ^{\mathcal {S}_i}(\sigma )):\sigma \in S_i\}$ . We may assume without loss of generality that the universes of $\mathcal {S}_0$ and $\mathcal {S}_1$ are $\omega $ and let $\mathcal {A}=\mathcal {S}_0$ and $\mathcal {B}=\mathcal {S}_1$ .

Let us describe the structures in the class $\mathfrak {C}$ more formally. The class of structures $\mathfrak {C}$ consists of all countable structures with universe $\omega $ in the language consisting of a unary relation W, binary relations $R_\nu $ , and $\textit{graph}_{F_\nu }$ for all $\nu \in 2^{<\omega }$ , and a ternary relation O. We are now ready to give the function $f: \mathfrak {G} \mathbin{\rightarrow} \mathfrak {C}$ witnessing the reduction.

We formally describe how to obtain a structure in $\mathfrak {C}$ given a graph. Let $\mathcal {G}$ be a graph and partition $\omega $ into countably many infinite, coinfinite subsets $(A_i)_{i\in \omega }$ . Then

  • for every $a_i\in A_0$ , $W^{f(\mathcal {G})}(a_i)$ (we will call elements of $A_0$ the vertices of $f(\mathcal {G})$ ),

  • for every $m,n\in \omega $ , if $mEn$ , then for all $\nu \in 2^{<\omega }$ define $R_\nu ^{f(\mathcal {G})}$ and ${\textit{graph}_{F_\nu }}^{f(\mathcal {G})}$ on $A_{\langle m,n\rangle +1}$ such that $(A_{\langle m,n\rangle +1},\langle {\textit{graph}_{F_\nu }}^{f(\mathcal {G})}\rangle _{\nu \in 2^{<\omega }},R_\nu ^{f(\mathcal {G})})\cong \mathcal {S}_0$ ,

  • for every $m,n\in \omega $ , if $\neg mEn$ , then for all $\nu \in 2^{<\omega }$ define $R_\nu ^{f(\mathcal {G})}$ and ${\textit{graph}_{F_\nu }}^{f(\mathcal {G})}$ on $A_{\langle m,n\rangle +1}$ such that $(A_{\langle m,n\rangle +1},\langle {\textit{graph}_{F_\nu }}^{f(\mathcal {G})}\rangle _{\nu \in 2^{<\omega }},R_\nu ^{f(\mathcal {G})})\cong \mathcal {S}_1 $ , and

  • for every $m,n\in \omega $ , let $O^{f(\mathcal {G})}(a_m,a_n,j)$ for all $j\in A_{\langle m,n\rangle +1}$ .

This finishes the construction of $f(\mathcal {G})$ . We will refer to the substructure on the elements in $A_{\langle m,n\rangle +1}$ as the substructure associated with the pair $(a_m,a_n)$ and with $(A_{\langle m,n\rangle +1},\langle {\textit{graph}_{F_\nu }}^{f(\mathcal {G})}\rangle _{\nu \in 2^{<\omega }},R_\nu ^{f(\mathcal {G})})$ as $\mathcal {S}_{(a_m,a_n)}$ .

It is easy to see that the function f so defined is Borel; indeed, it is even computable. To see that f is a reduction from $\mathbin{\hookrightarrow}_{\mathfrak {G}}$ to $\mathbin{\preccurlyeq}_{\mathfrak {C}}$ it remains to prove the following.

Lemma 3.2. For $\mathcal {G},\mathcal {H}\in \mathfrak {G}$ , $\mathcal {G}\mathbin{\hookrightarrow} \mathcal {H}$ if and only if $f(\mathcal {G})\mathbin{\preccurlyeq} f(\mathcal {H})$ .

Proof. That $\mathcal {G}\mathbin{\hookrightarrow} \mathcal {H}$ if $f(\mathcal {G})\mathbin{\preccurlyeq} f(\mathcal {H})$ follows trivially from the construction. To show the converse we will use the following model theoretic fact: For two $\mathcal {L}$ -structures $\mathcal {A}$ and $\mathcal {B}$ , $\mathcal {A}$ is an elementary substructure of $\mathcal {B}$ if and only if for every finite $\mathcal {R}\subseteq \mathcal {L}$ , the $\mathcal {R}$ reduct of $\mathcal {A}$ is an elementary substructure of the $\mathcal {R}$ reduct of $\mathcal {B}$ . Necessity follows trivially from the fact that $\mathcal {R}\subseteq \mathcal {L}$ and sufficiency is easily seen by noticing that every first-order formula $\varphi $ is in a finite $\mathcal {R}_\varphi \subseteq \mathcal {L}$ .

So, say $\mathcal {G}\mathbin{\hookrightarrow} \mathcal {H}$ by h. We get an induced embedding $\hat h$ defined such that for all $i,i'\in G$ , if $h(i)=j$ , then $\hat h(a_i)= a_j$ and $\hat h$ is the canonic isomorphism between the substructure associated with $(a_i, a_{i'})$ and the one associated with $(\hat h(a_i),\hat h(a_{i'}))$ . Without loss of generality we may assume that $f(\mathcal {G})$ is a substructure of $f(\mathcal {H})$ , i.e., that $\hat h$ is the identity. We use Ehrenfeucht–Fraïssé games to verify that in every finite $\mathcal {R}\subseteq \mathcal {L}$ , $f(\mathcal {G})$ is an elementary substructure of $f(\mathcal {H})$ . We assume without loss of generality that $\mathcal {R}=\{O,W,R_{\nu _0},\dots , R_{\nu _k}, \textit{Graph}_{F_{\nu _0}},\dots , \textit{Graph}_{F_{\nu _k}}\}$ where $\nu _i$ is the $i^{th}$ string in the lexicographical ordering of $2^{<\omega }$ and $k\in \omega $ . Let us show that Player $\mathrm {II}{}$ has a winning strategy in $G_m((f(\mathcal {G}),g_1,\dots ,g_n),(f(\mathcal {H}),g_1,\dots ,g_n))$ for arbitrary $m\in \omega $ played in $\mathcal {R}$ . First, notice that since $\mathcal {S}_0\equiv \mathcal {S}_1$ , $\mathrm {II}{}$ has a winning strategy for $G_m(\mathcal {S}_0, \mathcal {S}_1)$ in the reduct $\{R_{\nu _0},\dots , R_{\nu _k}, \textit{Graph}_{F_{\nu _0}},\dots ,\textit{Graph}_{F_{\nu _k}}\}$ . The following is a winning strategy for $G_m((f(\mathcal {G}),g_1,\dots ,g_n),(f(\mathcal {H}),g_1,\dots ,g_n))$ played in $\mathcal {R}$ . Say that at turn i, the played substructures are $G_i$ and $H_i$ given by the partial isomorphism $h_i$ . Assume we are on turn $i+1$ .

  1. (1) If $\mathrm {I}{}$ plays an element c in the O-closure of $g_1,\dots ,g_n$ , then let $h_{i+1}(c)=c$ .

  2. (2) If $\mathrm {I}{}$ plays an element c in $f(\mathcal {G})$ not in the O-closure of $G_i$ , say it is associated with $(a,b)$ where none of $a,b$ is in the O-closure of $G_i$ , then pick vertices $(a',b')$ in $f(\mathcal {H})$ . If $c=a$ or b, let $h_{i+1}(c)=a'$ , respectively, $h_{i+1}(c)=b'$ . Otherwise start running a $G_m(\mathcal {S}_{(a,b)},\mathcal {S}_{(a',b')})$ winning strategy $w_{(a,b)}^{(a',b')}$ and let $h_{i+1}(c)=w_{(a,b)}^{(a',b')}(c)$ .

  3. (3) If $\mathrm {I}{}$ plays an element c in $f(\mathcal {G})$ not in the O-closure of $G_i$ but associated with $(a,b)$ where either a or b is in $G_i$ , then pick $(a',b')$ such that $a'$ , respectively $b'$ , is the element corresponding to a, respectively b, in $H_i$ and continue as in (2), mutatis mutandis.

  4. (4) If $\mathrm {I}{}$ plays an element in $f(\mathcal {H})$ not in the O-closure of $H_i$ , then as $f(\mathcal {G})$ is infinite, $\mathrm {II}{}$ can play as in the cases (2) and (3), mutatis mutandis.

  5. (5) If $\mathrm {I}{}$ plays an element c in $f(\mathcal {G})$ that is in the O-closure of $G_i$ but not in the O-closure of $g_1,\dots ,g_n$ , then it is associated with some $(a,b)$ in $f(\mathcal {G})$ and by induction there is a winning strategy $w_{(a,b)}^{(a',b')}$ that has already been used. If $c=a$ or $c=b$ , let $h_{i+1}(c)=a'$ , respectively, $h_{i+1}(c)=b'$ . Otherwise let $h_{i+1}(c)=w_{(a,b)}^{(a',b')}(c_1,\dots ,c_k,c)$ where $c_1,\dots ,c_k$ are the elements from the structures associated with $(a,b)$ and $(a',b')$ played by $\mathrm {I}{}$ so far.

  6. (6) If $\mathrm {I}{}$ plays an element c in $f(\mathcal {H})$ that is in the O-closure of $H_i$ but not in the O-closure of $g_1,\dots ,g_n$ , then play as in (5), mutatis mutandis.

Since at each turn we play according to winning strategies for games of the form $G_m(\mathcal{S}_i,\mathcal{S}_j)$ where $i,j\in \{0,1\}$ we obtain that $h_m$ is a partial isomorphism between $(f(\mathcal{G}),g_1,\dots, g_n)$ and $(f(\mathcal{H}), g_1,\dots,g_n)$ . We thus have given a winning strategy for $G_m((f(\mathcal {G}),g_1,\dots ,g_n),(f(\mathcal {H}),g_1,\dots, g_n))$ .⊣

3.2 Graphs are complete for elementary embeddability

We will show that for every class of structures $\mathfrak K$ , there is a computable reduction $\mathbin{\preccurlyeq}_{\mathfrak K}\mathbin{\rightarrow} \mathbin{\preccurlyeq}_{\mathfrak {G}}$ .

The result we are going to prove appeared in [Reference Rossegger20]. There, a proof sketch of the fact that the reduction preserves elementary bi-embeddability spectra was given. We will give a full proof of this fact in Section 4. Note that the coding used in the reduction is not new but was already used in [Reference Andrews and Miller2] to show that graphs are universal for theory spectra. Let us first describe this coding.

We may assume without loss of generality that $\mathfrak {K}$ is a class of structures in relational language $\mathcal {L}=(R_1,\dots )$ where each $R_i$ has arity i. Given $\mathcal {A}\in \mathfrak {K}$ , the graph $g(\mathcal {A})$ has three vertices a, b, c where to a we connect the unique $3$ -cycle in the graph, to b the unique $5$ -cycle, and to c the unique $7$ -cycle. For each element $x\in A$ we add a vertex $v_x$ and an edge $a\rightarrowtail v_x$ . For every i tuple $x_1,\dots , x_i\in A$ we add chains of length $i+k$ for every k, $1\leq k \leq i$ , with common last elements y. We add an edge $v_{x_k}\rightarrowtail y_1$ only if $y_1$ is the first element of the chain of length of $i+k$ . If $\mathcal {A}\models R_i(x_1,\dots ,x_i)$ we add an edge $y\rightarrowtail b$ and otherwise add an edge $y\rightarrowtail c$ . This finishes the construction. See Figure 1 for an example.

Figure 1 Part of the graph $F(\mathcal {A})$ coding that $\mathcal {A}\not \models R_3(3,2,1)$ and $\mathcal {A}\models R_3(1,2,3)$ .

Let us fix the some notation for the following proofs. Given a structure $\mathcal {A}$ and $\bar a\in A^{<\omega }$ we let $\langle \bar a\rangle ^{\mathcal {A}}$ be the substructure of $\mathcal {A}$ generated by $\bar a$ .

Lemma 3.3. For $\mathcal {A},\mathcal {B}\in \mathfrak {K}$ , $\mathcal {A}\mathbin{\preccurlyeq} \mathcal {B}$ if and only if $g(\mathcal {A})\mathbin{\preccurlyeq} g(\mathcal {B})$ .

Proof. $(\Rightarrow )$ . Assume that $\mathcal {A} \mathbin{\preccurlyeq} \mathcal {B}$ and that $\mathcal {A}$ is an elementary substructure of $\mathcal {B}$ . We may also assume without loss of generality that $g(\mathcal {A})\subseteq g(\mathcal {B})$ . We will show that for all $n\in \omega $ and any $\overline {a}\in g(\mathcal {A})^{<\omega }$ Player II has a winning strategy for the n turn Ehrenfeucht–Fraïssé game $G_n((g({\mathcal {A}}),\overline {a}),(g({\mathcal {B}}),\overline {a}))$ . Assume that n is the least such that Player II has no winning strategy for $G_n((g({\mathcal {A}}),\overline {a}),(g(\mathcal {B}),\overline {a}))$ . Consider the set of partial isomorphisms from $(g(\mathcal {A}),\overline {a})$ to $(g(\mathcal {B}),\overline {a})$ . This set cannot have the back-and-forth property. In particular, the back-and-forth property fails already if we only consider partial isomorphisms with domain of size $n+|\overline {a}|$ . Otherwise there would be a winning strategy for $G_n((g(\mathcal {A}),\overline {a}), (g(\mathcal {B}),\overline {a}))$ . So, either there is $\overline {v} \in g(\mathcal {A})^{n}$ such that for all $\overline {u} \in g(\mathcal {B})^{n}$ , $\langle \overline {a} \overline {v}\rangle ^{g({\mathcal {A}})}\not \cong \langle \overline {a} \overline {u} \rangle ^{g({\mathcal {B}})}$ or there is $\overline {u}\in g(\mathcal {B})^{n}$ such that for all $\overline {v} \in g(\mathcal {B})^{n}$ , $\langle \overline {a} \overline {u} \rangle ^{g(\mathcal {B})}\not \cong \langle \overline {a}\overline {v} \rangle ^{g({\mathcal {A}})}$ . We will derive a contradiction assuming the second case. Deriving one from the first case can be done in a similar fashion.

Notice that $\overline {a}\overline {u}$ is in a substructure of $g({\mathcal {B}})$ coding a finite substructure of $\mathcal {B}$ in a finite part $\mathcal {L}_1$ of the language of $\mathcal {B}$ . Extend $\langle \overline {a} \overline {u}\rangle ^{g({\mathcal {B}})}$ so that it codes such a substructure $\mathcal {B}_1$ of $\mathcal {B}$ . Consider the conjunction $\varphi $ of atomic formulas, or negations thereof, true of $\mathcal {B}_1$ in $\mathcal {L}_1$ . Let $\overline {a}'$ be the elements in $B_1\cap A$ and $\overline {u}'$ the elements in $B_1\setminus A$ . Then $\mathcal {B} \models \varphi (\overline {a}'\overline {u}')$ and the Tarski–Vaught test gives us elements $\overline {v}'$ in $\mathcal {A}$ such that $\mathcal {A}\models \varphi (\overline {a}'\overline {v}')$ . It follows that we have a partial isomorphism between $\langle \overline {a}'\overline {u}'\rangle ^{\mathcal {B}}$ and $\langle \overline {a}'\overline {v}'\rangle ^{\mathcal {A}}$ in $\mathcal {L}_1$ . This induces an isomorphism between the subgraph coding $\mathcal {B}_1$ and the subgraph coding $\langle \overline {a}'\overline {v}'\rangle ^{\mathcal {A}}$ . But $\langle \overline {a} \overline {u} \rangle ^{g(\mathcal {B})}$ is a subgraph of the graph coding $\mathcal {B}_1$ and thus it is isomorphic to a substructure $\langle \overline {a}\overline {v}\rangle ^{g(\mathcal {A})}$ of the structure coding $\langle \overline {a}'\overline {v}'\rangle ^{\mathcal {A}}$ , a contradiction.

$(\Leftarrow )$ . An easy induction on the quantifier depth of formulas in $\mathcal {L}$ shows that for every $\mathcal {A}\in \mathfrak K$ and $\mathcal {L}$ -formula $\varphi $ with n-free variables the set

$$ \begin{align*}D_\varphi^{\mathcal{A}}=\{ (v_{a_1},\dots, v_{a_n}) : (\mathcal{A},a_1,\dots,a_n) \models \varphi(a_1,\dots,a_n)\}\end{align*} $$

is definable in $g(\mathcal {A})$ . Now, assume that $g(\mathcal {A})\mathbin{\preccurlyeq} g(\mathcal {B})$ and without loss of generality that $g(\mathcal {A})$ is an elementary substructure of $g(\mathcal {B})$ . Let $g_{\mathcal {B}}: \mathcal {B}\mathbin{\rightarrow} g(\mathcal {B})$ be defined by $g_{\mathcal {B}}: b\mapsto v_b$ . Notice that the map $a\mapsto g_{\mathcal {B}}^{-1}(v_a)$ is an embedding of $\mathcal {A}$ in $\mathcal {B}$ . To see that this embedding is elementary assume that $(\mathcal {A},\overline {a})\models \varphi $ , then $\bar v_{\bar a}\in D_\varphi ^{\mathcal {A}}$ and by elementarity $\bar v_{\bar a}\in D_\varphi ^{\mathcal {B}}$ . So, $(\mathcal {B}, g_{\mathcal {B}}^{-1}(\bar v_{\bar a}))\models \varphi (g_{\mathcal {B}}^{-1}(\bar v_{\bar a}))$ .⊣

Concatenating the reductions f and g and from the fact that $\mathbin{\hookrightarrow}_{\mathfrak {G}}$ , $\approx _{\mathfrak {G}}$ are complete $\boldsymbol {\Sigma }^1_1$ quasi-orders, respectively equivalence relations, we obtain Theorem 1.1.

To prove Theorem 1.2 notice that f and g are computable. Thus there is a Turing operator $\Phi $ such that $\Phi =g\circ f$ . We can find a Turing machine $\varphi _i$ such that $\varphi _i(j,k)=\Phi ^{\mathcal {A}_j}(k)$ for all $k\in \omega $ if $\mathcal {A}_j$ is a total computable structure. Using the s-m-n theorem we can then get a computable function $j\mapsto u(i,j)$ where $u(i,j)$ is an index for $\Phi ^{\mathcal {A}_j}$ . Thus $\mathbin{\hookrightarrow}_{\mathfrak {G}}$ is computably reducible to $\mathbin{\preccurlyeq}_{\mathfrak {G}}$ as a quasi-order on $\omega $ . Fokina and Friedman [Reference Fokina and Friedman6] showed that $\mathbin{\hookrightarrow}_{\mathfrak {G}}$ is $\Sigma _1^1$ complete. Thus, $\mathbin{\preccurlyeq}_{\mathfrak {G}}$ is also $\Sigma ^1_1$ complete and Theorem 1.2 follows.

4 Degree spectra

In this section we finish the proof of Theorem 1.3. As noticed before the two reductions $f: \mathfrak {G}\mathbin{\rightarrow} \mathfrak {C}$ and $g:\mathfrak {C}\mathbin{\rightarrow} \mathfrak {G}$ are computable. We will see that the two functions induce an even stronger notion of reduction that allows us to relate the degree spectra realized by $\approx _{\mathfrak {G}}$ and $\approxeq _{\mathfrak {G}}$ .

Definition 4.1 (cf. [Reference Harrison-Trainor, Melnikov, Miller and Montalbán13, Reference Miller, Poonen, Schoutens and Shlapentokh17]).

Let $\mathfrak {C}$ and $\mathfrak {D}$ be categories. A computable functor between $\mathfrak {C}$ and $\mathfrak {D}$ is a pair of computable operators $(\Phi ,\Phi _*)$ such that

  1. (1) for all $\mathcal {A}\in \mathfrak {C}_1$ , $F(\mathcal {A})=\Phi ^{\mathcal {A}}$ , and

  2. (2) for all $f:\mathcal {A}\mathbin{\rightarrow} \mathcal {B}\in \mathfrak {C}_2$ , $F(f)=\Phi _*^{\mathcal {A}\oplus f\oplus \mathcal {B}}$ .

Computable functors preserve many computability theoretic properties. One example are degree spectra: Recall that for $X,Y\subseteq \mathcal P(\omega )$ , X is Medvedev reducible to Y, $X\leq _s Y$ , if there is a Turing operator $\Phi $ such that for all $y\in Y$ , there is $x\in X$ such that $\Phi ^y=x$ . We have in particular that if $F:(\mathfrak {C},{\leadsto }_1)\mathbin{\rightarrow} (\mathfrak {D}, {\leadsto }_2)$ is a computable functor, and $\sim _i$ is the equivalence relation given by

$$ \begin{align*} \mathcal{A}\sim_i\mathcal{B} \Leftrightarrow \mathcal{A}\mathbin{{\leadsto}_i} \mathcal{B} \land \mathcal{B} \mathbin{{\leadsto}_i} \mathcal{A},\end{align*} $$

then for all $\mathcal {A}\in \mathfrak {C}$ , $\textit{DgSp}_{\sim _1}(F(\mathcal {A}))\leq _s \textit{DgSp}_{\sim _2}(\mathcal {A}).$

It is an easy exercise to see that $g\circ f$ induces a computable functor $H:(\mathfrak {G},\mathbin{\hookrightarrow})\mathbin{\rightarrow} (\mathfrak {G},\mathbin{\preccurlyeq})$ and thus for all $\mathcal {G}\in \mathfrak {G}$ , $\textit{DgSp}_\approx (H(\mathcal {G}))\leq _s \textit{DgSp}_\approxeq (\mathcal {G})$ .

To get that every degree spectrum realized in $\mathfrak {C}$ is also realized in $\mathfrak {D}$ we need a stronger notion of reducibility. To define this we need an effectivization of the category theoretic notion of a natural isomorphism between functors.

Definition 4.2 [Reference Harrison-Trainor, Melnikov, Miller and Montalbán13].

A functor $F:\mathfrak {C}\mathbin{\rightarrow} \mathfrak {D}$ is effectively isomorphic to $G:\mathfrak {C}\mathbin{\rightarrow} \mathfrak {D}$ if there is a Turing operator $\Lambda $ such that for every $\mathcal {A}\in \mathfrak {C}$ , $\Lambda ^{\mathcal {A}}$ is an isomorphism from $F(\mathcal {A})$ to $G(\mathcal {A})$ , and the following diagram commutes for all $\mathcal {A},\mathcal {B}\in \mathfrak {C}_1$ and every $\gamma :\mathcal {A}\mathbin{\rightarrow} \mathcal {B}\in \mathfrak {C}_2$ .

Definition 4.3 (cf. [Reference Harrison-Trainor, Melnikov, Miller and Montalbán13]).

We say that $(\mathfrak {C},{\leadsto }_1)$ is CBF-reducible to $(\mathfrak {D},{\leadsto }_2)$ , $(\mathfrak {C},{\leadsto }_1)\leq _{CBF}(\mathfrak {D},{\leadsto }_2)$ if

  1. (1) there is a computable functor $F:\mathfrak {C} \mathbin{\rightarrow} \mathfrak {D}$ and a computable functor $G:\mathfrak {D} \supseteq \hat {\mathfrak {D}}\mathbin{\rightarrow} \mathfrak {C}$ where $\hat {\mathfrak {D}}$ is the $\sim _2$ -closure of $F(\mathfrak {C} )$ ,

  2. (2) $F\circ G$ is effectively isomorphic to $Id_{\hat {\mathfrak {D}}}$ , $G\circ F$ is effectively isomorphic to $Id_{\mathfrak {C}}$ , and

  3. (3) if $\Lambda _{\mathfrak {C}}$ , $\Lambda _{\mathfrak {D}}$ are the operators witnessing the effective isomorphism between $G\circ F$ and $Id_{\mathfrak {C}}$ , respectively, $F\circ G$ and $Id_{\hat {\mathfrak {D}}}$ , then for every $\mathcal {A}\in \mathfrak {C}$ , $F(\Lambda _{\mathfrak {C}}^{\mathcal {A}})=\Lambda _{\mathfrak {D}}^{F(\mathcal {A})}:F(\mathcal {A}) \mathbin{\rightarrow} F(G(F(\mathcal {A})))$ and every $\mathcal {B}\in \hat {\mathfrak {D}}$ , $G(\Lambda _{\mathfrak {D}}^{\mathcal {B}})=\Lambda _{\mathfrak {C}}^{G(\mathcal {B})}:G(\mathcal {B})\mathbin{\rightarrow} G(F(G(\mathcal {B})))$ .

Consider two structures $\mathcal {A}$ and $\mathcal {B}$ and a morphism $f:\mathcal {A}\cong \mathcal {B}$ . Then, clearly $\mathcal {A}\leq _T \mathcal {B}\oplus f$ ; after all, we have that $R^{\mathcal {A}}(a_1,\dots , a_n)$ if and only if $R^{\mathcal {B}}(f(a_1),\dots , f(a_n))$ . The following definition generalizes this observation.

Definition 4.4. A category $\mathfrak {C}$ is degree invariant if for every $\mathcal {A},\mathcal {B}\in \mathfrak {C}_1$ and every $f:\mathcal {A}\mathbin{\rightarrow}\mathcal {B}\in \mathfrak {C}_2$ , $f\equiv _T f^{-1}$ and $\mathcal {A}\leq _T \mathcal {B}\oplus f$ .

Proposition 4.5. If $\mathfrak {C}$ and $\mathfrak {D}$ are degree invariant and $\mathfrak {C}\leq _{CBF} \mathfrak {D}$ , then every set realized as a $\sim _1$ -spectrum in $\mathfrak {C}$ is realized as a $\sim _2$ -spectrum in $\mathfrak {D}$ .

Proof. Say $F:\mathfrak {C} \mathbin{\rightarrow} \mathfrak {D}$ and $G:\mathfrak {D}\mathbin{\rightarrow} \mathfrak {C}$ witness that $\mathfrak {C}\leq _{CBF}\mathfrak {D}$ . Fix $\mathcal {A}\in \mathfrak {C}$ and let $\Lambda $ be the Turing operator witnessing that $G\circ F$ is effectively isomorphic to the identity functor on $\mathfrak {C}$ . Then, for $\hat {\mathcal {A}}\sim _1\mathcal {A}$ , $\hat {\mathcal {A}}\geq _T F(\hat {\mathcal {A}})\geq _T G(F(\hat {\mathcal {A}}))$ and by degree invariance $\hat {\mathcal {A}}\leq _T \Lambda ^{\mathcal {A}}\oplus G(F(\hat {\mathcal {A}}))\equiv _T G(F(\hat {\mathcal {A}}))\leq _T F(\hat {\mathcal {A}})$ . Thus, $\textit{DgSp}_{\sim _1}(\mathcal {A})\subseteq \textit{DgSp}_{\sim _2}(F(\hat {\mathcal {A}}))$ . The proof that $\textit{DgSp}_{\sim _1}(\mathcal {A})\supseteq \textit{DgSp}_{\sim _2}(F(\hat {\mathcal {A}}))$ is similar. So, if X is a $\sim _1$ spectrum realized by $\mathcal {A}$ in $\mathfrak {C}$ , then it is realized as a $\sim _2$ spectrum in $\mathfrak {D}$ .⊣

Notice that if $\mathfrak {K}$ is a class of relational structures, then whether $(\mathfrak {K}, {\leadsto })$ is degree invariant only depends on ${\leadsto }$ . Thus we might say that a relation on structures is degree invariant.

Definition 4.6. A class of structures $\mathfrak {C}$ is CBF-complete with respect to a degree invariant relation ${\leadsto }$ , if for every class $\mathfrak {K}$ , $(\mathfrak {K}, {\leadsto })\leq _{CBF} (\mathfrak {C},{\leadsto })$ .

We showed in Section 3.2 that for any class $\mathfrak {K}$ equipped with the elementary embeddability relation there is a computable reduction g from $(\mathfrak {K},\mathbin{\preccurlyeq})$ to $(\mathfrak {G},\mathbin{\preccurlyeq})$ . We can now show that these reductions induce $CBF$ -reductions $(\mathfrak {K},\mathbin{\preccurlyeq})\leq _{CBF} (\mathfrak {G}\mathbin{\preccurlyeq})$ and that thus graphs are CBF-complete for elementary embeddability. Verifying the conditions of Definition 4.3 is quite technical, but the core ideas of the proof should not be too difficult.

Theorem 4.7. The class of graphs is CBF-complete for elementary embeddability.

Proof. Fix a class $\mathfrak {K}$ . It is clear from the construction that g induces a computable functor $F:(\mathfrak {K},\approxeq )\mathbin{\rightarrow} (\mathfrak {G},\approxeq )$ . We have to show that $F(\mathfrak {K})$ is closed under elementary bi-embeddability, that there is a functor $G:F(\mathfrak {K})\mathbin{\rightarrow} \mathfrak {K}$ such that $F\circ G$ and $G\circ F$ are effectively isomorphic to the identity on $\mathfrak {K}$ , respectively, $F(\mathfrak {K})$ and that the witnesses of these effective isomorphisms agree.

Let $\mathcal {G}\approxeq F(\mathcal {A})$ for some $\mathcal {A}\in \mathfrak {K}$ . We may assume without loss of generality that $\mathcal {G}$ is an elementary substructure of $F(\mathcal {A})$ . For every $\bar a\in \mathcal {G}^{<\omega }$ , $\textit{tp}_{\mathcal {G}}(\bar a)=\textit{tp}_{\mathcal {A}}(\bar a)$ . Thus $\mathcal {G}$ must contain the elements $a,b,c$ of $F(\mathcal {A})$ with unique $3$ -cycles, respectively, $5$ -cycles and $7$ -cycles connected to them. Furthermore, say $\bar a \in \mathcal {G}$ codes elements of A in $F(\mathcal {A})$ such that $\mathcal {A}\models R_i(\bar a)$ , then this information must also be coded in $\mathcal {G}$ as it is preserved in the type of $\bar a$ . We can compute a structure $G(\mathcal {G})$ as follows. Fix a $\mathcal {G}$ computable injective enumeration f of the set $\{x: a\rightarrowtail x\}$ . Notice that this can be done uniformly since the set $\{x:a\rightarrowtail x\}$ is uniformly computable in all structures in $F(\mathfrak {K})$ . Let the universe of $G(\mathcal {G})$ be the pull-back along f. Then for all $a_1,\dots , a_i=\bar a \in \omega ^{i}$ , $G(\mathcal {G})\models R_i(\bar a)$ if for every $a_j$ , $j<i$ , there is a chain of $i+j$ connected elements $y_1,\dots, y_{i+j}$ with $f(a_j)\rightarrowtail y_1$ , all j chains share the same last element y and $y\rightarrowtail b$ . Likewise, $G(\mathcal {G})\models \neg R_i(\bar a)$ if there are chains satisfying the above conditions with $y\rightarrowtail c$ . This finishes the construction of $G(\mathcal {G})$ .

Let $\mathcal {G},\hat {\mathcal {G}}\in F(\mathfrak {K})$ and $g:\mathcal {G}\mathbin{\preccurlyeq} \hat { \mathcal {G}}$ . As both graphs are elementary bi-embeddable with images of structures in $\mathfrak {K}$ , they have unique vertices a, respectively, $\hat a $ with $3$ -cycles connected to them. Computably in $\mathcal {G}$ and $\hat {\mathcal {G}}$ find the vertices and enumerate the sets $\{ x: a\rightarrowtail x\}$ , and $\{ x: \hat a\rightarrowtail x\}$ using the same procedure as in the construction of $G(\mathcal {G})$ above. Let f, respectively, $\hat f$ be these enumerations. Now let $G(g)=\hat f^{-1}\circ g\circ f$ . By construction $G(g):G(\mathcal {G})\mathbin{\hookrightarrow} G(\hat {\mathcal {G}})$ and $G(g)$ is uniformly computable in $\mathcal {G}\oplus g\oplus \hat {\mathcal {G}}$ . To see that $G(g)$ is elementary, assume towards a contradiction that it is not. Then there is $\overline {a}\in G(\mathcal {G})$ and $\varphi $ such that $G(\mathcal {G})\models \varphi (\overline {a})$ but $G(\hat {\mathcal {G}})\not \models \varphi (G(g)(\overline {a}))$ . Recall that the atomic diagram of the tuple $\overline {a}$ is coded in the type of $f(\overline {a})$ in $\mathcal {G}$ and similarly, the atomic diagram of $G(g)(\overline {a})$ is coded in the type of $g(f(\overline {a}))$ in $\hat { \mathcal {G}}$ . So, g could not be elementary, a contradiction.

To see that $G\circ F$ and $F\circ G$ are effectively isomorphic to the identities on $\mathfrak {K}$ and $F(\mathfrak {K})$ , respectively, first note that $G(F(\mathcal {A}))\cong \mathcal {A}$ . There is a canonic isomorphism given by the composition of the maps $a \mapsto v_a$ and the enumeration f of the set $\{x: a\rightarrowtail x\}$ , i.e., the isomorphism is defined by $a\mapsto f^{-1}(v_a)$ . It is clearly uniformly computable, say by $\Lambda _{\mathfrak {K}}$ . On the other hand let $\mathcal {G} \in F(\mathfrak {K})$ , then we can compute an isomorphism between $F(G(\mathcal {G}))$ and $\mathcal {G}$ by doing the following. Every $v\in G$ either defines a relation $R_i$ on some tuple, codes an element, or is used to define $a, b, c$ . One can computably determine which of the three cases holds. In the second case simply map v to $v_{f^{-1}(v)}$ , in the third case one can computably determine whether v is used to define $a, b, c$ , and, using F and G, computably find the corresponding element in $F(G(\mathcal {G}))$ . In the first case, we have to find the tuple $\overline {w}$ such that v is involved in the coding of the relation $R_i$ on $\bar w$ . We then map v to the corresponding element in the coding of $R_i$ on the tuple $v_{f^{-1}(\overline {w})}$ . It is easy to see that one can define a Turing operator $\Lambda _{\mathfrak {F}(\mathfrak {K})}$ computing this isomorphism. The Turing operators $\Lambda _{\mathfrak {F}(\mathfrak {K})}$ and $\Lambda _{\mathfrak {K}}$ will witness the effective isomorphism between $F\circ G$ and the identity on $F(\mathfrak {K})$ , respectively, the effective isomorphism between $G\circ F$ and the identity on $\mathfrak {G}$ .

It remains to show that the diagrams of Definition 4.2 commute and that for all $\mathcal {A}\in \mathfrak {K}$ and $\mathcal {G}\in F(\mathfrak {K})$ , $F(\Lambda _{\mathfrak {K}}^{\mathcal {A}})=\Lambda _{F(\mathfrak {K})}^{F(\mathcal {A})}$ and $G(\Lambda _{F(\mathfrak {K})}^{\mathcal {G}})=\Lambda _{\mathfrak {K}}^{G(\mathcal {G})}$ . For the commutation of the diagrams, say first that $\mathcal {A},\hat {\mathcal {A}}\in \mathfrak {K}$ with $\iota : \mathcal {A}\mathbin{\preccurlyeq} \hat { \mathcal {A}}$ . Let $h:\mathcal {A}\mathbin{\rightarrow} F(\mathcal {A})$ and $\hat h: \hat {\mathcal {A}}\mathbin{\rightarrow} F(\mathcal {A})$ given by $h,\hat h:a\mapsto v_a$ . We have not given an explicit definition of $F(\iota )$ yet. But notice that $F(\iota )$ is uniquely determined by the way it maps the elements $v_a$ . In particular, if $\nu (x)=F(\iota )(x)$ on the elements with $a\rightarrowtail x$ , then $\nu =F(\iota )$ . Thus we have that

$$ \begin{align*} G(F(\iota))=\hat f^{-1}\circ F(\iota)\circ f=\hat f^{-1}\circ \hat h \circ\iota\circ h^{-1}\circ f,\end{align*} $$

and $\Lambda _{\mathfrak {K}}^{\mathcal {A}}=f^{-1}\circ h$ , so

$$ \begin{align*} \Lambda_{\mathfrak{K}}^{\hat{\mathcal{A}}}\circ \iota=\hat f^{-1} \circ\hat h\circ \iota=G(F(\iota))\circ \Lambda_{\mathfrak{K}}^{\mathcal{A}},\end{align*} $$

and thus $G\circ F$ is effectively isomorphic to $id_{\mathfrak {K}}$ . Now, say $\mathcal {G},\hat {\mathcal {G}}\in F(\mathfrak {K})$ with $\eta :\mathcal {G}\mathbin{\preccurlyeq} \hat {\mathcal {G}}$ . First let $x\in \mathcal {G}$ with $a\rightarrowtail x$ . Let h, and $\hat h$ be as above, then $(\Lambda _{F(\mathfrak {K})}^{\hat { \mathcal {G}}}\circ \eta )(x)=(\hat h\circ \hat f^{-1}\circ \eta )(x)$ and $F(\hat f^{-1}\circ \eta \circ f)=\hat h\circ \hat f^{-1}\circ \eta \circ f\circ h^{-1}$ , so

$$ \begin{align*}(F(G(\eta))\circ\Lambda_{F(\mathfrak{K})}^{\mathcal{G}})(x)=(F(\hat f^{-1}\circ \eta\circ f)\circ h\circ f^{-1})(x)=(\hat h\circ \hat f^{-1}\circ \eta)(x).\end{align*} $$

Having established that the diagram commutes on the restricted universes we use the fact that any embedding is determined by these parts of the universes to obtain that $F\circ G$ is effectively isomorphic to $id_{F(\mathfrak {K})}$ .

To verify the last condition in Definition 4.3 let $\mathcal {A}\in \mathfrak {K}$ , then on $\{x:x\rightarrowtail a\}$

$$ \begin{align*} F(\Lambda_{\mathfrak{K}}^{\mathcal{A}})(x)=(\hat h\circ f^{-1}\circ h\circ h^{-1})(x)=(\hat h\circ f^{-1})(x)=\Lambda_{F(\mathfrak{K})}^{F(\mathcal{A})}(x)\end{align*} $$

and as there is a unique extension of this to a mapping $F(\mathcal {A})\mathbin{\rightarrow} F(G(F(\mathcal {A})))$ $F(\Lambda _{\mathfrak {K}}^{\mathcal {A}})=\Lambda _{F(\mathfrak {K})}^{F(\mathcal {A})}$ . At last, let $\mathcal {G}\in F(\mathfrak {K})$ , then

$$ \begin{align*} G(\Lambda^{\mathcal{G}}_{F(\mathfrak{K})})=\hat f^{-1}\circ h\circ f^{-1}\circ f=\hat f^{-1}\circ h=\Lambda_{\mathfrak{K}}^{G(\mathcal{G})},\end{align*} $$

where f is the enumeration of $\{x:x\rightarrowtail a\}$ in $\mathcal {G}$ and $\hat f$ the one in $G(F(\mathcal {G}))$ .⊣

The following is a direct consequence of Proposition 4.5 and Theorem 4.7.

Corollary 4.8. For every structure $\mathcal {A}$ , there is a graph $\mathcal {G}_{\mathcal {A}}$ such that

$$ \begin{align*} \textit{DgSp}_\approxeq(\mathcal{A})=\textit{DgSp}_\approxeq(\mathcal{G}_{\mathcal{A}}).\end{align*} $$

Unfortunately, for the reduction from bi-embeddability on graphs to elementary bi-embeddability on $\mathfrak {C}$ given in Section 3.1 we cannot deduce that $(\mathfrak {G},\mathbin{\hookrightarrow})\leq _{CBF} (\mathfrak {C},\mathbin{\preccurlyeq})$ . However, we can still establish a relationship between the degree spectra in these classes. Recall that $\mathcal {S}_0$ is the substructure of $\mathcal {S}$ generated by the constant string of $0$ ’s and $\mathcal {S}_1$ is the substructure generated by the constant string of $1$ ’s.

Lemma 4.9. Let X be $\Delta ^0_2(Y)$ for some set Y. Then there exist a sequence of structures $(\mathcal {C}_i)_{i\in \omega }$ , uniformly computable in Y, such that for all $i\in \omega $

$$ \begin{align*} \mathcal{C}_i\cong\begin{cases} \mathcal{S}_0 & \text{if }i\in X,\\ \mathcal{S}_1 &\text{if } i\not\in X.\end{cases}\end{align*} $$

Proof. As X is $\Delta ^0_2$ there is an X-computable two-valued function f such that

$$ \begin{align*} \lim_{s{\rightarrow} \infty} f(i,s)=\begin{cases} 0 &\text{if } i\in X,\\ 1&\text{if } i\not\in X.\end{cases}\end{align*} $$

Define a structure $\mathcal {C}$ as follows. Fix an enumeration g of $2^{<\omega }$ . At Stage $0$ define $\mathcal {C}_0$ to be the partial structure containing one element a on which no relation holds and leave all function symbols undefined. Say we have defined the structure $\mathcal {C}_s$ . At Stage $s+1$ we look at $f(i,j)$ for $j<s$ and define $\mathcal {C}_{s+1}$ as if a was the finite string with $a(j)=f(j)$ for $j<s$ . To be more precise:

  1. (1) For all k, if $k\leq s$ and $|g(k)|\leq s$ then let $R_{g(k)}(a)$ if and only if $g(k)\preceq a$ , and if $F_{g(k)}(a)$ has not been defined yet add a new element and set $F_{g(k)}(a)$ .

  2. (2) We may assume by induction that for all elements b in $\mathcal {C}_{s+1}$ there is $k\leq s$ such that $b=F_{g(k)}(a)$ . We set $R_{g(l)}(b)$ respecting this equation for all $l\leq s$ .

It is easy to see that this procedure yields a computable sequence of structures $\mathcal {C}_s$ with $\mathcal {C}_s\subseteq \mathcal {C}_{s+1}$ and a computable structure as its limit. We let $\mathcal {C}$ be this structure. $\mathcal {C}$ contains an element a such that $\mathcal {A}\models R_\sigma (a)$ if and only if $a\preceq f(i,-)$ and all other elements are equal to $F_\tau (a)$ for some $\tau \in 2^{<\omega }$ . Thus, in particular if $\lim f(i,s)=0$ , then there is an element representing the constant string of $0$ ’s in $\mathcal {A}$ and otherwise there is an element representing the constant string of $1$ ’s in $\mathcal {A}$ . Let $\mathcal {C}_i=\mathcal {C}$ , then $\mathcal {C}_i\cong \mathcal {S}_0$ if and only if $i\in X$ and $\mathcal {C}_i\cong \mathcal {S}_1$ if and only if $i\not \in X$ as required.⊣

We use the usual category theoretic definition of pseudo-inverse. Two functors $F:\mathfrak {C}\mathbin{\rightarrow} \mathfrak {D}$ and $G:\mathfrak {D}\mathbin{\rightarrow}\mathfrak {C}$ are pseudo-inverses if $F\circ G$ is naturally isomorphic to $id_{\mathfrak {D}}$ and $G\circ F$ is naturally isomorphic to $id_{\mathfrak {C}}$ .

Recall that a structure $\mathcal {A}$ is automorphically trivial if there is a finite set $D\subseteq A $ such that every permutation of A that fixes D pointwise is an automorphism. Knight [Reference Louveau and Rosendal16] showed that isomorphism spectra of automorphically trivial structures contain only one Turing degree and that the isomorphism spectra of automorphically non-trivial structures are upwards closed in the Turing degrees. In [Reference Fokina, Rossegger and Mauro7] the authors showed that if $\mathcal {A}$ is automorphically trivial and $\mathcal {B}\approx \mathcal {A}$ , then $\mathcal {B}\cong \mathcal {A}$ . Thus, as every bi-embeddability and elementary bi-embeddability spectrum is a union of isomorphism spectra, Knight’s result carries over to this setting.

Lemma 4.10. For every automorphically non-trivial structure $\mathcal {G}\in \mathfrak {G}$ there is $\mathcal {A}\in \mathfrak {C}$ such that

$$ \begin{align*}\textit{DgSp}_\approxeq(\mathcal{A})=\{X: X'\in \textit{DgSp}_\approx(\mathcal{G})\}.\end{align*} $$

Proof. Recall the reduction from embeddability on graphs to elementary embeddability on $\mathfrak {C}$ given in Section 3.1. It is easy to see that it induces a computable functor $F: (\mathfrak {G}, \approx )\mathbin{\rightarrow}(\mathfrak {C},\approxeq )$ . We show that the functor has a pseudo-inverse G on the $\approxeq $ -saturation of $F(\mathfrak {G})$ and then use Lemma 4.9 to obtain the lemma. The minimality of the submodels $\mathcal {S}$ used in the construction of F will play a crucial role in the proof.

Say $\mathcal {B}\approxeq F(\mathcal {G})$ for $\mathcal {G}\in \mathfrak {G}$ , that $x,y$ are vertices in $\mathcal {B}$ and $\mathcal {S}_{(x,y)}$ is the substructure on the elements satisfying $O(x,y,-)$ in the reduct to the language of $\mathcal {S}$ . We have that either $\mathcal {S}_{(x,y)}\cong \mathcal {S}_0$ or $\mathcal {S}_{(x,y)}\cong \mathcal {S}_1$ since it elementary embeds into $\mathcal {S}_{(u,v)}$ for some $u,v\in F(\mathcal {G})$ and $\mathcal {S}_{(u,v)}\cong \mathcal {S}_0$ or $\mathcal {S}_{(u,v)}\cong \mathcal {S}_1$ by minimality. Thus, we get a graph $G(\mathcal {B})$ from $\mathcal {B}$ by defining an edge between two vertex variables $x,y$ from $\mathcal {B}$ if and only if $\mathcal {S}_{(u,v)}\cong \mathcal {S}_0$ . Clearly every elementary embedding of $\mathcal {B}$ in $F(\mathcal {G})$ yields an embedding of $G(\mathcal {B})$ in $\mathcal {G}\cong G(F(\mathcal {G}))$ and the analogous fact is true for every elementary embedding of $F(\mathcal {G})$ in $\mathcal {B}$ . Likewise, we can argue that $F(G(\mathcal {A}))\cong \mathcal {A}$ for every $\mathcal {A}\in F(\mathfrak {G})$ . Thus G and F are pseudo-inverses.

However, notice that G is not effective. Within one jump over the diagram of any $\mathcal {B}\in F(\mathfrak {G})$ we can compute $G(\mathcal {B})$ as the isomorphism types of $\mathcal {S}_1$ and $\mathcal {S}_0$ are definable by $\Sigma ^c_2$ formulas in $\mathfrak {C}$ . This implies that for all $\mathcal {A}\in \mathfrak {G}$ , $F(\mathcal {A})'\geq _T G(F(\mathcal {A}))\cong \mathcal {A}$ . So, in particular,

(1) $$ \begin{align} \textit{DgSp}_\approxeq(F(\mathcal{A}))\geq_s \{X: X'\in \textit{DgSp}_\approx(G(F(\mathcal{A})))=\textit{DgSp}_\approx(\mathcal{A})\}.\end{align} $$

On the other hand, let $X\in \textit{DgSp}_\approx (\mathcal {A})$ and $\hat {\mathcal {A}}\approx \mathcal {A}$ such that $\hat {\mathcal {A}}\equiv _T X$ . Then by Lemma 4.9 for every Y with $Y'\geq _T X$ , there is $\mathcal {B}\cong F(\hat {\mathcal {A}})$ with $\mathcal {B}\equiv _T Y$ . This process is uniform in $\mathcal {B}$ and Y. Thus

(2) $$ \begin{align} \textit{DgSp}_\approxeq(F(\mathcal{A}))\leq_s \{ X: X'\in \textit{DgSp}_\approx(\mathcal{A})\}. \end{align} $$

As both bi-embeddability and elementary bi-embeddability spectra of automorphically non-trivial structures are upwards closed, Equations (1) and (2) imply that

$$ \begin{align*} \textit{DgSp}_\approxeq(F(\mathcal{A}))=\{ X: X'\in \textit{DgSp}_\approx(\mathcal{A})\}.\end{align*} $$

Theorem 1.3 follows directly from Lemma 4.10 and Corollary 4.8.

We note that Theorem 1.3 may not be optimal. Using a different proof one might be able to get an even stronger relationship between the spectra realized by bi-embeddability on graphs and elementary bi-embeddability on graphs. We thus ask:

Question 4.11. Is every bi-embeddability spectrum of a graph the elementary bi-embeddability spectrum of a graph and vice versa?

One way to answer this question positively is by showing that if X is an elementary bi-embeddability spectrum then so is $X'=\{ x': x\in X\}$ . This is true for isomorphism spectra and usually shown by considering an appropriate definition for the jump of a structure. However, all known definitions do not preserve elementary embeddability (and not even elementary equivalence). We thus ask:

Question 4.12. Let X be the elementary bi-embeddability spectrum of a graph. Is $X'$ the elementary bi-embeddability spectrum of a graph?

Question 4.13. Let X be the theory spectrum of a graph. Is $X'$ the theory spectrum of a graph?

Also, while Theorem 4.7 shows that graphs are complete for elementary bi-embeddability spectra, it is unknown whether the same is true for bi-embeddability.

Question 4.14. Is every bi-embeddability spectrum of a structure realized as the bi-embeddability spectrum of a graph?

Acknowledgments

The author thanks David Marker for providing references on minimality. The results in this paper were obtained while the author was a postdoctoral fellow at the Department of Pure Mathematics of the University of Waterloo. The author was partially supported by a Marie Skłodowska-Curie Action under grant agreement No. 101026834—ACOSE.

References

Andrews, U. and Knight, J., Spectra of atomic theories, this Journal, vol. 78 (2013), no. 4, pp. 11891198.Google Scholar
Andrews, U. and Miller, J., Spectra of theories and structures . Proceedings of the American Mathematical Society , vol. 143 (2015), no. 3, pp. 12831298.CrossRefGoogle Scholar
Andrews, U., Cai, M., Diamondstone, D., Lempp, S., and Miller, J., Theory spectra and classes of theories . Transactions of the American Mathematical Society , vol. 369 (2017), no. 9, pp. 64936510.CrossRefGoogle Scholar
Calderoni, F. and Thomas, S., The bi-embeddability relation for countable abelian groups . Transactions of the American Mathematical Society , vol. 371 (2019), no. 3, pp. 22372254.CrossRefGoogle Scholar
Camerlo, R., Marcone, A., and Ros, L. M., Invariantly universal analytic quasi-orders . Transactions of the American Mathematical Society , vol. 365 (2013), no. 4, pp. 19011931.CrossRefGoogle Scholar
Fokina, E. and Friedman, S.-D., Equivalence relations on classes of computable structures , Mathematical Theory and Computational Practice (K. Ambos-Spies, B. Löwe, and W. Merkle, editors), Lecture Notes in Computer Science, vol. 5635, Springer, Berlin–Heidelberg, 2009, pp. 198207.CrossRefGoogle Scholar
Fokina, E., Rossegger, D., and Mauro, L. S., Bi-embeddability spectra and bases of spectra . Mathematical Logic Quarterly , vol. 65 (2019), no. 2, pp. 228236.CrossRefGoogle Scholar
Fokina, E., Semuhin, P., and Turetsky, D., Degree spectra with respect to equivalence relations . Algebra and Logic , vol. 58 2019, no. 2, pp. 158172.Google Scholar
Fokina, E., Friedman, S.-D., Harizanov, V., Knight, J. F., Mccoy, C., and Montalbán, A., Isomorphism relations on computable structures , this Journal, vol. 77 (2021), no. 1, pp. 122132.Google Scholar
Friedman, H. and Stanley, L., A Borel reducibility theory for classes of countable structures, this Journal, vol. 54 (1989), no. 3, pp. 894914.Google Scholar
Fuhrken, G., Minimal- und Primmodelle . Archiv für Mathematische Logik und Grundlagenforschung , vol. 9 (1966), nos. 1–2, pp. 311.CrossRefGoogle Scholar
Gao, S., Invariant Descriptive Set Theory , CRC Press, Boca Raton, 2008.CrossRefGoogle Scholar
Harrison-Trainor, M., Melnikov, A., Miller, R., and Montalbán, A., Computable functors and effective interpretability, this Journal, vol. 82 (2017), no. 1, pp. 7797.Google Scholar
Ikeda, K., Minimal models of minimal theories . Tsukuba Journal of Mathematics , vol. 17 (1993), no. 2, pp. 491496.CrossRefGoogle Scholar
Knight, J. F., Degrees coded in jumps of orderings, this Journal, vol. 51 (1986), no. 4, pp. 10341042.Google Scholar
Louveau, A. and Rosendal, C., Complete analytic equivalence relations . Transactions of the American Mathematical Society , vol. 357 (2005), no. 12, pp. 48394866.CrossRefGoogle Scholar
Miller, R., Poonen, B., Schoutens, H., and Shlapentokh, A., A computable functor from graphs to fields, this Journal, vol. 83 (2018), no. 1, pp. 326348.Google Scholar
Montalbán, A., Analytic equivalence relations satisfying hyperarithmetic-is-recursive . Forum of Mathematics, Sigma , vol. 3 (2015), p. e8.CrossRefGoogle Scholar
Montalbán, A., Computable Structure Theory: Within the Arithmetic , Cambridge University Press, Cambridge, 2021.CrossRefGoogle Scholar
Rossegger, D., Elementary bi-embeddability spectra of structures , Sailing Routes in the World of Computation (F. Manea, R. Miller, and D. Nowotka, editors), Lecture Notes in Computer Science, vol. 10936, Springer, Cham, 2018, pp. 349358.CrossRefGoogle Scholar
Shelah, S., On the number of minimal models, this Journal, vol. 43 (1978), no. 3, pp. 475480.Google Scholar
Yu, L., Degree spectra of equivalence relations , Proceedings of the 13th Asian Logic Conference , World Scientific, Hackensack, 2015, pp. 237242.Google Scholar
Figure 0

Figure 1 Part of the graph $F(\mathcal {A})$ coding that $\mathcal {A}\not \models R_3(3,2,1)$ and $\mathcal {A}\models R_3(1,2,3)$.