Characterizing relative decidability
in terms of model completeness

Matthew Harrison-Trainor and Liam Tan Harrison-Trainor was partially supported by a Sloan Research Fellowship and by the National Science Foundation under Grant DMS-2452105 and DMS-2419591/DMS-2153823. Liam Tan was supported as an REU student by the National Science Foundation under grant DMS-2419591.
Abstract

A theory T is said to be relatively decidable if for every model of T, one can compute the elementary diagram of that model from its atomic diagram together with T. We verify a conjecture of Chubb, Miller, and Solomon by showing that for complete theories T, T is relatively decidable if and only if T has a conservative model complete extension of the form T{φ(c¯)} where Tx¯φ(x¯). We also show that no such characterization works for incomplete theories.

1 Introduction

In applied model theory, especially in the style of Robinson, one of the main tasks when studying a particular class of structures is to understand the definable sets. The strongest way to do this is to prove a quantifier elimination result, which says that every definable set can be defined by a formula without quantifiers. Chevalley’s theorem on constructible sets is exactly quantifier elimination for algebraically closed fields, while work of Seidenberg, Robinson, and Blum established quantifier elimination for differentially closed fields in characteristic zero (see [MAR00]). Many natural structures do not have quantifier elimination in their natural languages, but instead satisfy a weaker variant of quantifier elimination known as model completeness: Every definable set can be defined by both an existential formula and a universal formula. A classical example due to Tarski [TAR48] is the field of real numbers, which admits quantifier elimination in the language of ordered fields but is only model complete in the algebraic language without the ordering. Other examples of model completeness without quantifier elimination include the field p of p-adic numbers [MAC76], the exponential field (,exp) of real numbers [WIL96], and algebraically closed fields with a generic automorphism [CH99].

One consequence of model completeness is that it yields an algorithm reducing the problem of computing membership in definable sets to membership in quantifier-free definable sets. Such an algorithm might be thought of as the weakest possible variant of quantifier elimination. Our main result is that for complete theories the existence of such an algorithm implies model completeness after naming finitely many constants. This perhaps explains the ubiquity of model completeness.

More formally, let be a computable first-order language and T a recursively axiomatizable first-order theory. If T is model complete, then every formula φ(x¯) is equivalent modulo T to both an existential and a universal formula. For every 𝒜T (with domain , so that it makes sense to perform computations on 𝒜) we can use the atomic diagram of 𝒜 to compute the elementary diagram of 𝒜. Indeed, given a formula φ(x¯) and a¯𝒜, we can find quantifier-free formulas ψ𝖳(x¯,y¯) and ψ𝖥(x¯,z¯) such that

Tφ(x¯)y¯ψ𝖳(x¯,y¯) and T¬φ(x¯)z¯ψ𝖥(x¯,z¯).

Since the theory is c.e., we can search for these formulas computably. Then, using the atomic diagram of 𝒜, we can simultaneously search for either b¯𝒜 such that 𝒜ψ𝖳(a¯,b¯) (in which case we have determined that 𝒜φ(a¯)) or for c¯𝒜 such that 𝒜ψ𝖥(a¯,c¯) (in which case we have determined that 𝒜¬φ(a¯)).

Chubb, Miller, and Solomon [CMS21] named this property of T relative decidability. While they defined this only for recursively axiomatizable theories, we remove this assumption by modifying the definition to allow access to the theory T in the computations.

Definition 1.1.

A theory T is relatively decidable if for every countable 𝒜T with domain the theory T together with the atomic diagram of 𝒜 compute the elementary diagram of 𝒜.

If T is model complete, then not only is T relatively decidable, but it is uniformly relatively decidable: There is a single algorithm (or Turing functional) that can always be used to compute the elementary diagram of a model from the atomic diagram. Chubb, Miller, and Solomon [CMS21] showed that these are the only uniformly relatively decidable theories, i.e., that T is uniformly relatively decidable if and only if it is model complete. This result holds for both complete and incomplete theories.

Chubb, Miller, and Solomon provided several examples of natural theories that are relatively decidable but not uniformly relatively decidable, including the theory of (,S) where S is the successor relation. The non-uniformity comes from the fact that in each model of Th(,S) we must identify the unique element that has no predecessor. In particular,

Th(,S)xyS(y)x

and in the language {S,0} with an additional constant, Th(,S){yS(y)0} is model complete. Chubb, Miller, and Solomon [CMS21] conjectured that one can characterize relative decidability in this form.

Our main result is a confirmation of this conjecture when the theory T is complete.11 1 Several years ago the first author circulated an incorrect refutation of this conjecture. He apologizes.

Theorem 1.2.

Let T be a complete theory. Then T is relatively decidable if and only if there is a formula φ(x¯) such that

  1. (1)

    Tx¯φ(x¯), and

  2. (2)

    the {c¯}-theory T{φ(c¯)} is model complete.

The difficult direction of the proof is to show that if T is relatively decidable then such a formula φ(x¯) exists; the other implication is easy to see and is true even if the theory is not complete. The general outline is as follows. After applying standard computability-theoretic forcing techniques, for each model 𝒜 and formula φ(x¯) we obtain an infinitary Σ1 formula ψ(x¯), a countable disjunction of existential formulas, which is equivalent to φ(x¯) in 𝒜. The difficulty is that in different models 𝒜, we may get different Σ1 formulas. The heart of the proof is an elementary but intricate purely model-theoretic argument to resolve this by passing between large (saturated) and small (type-omitting) models of T. The argument, appearing in Section 2, is only four pages and is very much worth reading.

Our result and the result of Chubb, Miller, and Solomon in the uniform case fit into a central theme in computable structure theory that robust computational properties should arise from definability. See, e.g., the standard texts [AK00, MON21, MON26] on computable structure theory where this theme plays a central role. Usually this is at the level of a single isomorphism type, e.g., Knight [KNI86] showed that if we can enumerate a set X from the atomic diagram of every copy of 𝒜 then X is enumeration reducible to the existential type of a tuple a¯ in 𝒜. The definability is also usually in the infinitary logic ω1ω. Because we are working with a first-order theory, compactness and omitting types allow us to reduce this definability to a model-theoretic property of finitary logic. The relationship between relative decidability and uniform relative decidability also follows the usual pattern when working with a single isomorphism type, which is that in the uniform case one does not have to name a tuple from the structure, but in the non-uniform case one does. Our result agrees with this pattern on a surface level but, while usually the uniform and non-uniform cases are essentially the same, here the non-uniform case is significantly more challenging and requires new tools, e.g., saturation and omitting types, while the uniform case required only compactness.

In the proof of the above theorem it is vital that T be a complete theory. In the proof, this assumption is used in the following form: Given a sentence φ, if we can show that some particular 𝒜T satisfies φ, then every model of T satisfies φ. Of course, it is natural to ask whether relative decidability can be characterized for incomplete theories as well. We show that there is no such characterization. Consider the naive definition of relative decidability; it requires a universal quantifier over all models of T. In terms of descriptive set theory, this makes the set of relatively decidable theories a 𝚷11 set. On the other hand, a characterization such as that in Theorem 1.2 uses only quantifiers over finitary formulas and proofs, and so one consequence of that characterization is that the set of complete relatively decidable theories is Borel.

We show that the set of (not necessarily complete) relatively decidable theories is 𝚷11-complete, and in particular it is not Borel.

Theorem 1.3.

There is a language such that the set

{T a -theory:T is relatively decidable}

is 𝚷11-Wadge-complete.

In particular, we show that given a tree 𝔗<, we can construct (in a relatively computable way) a theory T𝔗 such that

𝔗 is well-foundedT𝔗 is relatively decidable.

This implies that there is no characterization of relative decidability for incomplete theories which is simpler in form than the naive definition. In particular, we cannot prove Theorem 1.2, or any similar theorem, for arbitrary theories. The argument uses the tool of Marker extensions of theories, and we must develop the necessary definitions and lemmas, and particularly Lemma 3.2, in Section 3. The proof of Theorem 1.3 follows in Section 4. The definition of the theory and the argument that if 𝔗 is well-founded then T𝔗 is relatively decidable are both reasonably short. The argument that if 𝔗 is ill-founded then T𝔗 is not relatively decidable is quite technical.

This situation should remind the reader of omitting types. For complete theories, we have a simple characterization of when a type can be omitted: it must be non-isolated. For incomplete theories, this is sufficient but not necessary, and the sufficient and necessary conditions obtained by Casanovas and Farré [CF96] involve the well-foundedness of trees. Indeed, it is not hard to show after reading that paper that the set of omittable types is 𝚺11-complete.

