We study the primitive recursive content of various closure results in algebra and model theory, including the algebraic, the real, and the differential closure theorems. In the case of ordered fields and their real closures, our result settles a question recently raised by Selivanova and Selivanov.
The paper contributes to the study of the primitive recursive content of proofs and processes in algebra, analysis, and infinite combinatorics initiated in [33]. The main idea of such studies is eliminating unbounded search from various abstract algorithms performed on infinite mathematical structures. Abstract Turing computable algorithms are in the core of computable structure theory [6,22,43]. The simple idea of eliminating unbounded search from such abstract algorithms led to many rather technically non-trivial and often unexpected results. For foundations of the theory of primitive recursive (and ‘punctual’) structures, we cite the surveys [5,7,21]. For various recent results related to the present paper, and for further technical background, we cite [9,20,42,50]. We also note that primitive recursive algebra is very closely technically related to polynomial time algebra; see, e.g., [1,3,13,14]. The main definitions in the theory are as follows. An algebraic structure is primitive recursive if its domain is a primitive recursive subset of natural numbers and the operations and relations are represented by primitive recursive functions. This definition can be traced back to Mal’cev [38]. If we replace ‘primitive recursive’ with ‘computable’ throughout the definition, we will obtain the standard notion of a computable structure [6,22]. Kalimullin, Melnikov and Ng [33] suggested to use the following, more restricted notion. Say that a structure is fully primitive recursive or punctual if it is primitive recursive and its domain is the set of all natural numbers (or its initial segment). This seemingly minor variation in the basic definition provided valuable insights into the sub-recursive aspects of algebra and analysis. There has been much research focused on the following fundamental problems:
Describe punctually presented structures in common classes.
Compare different presentations of an algebraic structure.
Investigate the primitive recursive content of classical algebraic results.
For many recent theorems, examples, and non-trivial counter-examples related to these problems see the papers cited above, and also the very recent papers [10,19,27,34,47]. The main theorem of the present paper is related to (a) and (c), but we will also suggest several further results that attack (b). For more results related to (b), we cite the satellite paper [17].
We now discuss the main result of the paper. Recall that every field can be embedded into its algebraic closure, every abelian group is contained in its divisible hull, and every ordered field can be expanded to its real closure. More generally, many natural classes admit a suitable notion of (existential or algebraic) closure. (We shall not attempt to formally define what exactly ‘closure’ means in general since it is a bit too technical. For the purposes of this paper it could be done using prime models of certain theories; for a general abstract definition of a closure see, e.g., [22].) The computability-theoretic content of such algebraic closure results had been studied extensively; e.g., [30,44,49]; for a detailed exposition and a general meta-theorem we cite the book [22]. The study of the primitive recursive content of such results has been initiated by Selivanov and Selivanova [47] who gave a primitive recursive way of embedding a primitive recursive Archimedean ordered field into its primitive recursive real closure (under a mild extra effectiveness condition on the field). The general case was left open. The main goal of the present paper is to give a systematic primitive recursive analysis of primitive recursive closure theorems in algebra. The main result of the paper is the following theorem which, in particular, answers the aforementioned question raised in [47] by Selivanov and Selivanova.
In each of the following classes, every punctual structure from the class can be punctually embedded into its punctual (existential, algebraic) closure:
Boolean algebras;
fields;
ordered fields;
differential fields of characteristic zero.
In each case, the closure is defined naturally; e.g., it is the ‘smallest’ atomless extension in (1), the algebraic closure in (2), the real closure in (3), and the differential closure in (4). We state the theorem for punctual structures but it also holds for primitive recursive structures in these classes; see Remark 4.3 for an explanation.
We now go over the items of the theorem and discuss the respective class, the closure result, and the techniques used to prove it. We also state several further related results that we prove in the present paper.
Boolean algebras
The case of Boolean algebras serves mainly as an example. It illustrates how general (Turing) computability compares to punctual computability in the context of calculating existential closures. The respective classical result for Boolean algebras is folklore, and indeed one does not need much effort to construct their existential closure ‘by hand’ without any reference to the model-theoretic techniques. If is a Boolean algebra, define its existential closure by replacing every atom of by a copy of the atomless Boolean algebra. Then is ‘unique’ and ‘minimal’ over in the right sense, just as expected from any properly defined closure. (We shall clarify what we mean in the relevant section.) The respective computability-theoretic version of this fact also follows quite easily. The punctual analogy (namely, (1) of Theorem 1.1) is also rather elementary. To illustrate the difference between the punctual and the computable closures we prove the following, certainly less elementary, theorem:
For a computable Boolean algebra,is computably unique overif, and only if, the atom relation is decidable in.
For a punctual Boolean algebra,has infinitely many punctual copies that are not punctually isomorphic (over).
It should be clear that the computable uniqueness of over means that any two computable versions of the closure of are computably isomorphic over . The punctual uniqueness is defined similarly, but using primitive recursive isomorphisms having primitive recursive inverse. (The formal definitions will be given in the relevant section. We also note that in the proof of Theorem 2.8 that will appear later we will in fact not necessarily require the inverse to be primitive recursive, and thus we will obtain an even more than stated in Theorem 2.8.) The computable clause of the theorem appears to be new; it strongly resembles similar results about computable fields (with operators), abelian groups, and other structures; see [32,44,49]. It follows from Theorem 1.2 that, in the class of computable Boolean algebras, the computable uniqueness of their respective closure is equivalent to 1-decidability of the structure, i.e., the decidability of its ∃-diagram. We cite [2,11] where 1-decidability is studied from the perspective of primitive recursive mathematics. For more about 1-decidable and punctually 1-decidable structures, see the satellite paper [17].
In contrast, the punctual uniqueness of over is equivalent to being the smallest possible structure, the 2-element BA. We therefore conjecture that in the standard natural classes, the punctual uniqueness of the existential closure of M over M tends to imply that M is, in some sense, trivial. We leave the verification of this conjecture in other standard classes as an open problem.
We now discuss fields.
Fields and ordered fields
It is well-known that every computable field can be computably embedded into its computable algebraic closure; see Rabin [44]. A similar result holds for ordered fields as well; this was established by Ershov [23] and, independently, Madison [37]. In the case of computable fields (without order), the punctual version of Rabin’s theorem is not too different from its original (Turing) computable version. We conjecture that already Rabin’s original proof needs only minor adjustments to give (2) of Theorem 1.1, since it seems Rabin uses only bounded search throughout. However, in the case of ordered fields it is not at all clear whether brute-force methods are sufficient to produce a punctual version of the real closure result. Recently, Selivanov and Selivanova [47] proved a restricted version of Theorem 1.1(3) for primitively recursively Archimedean fields; we omit the definition. The general case was left as an open question; we settle the question in a rather strong sense. More specifically, it follows that we obtain a punctually decidable copy of the closure in each case. That is, the Skolem function is primitive recursive. Primitive recursive Skolem functions have been investigated in, e.g., [2,10,33]. (It is not that hard to see that in (1) we also get a punctually decidable closure; we leave the verification of this to the reader.)
Our proof of (2) and (3) of Theorem 1.1 uses the Henkin construction and the (primitive recursive) quantifier elimination in and , respectively, to construct the closure. It was noted in [7] that the Henkin construction is primitive recursive (in the right sense), but the sketch contained in [7] is actually incomplete. We give a complete and detailed proof in the relevant section, and then we combine the result with the respective quantifier elimination procedure. The idea of using Henkin to produce algebraic and real closures is not new (e.g., Simpson [48]), but the primitive recursive version of this result is new. In particular, we prove much more than stated in (2) and (3) of Theorem 1.1. We note that with some effort (2) and (3) of Theorem 1.1 can be further extended to show that the respective closure results hold in in reverse mathematics; this has been announced in [8]. Some further results about primitive recursive fields can be found in [4,35].
We conjecture that, much in the spirit of Theorem 1.2 for Boolean algebras, effective uniqueness of the closure should perhaps correspond to the field being trivial (in some sense). Our intuition is further supported by the main result of [35]. However, we shall not verify this conjecture in the present paper.
Differential fields
A differential field [24] is a field together with a derivation operator . A differentially closed field is an existentially closed differential field. Robinson and Blum [12,45] gave a first-order axiomatization for differentially closed fields of characteristic zero (). It is well-known that every differential field can be isomorphically embedded into a differentially closed field. Specifically, Blum [12] showed that any model of (i.e., any differential field of characteristic zero) has a prime differential closure, that is, has a prime model.
Harrington [30] showed that every computable differential field can be computably embedded into a computable presentation of its differential closure. Differentially closed fields have some further nice computability-theoretic properties including the low property and the (recursion-theoretic) Mal’cev property; see, e.g., [31,41]. The primitive recursive content of Harrington’s result has not yet been investigated.
The Henkin construction alone is no longer enough to produce the punctual version of Harrington’s theorem. To prove (4) of Theorem 1.1 we establish the following analogy of the computable prime model theorem [26,30]:
Let T be a complete theory with a primitive recursive decision procedure. Then the following are equivalent:
T has a punctually decidable prime model.
T has a prime model and the set of all principal types of T is uniformly punctual.
All terms will be clarified in Section 5 which contains the proof of Theorem 1.3. Assuming the theorem, Theorem 1.1(4) can be derived combining the ideas of Harrington and using some other results from the literature that apparently were not known to Harrington when he published [30].
Finally, we note that Theorem 1.3 and the punctual version of Henkin’s construction could be used to establish the closure theorem for, e.g., Boolean algebras, but it would be an overkill. We conjecture that several other ‘closure’ theorems, such as the already cited earlier computable divisible closure theorem for abelian groups [49], also hold primitively recursively. Some of these closure theorems may require model-theoretic techniques, and some other perhaps can be done directly with the structure avoiding a Henkin-style construction or some other general methods. For instance, we leave open whether the general machinery (the ‘kernel’ theorem) established in [22] can be adjusted to produce primitive recursive ‘closures’.
The rest of the paper is split into several sections, with each section containing enough background about the respective class. The main results stated above will be restated in the relevant sections, and sometimes in a stronger form. However, the reader should have no problem navigating through the paper.
Boolean algebras
Let be a Boolean algebra. (We assume that throughout.) We first prove that the following two definitions are equivalent, thus, the notion of ‘closure’ is robust for countable Boolean algebras.
Let be a minimal atomless superstructure, i.e., the superstructure derived from by substitution of each of its atoms by an infinite atomless ideal. We call a deatomisation of.
Let be an atompless Boolean algebra such that for any atomless there is an isomorphic embedding over (this means that the embedding is the identity when restricted to ).
Let us show that satisfies Definition 2.2. Let be an atomless superstructure. We construct an isomorphic embedding . Define for . For every denote and . Each of the and can be viewed as an atomless Boolean algebra. Then there is an isomorphism . For any define . Now we can define θ on the rest of the elements that can be represented as for some , , . Define . By construction, θ is an isomorphic embedding.
Now we prove that for any there is an isomorphism . Let be an isomorphic embedding from Definition 2.2. Consider and let . Then there exist elements
such that , , and . We show that . Suppose . Then . Since θ is an isomorphic embedding then . Contradiction. Then . Let . Since , then and . Thus, every can be presented as where , for some .
Let and for . Then and are atomless Boolean algebras and there are isomorphisms . Define for where , . □
For a given computable Boolean algebra , we call a pair a computable deatomisation of if is a computable atomless Boolean algebra satisfying Definition 2.1 and is a computable isomorphic embedding. (Strictly speaking, we should’ve used here since does not have to be computable in .) We call a pair a punctual deatomisation of a punctual if is punctual and is a primitive recursive isomorphic embedding.
Letbe a computable Boolean algebra. Thencan be computably embedded into a computable copy of.
Since is computable, we can effectively build a binary generating tree for in the sense of [25]. (Every node in the tree is a non-zero element of the Boolean algebra, the root of 1, and x and y are children of z if and .)
Simultaneously we construct a binary tree without dead ends and a computable isomorphic embedding . Then any element can be introduced as for some , . Let be a Boolean algebra generated by . Define . Thus is a computable deatomisation of . □
Letbe a computable Boolean algebra. Thenis a computable relation iff any two computable deatomisationsandofare computably isomorphic (over).
Suppose that is computable and , are two computable deatomisations of .
Let be a deatomisation of a Boolean algebra . A representation of over is the set
such that , , , , , , , , and .
It is not difficult to see that such a representation is actually unique (in the right sense). We omit the details since we actually do not need uniqueness in the rest of the proof below. We need the following lemma.
Letbe a computable deatomisation of a computable Boolean algebrawith a computable set of atoms. Then for everywe can effectively find its representation.
By Proposition 2.3, such , , exist. We simply search for such elements. □
If the set of atoms is computable in , and and are two deatomisations of , then it is easy to compute an isomorphism between and over . Given an atom a of , we can uniformly compute the back-and-forth isomorphism between the atomless principal ideals of and generated by and , respectively. By Lemma 2.7, this can be extended to an isomorphism between and over .
Suppose that any two computable deatomisations and of are computably isomorphic over . We build and using the procedure described in Theorem 2.4, but also incorporate the following diagonalization attempt into this procedure. The idea is to wait for a potential isomorphism to converge on elements of the diatomisation (say, of ) below an element , assuming that b currently looks like it might be an atom. If the isomorphism converges before b ‘splits’ into two non-zero elements, then we have the opportunity to make sure that this map is wrong by adjusting the definition of the embedding in the second copy. (In some sense, we do ‘the opposite’ in by perhaps swapping the elements under b in .) Suppose is the actual isomorphism over and e is the least such index) and it has converged on elements below b, we know that b has to be an atom.
Let be an effective list of all computable functions and
Continue building into and along the lines of the procedure described in Theorem 2.4. Let b be an atom in that has never been used in the construction and choose . Start computing for every . Suppose there is such that appears in after some has been computed on a. Let i be the least index of such functions. Define and , where denotes the (Boolean algebra) complement of x. If there no such , define for some .
The resulting and are computable deatomisations by construction. By the assumption, there is a computable isomorphism over , where e is the least index of a computable isomorphism over . We never diagonalise against . After a certain stage, say t, all with will either be diagonalised against or we will never have to act for the sake of diagonalising against after this stage t. It means that, after this stage t, if some b is not an atom in then some has to appear in before is computed on a below b. This makes a co-c.e. relation. Since is naturally also a c.e. relation, it follows that is computable. □
Letbe a punctual Boolean algebra. Then its primitive recursive deatomisationhas infinitely many punctual copies that are not punctually isomorphic (over).
We will build infinitely many punctual deatomisations
so that they meet the following requirements:
where is the uniformly computable list of all primitive recursive functions. We arrange R-requirements in some effective list. Unless the current stage is 0, suppose that we just met some requirement at stage and proceed to the next requirement . In the case when the Boolean algebra is trivial (i.e., is the two-element Boolean algebra), the theorem is equivalent to saying that the atomless Boolean algebra has infinitely many punctual copies that are not punctually isomorphic; this is known [18]. (In fact, in this case they are not even primitively recursively isomorphic.) We thus assume that has more than two elements. Consider two cases:
has an atom b; fix it non-uniformly. Build generating trees everywhere except below b, as in the proof of Theorem 2.4. Below b, do the following. Temporarily do not split elements in below b, but in keep splitting b into more and more elements thus making progress towards making the element atomless. (Meanwhile, keep building below the complement of b.) Suppose that currently there are exactly n distinct elements below b in . Wait for to converge on b and on at least elements below b in . Then cannot possibly be an isomorphism, as witnessed at this stage by these finitely many elements and their images. We then resume building below b for a few more stages until at some later stage we need to temporarily ‘freeze’ this principal ideal for the sake of some other requirement.
Assume is atomless. Then, for instance, is a punctual deatomisation for . (This case is almost the same as showing that the atomless Boolean algebra is has infinitely many punctual copies, though it is formally not quite the same. Here is fixed.) In the construction, unless we need to diagonalise, we build each to be the identical copy of , and we let to be the identity. To diagonalise against at stage s, introduce a non-zero and keep it outside the range of . This is done as follows. We embed the generating tree of (as in Theorem 2.4) into . Every time we add new elements into and thus extend the tree, we choose the leftmost atom (terminal node) a in and declare that . We extend the diagram of accordingly. (This way we push the current interpretation of x further down the left-most infinite path along the tree.) Wait for to converge on x, say . In particular, b has to be a finite Boolean combination of elements that are currently nodes of the generating tree of . Recall that this tree is (essentially) the tree of , up to the identity map. However, currently x is either strictly less than or is incompatible with any such Boolean combination. For to be an isomorphism over , it has to be the identity map, which is impossible. We recover by setting x equal to (the image of) the first found element in below the current atom currently bounding x, and proceed to the next requirement.
In each case, in the corresponding construction we let the strategies act one after another according to their instructions. It should be clear that each , , is a punctual deatomisation, and that these deatomisations are punctually (and indeed, primitively recursively) pairwise non-isomorphic over . □
Algebraically closed fields
Let F be a punctual field. There is a punctual presentationof the algebraic closure of F and a primitive recursive embedding.
The proof is split into several lemmas.
A structure is punctually decidable if it is punctual and there is a primitive recursive function h such that for every tuple and every first-order formula (identified with its index)
A theory T with a primitive recursive decision procedure has a punctually decidable model.
The proof sketch in [7] is incomplete and misses one important step. We therefore give a detailed proof here. Let be a set of new constants and be a primitive recursive list of all sentences of the language .
We construct a model in stages, and a complete primitively recursively decidable theory in in stages. Let denote .
At stage if is of the form , as usual find the least k with not occurring in . Let so that we realize the formula.
At stage , let denote the constants in . Let denote the first tuple of variables of the same length as not occurring in Φ. We punctually check whether T proves . If so, let , and if not, .
Recall that the resulting algebraic object upon the constants is a pre-structure, since the theory Q can potentially contain statements of the form for some . However, we can primitively recursively check whether , and if not, then . The domain of the structure is set equal to the indices of those that do correspond to new elements:
which is a primitive recursive subset of . Then, is a primitive recursive structure that realises the theory Q.
The below lemma is folklore and was noted by many researchers (including Alaev).
Supposeis a primitive recursive structure and there is a primitive recursive injective function p such that. Then there is a punctualisomorphic to.
Let us show that there is a primitive recursive function p that satisfies the conditions of lemma for . We also build a primitive recursive function . Let and . To define find primitively recursively the index of the formula that denotes and find the constant that realises it. Find the least index n such that and define and . The function p is primitive recursive and it satisfies the condition of the lemma. Then, there is a punctual isomorphic to , consequently, a theory T has a punctually decidable model . □
By we denote the atomic diagram of F, the set of all atomic sentences and negations of atomic sentences of that hold in F.
Let F be a punctual field of the language L,be the theory of algebraically closed fields. Thenhas a punctual modelsuch that there is a primitive recursive isomorphic embedding f from F into.
We build a (complete) primitively recursively decidable theory T such that . (It should be clear that such a completion T has to be unique; it will also follow from the explanation given below.)
Since every field F has an algebraic closure and , T is consistent. As it is known, the theory of algebraically closed fields has a quantifier elimination, i.e. for every first-order formula σ in the language of fields augmented with constants naming the elements of F, we can find an open σ such that . Moreover, we can find such primitively recursively, and indeed within stages, where N is a number of polynomials occurring in σ, d is an upper bound on the degrees of polynomials, n is a number of variables, a is a number of quantifier alternations (in the prefix form) [15]. For every σ find an open such that . Add in T iff . Note the latter can be decided primitively recursively.
By Lemma 3.3, T has a punctually decidable model . For every we can primitively recursively find an index k and a constant such that , and thus there is a primitive recursive isomorphic embedding f from F into . □
Note that a model of T does not actually have to be equal to the algebraic closure of , as it can potentially have elements transcendental over . To obtain the punctually decidable algebraic closure of F, simply take the algebraic closure of the image of F inside . Since is punctually decidable, this process is primitive recursive. □
Real closed fields
Let F be a punctual ordered field. There is a punctual presentationof the real closure of F and a primitive recursive embedding.
Proof.
Let F be a punctual ordered field andbe the theory of real closed fields. Thenhas a punctual model, and there is a primitive recursive isomorphic embedding f from F into.
Firstly, we build a (complete) primitively recursively decidable theory T such that . Since every ordered field F is contained in its real closure R, T is consistent. It is well-known that the theory of real closed fields admits quantifier elimination (with parameters). Moreover, this quantifier elimination is primitive recursive as explained in, e.g., [16]. For every σ in the language of ordered fields with parameters from F, find an open such that . Add in T iff . The latter is primitive recursive, by our assumption.
By Lemma 3.3, T has a punctually decidable model . For every we can primitively recursively find k such that which gives a primitive recursive isomorphic embedding f from F into . □
To obtain the real closure of F, take the algebraic closure of (the image of) F within . □
Clearly any ordered field has characteristic 0. Using the associated copy of (which is furthermore primitively recursively ordered) for ‘padding’, it is not hard to show that for every primitive recursive ordered field F there is a punctual P and a primitive recursive isomorphism mapping F onto P. Thus, the punctual real closure theorem still holds for primitive recursive fields that are not necessarily punctual.
It is not difficult to see that the algebraic closure theorem also holds for primitive recursive fields. Lemma 3.3 still works if we assume that the domain of the field is a merely primitive recursive subset of . To see why, name the elements of the field by constants but allow repetition, in the sense that can denote the same element. We can make sure that it is primitive recursive to tell whether (use ‘padding’). Thus, , which will contain statements of the form , remains primitive recursive. Lemma 3.3 still works in this case without any further modification. Thus, we can still produce a primitively recursively decidable closure (which has to be punctual). The embedding of F into its closure is primitive recursive as well, and via the same proof.
Differentially closed fields
The punctual prime model theorem
We assume that the reader is familiar with the basic notions of elementary model theory, including the notions of a type, principal type, a complete formula, and the prime model. These standard notions can be found in, e.g., [40]. (We will however include the definitions related to differential fields since these definitions are certainly not quite as well-known.)
We say that a family of types is uniformly primitive recursive if there is a primitive recursive function such that for every ,
A uniformly primitive recursive family of types is uniformly punctual if for every formula , we can uniformly primitively recursively produce an index such that , and returns if no such i exists.
Supposeis a punctually decidable structure. Then the family of all types of its theory realized by tuples inis uniformly punctual.
Primitively recursively list all tuples of in some order, and let be the ith tuple. The ith type is the collection of all formulae such that . Since is punctually decidable, the types are uniformly primitive recursive. To see why the types are uniformly punctual, given , define . Use h from Definition 3.2 to search for a tuple realizing if it exists. The index of the type is determined by the index of the tuple primitively recursively. □
Recall that Theorem 1.3 states that, for a complete theory T with a primitive recursive decision procedure, the following are equivalent:
T has a punctually decidable prime model.
T has a prime model and the set of all principal types of T is uniformly punctual.
Now suppose that (b) is true. We follow the argument for the computable case [29, Theorem 7.4] pretty closely making the necessary adjustments.
Let be a set of new constants, and let be a primitive recrusive list of all sentences in . As in Lemma 3.3, the domain will be from which we later remove repetitions (just as in the proof of Lemma 3.3). The resulting structure will be denoted .
We build so that for every , realizes a primitive recursive principal type of T. Then, every finite sequence of elements in will satisfy some principal type.
We will construct a full diagram Ψ of by stages. At every stage s, we construct a finite set of sentences such that and .
Let . If , then for every , we set
where ‘’ stands for the substitution of b by w (here and throughout the rest of the proof). This transformation of formulae is clearly uniformly primitive recursive.
For every e, at almost every stage s, we define a primitive recursive principal type which is a candidate for a primitive recursive principal type realized by . In finite number of stages can be undefined. Because of the consistency property, if is defined then . The construction will satisfy the following requirements for every .
The priority ranking of the requirements in the decreasing order is:
We attempt to satisfy the requirements in the order of their priority. We say that at stage :
requires attention if;
requires attention if and for some θ such that for every ;
requires attention if is undefined.
Once satisfied at some stage, requirements and are never injured later. However, we say that is injured at stage if is defined but .
Construction
Stage 0:
Let and let be undefined for every .
Stage:
Let Req be the highest priority requirement that requires attention at stage s. We now satisfy Req as follows.
Suppose .
If , then .
If , then .
(The properties on the left-hand side of (a) and (b) can be checked primitively recursively because T is primitively recursively decidable.)
If neither (a) nor (b) is satisfied, we add either or to such that if some Q-requirement must be injured, then the requirement is of the lowest priority possible. We uniformly primitively recursively check whether some is injured at stage s. (Note only finitely many have ever acted before this stage.) Let be the least such n, if it exists. For every , set undefined.
Let . Thus, and for some θ. Let c be the first constant in C which has not been used in the construction before stage s. We define .
Let . Thus, is undefined. Using uniform punctuality of the type, find n such that . There are only finitely many and n is computed (uniformly) primitively recursively, and these are also uniformly primitive recursive. Thus, without loss of primitive recursiveness we can pick n that is the least with this property. Set .
Before we proceed to the verification, note that every step of the construction was performed (uniformly) primitively recursively. The verification is quite similar to the verification in the proof of [29, Theorem 7.4]; we sketch it to make the paper (more) self-contained. We compress the parts of the verification that are more related to finite injury or to model theory (since they are literally the same as in the computable case), but we emphasise where primitive recursiveness of the theory and the uniform punctuality of the principal types are used to conclude that the resulting structure is punctually decidable.
For every e,exists. (Hence,is satisfied.)
(We remark that we do not claim that the rate of convergence stated in the lemma is primitive recursive, nor that the principal formula of the resulting type can be found primitively recursively.)
Assume that . Let be the least stage such that is defined. Let . Then . Hence, by the construction, will never be injured, so .
Assume . Let be a complete formula such that . Choose the least stage such that . Let be the least stage such that is defined. Then . Since every formula consistent with is also consistent with , it follows that is not injured after .
The general proof is by induction on e. If , choose the least s such that
,
,
Let . It follows that since . □
Now we show that the constructed structure is punctually decidable. For that we build a primitive recursive function h from Definition 3.2. Suppose that . Find e such that , where constants are realized by in . Let s be the least stage when the requirement is already met. Note such requirements are never injured, and thus we can primitively recursively compute the stage of the construction at which such a requirement is met. It is crucial here that each stage of the construction is finished within a pre-computed uniformly primitive recursive bound. This is essentially the only step of the proof where we needed the types to be uniformly punctual and not merely uniformly primitive recursive or uniformly computable. (As we already mentioned earlier, we never actually need to compute, let alone primitively recursively compute, the complete formulae for these types.) Thus, we can primitively recursively find such that . Let (strictly speaking, we really mean the equivalence class of in ). Since our construction is primitive recursive, the function h is also primitive recursive. □
The finite basis property
In this subsection we prove the punctual version of a technical fact established in [30]. This fact will be used later to apply the theorem established in the previous subsection to primitive recursive differential fields. The following definitions are taken directly from [30].
A theory T has the finite basis property if, for any collection S of atomic formulas in n variables, there is a finite subset F of S such that T, .
We call a quantifier free formula in constrained if, for every atomic formula , either T, or T, .
Let a theory T have a primitive recursive decision procedure and a primitive recursive quantifier elimination algorithm. Assume that T has the finite basis property and every quantifier free constrained formula ofis complete. Then T has a punctually decidable prime model.
Let be consistent with T. Since T has quantifier elimination we can find a quantifier free formula such that .
Construct a primitive recursive collection S of atomic formulas in the variable x as follows: . Given , let be the nth atomic formula in the variables . If is consistent, let . Otherwise, let . Let .
By the finite basis property there is a finite subset F of S such that F generates S. For any atomic formula , either or . Thus the conjunction of F is a quantifier free constrained formula. Now consider the following type . Let a formula , where is an equivalent to quantifier free formula. Then is primitively recursive, since T has quantifier elimination and for quantifier free we can primitively recursively decide whether or not. Besides, is a principal type since the conjunction of F is a complete formula for .
Let be the uniformly primitive recursive family of principal types defined by the procedure above, where φ ranges over all first-order formulae in the language of T consistent with T. This family includes all principal types of T; indeed, if φ is complete for a principal type Γ, then . According to the uniformly primitive recursive procedure described in the previous paragraph, given φ we can uniformly primitively recursively produce that contains φ, making the family uniformly punctual.
Thus by Theorem 1.3, T has a primitively recursively presentable prime model. □
Punctual differential closure
A differential field is a field K equipped with a derivation ; recall that this means that, for , we have and . If K is a differential field, we define , the ring of differential polynomials over K, to be the following polynomial ring in infinitely many variables:
A differential field K is differentially closed if, whenever , g is nonzero and the order of f is greater than the order of g, there is such that and . The following facts can be found in, e.g., [39]. The theory of differential fields of characteristic 0, , in the language is given by the axioms for fields of characteristic zero and the axioms
The theory of differentially closed fields of characteristic zero is axiomatized by and the set of axioms , for all m, , , where is a sentence of language that asserts that if f is a differential polynomial of order m and degree at most and g is a nonzero differential polynomial of order less than m and degree at most , then there is a solution to and .
A primitive recursive differential fieldof characteristic 0 can be punctually isomorphically embedded into its punctually decidable differential closure.
Robinson [45] showed that the theory of differential fields of characteristic zero has a model completion . is complete and substructure complete. For every substructure complete theory T, every quantifier free constrained formula of is complete; see [46]. Blum [12] showed that any model of has a prime differential closure, that is, has a prime model. For any , has the finite basis property; see [36]. The theory has a primitive recursive quantifier elimination algorithm [28]. Then, the theory is also primitively recursively decidable. Thus, by Lemma 5.6, given a punctual model , we can construct a punctually decidable prime model . □
Footnotes
Acknowledgements
This work was partially supported by Rutherford Discovery Fellowship (RDF-VUW1902) and Marsden Fund of New Zealand (VUW2015), Royal Society Te Apārangi. The work of Melnikov was partially supported by Grant No. AP19676989, Ministry of Science and Higher Education of the Republic of Kazakhstan. We are also grateful to Dave Marker who provided us with several useful bibliographical references.
References
1.
P.E.Alaev, Existence and uniqueness of structures computable in polynomial time, Algebra and Logic55(1) (2016), 72–76. doi:10.1007/s10469-016-9377-6.
2.
P.E.Alaev, Categoricity for primitively recursive and polynomial Boolean algebras, Algebra Logika57(4) (2018), 389–426. doi:10.1007/s10469-018-9498-1.
3.
P.E.Alaev, Finitely generated structures computable in polynomial time, Sib. Math. J.63(5) (2022), 801–818. doi:10.1134/S0037446622050019.
4.
P.E.Alaev and V.L.Selivanov, Fields of algebraic numbers computable in polynomial time. II, Algebra Logic60(6) (2021), 349–359. doi:10.1007/s10469-022-09661-3.
5.
P.E.Alaev and V.L.Selivanov, Searching for applicable versions of computable structures, in: Connecting with Computability, Lecture Notes in Comput. Sci., Vol. 12813, Springer, Cham, 2021, pp. 1–11.
6.
C.Ash and J.Knight, Computable Structures and the Hyperarithmetical Hierarchy, Studies in Logic and the Foundations of Mathematics, Vol. 144, North-Holland Publishing Co., Amsterdam, 2000.
7.
N.Bazhenov, R.Downey, I.Kalimullin and A.Melnikov, Foundations of online structure theory, Bull. Symb. Log.25(2) (2019), 141–181. doi:10.1017/bsl.2019.20.
8.
N.Bazhenov, M.Fiori-Carones, L.Liu and A.Melnikov, Primitive recursive reverse mathematics, Preprint.
9.
N.Bazhenov, M.Harrison-Trainor, I.Kalimullin, A.Melnikov and K.Meng Ng, Automatic and polynomial-time algebraic structures, J. Symb. Log.84(4) (2019), 1630–1669. doi:10.1017/jsl.2019.26.
10.
N.Bazhenov, I.Kalimullin, A.Melnikov and K.Meng Ng, Online presentations of finitely generated structures, Theoret. Comput. Sci.844 (2020), 195–216. doi:10.1016/j.tcs.2020.08.021.
L.Blum, Generalized algebraic structures: A model theoretic approach, PhD thesis, Massachussetts Institute of Technology, Cambridge, MA, 1968.
13.
D.A.Cenzer and J.B.Remmel, Polynomial-time versus recursive models, Ann. Pure Appl. Logic54(1) (1991), 17–58. doi:10.1016/0168-0072(91)90008-A.
14.
D.A.Cenzer and J.B.Remmel, Polynomial-time Abelian groups, Ann. Pure Appl. Logic56(1–3) (1992), 313–363. doi:10.1016/0168-0072(92)90076-C.
15.
A.L.Chistov and D.Y.Grigor’ev, Complexity of quantifier elimination in the theory of algebraically closed fields, in: Mathematical Foundations of Computer Science, 1984, Prague, 1984, Lecture Notes in Comput. Sci., Vol. 176, Springer, Berlin, 1984, pp. 17–31. doi:10.1007/BFb0030287.
16.
J.H.Davenport and J.Heintz, Real quantifier elimination is doubly exponential, J. Symbolic Comput.5(1–2) (1988), 29–35. doi:10.1016/S0747-7171(88)80004-X.
M.V.Dorzhieva, A.A.Issakhov, B.S.Kalmurzayev, R.A.Kornev and M.V.Kotov, Punctual dimension of algebraic structures in certain classes, Lobachevskii J. Math.42(4) (2021), 716–725. doi:10.1134/S1995080221040089.
19.
R.Downey, N.Greenberg, A.Melnikov, K.Meng Ng and D.Turetsky, Punctual categoricity and universality, J. Symb. Log.85(4) (2020), 1427–1466. doi:10.1017/jsl.2020.51.
20.
R.Downey, M.Harrison-Trainor, I.Kalimullin, A.Melnikov and D.Turetsky, Graphs are not universal for online computability, J. Comput. System Sci.112 (2020), 1–12. doi:10.1016/j.jcss.2020.02.004.
21.
R.Downey, A.Melnikov and K.Meng Ng, Foundations of online structure theory II: The operator approach, Log. Methods Comput. Sci.17(3) (2021), 6.
22.
Y.Ershov and S.Goncharov, Constructive Models. Siberian School of Algebra and Logic, Consultants Bureau, New York, 2000.
23.
Y.L.Ershov, Numbered fields, in: Methodology and Philosophy of Science III, B.Van Rootselaar and J.F.Staal, eds, Studies in Logic and the Foundations of Mathematics, Vol. 52, North-Holland Publishing Co., Amsterdam, 1968, pp. 31–34.
24.
J.Fels Ritt, Differential Algebra, American Mathematical Society Colloquium Publications, Vol. XXXIII, American Mathematical Society, New York, NY, 1950.
25.
S.Goncharov, Countable Boolean Algebras and Decidability. Siberian School of Algebra and Logic, Consultants Bureau, New York, 1997.
26.
S.S.Goncharov and A.T.Nurtazin, Constructive models of complete decidable theories, Algebra i Logika12(125–142) (1973), 243.
27.
N.Greenberg, M.Harrison-Trainor, A.Melnikov and D.Turetsky, Non-density in punctual computability, Ann. Pure Appl. Logic172(9) (2021), 102985. doi:10.1016/j.apal.2021.102985.
28.
D.Y.Grigor’ev, Complexity of quantifier elimination in the theory of ordinary differential equations, in: EUROCAL ’87, Leipzig, 1987, Lecture Notes in Comput. Sci., Vol. 378, Springer, Berlin, 1989, pp. 11–25. doi:10.1007/3-540-51517-8_81.
29.
V.S.Harizanov, Pure computable model theory, in: Handbook of Recursive Mathematics, Stud. Logic Found. Math., Vol. 1, North-Holland, Amsterdam, 1998, pp. 3–114.
30.
L.Harrington, Recursively presentable prime models, J. Symbolic Logic39 (1974), 305–309. doi:10.2307/2272643.
31.
M.Harrison-Trainor, A.Melnikov and A.Montalbán, Independence in computable algebra, J. Algebra443 (2015), 441–468. doi:10.1016/j.jalgebra.2015.06.004.
32.
M.Harrison-Trainor, A.G.Melnikov and R.Miller, On computable field embeddings and difference closed fields, Canadian Journal of Mathematics69(6) (2017), 1338–1363. doi:10.4153/CJM-2016-044-7.
33.
I.Kalimullin, A.Melnikov and K.Meng Ng, Algebraic structures computable without delay, Theoret. Comput. Sci.674 (2017), 73–98. doi:10.1016/j.tcs.2017.01.029.
34.
I.Kalimullin, A.Melnikov and A.Montalban, Punctual definability on structures, Ann. Pure Appl. Logic172(8) (2021), 102987. doi:10.1016/j.apal.2021.102987.
35.
I.S.Kalimullin and R.Miller, Primitive recursive fields and categoricity, Algebra and Logic58(1) (2019), 95–99. doi:10.1007/s10469-019-09527-1.
36.
I.Kaplansky, An Introduction to Differential Algebra, Publ. Inst. Math. Univ. Nancago, Vol. 5, Hermann, Paris, 1957.
37.
E.W.Madison, A note on computable real fields, The Journal of Symbolic Logic35(2) (1970), 239–241. doi:10.2307/2270515.
38.
A.Mal’cev, Constructive algebras. I, Uspehi Mat. Nauk16(3) (1961), 3–60.
39.
D.Marker, Model theory of differential fields, in: Model Theory, Algebra, and Geometry, Math. Sci. Res. Inst. Publ., Vol. 39, Cambridge Univ. Press, Cambridge, 2000, pp. 53–63.
40.
D.Marker, Model Theory: An Introduction, Graduate Texts in Mathematics, Springer, 2002.
41.
D.Marker and R.Miller, Turing degree spectra of differentially closed fields, J. Symb. Log.82(1) (2017), 1–25. doi:10.1017/jsl.2016.73.
42.
A.Melnikov and K.Meng Ng, A structure of punctual dimension two, Proc. Amer. Math. Soc.148(7) (2020), 3113–3128. doi:10.1090/proc/15020.
43.
A.Montalbán, Computable Structure Theory – Within the Arithmetic. Perspectives in Logic, Cambridge University Press, Cambridge; Association for Symbolic Logic, Ithaca, NY, 2021.
44.
M.O.Rabin, Computable algebra, general theory and theory of computable fields, Transactions of the American Mathematical Society95(2) (1960), 341–360. doi:10.1090/S0002-9947-1960-0113807-4.
45.
A.Robinson, On the concept of a differentially closed field, Bull. Res. Council Israel Sect. F8F (1959), 113–128.
46.
G.E.Sacks, Saturated Model Theory, 2nd edn, World Scientific Publishing Co. Pte. Ltd., Hackensack, NJ, 2010.
47.
V.L.Selivanov and S.Selivanova, Primitive recursive ordered fields and some applications, in: Computer Algebra in Scientific Computing, CASC 2021, F.Boulier, M.England, T.M.Sadykov and E.V.Vorozhtsov, eds, Lecture Notes in Computer Science, Vol. 12865, Springer, Cham, 2021, pp. 353–369. doi:10.1007/978-3-030-85165-1_20.
48.
S.Simpson, Subsystems of Second Order Arithmetic. Perspectives in Logic, 2nd edn, Cambridge University Press, Cambridge, 2009.
49.
R.Smith, Two theorems on autostability in p-groups, in: Logic Year 1979–80 (Proc. Seminars and Conf. Math. Logic, Univ. Connecticut, Storrs, Conn., 1979/80), Lecture Notes in Math., Vol. 859, Springer, Berlin, 1981, pp. 302–311. doi:10.1007/BFb0090954.
50.
M.V.Zubkov, I.S.Kalimullin, A.G.Mel’nikov and A.N.Frolov, Punctual copies of algebraic structures, Sibirsk. Mat. Zh.60(6) (2019), 1271–1285. doi:10.33048/smzh.2019.60.607.