Characterizing relative decidability
in terms of model completeness
Abstract
A theory is said to be relatively decidable if for every model of , one can compute the elementary diagram of that model from its atomic diagram together with . We verify a conjecture of Chubb, Miller, and Solomon by showing that for complete theories , is relatively decidable if and only if has a conservative model complete extension of the form where . 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 of -adic numbers [MAC76], the exponential field 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 a recursively axiomatizable first-order theory. If is model complete, then every formula is equivalent modulo to both an existential and a universal formula. For every (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 and , we can find quantifier-free formulas and such that
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 such that (in which case we have determined that ) or for such that (in which case we have determined that ).
Chubb, Miller, and Solomon [CMS21] named this property of 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 in the computations.
Definition 1.1.
A theory is relatively decidable if for every countable with domain the theory together with the atomic diagram of compute the elementary diagram of .
If is model complete, then not only is 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 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 where is the successor relation. The non-uniformity comes from the fact that in each model of we must identify the unique element that has no predecessor. In particular,
and in the language with an additional constant, 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 is complete.11 1 Several years ago the first author circulated an incorrect refutation of this conjecture. He apologizes.
Theorem 1.2.
Let be a complete theory. Then is relatively decidable if and only if there is a formula such that
-
(1)
, and
-
(2)
the -theory is model complete.
The difficult direction of the proof is to show that if is relatively decidable then such a formula 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 we obtain an infinitary formula , a countable disjunction of existential formulas, which is equivalent to in . The difficulty is that in different models , we may get different 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 . 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 from the atomic diagram of every copy of then is enumeration reducible to the existential type of a tuple in . The definability is also usually in the infinitary logic . 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 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 satisfies , then every model of 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 . In terms of descriptive set theory, this makes the set of relatively decidable theories a 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 -complete, and in particular it is not Borel.
Theorem 1.3.
There is a language such that the set
is -Wadge-complete.
In particular, we show that given a tree , we can construct (in a relatively computable way) a theory such that
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 is relatively decidable are both reasonably short. The argument that if is ill-founded then 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 -complete.
Finally, we would like to highlight the following open problem of Goncharov:
Question 1.4 (Goncharov).
Characterize the decidable theories such that every computable model of is decidable.
The corresponding index set is ; we conjecture that it is -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 -complete one would have to build decidable models of such that for no is 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 is isolated if there is a formula such that and . In this case we say that isolates . The formula does not necessarily have to be part of the type . Thus a realization of might or might not satisfy .
Definition 2.1.
Let be a complete theory, , and let be a partial type. We say that a realization of in is isolated if there is a formula that isolates and such that .
Theorem 2.2 (Omitting types).
Let be a complete theory, and let be a countable list of partial types. There is a countable model such that any realization of any 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 whether or not they are isolated. The result is that all realizations of any 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 be a relatively decidable theory. Then for all there is and a uniformly -computable sequence of -computable infinitary formulas such that for all we have
This condition is both sufficient and necessary, but it is a condition on and will be superseded by the better characterization obtained in Theorem 1.2. Thus we prove only one direction.
Proof.
Suppose that is relatively decidable. Fix . Following Montalbán [MON26] we can consider the elementary diagram of as a relation on ,
where is the Gödel number of . Since 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 and a uniformly computable sequence of computable formulas such that
See 1.2
Proof.
For the easy direction, suppose that there is a formula such that and such that the -theory is model complete. Let . Then there is some such that , and so . Since this theory is model complete, together with the atomic diagram of computes the elementary diagram of this structure. Since is a finite tuple of elements, the atomic and elementary diagrams of are Turing equivalent to the atomic and elementary diagrams of respectively.
Now suppose that is relatively decidable. Then by Lemma 2.3 for each there is and a uniformly computable sequence of computable formulas , with each a finitary existential formula, such that for all we have
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., ) 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 . As in Lemma 2.3 let and be such that for all ,
| (1) |
We claim that for each there is such that
If not, then for some there is a sequence of tuples with
Consider the partial type . 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 such that
In particular, for each ,
Thus, as is complete, for each there is such that
| (2) |
Let be a listing (indexed by ) of the computable sequences (indexed by ) of computable formulas. For each , consider the partial type
By the omitting types theorem there is a model such that any realization of any is isolated. As in Lemma 2.3 let and be such that
Let be the index of the sequence . Thus realizes . This realization is isolated, say by a formula . In particular, for each formula and each ,
| (3) |
Now by (2), for each ,
Let be this , and let
Then since , for some we have
Thus, for each ,
| (4) |
and also, by (3),
| (5) |
Recalling the definition of , this says that if we find with then, over the parameters , has a finitary existential definition .
For simplicity in what follows, let
and let
The important facts are that these are existential formulas and that, rewriting (4) and (5) in terms of this new notation,
| (6) |
and
| (7) |
Otherwise, we can forget the specific forms that these formulas take. Note that this gives us for each a formula
equivalent to which would be existential if were. This formula 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 such that, for the formula in particular,
As argued previously, since is recursively saturated there is such that
Thus
Let . Then, since is complete,
| (8) |
We claim that the -theory
is model complete. We will verify this by showing that for each formula we have
| (9) |
where is an existential formula. Let , that is, and
| (10) |
Then for each formula we have, by (6) and (10),
| (11) |
| (12) |
Combining (11) and (12) we get
This completes the proof of (9), and so we have shown that is model complete. Together with (8) we have completed the proof of the theorem. ∎
3 Marker extensions
Let be a countable relational language. Let be an -theory and let be a distinguished set of relations from with of arity .
We will define a new language and an -theory which we call the Marker extension of making into relations. This new theory will essentially be the same as the original theory except that the will be understood as definable relations. Thus given some , we can find some which is essentially the same, except we have now turned the into -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
Here, and are unary relations, and the are unary functions. We will write for the function . At the level of formulas, stands for . Similarly we write as shorthand for .
We first explain, given an -structure , how to define its Marker extension which will be an -structure. will have two sorts. will identify the first sort, the elements from the original structure, and will identify the second sort, extra elements we add to our structure to certify whether a relation is true or false. The domain of will consist of the domain of , all satisfying the relation , together with some number of new elements satisfying the relation , 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 and such that , we introduce an element of satisfying . We say that witnesses that is true. Each element of will witness one and only one such relation. To fully define , we set for from either sort if is not witnessing a relation . We have, in , definable relations on the first sort which make the first sort isomorphic to . Thus can be recovered from . We call the Marker extension of making into relations.
Given the theory , we now define the theory . Given , we should have . We begin with axioms for the sorts.
-
(1)
.
-
(2)
.
For relation symbols from which remain in , they can only be satisfied by tuples from the first sort.
-
(3)
.
We now write down the axioms that ensure that the appropriately define relations on the first sort:
-
(4)
for all and ,
-
(5)
for all ,
-
(6)
for all ,
-
(7)
for all ,
We now get -definable relations on tuples from the first sort corresponding to the . Abusing notation, we often also write for these definable relations, but when we need to distinguish them we write .
When this holds, we say that is the witness to . Axioms (6) ensure that each witness is unique, while axioms (7) ensure that each element cannot be a witness to two different relations and . Since the are (tuples of) functions, each element cannot be a witness to two different relations for the same on different tuples. We inductively define a transformation of an -formula into an -formula by replacing each instance of with the definable relation , and with all variables of interpreted as belonging to : Each quantifier becomes , and each quantifier becomes . If has free variables , in we also assert that . For the final axioms of , we take the axioms of , translated as just described.
-
(8)
for each .
This completes the definition of .
We begin with some observations. If is consistent, say with a model , then is a model of . Thus:
Lemma 3.1.
If is consistent, then is consistent.
On the other hand, given a model of , we can define an associated model whose domain is the first sort of , and interprets the using the definable relations . Axioms (8) ensure that . It is not necessarily true that is , but will be a substructure of , with consisting only of elements of the second sort which are not witnesses to any relations. For , we write for the structure which is together with additional elements in the second sort which are not witnesses to any relations. The for may not be models of in all cases, but often by compactness they will be. One such instance is if satisfies a technical assumption we call (): for infinitely many . In this case the countable models of are exactly the models for and .
Next, we prove the following quantifier-elimination result which says that any formula about a model of 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 satisfies ().22 2 We could make slightly different definitions in the case that there are only finitely many . In general, we could always add new relations to the list and assume that . This is only a trivial modification to but makes satisfy assumption ().
Lemma 3.2.
Suppose that has property (). Then has quantifier elimination in the language
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 is complete and has property (), then is complete.
Proof.
Given an -sentence , we can write as a Boolean combination of atomic and negated atomic formulas from
with no free variables. The only atomic formulas with no free variables are the for an -sentence. But since decides each such sentence , 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 . Suppose that and as -structures. Let be a quantifier-free -formula. Let and and suppose that . We must show that there is such that . We may assume that , 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 is equivalent to . This includes any of the relations from as for such relations and are equivalent. Then we can write
where is a tuple of terms with in and is a conjunction of equalities, inequalities, and relations and of terms in . 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 and . We can also rewrite as where is in the first sort and is in the second sort. We can also expand to include all of the images of under any terms (other than those that map to itself), as each element of has only finitely many images under terms, and each term maps an element either to itself or to . After this, we may rewrite our formula as
where are terms with and the other conjuncts are as before.
Now we make some simplifications involving the other conjuncts. Any atomic formula only involving is passed to trivially, so we can ignore these. Since is equivalent to , 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 must be . Also, for any term and any either or there is such that . Thus remaining atomic formulas involving are:
-
•
or
-
•
or
-
•
-
•
-
•
,
-
•
.
We also make several remarks about terms. Given , , and any term :
-
(1)
Either or .
-
(2)
If then .
We will use these implicitly.
We now split into cases according to whether or , and in the latter case into subcases depending on whether is a witness to some or not. In each case we find which fits into the same case (e.g., if and only if ).
- Case 1: .
-
Since , for any term . This simplifies all of the atomic and negated atomic formulas in the conjunction. Any equalities and inequalities between and can be moved into , and we cannot have any equalities between and . Also, and . As we will choose , all of these remaining atomic and negated atomic formulas will hold. Thus, as long as we pick in with and such that then we are done.
We have
Since the latter formula is quantifier-free, we have that
Thus there is some such that . This implies that .
- Case 2: , is a witness to for .
-
By saying that is a witness to in we mean that . We begin by splitting into part that is in and part that is not. After rearranging, we may replace by where is a subtuple of and has no entries in common with . Also, the only terms are (up to equivalence, when applied to ) the identity and for each . Rearranging the we may assume that for and for . Moreover, for any in , as long as for some , then the terms up to equivalence are the same. So we may rewrite our formula as
Thus we have
where is the formula that expresses the equalities and inequalities between all elements of and , including that for all . Thus
We can rewrite this as
where . Since this is a quantifier-free fact about , it is also true in ,
Thus
Letting be the witness to this existential quantifier over , we have
Note that the are distinct from the and if and only if .
We also have . Let be the witness to this, i.e., the unique element such that . So we have
We also have that , argued as follows. In that case, we would have and so . By our assumption that contains the non-trivial images of under all terms, we would have that and are the empty tuple. But can have only one witness in , and both and would be witnesses. This contradicts our assumption that .
Now we must consider all of the other conjuncts in our formula and use the fact that they were true for to show that they are true for . It will be useful to note that for any term , if and only if , and otherwise there is some such that and . Thus if and only if , and if and only if .
-
•
Given for some term , we must have that for some as otherwise would not be in . Thus .
-
•
Given , since and are in , we must have . But this contradicts our assumption that .
-
•
Given , one of the following must be true:
-
–
and .
-
–
for some . Then and .
-
–
for some , and . Then .
-
–
-
•
Given for some term, we have that either or . In the former case, we automatically have that . In the latter case, we have two subcases. If is a non-empty tuple, then since does not share elements with and is generated by , , since can only generate itself and elements of . If is empty, then so is . If is empty, then is the unique witness in to , and so is not a witness to . Since is the unique witness in to , .
-
•
Given (or ), since terms behave essentially the same on as they do on , (including that, e.g., if and only if ) we also have (or ).
-
•
Given we must have and so is also in .
-
•
Given we must have , and so is also in .
Thus we have shown that .
-
•
- Case 3: , is not a witness to any .
-
For every term , is in . Thus we may rewrite
and since depends only on elements in and hence is automatically true in , we may remove it and assume that is a conjunction of atomic and negated atomic formulas of the types described above.
Since, by assumption, is not part of the tuple , and is not a witness, we can remove the equalities of the form . Since in for every term we have , no inequalities can be true in , and so we can discard those as a possibility. We can also replace any equalities with two equalities of the form . Finally, since is in in , we can discard atomic formulas . We are left with the following:
-
•
or
-
•
-
•
.
Let be the maximum of the such that some shows up in one of the terms in our formula, and also so that any is a witness to some . It will suffice to choose to be a witness to some for some , and that such an element exists by assumption ()—the original theory was assumed to contain elements that witness for arbitrarily large . In this case, for all terms appearing in our formula, we have . Also, , and does not appear among the , 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 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 if
-
(1)
The domain of is contained in the domain of ;
-
(2)
if for , then ; and
-
(3)
for any other relation and , if and only if .
By taking Marker extensions, we can realize weak substructures as true substructures.
Lemma 3.5.
If 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 , we just have the embedding as these make up the first sorts of and respectively. On the second sort , any element of is a witness that holds of some tuple . Since is a weak substructure of , also holds of in , and so there is a witness to this in . We map to . Each witnesses for exactly one pair and , and there is only one witness 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 as -theories. Then as -theories.
Proof.
Axioms () and () are common to the Marker extension of any theory. Axioms ()-() are satisfied by both and since those axioms only depend on and set of relations to be made existential. Consider an instance of Axiom , say where . Since , and so as an instance of Axiom (). ∎
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 in . Uniformly computably in we will define a language and an (incomplete) theory such that is well-founded if and only if is relatively decidable. Thus the set
will be -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
For each let
The and are unary relations. The arities of the must be defined inductively. Enumerate the universal -formulas as with an -formula. Thus does not involve any of the symbols . Then we may construct so that the arity of in is the same as in . Let be the theory with the following axioms:
-
(1)
,
-
(2)
for a non-leaf node,
-
(3)
for a leaf node,
We begin by showing that is satisfiable.
Lemma 4.1.
is satisfiable and has an infinite model.
Proof.
We will define a model on an infinite domain. Set for all and for all and all , . This ensures that axiom (1) is true. We set to be true for all and all .
We will define the such that for all ,
This will ensure that the axioms of types (2) and (3) are all true. Because the symbols are included in the formulas , we must define the ’s recursively. We begin with which uses only and the symbol for equality, so that we have already determined whether for each . We can thus set, for each and , if and only if . Now supposing that we have defined the for , we define the . We have already at this point determined whether for each , and so can again set if and only if . ∎
Now let be the Marker extension of where we make each and universal (i.e., we make each of their negations existential). Since is consistent, so is . We will now argue that is relatively decidable if and only if is well-founded.
Lemma 4.2.
Suppose that is well-founded. Then is relatively decidable.
Proof.
Let and let be the corresponding model of . We have that . Since the tree is well-founded, there must either be some a non-leaf node such that and for each , , or some a leaf node such that .
In the first case, let be such that . Then, following axioms (2), we have for all that
In the second case, let be such that . Then, following the axioms (3), we also have that for all
From here the argument is the same in both cases. In any computations below, we fix the element and (or , but below we will write ) non-uniformly.
Each universal -formula is equivalent to a quantifier-free -formula with parameter . We can argue inductively that this implies that each -formula is equivalent to an -formula . (With in normal form, work from the inside out replacing each universal formula by some and each existential formula by some .) Using (which is Turing-equivalent to ) for each we can compute such an .
Given an -formula , by Lemma 3.2 there is an equivalent quantifier-free formula in the language . Using , we can compute such a formula. Each is equivalent in to the -formula , which is the same as as they were not made universal in the Marker extension. Thus is equivalent in to a quantifier-free -formula with parameter . Thus the atomic diagram of , together with , 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 extending which is not relatively decidable. This will imply that is not relatively decidable. The advantage of finding a completion of 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 such that
-
•
, and
-
•
the -theory is model complete.
The theory will be defined from a fixed path through .
Instead of directly finding a completion of , we will first find a completion of and then take its Marker extension, which is justified by Lemma 3.6. Suppose that has an infinite path . Let be the theory with the following axioms.
-
(1)
for each ,
-
(2)
for each , with such that , and ,
Note that .33 3 We omit from 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 it suffices to find a completion of .
We could attempt to take a model completion of , which is a theory, but to do this we would have to show that the existentially closed models of 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 range over all universal formulas.) Instead, we will construct a completion of by Fraïssé limits. The language is infinite, so rather than trying to take a Fraïssé limit of itself, we will find a completion of which is a union of Fraïssé limits. And since is not a universal theory we cannot simply take the Fraïssé limits of 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 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 for the Fraïssé limit of the class . Since we assume that the language was finite and relational, is automatically uniformly locally finite and hence the theory of the Fraïssé limit is -categorical and admits quantifier elimination. Given a universal theory we have the corresponding class of finite models of . automatically has the HP.
Given two Fraïssé classes and in languages and respectively, we say that is an expansion class of if , the class of reducts of structures in . If is an expansion class of we say that the pair is reasonable if whenever , is the reduct to , and is an embedding of into another , there is an expansion of to an -structure such that is an embedding . The Fraïssé limit of is the reduct to of the Fraïssé limit of if and only if 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
Note that . Let be the restriction of to the axioms of with symbols from , namely with the following axioms from :
-
()
for each and ,
-
()
for each , , with such that , and ,
Any axiom of which does not appear as an axiom of includes some symbol from . (We do not worry at this point about whether has some consequences in which are proven by axioms not in . This will be resolved by Claim 3.)
We will recursively define universal -theories for . For each , will be a Fraïssé class with being reasonable. Let be the -theory of the Fraïssé limit of . This is a complete, consistent extension of which is -categorical and admits quantifier elimination. Since the Fraïssé limit of is a reduct to of the Fraïssé limit of , we will have that .
We will begin with and will ensure that . Since , as it is the theory of the Fraïssé limit of , and because by reasonableness, we will have . Letting , and after verifying that for every , we will get a complete -theory with and hence .
Beginning with , this has no axioms as has only the symbol . 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, . Now given the -theory we will define . Since admits quantifier elimination, there is a quantifier-free -formula such that . We will have already defined, for each , an -formula such that . Since , this equivalence is also true modulo . We are now ready to define , which has the following axioms:
-
()
for each , ,
-
()
for each , , with such that , and
() is exactly the same as (), and () is the same as () except with replacing . So includes, for each axiom of , an axiom which is equivalent modulo . Thus and . We also have that as each axiom of is an axiom of .
The point of defining is that it is a universal theory and hence has the HP. The next two lemmas complete the verification that is a Fraïssé class.
Claim 1.
has the JEP.
Proof.
Let . We define a sort of free amalgam of and . The domain of is the disjoint union of the domains of and . For any tuple contained entirely in or , let inherit the relations from and . Since the and are unary relations, this defines them completely on . It remains to define the relations for tuples that are not fully contained in or . On these tuples we would like to set these relations so that , but we must do this recursively so that when we are defining we have already determined . First, for and not fully contained in or , set if and only if . is an -formula, and the reduct of to is already defined. Once all for have been determined, we can set if and only if which is well-defined as is an -formula and the reduct of to has already been defined. We can see that for all not fully included in or we have .
We must now check that . The axioms () are immediate, since the are unary and each element of is in either or both of which satisfy (). For (), suppose that and . For , since we have , and for tuples not completely contained in by construction we have . The case where is identical. So we have verified that . ∎
Claim 2.
has the AP.
Proof.
Given with and , we must form the amalgam of and over . This will be a free amalgam of and with domain . 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 on such tuples so that . The argument that is again the same as for the JEP, with () being relatively immediate and () following from the fact that for new tuples we have . ∎
Since , for any the reduct of to is in . So is an expansion class of . We now verify that it is reasonable.
Claim 3.
is reasonable.
Proof.
Let be such that . Let be an expansion of to an -structure. We must construct an expansion of such that . Note that
To define the relations on , let all relations from carry over. For tuples not fully contained in , let be false and all new be false. It remains to set the that are introduced in for tuples that are not exclusively in . Since the quantifier-free formulas , , only use symbols from , it is already determined whether . For tuples not entirely contained in we can simply set if and only if .
It remains to verify that . We already know that , so we just need to check the new axioms. New axioms of the form () are all of the form with . For we have as , and for recall that we set .
Now we consider axioms of the form (). Such an axiom is of the form
where , is such that , and . It is equivalent to check that for each and that
For such an axiom to be new, one of or are in . If , then , so . Thus for any such new axiom we have is a new symbol. Suppose and . Then for entirely contained in we have since . For not completely contained in , by construction we have that . Thus . If , then whether or not we have , by construction . Thus , so is reasonable. ∎
Let be the complete theory of the Fraïssé limit of , which is -categorical and admits quantifier elimination. Since is reasonable, . Let . This is a complete -theory. Since each admits quantifier elimination, so does .
Claim 4.
For each , .
Proof.
Fix . It suffices to show that for some , . Since is the Fraïssé limit of , it suffices to show that there is a model of with . Let be large enough that . We can take to have a single element satisfying and no other . This element will also satisfy no , and we can inductively define the such that . Thus, checking axioms of types () and (), we see that . ∎
For each , and so . Hence is a completion of and hence, as discussed earlier, is a completion of .
Now let be the Marker extension of where we make each and universal. Since is consistent, so is (Lemma 3.1). Also has property () as each of length is in (as has a child in and hence all of its possible children are in ) but for all . Recall that it is the that are made existential in the Marker extension. is complete and by Lemma 3.6 it is a completion of . We will now argue that is not relatively decidable.
Claim 5.
is not relatively decidable.
Proof.
It suffices to show that for each formula such that , the -theory is not model complete. Fix some such formula . Let be such that is an -formula. By Lemma 3.2, is equivalent to a quantifier-free formula in the language . Since admits quantifier elimination, is in fact equivalent to a quantifier-free formula in the language . Choose sufficiently large so that for any with , is greater than any entry of and also greater than the next entry of following all such .
We will show that is not model complete by showing that is not equivalent to an existential formula. Given and such that and with some such that , we will construct a model with and such that .
We will now argue that we may assume that is entirely contained within the first sort of . If not, we may also split into a pair of tuples in the first sort and in the second sort , so that can be written as . Consider all of the atomic and negated atomic terms, in the language , which appear in . Since , the truth value of any atomic or negated atomic formula from 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 must be false in both and . Thus, essentially, we only need to be concerned with , as poses no obstacle.
Let be the model of associated with . Let be the same as except that for all of the appropriate sort where , and also . Then is a weak substructure of , . If is the Marker extension of , then by Lemma 3.5, . Since the reducts of and to are the same, and as is an -formula, we have . Now we argue that satisfies the universal part of .
Subclaim.
.
Proof.
Since , any universal consequence of is also a consequence of one of the -theories . The theories are the Fraïssé theories of the Fraïssé classes , and so it suffices to show that for every .
Using the fact that the reduct of to is a model of , we argue that is also a model of . We satisfy the axioms of type trivially since none of the elements of satisfied for , and in we did not add any new elements or change any relations from to . Recalling the form of axioms of type , for each and such that , and , we will verify that
Note that these are more axioms than appear in , as we are only assuming that and not , but as these axioms are all true anyway there is no reason to assume . We will only consider those , since all other were set to false in . Such are of length at most and satisfy , so is at most length . We do not have a bound on , though we do know that .
Fix and and assume . Consider some for . It is a quantifier-free formula in . Our goal is to make sure that for each . Since we did not change the truth value of , it suffices to show that we did not change the truth value of . Since is quantifier-free in , it suffices to show that we did not change the truth value of any atomic formula that is composed of. If , then we know ’s truth value is preserved since the reducts of and to are equal. Thus assume . First note that all for remain the same as in (we only changed , with ) as do all for any . Thus by ensuring that any in has the same truth value as it does in , we know that will have the same truth value as . We only consider since all others are false in both and . We claim that if appears in for then . For the sake of contradiction, assume that . Thus . Either has length at least or there is such that appears as an entry in . In the second case, note that does not have as an entry and so .
Case 1.
has length . Since and is of length , we know must be or an extension of it. However, recall that , which only contains for , so cannot possibly contain . This yields a contradiction.
Case 2.
There is such that appears in . Recall that . Since , cannot contain as any entry, and so cannot be an initial segment of . Since and are compatible, we have . Thus . Since is contained in , a quantifier-free formula in , it must be that , since . This yields a contradiction.
Thus we have shown that . We conclude that has the same truth value in as in and so axioms of the form are fulfilled. Since for each , , completing the proof of the subclaim. ∎
Since , standard model-theoretic results imply that there is with . Let be the Marker extension of , so that , with . We have . It remains to argue that . Recall that in models of , is equivalent to a quantifier-free formula in the language . So it suffices to show that is a substructure of in this language, as then since , we can conclude that . 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 -formula. This follows from the fact that, after taking their reducts to , 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 constructed is relatively decidable, and if is ill-founded then the theory is not relatively decidable and hence is not relatively decidable. ∎
References
- [AKM+89] (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] (2000) Computable structures and the hyperarithmetical hierarchy. Elsevier Science. Cited by: §1.
- [BH19] (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] (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] (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] (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] (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] (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] (1976) On definable subsets of -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] (1989) Non 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] (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] (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] (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] (1948) A Decision Method for Elementary Algebra and Geometry. The Rand Corporation, Santa Monica, CA. External Links: MathReview (A. Heyting) Cited by: §1.
- [WIL96] (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] (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.