Finally, we would like to highlight the following open problem of Goncharov:

Question 1.4 (Goncharov).

Characterize the decidable theories T such that every computable model of T is decidable.

The corresponding index set is Σω+2; we conjecture that it is Σω+2 m-complete. However, the methods from this paper are not applicable to this problem, as (by index set complexity calculations) to prove that the index set is Σω+2 m-complete one would have to build decidable models 𝒜 of T such that for no a¯𝒜 is Th(𝒜,a¯) model complete.

2 Complete theories

We will require a variant of the standard omitting types theorem where, for a complete theory, we try to omit countably many partial types even if some of them may be isolated. Of course an isolated type cannot be omitted, but we can force all of its realizations to be of a certain kind. Recall that a partial type p(x¯) is isolated if there is a formula φ(x¯) such that Tx¯φ(x¯) and Tx¯(φ(x¯)p(x¯)). In this case we say that φ(x¯) isolates p(x¯). The formula φ(x¯) does not necessarily have to be part of the type p(x¯). Thus a realization of p(x¯) might or might not satisfy φ(x¯).

Definition 2.1.

Let T be a complete theory, 𝒜T, and let p(x¯) be a partial type. We say that a realization a¯ of p(x¯) in 𝒜 is isolated if there is a formula φ(x¯) that isolates p(x¯) and such that 𝒜φ(a¯).

Theorem 2.2 (Omitting types).

Let T be a complete theory, and let (pi)iω be a countable list of partial types. There is a countable model 𝒜T such that any realization of any pi in 𝒜 is isolated.

Proof.

We can construct 𝒜 by the same construction as the standard type omitting argument except that we try to omit all of the types pi whether or not they are isolated. The result is that all realizations of any pi in 𝒜 are isolated. ∎

The following lemma isolates the computability-theoretic content of the argument. It is more or less a standard application of computability-theoretic forcing with countable structures, which is essentially the same as the method of Vaught transforms.

Lemma 2.3.

Let T be a relatively decidable theory. Then for all 𝒜T there is a¯𝒜 and a uniformly T-computable sequence of T-computable infinitary Σ1 formulas Θφ(x¯,y¯) such that for all φ we have

𝒜φ(x¯)Θφ(x¯,a¯).

This condition is both sufficient and necessary, but it is a 𝚷11 condition on T and will be superseded by the better characterization obtained in Theorem 1.2. Thus we prove only one direction.

Proof.

Suppose that T is relatively decidable. Fix 𝒜T. Following Montalbán [MON26] we can consider the elementary diagram of 𝒜 as a relation on ω×𝒜<ω,

Diagel(𝒜)={(φ,a¯):𝒜φ(a¯)}.

where φ is the Gödel number of φ. Since T is relatively decidable, the atomic diagram of 𝒜 computes the elementary diagram of 𝒜, and hence the elementary diagram of 𝒜 is relatively intrinsically computable. By the Ash-Knight-Manasse-Slaman-Chisholm theorem [AKM+89, CHI90], in the version presented as Theorem II.16 in Montalbán’s book [MON21], there is a¯𝒜 and a uniformly computable sequence of computable Σ1 formulas Θφ(x¯,y¯) such that

𝒜φ(x¯)Θφ(x¯,a¯).

See 1.2

Proof.

For the easy direction, suppose that there is a formula φ(x¯) such that Tx¯φ(x¯) and such that the {c¯}-theory T{φ(c¯)} is model complete. Let 𝒜T. Then there is some a¯𝒜 such that 𝒜φ(a¯), and so (𝒜,a¯)T{φ(c¯)}. Since this theory is model complete, T together with the atomic diagram of (𝒜,a¯) computes the elementary diagram of this structure. Since a¯ is a finite tuple of elements, the atomic and elementary diagrams of (𝒜,a¯) are Turing equivalent to the atomic and elementary diagrams of 𝒜 respectively.

Now suppose that T is relatively decidable. Then by Lemma 2.3 for each 𝒜T there is a¯𝒜 and a uniformly computable sequence of computable Σ1 formulas Θφ(x¯,y¯)=i=1θφ,i(x¯,y¯), with each θφ,i(x¯,y¯) a finitary existential formula, such that for all φ we have

𝒜x¯[φ(x¯)i=1θφ,i(x¯,a¯)].

Recall that these formulas came from a computability-theoretic forcing argument and that they are specific to the model 𝒜. During the argument we will consider such formulas coming from two different models and 𝒞, and so we will use superscripts (e.g., θφ,i(x¯,y¯)) on these formulas to denote the associated model. The rest of the argument will be almost entirely model-theoretic (and though we use, e.g., recursive saturation, really all we need is countability rather than computability).

Now let be a recursively saturated model of T. As in Lemma 2.3 let b¯ and Θφ(x¯,y¯)=i=1θφ,i(x¯,y¯) be such that for all φ,

x¯[φ(x¯)i=1θφ,i(x¯,b¯)]. (1)

We claim that for each φ there is nφ such that

x¯[φ(x¯)i=1nφθφ,i(x¯,b¯)].

If not, then for some φ there is a sequence of tuples c¯j with

φ(c¯j)i=1j¬θφ,i(c¯j,b¯).

Consider the partial type q(x¯)={φ(x¯),¬θφ,i(x¯,b¯):iω}. This type is computable and finitely realizable in , and therefore as is recursively saturated the type must be realized in . But by (1) no such type can be realized in . Thus we conclude that for each φ there is nφ such that

x¯[φ(x¯)i=1nφθφ,i(x¯,b¯)].

In particular, for each φ,

y¯x¯[φ(x¯)i=1nφθφ,i(x¯,y¯)].

Thus, as T is complete, for each φ there is nφ such that

Ty¯x¯[φ(x¯)i=1nφθφ,i(x¯,y¯)]. (2)

Let Θe,φ(x¯,y¯)=i=1θe,φ,i(x¯,y¯) be a listing (indexed by e) of the computable sequences {Θe,φ(x¯,y¯)}φ (indexed by φ) of computable Σ1 formulas. For each e, consider the partial type

pe(y¯)={x¯(θe,φ,i(x¯,y¯)φ(x¯)):φ,i}.

By the omitting types theorem there is a model 𝒞T such that any realization of any pe is isolated. As in Lemma 2.3 let c¯𝒞 and Θφ𝒞(x¯,y¯)=i=1θφ,i𝒞(x¯,y¯) be such that

𝒞x¯[φ(x¯)i=1θφ,i𝒞(x¯,c¯)].

Let e be the index of the sequence Θφ𝒞(x¯,y¯). Thus c¯ realizes pe(y¯). This realization is isolated, say by a formula ψ(y¯). In particular, for each formula φ and each i,

Ty¯[ψ(y¯)x¯(θφ,i𝒞(x¯,y¯)φ(x¯))]. (3)

Now by (2), for each φ,

𝒞y¯x¯[φ(x¯)i=1nφθφ,i(x¯,y¯)].

Let d¯φ be this y¯, and let

χφ(y¯):=x¯[φ(x¯)i=1nφθφ,i(x¯,y¯)].

Then since 𝒞χφ(d¯φ), for some iφ we have

𝒞θχφ,iφ𝒞(d¯φ,c¯).

Thus, for each φ,

Tx¯y¯[ψ(y¯)θχφ,iφ𝒞(x¯,y¯)] (4)

and also, by (3),

Tx¯y¯[(ψ(y¯)θχφ,iφ𝒞(x¯,y¯))χφ(x¯)]. (5)

Recalling the definition of χφ(x¯), this says that if we find x¯,y¯ with ψ(y¯)θχφ,iφ𝒞(x¯,y¯) then, over the parameters x¯, φ has a finitary existential definition φ(z¯)i=1nφθφ,i(z¯,x¯).

For simplicity in what follows, let

νφ(x¯,y¯):=θχφ,iφ𝒞(x¯,y¯)

and let

ηφ(z¯,x¯):=i=1nφθφ,i(z¯,x¯).

The important facts are that these are existential formulas and that, rewriting (4) and (5) in terms of this new notation,

Tx¯y¯[ψ(y¯)νφ(x¯,y¯)] (6)

and

Tx¯y¯[(ψ(y¯)νφ(x¯,y¯))z¯(φ(z¯)ηφ(z¯,x¯))]. (7)

Otherwise, we can forget the specific forms that these formulas take. Note that this gives us for each φ a formula

