Let σ be a signature and a σ-structure with domain . Say that a monadic second-order σ-formula is iff it has the form
with set variables and ψ containing no set quantifiers. Consider the following properties:
for each positive integer n, the set of -σ-sentences true in is -complete;
for each positive integer n, if a set of natural numbers is -definable (i.e. by a -formula) in the standard model of arithmetic and closed under automorphisms of , then it is -definable in .
We use ∣ and ⊥ to denote the divisibility relation and the coprimeness relation respectively. Given a prime p, let be the function which maps every pair of natural numbers into . In this article we prove: and all have both and ; in effect, even has . Notice – these results readily generalise to arbitrary arithmetical expansions of the corresponding structures, provided that the extended signature is finite.
Let be a list of all computable functions and be a list of all computable relations. Then the standard model of arithmetic expands to
The paper is devoted to monadic second-order properties of natural reducts of – which are considerably less studied than first-order properties of such structures (see [2, 6, 10] for further information and references). More precisely, we shall concentrate on issues of computability and definability.
For each , consider the class of -sets. From now on assume all -formulas are monadic and contain exactly n set quantifiers.
For anyand, the following hold:
iff A is definable inby a-formula;
iff A is m-reducible to the set of-sentences true in.
This fact is closely connected with the fundamental properties we shall be interested in, i.e. and . Given the reduct of to a finite signature, they say (for all A and n):
one can replace in (ii) by ;
whenever A is closed under automorphisms of , one can replace in (i) by .
The article illustrates an attractive general approach to proving that certain structures have and/or (actually the first steps towards our present framework were already taken in [14]) – these properties can be employed for establishing complexity lower bounds in the context of the analytical hierarchy, for example, cf. [15].
Certain naturally arising reducts of have gained much popularity in logic and computer science over the last several generations. The research programme focuses on
issues of computability and definability in the first-order setting, and
issues of computability and definability in the monadic second-order setting.
Substantial progress has been made in (1). While (2) remain largely unstudied. One of the most important exceptions deals with the successor function :
The same holds for . And the analogous result for the binary tree can be found in [12]. The situation with + points towards degrees of undecidability, however.
Halpern’s proof, being designed for this special complexity result, could not shed much light on or with . Luckily a very different line of reasoning leads to
As expected, we shall analyse (2) with the help of (1) – keeping in mind that can be identified with every arithmetical structure in which + and × are first-order definable (but for applications to and the like, interpretability should suffice). The reader may consult [10] for a collection of such structures. In particular those discovered by A. Bès, I. Korec and D. Richard will play a role.
A few words about the reducts we shall be concerned with are in order. Structures associated with the divisibility relation ∣ and the coprimeness relation ⊥ have achieved quite a lot of attention since [13]. Intuitively, our theorems below may be contrasted with the well-known decidability results obtained in [5, 12]. Modular Pascal’s triangles were intensively explored during the 1990s. We list them as
where for any , denotes the algebra whose only operation is given by
As a matter of fact, it will turn out that – in view of some earlier contributions of A. Bès, I. Korec and the author – we only need to investigate every with p prime.
Among other things, we shall answer the questions emerging from [14]:
The rest of the paper is organised as follows. Section 2 consists of preliminary material. In Section 3 we develop our basic ideas into an efficient tool, which is used to prove has and . Section 4 presents a slight variant of our technique, yielding and for each . In Section 5 we show how one can derive sharper complexity results by exploiting the notion of (first-order) interpretability instead of that of definability (but the price paid for this is that such arguments do not take into account): even has . We conclude the article with a few general comments.
Preliminaries
In monadic second-order arithmetic we have
individual variables (intended to range over ) and
set variables (intended to range over all subsets of ).
Accordingly we distinguish between individual and set quantifiers:
Let σ be a signature, i.e. a collection of constant, function and predicate symbols, each of which is assigned an arity. Monadic second-order σ-formulas are built up from first-order atomic σ-formulas and expressions of the form with t a (first-order) σ-term and X a set variable using connective symbols and quantifiers in the customary way. In effect, it will sometimes be convenient to treat unary predicate symbols as set variables.
A monadic second-order σ-formula is , where , iff it has the form
with set variables and ψ containing no set quantifiers. Still, throughout this text ‘definable’ and ‘formula’ mean ‘first-order definable’ and ‘first-order formula’ respectively, unless otherwise indicated (like in ‘defined by a -formula’ or ‘-definable’).
For a σ-structure with domain , we bring in the following notation:
We shall be concerned with two fundamental properties:
for every , the set of -σ-sentences true in is -complete;
for every , if is -definable in and closed under , then A is -definable in .
Intuitively, the letters , , and stand for ‘analytical’ (which reminds us of the analytical hierarchy), ‘complexity’, ‘definability’ and ‘property’. For example,
as was shown in [14].
We also use the binary predicate symbols ∣ and ⊥ to denote the divisibility relation and the coprimeness relation respectively – in other words, for any ,
Given , let be the function which maps each into the remainder of integer division of the binomial coefficient by k, i.e.
In the present work we shall concentrate on the structures
where . And primes will play a key role in our study. For , define
Occasionally we write instead of . In the limit, one gets
Several results are worth mentioning here:
Further, we shall employ the relational signature
paying special attention to the conjunction of the following -sentences:
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
.
Certainly is a reformulation of Robinson arithmetic. Henceforth we identify with its -version. So in particular, the -formula
expresses < in . For convenience, we also introduce
where U is a fresh unary predicate symbol. Remark that Sections 3–5 involve some ‘local notation’ as well: for instance, σ stands for the signature in question and (♯) for a very special list of formulas in (possibly augmented by individual constants).
The case of the natural lattice
Assume . Throughout this section we shall be concerned with the σ-structure .
Clearly the constants 0 and 1, the equality relation =, the sets and , the coprimeness relation ⊥ and the least common multiple operation are all definable in :
Furthermore, each belongs to as well – because
In what follows , , etc. in σ- and -formulas should be understood merely as convenient abbreviations. Also we shall exploit two specific σ-formulas:
– so the latter can be viewed as a covering relation for the former.
For every,is definable in.
Since is equivalent to for any x and y in , it suffices to establish the definability of a (partial) function which maps each into .
Provided that and , the σ-formula
says ‘’, and more generally, for every , the σ-formula
says ‘’. On the other hand, assuming , the -formula
expresses that y is the predecessor of x in , i.e. whenever . Obviously, for all we have
thus one can define in a function with the required property by an appropriate -formula using , …, and . The rest is straightforward. □
As was proved in [4], + and × are definable in
Aiming to obtain the same for some expansion of to , let denote
Then encodes ⊏ in the following sense.
⊏ is definable in.
First observe that
are defined in by the σ-formulas
Consequently – since and – the -formulas
define and , respectively, in . So in particular – remembering Proposition 3.1 – is expressible. Hence
defines ⊏ in , as can be readily checked. □
Combining this with the result of A. Bès and D. Richard, we immediately get
+ and × are definable in.
We are now ready to establish
has.
Pick an infinite from – for instance, – and let be a σ-formula defining A in . By Corollary 3.3, we can find -formulas
which define =, 0, , + and ×, respectively, in . Consider the modified list
obtained from (♯) by replacing each occurrence of the form by . Thus (♮) plays the role of (♯) for every -structure with .
Next, given a second-order -formula φ, take
Some expansions of to can induce, via (♮), non-standard models even when is satisfied. To avoid this, it suffices to ensure that behaves in the standard manner, i.e.
Choose a -formula defining the obvious isomorphism between
(viewed as -structures) – viz. the numerical function – in . Let denote the conjunction of the following -sentences:
;
;
;
.
With any expansion of to we associate, via (♮), the -structure with domain , such that
Clearly if satisfies , then is isomorphic (although not necessarily identical) to . Fix a -formula defining in some function f mapping one-one onto A – and let be the conjunction of the following -sentences:
;
;
.
So implies that expresses a one-one function from onto A in .
Further, given a second-order -formula φ, take
where v is the first variable not occurring in φ. Then for an arbitrary --sentence
with and ψ containing no second-order quantifiers – by the properties of f and ι – we have
Observe that by the construction of (♮), for all subsets C and D of ,
Hence we can use as a free unary predicate without changing the inner layer of the isomorphic copy of in question. It is straightforward to verify now that
which completes the argument. □
Note that whenever a set is second-order definable in (without parameters), it has to be closed under – hence we cannot express, for instance, with A a proper non-empty subset of . However, a minor modification of the above argument yields
has.
Let denote the -formula . The idea is simply to add the -sentence
to the conjunction of (S1)–(S4), thus updating to . Suppose . Then there exists an isomorphism f between and . For any , we have
So . Consequently, for each natural number k and each --formula
with and ψ containing no set quantifiers,
where is the -structure with domain , such that
for any m-ary and (certainly and are isomorphic). □
Given , it is not hard to construct -complete sets closed under . But if one wants to turn into , where is the identity function, some extra information has to be incorporated into the structure. For example, consider
in the signature . Since, as was proved earlier in [11], the first-order theory of is decidable, so is . Furthermore, one easily checks that each non-trivial permutes at least two primes; thus .
Let. Every-set is-definable in.
Assume the intended interpretation of the binary predicate symbol ∥ is
We finish with a relatively simple yet interesting fact about .
andare interdefinable.
It is a routine matter to verify that
and the compound formula
(where , , etc. are understood as abbreviations) defines in .
The other direction is trivial. □
The case of modular Pascal’s triangles
As has been observed earlier, we need only consider with n prime, assuming .
Fix . By a p-ary expansion of we mean any for which , written . Of course, each number has infinitely many p-ary expansions:
So given , we can always find expansions of x and y with the same length. Now for and , let
Intuitively, ⋐ is a sort of ‘multiset inclusion’. In effect, I. Korec [8] showed that:
the relation ⋐ and the set belong to ;
+ and × are definable in where denotes .
Furthernore, as was proved in [3], (ii) holds for each .
For our present purposes, it is useful to introduce
Certainly there exists a σ-formula such that for every ,
(think of v as a parameter). To be more precise, define
We also employ the signature including an extra constant symbol c whose role is similar to that of v in the above discussion. Accordingly we write for the -structure obtained from by interpreting U as B and c as k.
has.
Take – evidently – and let be the formula . By analogy with the proof of Theorem 3.4, we obtain the new (♯), (♮) and τ.
To avoid “non-standard” expansions of to , it suffices to ensure that
– because the latter is well-founded. Choose a -formula defining the numerical function – which embeds into , obviously – in . Next, let ρ be a σ-formula defining ⋐ in , and denote by the conjunction of:
;
;
;
.
As before, with every expansion of to we associate, via (♮), the -structure . Suppose but is not isomorphic to . Then there exists a chain of pairwise distinct natural numbers with the property:
Thus we get an infinite descending chain in , contradicting the well-foundedness of ⋐. Let ϑ, and ι be as in the proof of Theorem 3.4. We have the following:
implies that defines a one-one function from onto
(which may or may not be identical to A) in ;
for all , and ,
Viewing c as an individual variable, it is now straightforward to check that
where ψ contains no second-order quantifiers. □
As a matter of fact, for , one can also take which is directly definable in (without parameters). Unfortunately, this will not work for .
has.
Fix a -formula defining in , and add the -sentence
to the conjunction of (S1)–(S4), i.e. . Now proceed as in the proof of Theorem 3.5. □
About the coprimeness relation
Assume . Of course, we shall focus our attention on the σ-structure .
Obviously 0, 1 and are definable in – because
By analogy with the previous section, we also introduce .
As was proved in [4], is first-order interpretable in
and A. Bès and D. Richard employed an infinite collection of primes with the usual ordering to play the role of here. Naturally the same holds for the substructure of with domain
For our present purposes, consider the function given by
Certainly is isomorphic to where
Notice that for all . Let , and denote
respectively. Then
encodes as follows.
H,andare definable in.
First observe that
is defined in by the σ-formula
Consequently – since
– the -formulas
define , 2, , 3, , and , respectively, in . Hence
expresses H. Now can be written as
Further, for any ,
so the restriction of < to is expressed by
Finally, one easily sees that
defines in . □
This time we immediately get
is first-order interpretable in.
In other words, there exist -formulas
satisfying the following requirements:
is non-empty;
is isomorphic to the -structure with domain M, such that
for any k-ary and ,
and for all ,
Moreover, as has been already remarked, we can (and will) assume that
In conclusion, we establish
has.
Consider the σ-formula
with taken from the proof of Proposition 5.1. Evidently
is a subset of , so let be . Accordingly we shall exploit the list
obtained from (♯) by replacing each occurrence of the form by .
Next, given a second-order formula φ in , take
Similarly to before, with any expansion of to we associate, using (♮), the -structure with domain , such that
For satisfying we have
By construction, defines in the restriction of < to M. Also we know that is defined in by the -formula
Let denote the conjunction of the following -sentences:
;
;
;
.
Suppose but the relation defined in by is not well-founded, i.e. there exists a chain of pairwise coprime elements of with the property:
Applying (S3), we find a positive integer K such that and . Thus by (S4), K has infinitely many prime divisors, a contradiction.
Now consider an arbitrary --sentence
with and ψ containing no set quantifiers. To get from ψ:
replace each in ψ by where v is the first individual variable not occurring in ψ – remember the requirements (S1)–(S2);
then replace =, , , and by , , , and respectively;
finally, relativise all individual quantifiers except those containing v to .
It is straightforward to check that
(here we view c as an individual variable). □
Still, the argument does not show how to get an analogue of Theorem 3.5.
Further discussion
Certainly we come to
has.
It would be nice to prove this by adapting the method developed in the article, because
the above results readily generalise to all possible arithmetical expansions of the corresponding structures (provided that the extended signature is finite).
For example we can pass from to in Theorem 3.5. On a technical note – there are two simple modifications worth mentioning:
in one can take (with ) instead of ;
in one can add to both and parameters for sets closed under .
Of course, perfectly analogous arguments apply here. Obviously all translations in the proofs are computable (so in particular is many-one equivalent to , as well as to each ).
Footnotes
Acknowledgements
I would like to thank Alexis Bès for his useful comments. The research was supported by the Alexander von Humboldt Foundation.
References
1.
A.Bès, On Pascal triangles modulo a prime power, Annals of Pure and Applied Logic89 (1997), 17–35.
2.
A.Bès, A survey of arithmetical definability, in: A Tribute to Maurice Boffa, M.Crabbéet al., eds, Société Mathématique de Belgique, 2002, pp. 1–54.
3.
A.Bès and I.Korec, Definability within structures related to Pascal’s triangle modulo an integer, Fundamenta Mathematicae156 (1998), 111–129.
4.
A.Bès and D.Richard, Undecidable extensions of Skolem arithmetic, Journal of Symbolic Logic63 (1998), 379–401.
5.
J.R.Büchi, On a decision method in restricted second order arithmetic, in: Logic, Methodology and Philosophy of Science, E.Nagel, P.Suppes and A.Tarski, eds, Stanford University Press, 1962, pp. 1–11.
6.
P.Cegielski, Definability, decidability, complexity, Annals of Mathematics and Artificial Intelligence16 (1996), 311–341.
7.
J.Y.Halpern, Presburger arithmetic with unary predicates is complete, Journal of Symbolic Logic56 (1991), 637–642.
8.
I.Korec, Definability of arithmetic operations in Pascal triangle modulo an integer divisible by two primes, Grazer Mathematische Berichte318 (1993), 53–62.
9.
I.Korec, Elementary theories of structures containing generalized Pascal triangles modulo a prime, in: Discrete Mathematics and Applications, Blagoevgrad/Predel, 1994, S.Shtrakov and I.Mirchev, eds, Blagoevgrad, 1995, pp. 91–102.
10.
I.Korec, A list of arithmetical structures complete with respect to the first-order definability, Theoretical Computer Science257 (2001), 115–151.
11.
F.Maurin, The theory of integer multiplication with order restricted to primes is decidable, Journal of Symbolic Logic62 (1997), 123–130.
12.
M.O.Rabin, Decidability of second-order theories and automata on infinite trees, Transactions of the American Mathematical Society141 (1969), 1–35.
13.
J.Robinson, Definability and decision problems in arithmetic, Journal of Symbolic Logic14 (1949), 98–114.
14.
S.O.Speranski, A note on definability in fragments of arithmetic with free unary predicates, Archive for Mathematical Logic52 (2013), 507–516.
15.
S.O.Speranski, Quantifying over events in probability logic: an introduction, Mathematical Structures in Computer Science (2015), accepted for publication.