x¯y¯[ψ(y¯)νφ(x¯,y¯)ηφ(z¯,x¯)]

equivalent to φ(z¯) which would be existential if ψ(y¯) were. This formula ψ(y¯) is the same formula for all φ, so we have essentially reduced to finding an existential formula equivalent to a single formula.

We now return to considering the recursively saturated model . Recall that there is b¯ such that, for the formula ψ(x¯) in particular,

x¯[ψ(x¯)i=1θψ,i(x¯,b¯)].

As argued previously, since is recursively saturated there is n such that

x¯[ψ(x¯)i=1nθψ,i(x¯,b¯)].

Thus

y¯x¯[ψ(x¯)i=1nθψ,i(x¯,y¯)].

Let ρ(x¯,y¯):=i=1nθψ,i(x¯,y¯). Then, since T is complete,

Ty¯x¯[ψ(x¯)ρ(x¯,y¯)]. (8)

We claim that the {c¯}-theory

T:=T{x¯[ψ(x¯)ρ(x¯,c¯)]}

is model complete. We will verify this by showing that for each formula φ we have

Tz¯[φ(z¯)x¯y¯(ρ(y¯,c¯)νφ(x¯,y¯)ηφ(z¯,x¯))]. (9)

where x¯y¯(ρ(y¯,c¯)νφ(x¯,y¯)ηφ(z¯,x¯)) is an existential {c¯} formula. Let (𝒜,a¯)T, that is, 𝒜T and

𝒜x¯[ψ(x¯)ρ(x¯,a¯)]. (10)

Then for each formula φ we have, by (6) and (10),

𝒜x¯y¯[ρ(y¯,a¯)νφ(x¯,y¯)] (11)

and, by (7) and (10),

𝒜x¯y¯[(ρ(y¯,a¯)νφ(x¯,y¯))z¯(φ(z¯)ηφ(z¯,x¯))]. (12)

Combining (11) and (12) we get

𝒜z¯[φ(z¯)x¯y¯(ρ(y¯,a¯)νφ(x¯,y¯)ηφ(z¯,x¯))].

This completes the proof of (9), and so we have shown that T is model complete. Together with (8) we have completed the proof of the theorem. ∎

3 Marker extensions

Let be a countable relational language. Let T be an -theory and let α1(x¯),α2(x¯), be a distinguished set of relations from with αi of arity ni.

We will define a new language + and an +-theory T+ which we call the Marker extension of T making α1,α2, into Σ1 relations. This new theory will essentially be the same as the original theory T except that the αi(x¯) will be understood as definable Σ1 relations. Thus given some 𝒜T, we can find some 𝒜+T+ which is essentially the same, except we have now turned the αi into Σ1-definable relations. Marker extensions, first introduced by Marker in [MAR89], are now a standard tool in computable structure theory, and there are many different ways of defining them with slightly different properties. While Marker used the construction at the level of a theory—which is what we will do—since then they have often been used on a single structure. We will give a full development in order to prove Lemma 3.2 which as far as we know is new.

Let our new language be

+=({αi(x¯)}iω){fi,j(y)}iω,1jni{S1(x),S2(x)}.

Here, S1 and S2 are unary relations, and the fi,j are unary functions. We will write fi(y)=x¯ for the function fi(y)=(fi,1(y),,fi,ni(y)). At the level of formulas, fi(y)=x¯ stands for j=1nifi,j(y)=xj. Similarly we write S1(x¯) as shorthand for i=1|x¯|S1(xi).

We first explain, given an -structure 𝒜, how to define its Marker extension 𝒜+ which will be an +-structure. 𝒜+ will have two sorts. S1 will identify the first sort, the elements from the original structure, and S2 will identify the second sort, extra elements we add to our structure to certify whether a relation αi is true or false. The domain of 𝒜+ will consist of the domain of 𝒜, all satisfying the relation S1, together with some number of new elements satisfying the relation S2, and no other elements. (Usually we will have infinitely many new elements, but not always.) For each relation in +, we keep the relation the same on the domain of 𝒜, and false on any other tuple. Then, for each αi and a¯S1 such that 𝒜αi(a¯), we introduce an element b of S2 satisfying fi(b)=a¯. We say that b witnesses that αi(a¯) is true. Each element of S2 will witness one and only one such relation. To fully define 𝒜+, we set fi,j(x)=x for x from either sort if x is not witnessing a relation αi. We have, in 𝒜+, definable relations αi on the first sort which make the first sort isomorphic to 𝒜. Thus 𝒜 can be recovered from 𝒜+. We call 𝒜+ the Marker extension of 𝒜 making α1,α2, into Σ1 relations.

Given the theory T, we now define the theory T+. Given 𝒜T, we should have 𝒜+T+. We begin with axioms for the sorts.

  1. (1)

    T+x[S1(x)S2(x)].

  2. (2)

    T+x[S1(x)¬S2(x)].

For relation symbols R from which remain in +, they can only be satisfied by tuples from the first sort.

  1. (3)

    T+x¯[R(x¯)S1(x¯)].

We now write down the axioms that ensure that the fi,j appropriately define relations on the first sort:

  1. (4)

    for all i and j=1,,ni,

    T+x[S1(x)fi,j(x)=x],
  2. (5)

    for all i,

    T+xy¯[[S2(x)fi(x)=y¯][S1(y¯)y¯=(x,,x)]],
  3. (6)

    for all i,

    T+x¯yz[[S1(x¯)S2(y)S2(z)fi(y)=x¯fi(z)=x¯]y=z],
  4. (7)

    for all ij,

    T+x¯y[[S1(x¯)S2(y)fi(y)=x¯]fj(y)=(y,,y)].

We now get Σ1-definable relations on tuples from the first sort corresponding to the αi. Abusing notation, we often also write αi for these definable relations, but when we need to distinguish them we write α~i.

α~i(x¯):=y[S2(y)fi(y)=x¯]

When this holds, we say that y is the witness to αi(x¯). Axioms (6) ensure that each witness is unique, while axioms (7) ensure that each element cannot be a witness to two different relations αi and αj. Since the fi are (tuples of) functions, each element cannot be a witness to two different relations for the same αi on different tuples. We inductively define a transformation of an -formula φ into an +-formula φ by replacing each instance of αi with the definable relation α~i, and with all variables of φ interpreted as belonging to S1: Each quantifier x¯φ(x¯) becomes x¯[S1(x¯)φ(x¯)], and each quantifier x¯φ(x¯) becomes x¯[S1(x¯)φ(x¯)]. If φ(x¯) has free variables x¯, in φ(x¯) we also assert that x¯S1. For the final axioms of T+, we take the axioms of T, translated as just described.

  1. (8)

    T+φ for each φT.

This completes the definition of T+.

We begin with some observations. If T is consistent, say with a model 𝒜, then 𝒜+ is a model of T+. Thus:

Lemma 3.1.

If T is consistent, then T+ is consistent.

On the other hand, given a model of T+, we can define an associated model 𝒜 whose domain is the first sort of , and interprets the αi using the definable relations α~i. Axioms (8) ensure that 𝒜T. It is not necessarily true that is 𝒜+, but 𝒜+ will be a substructure of , with 𝒜+ consisting only of elements of the second sort S2 which are not witnesses to any relations. For nω{ω}, we write 𝒜n+ for the structure which is 𝒜+ together with n additional elements in the second sort which are not witnesses to any relations. The 𝒜n+ for n1 may not be models of T+ in all cases, but often by compactness they will be. One such instance is if T satisfies a technical assumption we call (): Tx¯αi(x¯) for infinitely many i. In this case the countable models of T+ are exactly the models 𝒜n+ for 𝒜T and nω{ω}.

Next, we prove the following quantifier-elimination result which says that any + formula about a model of T+ can be expressed by a Boolean combination of quantifier-free +-formulas and formulas (possibly involving quantifiers) in the original language which have been translated to +. For this we will need to assume that T satisfies ().22 2 We could make slightly different definitions in the case that there are only finitely many α1,,αk. In general, we could always add new relations β(x¯) to the list αi and assume that Tx¯β(x¯). This is only a trivial modification to T but makes T satisfy assumption ().

Lemma 3.2.

Suppose that T has property (). Then T+ has quantifier elimination in the language

=+{φ:φ an -formula}.

Sometimes one always allows at least one free variable in a quantifier elimination result. Here we do not: every sentence is equivalent to a quantifier-free sentence. This yields the following important lemma which we state and prove before returning to the proof of the proposition.

Lemma 3.3.

If T is complete and has property (), then T+ is complete.

Proof.

Given an +-sentence θ, we can write θ as a Boolean combination of atomic and negated atomic formulas from

+{φ:φ an -formula}

with no free variables. The only atomic formulas with no free variables are the φ for φ an -sentence. But since T decides each such sentence φ, T+ decides each such φ. ∎

We now return to prove Lemma 3.2.

Proof of Lemma 3.2.

Using the standard criterion for proving quantifier elimination, it suffices to prove the following. Let 𝒜 be an -structure and ,𝒩T+. Suppose that 𝒜 and 𝒜𝒩 as -structures. Let φ(x¯,y) be a quantifier-free -formula. Let a¯𝒜 and u and suppose that φ(a¯,u). We must show that there is v𝒩 such that 𝒩φ(a¯,v). We may assume that u𝒜, or we would already be done.

We begin by making some simplifications. After writing φ in disjunctive normal form, one of the disjuncts must be true in and so we can replace φ by this disjunct. Thus we assume that φ is a conjunction of atomic and negated atomic formulas. We may also assume that φ has at most one conjunct of the form ψ, as a conjunction ψ1ψ2 is equivalent to (ψ1ψ2). This includes any of the relations R from {α1,α2,} as for such relations R and R are equivalent. Then we can write

φ(a¯,u)ψ(s¯(a¯,u))

where s¯ is a tuple of terms with s¯(a¯,u) in S1 and is a conjunction of equalities, inequalities, and relations S1 and S2 of terms in a¯,u. Note that all of the functions in the language are unary, and so all terms are unary, and in particular, no term can involve both part of a¯ and u. We can also rewrite a¯ as a¯,b¯ where a¯ is in the first sort and b¯ is in the second sort. We can also expand a¯ to include all of the images of b¯ under any terms (other than those that map bi to itself), as each element of S2 has only finitely many images under terms, and each term maps an element either to itself or to S1. After this, we may rewrite our formula as

φ(a¯,b¯,u)ψ(a¯,s1(u),,sn(u))

where s1,,sn are terms with si(u)S1 and the other conjuncts are as before.

Now we make some simplifications involving the other conjuncts. Any atomic formula only involving a¯ is passed to 𝒩 trivially, so we can ignore these. Since S1 is equivalent to ¬S2, and vice versa, we may assume that they appear only positively. Since the only function symbols in the language are unary, each term has only a single variable. Any term applied to one of the ai must be ai. Also, for any term t and any i either t(bi)=bi or there is j such that t(bi)=aj. Thus remaining atomic formulas involving u are:

  • ai=t(u) or bi=t(u)

  • ait(u) or bit(u)

  • t1(u)=t2(u)

  • t1(u)t2(u)

  • t(u)S1,

  • t(u)S2.

We also make several remarks about terms. Given T+, x, and any term t:

  1. (1)

    Either t(x)S1 or t(x)=x.

  2. (2)

    If xS1 then t(x)=x.

We will use these implicitly.

We now split into cases according to whether uS1 or uS2, and in the latter case into subcases depending on whether u is a witness to some αk or not. In each case we find v𝒩 which fits into the same case (e.g., uS1 if and only if 𝒩vS1).

Case 1: uS1.

Since uS1, t(u)=u for any term t. This simplifies all of the atomic and negated atomic formulas in the conjunction. Any equalities and inequalities between u and a¯ can be moved into ψ, and we cannot have any equalities between u and b¯. Also, uS1 and uS2. As we will choose vS1, all of these remaining atomic and negated atomic formulas will hold. Thus, as long as we pick v in 𝒩 with vS1 and such that 𝒩ψ(a¯,v) then we are done.

We have

ψ(a¯,u)yψ(a¯,y)(yψ(x¯,y))(a¯)

Since the latter formula is quantifier-free, we have that

(yψ(x¯,y))(a¯)𝒩(yψ(x¯,y))(a¯)𝒩yψ(a¯,y)

Thus there is some v𝒩 such that 𝒩ψ(a¯,v). This implies that vS1.

Case 2: uS2, u is a witness to αk(c¯) for c¯.

By saying that u is a witness to αk(c¯) in we mean that fk(u)=c¯. We begin by splitting c¯ into part that is in a¯ and part that is not. After rearranging, we may replace c¯ by (a¯,c¯) where a¯=(ai1,,aip) is a subtuple of a¯ and c¯=(c1,,cq) has no entries in common with a¯. Also, the only terms s(u) are (up to equivalence, when applied to u) the identity and s=fk,m for each m. Rearranging the {fk,1,,fk,nk} we may assume that fk,m(u)=aim for 1mp and fk,p+m(u)=cm for 1mq. Moreover, for any v in S2, as long as fk,m(v)S1 for some m, then the terms s(v) up to equivalence are the same. So we may rewrite our formula as

φ(a¯,b¯,u)ψ(a¯,c¯)1mpfk,m(u)=aim1mqfk,p+m(u)=cm.

Thus we have

α~k(a¯,c¯)ψ(a¯,c¯)Δ(a¯,c¯)

where Δ is the formula that expresses the equalities and inequalities between all elements of a¯ and c¯, including that aicj for all i,j. Thus

y¯[α~k(a¯,y¯)ψ(a¯,y¯)Δ(a¯,y¯)].

We can rewrite this as

(y¯[αk(x¯,y¯)ψ(x¯,y¯)Δ(x¯,y¯)])(a¯)

where x¯=(xi1,,xip). Since this is a quantifier-free fact about a¯𝒜, it is also true in 𝒩,

𝒩(y¯[αk(x¯,y¯)ψ(x¯,y¯)Δ(x¯,y¯)])(a¯).

Thus

𝒩y¯[αk(a¯,y¯)ψ(a¯,y¯)Δ(a¯,y¯)].

Letting d¯𝒩 be the witness to this existential quantifier over y¯, we have

𝒩α~k(a¯,d¯)ψ(a¯,d¯)Δ(a¯,d¯).

Note that the di are distinct from the aj and ci=cj if and only if di=dj.

We also have 𝒩α~k(a¯,d¯). Let v𝒩 be the witness to this, i.e., the unique element such that fk(v)=(a¯,d¯). So we have

𝒩1mpfk,m(v)=aim1mqfk,p+m(v)=dm.

We also have that vb¯, argued as follows. In that case, we would have v𝒜 and so v. By our assumption that a¯ contains the non-trivial images of b¯ under all terms, we would have that c¯ and d¯ are the empty tuple. But αk(a¯) can have only one witness in , and both u and v would be witnesses. This contradicts our assumption that u𝒜.

Now we must consider all of the other conjuncts in our formula and use the fact that they were true for u to show that they are true for v. It will be useful to note that for any term t, t(u)=u if and only if t(v)=v, and otherwise there is some m such that t(u)=fk,m(u) and t(v)=fk,m(v). Thus t(u)=ai if and only if t(v)=ai, and t(u)=ci if and only if t(v)=di.

  • Given ai=t(u) for some term t, we must have that t(u)=fk,m(u) for some m as otherwise t(u) would not be in S1. Thus ai=aim=fk,m(v)=t(v).

  • Given bi=t(u), since u and bi are in S2, we must have bi=u. But this contradicts our assumption that u𝒜.

  • Given ait(u), one of the following must be true:

    • t(u)=u and t(v)=vai.

    • t(u)=fk,p+m(u)=cm for some 1mq. Then t(v)=fk,p+m(v)=dm and dmai.

    • t(u)=fk,m(u)=aim for some 1mp, and aimai. Then t(v)=fk,m(v)=aimai.

  • Given bit(u) for some term, we have that either t(v)S1 or t(v)=v. In the former case, we automatically have that bit(v). In the latter case, we have two subcases. If d¯ is a non-empty tuple, then since d¯ does not share elements with a¯ and is generated by v, vbi, since bi can only generate itself and elements of a¯. If d¯ is empty, then so is c¯. If c¯ is empty, then u is the unique witness in to αk(a¯), and so bi is not a witness to αk(a¯). Since v is the unique witness in 𝒩 to αk(a¯), biv.

  • Given t1(u)=t2(u) (or t1(u)t2(u)), since terms behave essentially the same on v as they do on u, (including that, e.g., ci=cj if and only if di=dj) we also have t1(v)=t2(v) (or t1(v)t2(v)).

  • Given t(u)S1 we must have t(u)=fk,m(u) and so t(v)=fk,m(v) is also in S1.

  • Given t(u)S2 we must have t(u)=u, and so t(v)=v is also in S2.

Thus we have shown that 𝒩φ(a¯,b¯,v).

Case 3: uS2, u is not a witness to any αk.

For every term t, t(u)=u is in S2. Thus we may rewrite

φ(a¯,b¯,u)ψ(a¯)

and since ψ(a¯) depends only on elements in 𝒜 and hence is automatically true in 𝒩, we may remove it and assume that φ(a¯,b¯,u) is a conjunction of atomic and negated atomic formulas of the types described above.

Since, by assumption, u is not part of the tuple b¯, and is not a witness, we can remove the equalities of the form ai=t(u). Since in for every term t we have t(u)=u, no inequalities t1(u)t2(u) can be true in , and so we can discard those as a possibility. We can also replace any equalities t1(u)=t2(u) with two equalities of the form t(u)=u. Finally, since t(u)=u is in S2 in , we can discard atomic formulas t(u)S1. We are left with the following:

  • ait(u) or bit(u)

  • t(u)=u

  • t(u)S2.

Let K be the maximum of the k such that some fk,i shows up in one of the terms t in our formula, and also so that any bib¯ is a witness to some αk. It will suffice to choose v to be a witness to some αm for some m>K, and that such an element exists by assumption ()—the original theory T was assumed to contain elements that witness αm for arbitrarily large m. In this case, for all terms t appearing in our formula, we have t(v)=v. Also, vS2, and v does not appear among the b¯, and so we are done.

This completes the three cases. We have proved quantifier elimination down to . ∎

The intention when taking a Marker extension is that given 𝒜 an -structure we should be able to treat the relations αi as being existential. If an existential formula is true in a substructure, it is true in a superstructure; but it may be false in a substructure and yet true in a superstructure. We define a new notion of substructure, which we call a weak substructure, to take this into account.

Definition 3.4.

Let 𝒜 and be -structures. We say 𝒜 is a weak substructure of , denoted as 𝒜w if

  1. (1)

    The domain of 𝒜 is contained in the domain of ;

  2. (2)

    if 𝒜αi(a¯) for a¯𝒜, then αi(a¯); and

  3. (3)

    for any other relation R{α1,α2,} and a¯𝒜, 𝒜R(a¯) if and only if R(a¯).

By taking Marker extensions, we can realize weak substructures as true substructures.

Lemma 3.5.

If 𝒜w then 𝒜++.

Proof.

Supposing that 𝒜 is a weak substructure of , we must define an embedding of 𝒜+ into +. The embedding is defined as follows. On the first sort S1, we just have the embedding 𝒜 as these make up the first sorts of 𝒜+ and + respectively. On the second sort S2, any element c of 𝒜+ is a witness that αi holds of some tuple a¯𝒜. Since 𝒜 is a weak substructure of , αi also holds of a¯ in , and so there is a witness d to this in +. We map c to d. Each c witnesses αi(a¯) for exactly one pair i and a¯, and there is only one witness d to the same pair in +. Thus this map 𝒜++ is uniquely defined and injective. It is also not hard to see that it is an +-embedding. ∎

The previous lemma also, of course, applies when 𝒜 is a true substructure.

Lemma 3.6.

Let ST as -theories. Then S+T+ as +-theories.

Proof.

Axioms (1) and (2) are common to the Marker extension of any theory. Axioms (3)-(7) are satisfied by both S+ and T+ since those axioms only depend on and set {α1,α2,} of relations to be made existential. Consider an instance of Axiom (8), say S+φ where Sφ. Since ST, Tφ and so T+φ as an instance of Axiom (8). ∎

4 Incomplete theories

In this section we will prove the anti-classification result for incomplete theories.

See 1.3

Proof.

Given a tree 𝔗< we may assume, without changing whether or not 𝔗 is well-founded, that each non-leaf node σ𝔗 has all of its possible children σi in 𝔗. Uniformly computably in 𝔗 we will define a language =𝔗 and an (incomplete) theory T=T𝔗 such that 𝔗 is well-founded if and only if T𝔗 is relatively decidable. Thus the set

{(,T):the -theory T is relatively decidable}

will be 𝚷11-Wadge-complete. One can see from the construction below that the language always consists of the same number of symbols of the same arities, and so we could make the construction with a fixed language. Indeed, following [BH19] we conjecture that one could take the language to be finite.

Fix a tree 𝔗 with the property that each non-leaf node has all of its children. Let

={Uσ(x):σ𝔗}{Ai(x):iω}{Vi,σ(y¯,x):iω,σ𝔗}.

For each k let

k={Uσ:σ{0,1,2,,k1}k𝔗}{Ai:i<k}{Vi,σ:i<k,σ{0,1,,k1}k𝔗}.

The Uσ and Ai are unary relations. The arities of the Vi,σ must be defined inductively. Enumerate the universal -formulas as Pi(x¯) with Pi(x¯) an i-formula. Thus Pi(x¯) does not involve any of the symbols Vi,σ. Then we may construct so that the arity of y¯ in Vi,σ(y¯,x) is the same as in Pi(y¯,x). Let T be the theory with the following axioms:

  1. (1)

    xU(x),

  2. (2)

    for σ𝔗 a non-leaf node,

    [Uσ(x)j=0iy¬Uσj(y)]y¯[Pi(y¯)Vi,σ(y¯,x)],
  3. (3)

    for τ𝔗 a leaf node,

    Uτ(x)y¯[Pi(y¯)Vi,τ(y¯,x)].

We begin by showing that T is satisfiable.

Lemma 4.1.

T is satisfiable and has an infinite model.

Proof.

We will define a model 𝒜T on an infinite domain. Set U(x) for all x𝒜 and ¬Uσ(x) for all x𝒜 and all σ𝔗, σ. This ensures that axiom (1) is true. We set Ai(x) to be true for all i and all x𝒜.

We will define the Vi,σ such that for all x𝒜,

𝒜y¯[Pi(y¯)Vi,σ(y¯,x)].

This will ensure that the axioms of types (2) and (3) are all true. Because the symbols V are included in the formulas P, we must define the V’s recursively. We begin with P0 which uses only U and the symbol for equality, so that we have already determined whether 𝒜P0(y¯) for each y¯. We can thus set, for each y¯ and x, 𝒜V0,σ(y¯,x) if and only if 𝒜P0(y¯). Now supposing that we have defined the Vi,σ for i<k, we define the Vk,σ. We have already at this point determined whether 𝒜Pk(y¯) for each y¯, and so can again set 𝒜Vk,σ(y¯,x) if and only if 𝒜Pk(y¯). ∎

Now let T+ be the Marker extension of T where we make each Ai and Uσ universal (i.e., we make each of their negations existential). Since T is consistent, so is T+. We will now argue that T+ is relatively decidable if and only if 𝔗 is well-founded.

Lemma 4.2.

Suppose that 𝔗 is well-founded. Then T+ is relatively decidable.

Proof.

Let 𝒜+T+ and let 𝒜 be the corresponding model of T. We have that 𝒜xU(x). Since the tree 𝔗 is well-founded, there must either be some σ𝔗 a non-leaf node such that 𝒜xUσ(x) and for each k, 𝒜x¬Uσk(x), or some τ𝔗 a leaf node such that 𝒜xUτ(x).

In the first case, let c be such that 𝒜Uσ(c). Then, following axioms (2), we have for all i that

𝒜y¯[Pi(y¯)Vi,σ(y¯,c)].

In the second case, let c be such that 𝒜Uτ(c). Then, following the axioms (3), we also have that for all i

𝒜y¯[Pi(y¯)Vi,τ(y¯,c)].

From here the argument is the same in both cases. In any computations below, we fix the element c and σ (or τ, but below we will write σ) non-uniformly.

Each universal -formula is equivalent to a quantifier-free -formula Vi,σ(y¯,c) with parameter c. We can argue inductively that this implies that each -formula φ(y¯) is equivalent to an -formula Viφ,σ(y¯,c). (With φ(y¯) in normal form, work from the inside out replacing each universal formula by some Vi,σ and each existential formula by some ¬Vi,σ.) Using T+ (which is Turing-equivalent to T) for each φ we can compute such an iφ.

Given an +-formula Q(y¯), by Lemma 3.2 there is an equivalent quantifier-free formula P(y¯) in the language +{φ:φ an -formula}. Using T, we can compute such a formula. Each φ(y¯) is equivalent in 𝒜+ to the +-formula Viφ,σ(y¯,c), which is the same as Viφ,σ(y¯,c) as they were not made universal in the Marker extension. Thus Q(y¯) is equivalent in 𝒜+ to a quantifier-free +-formula with parameter c. Thus the atomic diagram of 𝒜+, together with T, can compute the elementary diagram of 𝒜+. ∎

The more difficult case is the case that 𝔗 is ill-founded. In this case, we will show that there is a complete theory S+ extending T+ which is not relatively decidable. This will imply that T+ is not relatively decidable. The advantage of finding a completion of T+ is that we can apply our characterization for when a complete theory is relatively decidable. We will apply one direction of that characterization, which is that we will show that there is no formula φ(x¯) such that

  • S+x¯φ(x¯), and

  • the +{c¯}-theory S+{φ(c¯)} is model complete.

The theory S+ will be defined from a fixed path through 𝔗.

Instead of directly finding a completion of T+, we will first find a completion of T and then take its Marker extension, which is justified by Lemma 3.6. Suppose that 𝔗 has an infinite path π. Let Tπ be the theory with the following axioms.

  1. (1)

    for each σπ,

    ¬xUσ(x)
  2. (2)

    for each σπ, with such that σπ, and i<,

    Uσ(x)y¯[Pi(y¯)Vi,σ(y¯,x)].

Note that Tπ{xUσ(x):σπ}T.33 3 We omit xUσ(x) from Tπ because we will be working with Fraïssé limits and will want some associated theory to be universal. Nevertheless, as one might expect these sentences will end up satisfied by the Fraïssé limits anyway. Thus to find a completion of T it suffices to find a completion of Tπ{xUσ(x):σπ}.

We could attempt to take a model completion of Tπ, which is a 2 theory, but to do this we would have to show that the existentially closed models of Tπ are an elementary class. This is not straightforward and we are not sure if this is true. (The difficulty stems from the fact that the Pi range over all universal formulas.) Instead, we will construct a completion of Tπ by Fraïssé limits. The language is infinite, so rather than trying to take a Fraïssé limit of Tπ itself, we will find a completion of Tπ which is a union of Fraïssé limits. And since Tπ is not a universal theory we cannot simply take the Fraïssé limits of Tπ restricted to finite languages, but must instead do something more complicated.

We recall some definitions from Fraïssé theory. We work purely in the case where is a finite relational language. Recall that the age of an -structure 𝒜 is the set Age(𝒜) of all finite substructures of 𝒜. Given 𝕂 a class of (isomorphism types) of finite structures, we say that 𝕂 is a Fraïssé class if it has the Hereditary Property (HP), Amalgamation Property (AP), and the Joint Embedding Property (JEP). Then there is a unique countable homogeneous structure, called the Fraïssé limit of 𝕂, whose age is 𝕂. We write Flim(𝕂) for the Fraïssé limit of the class 𝕂. Since we assume that the language was finite and relational, Age(𝕂) is automatically uniformly locally finite and hence the theory of the Fraïssé limit is ω-categorical and admits quantifier elimination. Given a universal theory T we have the corresponding class 𝕂(T) of finite models of T. 𝕂(T) automatically has the HP.

Given two Fraïssé classes 𝕂1 and 𝕂2 in languages 1 and 2 respectively, we say that 𝕂2 is an expansion class of 𝕂1 if 𝕂1=𝕂21:={𝒜1|𝒜𝕂2}, the class of reducts of structures in 𝕂2. If 𝕂2 is an expansion class of 𝕂1 we say that the pair (𝕂1,𝕂2) is reasonable if whenever 𝒜2𝕂2, 𝒜1=𝒜21 is the reduct to 1, and f:𝒜11 is an embedding of 𝒜1 into another 1𝕂1, there is an expansion of 1 to an 2-structure 2𝕂2 such that f is an embedding 𝒜22. The Fraïssé limit of 𝕂1 is the reduct to 1 of the Fraïssé limit of 𝕂2 if and only if (𝕂1,𝕂2) is reasonable.44 4 This definition seems to mostly appear in work on big Ramsey degrees where this fact is used without proof. However one can find a proof in Proposition 5.3 of [ZUC16].

Recall that

k={Uσ:σ{0,1,2,,k1}k𝔗}{Ai:i<k}{Vi,σ:i<k,σ{0,1,,k1}k𝔗}.

Note that 0={U}. Let Tk=Tπk be the restriction of Tπ to the axioms of Tπ with symbols from k, namely with the following axioms from Tπ:

  1. (1)

    for each σπ and σ{0,1,2,,k1}k,

    ¬xUσ(x),
  2. (2)

    for each σπ, σ{0,1,2,,k1}k, with such that σπ, and i<min(,k),

    Uσ(x)y¯[Pi(y¯)Vi,σ(y¯,x)].

Any axiom of Tπ which does not appear as an axiom of Tk includes some symbol from k. (We do not worry at this point about whether Tπ has some consequences in k which are proven by axioms not in k. This will be resolved by Claim 3.)

We will recursively define universal k-theories Tk for k. For each k, 𝕂(Tk) will be a Fraïssé class with (𝕂(Tk),𝕂(Tk+1)) being reasonable. Let SkTk be the k-theory of the Fraïssé limit of 𝕂(Tk). This is a complete, consistent extension of Tk which is ω-categorical and admits quantifier elimination. Since the Fraïssé limit of 𝕂(Tk) is a reduct to k of the Fraïssé limit of 𝕂(Tk+1), we will have that Sk=Sk+1k.

We will begin with T0=T0 and will ensure that Tk+1SkTk+1. Since Sk+1Tk+1, as it is the theory of the Fraïssé limit of Tk+1, and because Sk+1Sk by reasonableness, we will have Sk+1Tk+1. Letting S=kωSk, and after verifying that SxUσ(x) for every σπ, we will get a complete -theory with STπ{xUσ(x):σπ} and hence ST.

Beginning with T0=T0, this has no axioms as 0 has only the symbol U. This is of course a Fraïssé class and has as its Fraïssé limit infinitely many elements satisfying, and infinitely many elements not satisfying, U. Now given the k1-theory Sk1 we will define Tk. Since Sk1 admits quantifier elimination, there is a quantifier-free k1-formula Qk1(y¯) such that Sk1Pk1(y¯)Qk1(y¯). We will have already defined, for each i<k1, an i-formula Qi(y¯) such that SiPi(y¯)Qi(y¯). Since Sk1Si, this equivalence is also true modulo Sk1. We are now ready to define Tk, which has the following axioms:

  1. (1)

    for each σπ, σ{0,1,2,,k1}k,

    ¬xUσ(x)
  2. (2)

    for each σπ, σ{0,1,2,,k1}k, with such that σπ, and i<min(,k)

    Uσ(x)y¯[Qi(y¯)Vi,σ(y¯,x)].

(1) is exactly the same as (1), and (2) is the same as (2) except with Qi(y¯) replacing Pi(y¯). So Tk includes, for each axiom of Tk, an axiom which is equivalent modulo Sk1. Thus TkSk1Tk and TkSk1Tk. We also have that TkTk1 as each axiom of Tk1 is an axiom of Tk.

The point of defining Tk is that it is a universal theory and hence 𝕂(Tk) has the HP. The next two lemmas complete the verification that 𝕂(Tk) is a Fraïssé class.

Claim 1.

𝕂(Tk) has the JEP.

Proof.

Let 𝒜,Tk. We define a sort of free amalgam 𝒞 of 𝒜 and . The domain of 𝒞 is the disjoint union C=AB of the domains of 𝒜 and . For any tuple contained entirely in 𝒜 or , let 𝒞 inherit the relations from 𝒜 and . Since the Uσ and Ai are unary relations, this defines them completely on 𝒞. It remains to define the relations Vi,σ for tuples (y¯,x) that are not fully contained in 𝒜 or . On these tuples we would like to set these relations so that 𝒞Vi,σ(y¯,x)Qi(y¯), but we must do this recursively so that when we are defining Vi,σ we have already determined Qi(y¯). First, for V0,σk and (y¯,x) not fully contained in 𝒜 or , set 𝒞V0,σ(y¯,x) if and only if 𝒞Q0(y¯). Q0 is an 0-formula, and the reduct of 𝒞 to 0={U} is already defined. Once all Vi,σk for i<n have been determined, we can set 𝒞Vn,σ(y¯,x) if and only if 𝒞Qn(y¯) which is well-defined as Qn is an n-formula and the reduct of 𝒞 to n has already been defined. We can see that for all (y¯,x) not fully included in 𝒜 or we have 𝒞Qi(y¯)Vi,σ(y¯,x).

We must now check that 𝒞Tk. The axioms (1) are immediate, since the Uσ are unary and each element of 𝒞 is in either 𝒜 or both of which satisfy (1). For (2), suppose that 𝒞Uσ(x) and x𝒜. For y¯𝒜, since 𝒜Tk we have 𝒞Qi(y¯)Vi,σ(y¯,x), and for tuples y¯ not completely contained in 𝒜 by construction we have 𝒞Qi(y¯)Vi,σ(y¯,x). The case where x is identical. So we have verified that 𝒞Tk. ∎

Claim 2.

𝕂(Tk) has the AP.

Proof.

Given 𝒜,,𝒞Tk with 𝒜 and 𝒜𝒞, we must form the amalgam 𝒟 of and 𝒞 over 𝒜. This will be a free amalgam of and 𝒞 with domain D=BC. It is clear this free amalgam makes the diagram commute, so all that is left to do is assign relations.

As for the JEP, let 𝒟 inherit the relations from ,𝒞 for tuples solely contained in ,𝒞. For tuples entirely contained in their intersection 𝒜, we know that ,𝒞 agree on the relations. It only remains to assign tuples that are not entirely contained in either or 𝒞. As before, we inductively assign Vi,σ on such tuples (y¯,x) so that 𝒟Qi(y¯)Vi,σ(y¯,x). The argument that 𝒟Tk is again the same as for the JEP, with (1) being relatively immediate and (2) following from the fact that for new tuples (y¯,x) we have 𝒟Qi(y¯)Vi,σ(y¯,x). ∎

Since TkTk1, for any 𝒜𝕂(Tk) the reduct of 𝒜 to k1 is in 𝕂(Tk1). So 𝕂(Tk) is an expansion class of 𝕂(Tk1). We now verify that it is reasonable.

Claim 3.

(𝕂(Tk1),𝕂(Tk)) is reasonable.

Proof.

Let 𝒜,Tk1 be such that 𝒜. Let 𝒜Tk be an expansion of 𝒜 to an k-structure. We must construct Tk an expansion of such that 𝒜. Note that

kk1={Uσ :σ𝔗{0,1,,k1}k{0,1,,k2}k1}{Ak1}
{Vi,σ:i<k1,σ𝔗{0,1,,k1}k{0,1,,k2}k1}
{Vk1,σ:σ𝔗{0,1,,k1}k}.

To define the relations on , let all relations from 𝒜 carry over. For tuples not fully contained in 𝒜, let Ak1 be false and all new Uσ be false. It remains to set the Vi,σ that are introduced in k for tuples that are not exclusively in 𝒜. Since the quantifier-free formulas Qi, i<k, only use symbols from ik1, it is already determined whether Qi(y¯). For tuples (y¯,x) not entirely contained in 𝒜 we can simply set Vi,σ(y¯,x) if and only if Qi(y¯).

It remains to verify that Tk. We already know that Tk1, so we just need to check the new axioms. New axioms of the form (1) are all of the form ¬xUσ(x) with Uσkk1. For x𝒜 we have ¬Uσ(x) as 𝒜Tk, and for x𝒜 recall that we set ¬Uσ(x).

Now we consider axioms of the form (2). Such an axiom is of the form

Uσ(x)y¯[Qi(y¯)Vi,σ(y¯,x)]

where σπ, is such that σπ, and i<min(,k). It is equivalent to check that for each x and i<min(,k) that

Uσ(x)y¯[Qi(y¯)Vi,σ(y¯,x)]

For such an axiom to be new, one of Uσ or Vi,σ are in kk1. If Uσkk1, then σ𝔗{0,1,,k1}k{0,1,,k2}k1, so Vi,σk1. Thus for any such new axiom we have Vi,σkk1 is a new symbol. Suppose x𝒜 and Uσ(x). Then for y¯ entirely contained in 𝒜 we have 𝒜Qi(y¯)Vi,σ(y¯,x) since 𝒜Tk. For y¯ not completely contained in 𝒜, by construction we have that Qi(y¯)Vi,σ(y¯,x). Thus y¯[Qi(y¯)Vi,σ(y¯,x)]. If x𝒜, then whether or not we have Uσ(x), by construction y¯[Qi(y¯)Vi,σ(y¯,x)]. Thus Tk, so (𝕂(Tk1),𝕂(Tk)) is reasonable. ∎

Let Sk be the complete theory of the Fraïssé limit of 𝕂(Tk), which is ω-categorical and admits quantifier elimination. Since (𝕂(Tk1),𝕂(Tk)) is reasonable, Skk1=Sk1. Let S=kSk. This is a complete -theory. Since each Sk admits quantifier elimination, so does S.

Claim 4.

For each σπ, SxUσ(x).

Proof.

Fix σπ. It suffices to show that for some k, SkxUσ(x). Since Sk is the Fraïssé limit of Tk, it suffices to show that there is a model of 𝒜Tk with 𝒜xUσ(x). Let k be large enough that Uσk. We can take 𝒜 to have a single element a satisfying Uσ and no other Uτk. This element a will also satisfy no Aik, and we can inductively define the Vi,τk such that 𝒜Qi(a,,a)Vi,τ(a,,a,a). Thus, checking axioms of types (1) and (2), we see that 𝒜Tk. ∎

For each k, STkSk1Tk and so STπ. Hence S is a completion of Tπ{xUσ(x):σπ} and hence, as discussed earlier, S is a completion of T.

Now let S+ be the Marker extension of S where we make each Ai and Uσ universal. Since S is consistent, so is S+ (Lemma 3.1). Also S has property () as each σ of length 1 is in 𝔗 (as has a child in 𝔗 and hence all of its possible children are in 𝔗) but Sx¬Uσ(x) for all σπ. Recall that it is the ¬Uσ that are made existential in the Marker extension. S+ is complete and by Lemma 3.6 it is a completion of T+. We will now argue that S+ is not relatively decidable.

Claim 5.

S+ is not relatively decidable.

Proof.

It suffices to show that for each formula φ(x¯) such that S+x¯φ(x¯), the +{c¯}-theory S+{φ(c¯)} is not model complete. Fix some such formula φ(x¯). Let k be such that φ(x¯) is an k+-formula. By Lemma 3.2, φ(x¯) is equivalent to a quantifier-free formula in the language k+{ψ:ψ an k-formula}. Since Sk admits quantifier elimination, φ(x¯) is in fact equivalent to a quantifier-free formula in the language k+{ψ:ψ a quantifier-free k-formula}. Choose j>k sufficiently large so that for any σπ with Uσk, j is greater than any entry of σ and also greater than the next entry of π following all such σ.

We will show that S+{φ(c¯)} is not model complete by showing that Aj is not equivalent to an existential formula. Given 𝒜+S+ and c¯𝒜+ such that 𝒜+φ(c¯) and with some d𝒜+ such that 𝒜+Aj(d), we will construct a model 𝒞+𝒜+ with 𝒞+S+{φ(c¯)} and such that 𝒞+¬Aj(d).

We will now argue that we may assume that c¯ is entirely contained within the first sort of 𝒜+. If not, we may also split c¯ into a pair of tuples c¯1 in the first sort S1 and c¯2 in the second sort S2, so that φ can be written as φ(x¯1,x¯2). Consider all of the atomic and negated atomic terms, in the language k+{ψ:ψ a quantifier-free k-formula}, which appear in φ(x¯1,x¯2). Since 𝒜+𝒞+, the truth value of any atomic or negated atomic formula from k+ is maintained from 𝒜+ to 𝒞+. It is only the formulas ψ which may change their truth value. Any such formula can only be true of elements in the first sort, and so if applied to a tuple including any element of c¯2 must be false in both 𝒜+ and 𝒞+. Thus, essentially, we only need to be concerned with c¯1, as c¯2 poses no obstacle.

Let 𝒜 be the model of S associated with 𝒜+. Let be the same as 𝒜 except that ¬Uσ(x) for all x of the appropriate sort where Uσk, and also ¬Aj(d). Then 𝒜 is a weak substructure of , 𝒜w. If + is the Marker extension of , then by Lemma 3.5, 𝒜++. Since j>k the reducts of 𝒜 and to k are the same, and as φ is an k+-formula, we have +φ(c¯). Now we argue that satisfies the universal part of S.

Subclaim.

S.

Proof.

Since S=mSm, any universal consequence of S is also a consequence of one of the m-theories Sm. The theories Sm are the Fraïssé theories of the Fraïssé classes 𝕂(Tm), and so it suffices to show that Tm for every m.

Using the fact that the reduct of 𝒜 to m is a model of Tm, we argue that is also a model of Tm. We satisfy the axioms of type (1) trivially since none of the elements of 𝒜 satisfied Uσ(x) for σπ, and in we did not add any new elements or change any relations from ¬Uσ to Uσ. Recalling the form of axioms of type (2), for each σπ and such that σπ, and i<, we will verify that

x[Uσ(x)y¯[Qi(y¯)Vi,σ(y¯,x)]].

Note that these are more axioms than appear in Tm, as we are only assuming that i< and not i<min(,m), but as these axioms are all true anyway there is no reason to assume i<m. We will only consider those Uσk, since all other Uσ were set to false in . Such σ are of length at most k and satisfy σ{0,1,,k1}k, so σ is at most length k+1. We do not have a bound on , though we do know that j>.

Fix σ and x and assume Uσ(x). Consider some Qi(y¯) for i<. It is a quantifier-free formula in i. Our goal is to make sure that Qi(y¯)Vi,σ(y¯,x) for each i<. Since we did not change the truth value of Vi,σ, it suffices to show that we did not change the truth value of Qi(y¯). Since Qi is quantifier-free in i, it suffices to show that we did not change the truth value of any atomic formula that Qi is composed of. If k, then we know Qi’s truth value is preserved since the reducts of 𝒜 and to k are equal. Thus assume k+1. First note that all Ai for i< remain the same as in 𝒜 (we only changed Aj, with j>) as do all Vi,σ for any i,σ. Thus by ensuring that any Uτ in Qi has the same truth value as it does in 𝒜, we know that Qi will have the same truth value as Vi,σ. We only consider τπ since all others are false in both 𝒜 and . We claim that if Uτ appears in Qi for i< then Uτk. For the sake of contradiction, assume that Uτk. Thus τ𝔗{0,1,,k1}k. Either τ has length at least k+1 or there is nk such that n appears as an entry in τ. In the second case, note that σ does not have n as an entry and so στ.

Case 1.

τ has length k+1. Since τπ and is of length k+1, we know τ must be σ or an extension of it. However, recall that Uτi1, which only contains Uρ for ρ{0,1,,2}1, so τ cannot possibly contain . This yields a contradiction.

Case 2.

There is nk such that n appears in τ. Recall that k+1. Since σ{0,1,,k1}k, σ cannot contain n as any entry, and so τ cannot be an initial segment of σ. Since σ and τ are compatible, we have στπ. Thus στ. Since Uτ is contained in Qi, a quantifier-free formula in i, it must be that τ{0,1,,2}1, since i<. This yields a contradiction.

Thus we have shown that Uτk. We conclude that Qi has the same truth value in as in 𝒜 and so axioms of the form (2) are fulfilled. Since Tm for each m, S, completing the proof of the subclaim. ∎

Since S, standard model-theoretic results imply that there is 𝒞 with 𝒞S. Let 𝒞+ be the Marker extension of 𝒞, so that 𝒞+S+, with 𝒜++𝒞+. We have 𝒞+¬Aj(d). It remains to argue that 𝒞+φ(c¯). Recall that in models of S+, φ is equivalent to a quantifier-free formula in the language k+{ψ:ψ a quantifier-free k-formula}. So it suffices to show that 𝒜+ is a substructure of 𝒞+ in this language, as then since 𝒜+φ(c¯), we can conclude that 𝒞+φ(c¯). Since 𝒜+ is an +-substructure of 𝒞+, it remains to check that if a relation ψ holds of some tuple in 𝒜+ then it holds in 𝒞+ for ψ a quantifier-free k-formula. This follows from the fact that, after taking their reducts to k, 𝒜 is a substructure of and is a substructure of 𝒞. This completes the argument of the claim. ∎

This completes the proof of the theorem: If 𝔗 is well-founded, then the theory T+ constructed is relatively decidable, and if 𝔗 is ill-founded then the theory S+T+ is not relatively decidable and hence T+ is not relatively decidable. ∎

References

  • [AKM+89] C. Ash, J. Knight, M. Manasse, and T. Slaman (1989) Generic copies of countable structures. Ann. Pure Appl. Logic 42 (3), pp. 195–205. External Links: ISSN 0168-0072,1873-2461, Document, Link, MathReview (Andrey Morozov) Cited by: §2.
  • [AK00] C. Ash and J. Knight (2000) Computable structures and the hyperarithmetical hierarchy. Elsevier Science. Cited by: §1.
  • [BH19] N. Bazhenov and M. Harrison-Trainor (2019) Constructing decidable graphs from decidable structures. Algebra Logika 58 (5), pp. 553–573. External Links: ISSN 0373-9252, MathReview (Alexandre Ivanov) Cited by: §4.
  • [CF96] E. Casanovas and R. Farré (1996) Omitting types in incomplete theories. J. Symbolic Logic 61 (1), pp. 236–245. External Links: ISSN 0022-4812,1943-5886, Document, Link, MathReview (M. Yasuhara) Cited by: §1.
  • [CH99] Z. Chatzidakis and E. Hrushovski (1999) Model theory of difference fields. Trans. Amer. Math. Soc. 351 (8), pp. 2997–3071. External Links: ISSN 0002-9947,1088-6850, Document, Link, MathReview (Salma Kuhlmann) Cited by: §1.
  • [CHI90] J. Chisholm (1990) Effective model theory vs. recursive model theory. J. Symbolic Logic 55 (3), pp. 1168–1191. External Links: ISSN 0022-4812,1943-5886, Document, Link, MathReview (Alexandre Ivanov) Cited by: §2.
  • [CMS21] J. Chubb, R. Miller, and R. Solomon (2021) Model completeness and relative decidability. Arch. Math. Logic 60 (6), pp. 721–735. External Links: ISSN 0933-5846,1432-0665, Document, Link, MathReview (G. Cherlin) Cited by: §1, §1, §1.
  • [KNI86] J. Knight (1986) Degrees coded in jumps of orderings. J. Symbolic Logic 51 (4), pp. 1034–1042. External Links: ISSN 0022-4812,1943-5886, Document, Link, MathReview (R. A. Di Paola) Cited by: §1.
  • [MAC76] A. Macintyre (1976) On definable subsets of p-adic fields. J. Symbolic Logic 41 (3), pp. 605–610. External Links: ISSN 0022-4812,1943-5886, Document, Link, MathReview Entry Cited by: §1.
  • [MAR89] D. Marker (1989) Non Σn axiomatizable almost strongly minimal theories. J. Symbolic Logic 54 (3), pp. 921–927. External Links: ISSN 0022-4812,1943-5886, Document, Link, MathReview (Anand Pillay) Cited by: §3.
  • [MAR00] D. Marker (2000) Model theory of differential fields. In Model theory, algebra, and geometry, Math. Sci. Res. Inst. Publ., Vol. 39, pp. 53–63. External Links: ISBN 0-521-78068-3, MathReview (Ricardo Bianconi) Cited by: §1.
  • [MON21] A. Montalbán (2021) Computable structure theory—within the arithmetic. Perspectives in Logic, Cambridge University Press, Cambridge; Association for Symbolic Logic, Ithaca, NY. External Links: ISBN 978-1-108-42329-8, Document, Link, MathReview (Alexandra Andreeva Soskova) Cited by: §1, §2.
  • [MON26] A. Montalbán (2026) Computable structure theory—beyond the arithmetic. Perspectives in Logic, Cambridge University Press, Cambridge; Association for Symbolic Logic, Ithaca, NY. Cited by: §1, §2.
  • [TAR48] A. Tarski (1948) A Decision Method for Elementary Algebra and Geometry. The Rand Corporation, Santa Monica, CA. External Links: MathReview (A. Heyting) Cited by: §1.
  • [WIL96] A. Wilkie (1996) Model completeness results for expansions of the ordered field of real numbers by restricted Pfaffian functions and the exponential function. J. Amer. Math. Soc. 9 (4), pp. 1051–1094. External Links: ISSN 0894-0347,1088-6834, Document, Link, MathReview (Luc Bélair) Cited by: §1.
  • [ZUC16] A. Zucker (2016) Topological dynamics of automorphism groups, ultrafilter combinatorics, and the generic point problem. Trans. Amer. Math. Soc. 368 (9), pp. 6715–6740. External Links: ISSN 0002-9947,1088-6850, Document, Link, MathReview (L. Nguyen Van Thé) Cited by: footnote 4.