Abstract
The ordered structures of natural, integer, rational and real numbers are studied here. It is known that the theories of these numbers in the language of order are decidable and finitely axiomatizable. Also, their theories in the language of order and addition are decidable and infinitely axiomatizable. For the language of order and multiplication, it is known that the theories of \(\mathbb {N}\) and \(\mathbb {Z}\) are not decidable (and so not axiomatizable by any computably enumerable set of sentences). By Tarski’s theorem, the multiplicative ordered structure of \(\mathbb {R}\) is decidable also; here we prove this result directly and present an axiomatization. The structure of \(\mathbb {Q}\) in the language of order and multiplication seems to be missing in the literature; here we show the decidability of its theory by the technique of quantifier elimination, and after presenting an infinite axiomatization for this structure, we prove that it is not finitely axiomatizable.
Similar content being viewed by others
References
Boolos GS, Burgess JP, Jeffrey RC (2007) Computability and logic, 5th edn. Cambridge University Press, Cambridge (ISBN: 9780521701464)
Enderton HB (2001) A mathematical introduction to logic, 2nd edn. Academic Press, New York (ISBN: 9780122384523)
Fraenkel AS (1963) New proof of the generalized Chinese remainder theorem. Proc Am Math Soc 14(5):790–791. https://doi.org/10.1090/S0002-9939-1963-0154841-6
Hinman PG (2005) Fundamentals of mathematical logic. CRC Press, Boca Raton (ISBN: 9781568812625)
Kreisel G, Krivine JL (1971) Elements of mathematical logic: model theory. North-Holland, Amsterdam (ISBN: 9780720422658)
Marker D (2002) Model theory: an introduction. Springer, Berlin (ISBN: 9781441931573)
Monk JD (1976) Mathematical logic. Springer, Berlin (ISBN: 9780387901701)
Mostowski A (1952) On direct products of theories. J Symb Log 17:1–31. https://doi.org/10.2307/2267454
Ore O (1952) The general Chinese remainder theorem. Am Math Mon 59(6):365–370. https://doi.org/10.2307/2306804
Prestel A (1986) Einführung in die mathematische Logik und modelltheorie. Vieweg, Berlin (ISBN: 9783528072605)
Prestel A, Delzell CN (2011) Mathematical logic and model theory: a brief introduction. Springer, Berlin (ISBN: 9781447121756)
Robinson J (1949) Definability and decision problems in arithmetic. J Symb Log 14(2):98–114. https://doi.org/10.2307/2266510
Robinson A, Zakon E (1960) Elementary properties of ordered Abelian groups. Trans Am Math Soc 96(2):222–236. https://doi.org/10.2307/1993461
Salehi S (2012a) Axiomatizing mathematical theories: multiplication. In: Kamali-Nejad A (ed) Proceedings of frontiers in mathematical sciences. Sharif University of Technology, Tehran, pp 165–176. arxiv:1612.06525
Salehi S (2012b) Computation in logic and logic in computation. In: Sadeghi-Bigham B (ed) Proceedings of the third international conference on contemporary issues in computer and information sciences (CICIS 2012). Brown Walker Press, New York, pp 580–583. arxiv:1612.06526
Salehi S (2018) On axiomatizability of the multiplicative theory of numbers. Fundam Inf 159(3):279–296. https://doi.org/10.3233/FI-2018-1665
Smoryński C (1991) Logical number theory I: an introduction. Springer, Berlin (ISBN: 9783540522362)
Szmielew W (1949) Decision problem in group theory. In: Beth EW, Pos HJ, Hollak JHA (eds) Proceedings of the tenth international congress of philosophy, vol 2. North-Holland, Amsterdam, pp 763–766. https://doi.org/10.5840/wcp1019492212
Szmielew W (1955) Elementary properties of Abelian groups. Fundam Math 41:203–271. https://doi.org/10.4064/fm-41-2-203-271
Visser A (2017) On Q. Soft Comput 21(1):39–56. https://doi.org/10.1007/s00500-016-2341-5
Acknowledgements
The authors gratefully thank the two anonymous referees of the journal for their valuable comments and suggestions.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Communicated by A. Di Nola.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This is a part of the Ph.D. thesis of the first author written under the supervision of the second author who is partially supported by Grant \(\mathsf{N}^\mathsf{o}\) 90030053 of the Institute for Research in Fundamental Sciences (\(\mathbb {IPM}\)), Tehran, Iran.
Appendix
Appendix
Theorem 1
. The finite theory \(\{\texttt {O}_1,\texttt {O}_2,\texttt {O}_3, \texttt {O}_4,\texttt {O}_5,\texttt {O}_6\}\) (of dense linear orders without endpoints—see Definitions 1 and 2) completely axiomatizes the theory of \(\langle \mathbb {R};<\rangle \) and \(\langle \mathbb {Q};<\rangle \), and so these structures are decidable. Moreover, (the theory of) those structures admit quantifier elimination.
Proof
All the atomic formulas are either of the form \(u<v\) or \(u=v\) for some variables u and v. If both of the variables are equal, then \(u<u\) is equivalent with \(\bot \) by \(\texttt {O}_1\) and \(u=u\) is equivalent with \(\top \). So, by Remark 1, it suffices to eliminate the quantifier of the formulas of the form
where \(y_i\)’s, \(z_j\)’s and \(u_k\)’s are variables. Now, if \(n\ne 0\) then formula (2) is equivalent with the quantifier-free formula
So, let us suppose that \(n=0\). Then if \(m=0\) or \(\ell =0\) formula (2) is equivalent with the quantifier-free formula \(\top \), by the axioms \(\texttt {O}_5\) and \(\texttt {O}_6\) (with \(\texttt {O}_2\) and \(\texttt {O}_3\)) respectively, and if \(\ell ,m\ne 0\) it is equivalent with the quantifier-free formula by the axiom \(\texttt {O}_4\) (with \(\texttt {O}_2\) and \(\texttt {O}_3\)). \(\square \)
Theorem 2
The finite theory of discrete linear orders without endpoints, consisting of the axioms \(\texttt {O}_1\), \(\texttt {O}_2\), \(\texttt {O}_3\), \(\texttt {O}_7\) plus
completely axiomatizes the order theory of the integer numbers, and so its theory is decidable. Moreover, the structure \(\langle \mathbb {Z};<,\mathfrak {s}\rangle \) admits quantifier elimination.
Proof
We note that all the terms in the language \(\{<,\mathfrak {s}\}\) are of the form \(\mathfrak {s}^n(y)\) for some variable y and \(n\in \mathbb {N}\). So, all the atomic formulas are either of the form \(\mathfrak {s}^n(u)=\mathfrak {s}^m(v)\) or \(\mathfrak {s}^n(u)<\mathfrak {s}^m(v)\) for some variables u, v. If a variable x appears in the both sides of an atomic formula, then we have either \(\mathfrak {s}^n(x)=\mathfrak {s}^m(x)\) or \(\mathfrak {s}^n(x)<\mathfrak {s}^m(x)\). The formula \(\mathfrak {s}^n(x)=\mathfrak {s}^m(x)\) is equivalent with \(\top \) when \(n=m\) and with \(\bot \) otherwise; also \(\mathfrak {s}^n(x)<\mathfrak {s}^m(x)\) is equivalent with \(\top \) when \(n<m\) and with \(\bot \) otherwise. So, it suffices to consider the atomic formulas of the form \(t<\mathfrak {s}^n(x)\) or \(\mathfrak {s}^n(x)<t\) or \(\mathfrak {s}^n(x)=t\) for some x-free term t and \(n\in \mathbb {N}^+\). Now, by Remark 1, we eliminate the quantifier of the formulas
The axioms prove the equivalences \([a<b] \leftrightarrow [\mathfrak {s}(a)<\mathfrak {s}(b)]\) and \([a=b] \leftrightarrow [\mathfrak {s}(a)=\mathfrak {s}(b)]\); so we can assume that \(p_i\)’s and \(q_j\)’s and \(r_k\)’s in formula (3) are equal to each other, say to \(\alpha \). Then by \(\texttt {O}_8\) formula (3) is equivalent with
for some (possibly new) terms \(t_i',s_j',u_k'\) (and \(y=\mathfrak {s}^\alpha (x)\)). Now, if \(n\ne 0\) then formula (4) is equivalent with the quantifier-free formula
Let us then assume that \(n=0\). The formula
is equivalent, by the axiom \(\texttt {O}_7\) (in Definition 2), with the quantifier-free formula . \(\square \)
Theorem 4
The following infinite theory (of non-trivial ordered divisible abelian groups) completely axiomatizes the order and additive theory of the real and rational numbers, and so their theories are decidable. Moreover, the structures \(\langle \mathbb {R};<,+,-,\mathbf{0}\rangle \) and \(\langle \mathbb {Q};<,+,-,\mathbf{0}\rangle \) admit quantifier elimination.
Proof
Firstly, let us note that \(\texttt {O}_4\), \(\texttt {O}_5\) and \(\texttt {O}_6\) can be proved from the presented axioms: if \(a<b\) then by \(\texttt {A}_7\) there exists some c such that \(c+c=a+b\); one can easily show that \(a<c<b\) holds. Thus, \(\texttt {O}_4\) is proved; for \(\texttt {O}_5\) note that for any \(\mathbf{0}<a\) we have \(a<a+a\) by \(\texttt {A}_5\). A dual argument can prove the axiom \(\texttt {O}_6\). Also, the equivalences
-
(i)
\([a<b] \leftrightarrow [n\centerdot a< n\centerdot b]\) and
-
(ii)
\([a=b] \leftrightarrow [n\centerdot a=n\centerdot b]\)
can be proved from the axioms: (i) follows from \(\texttt {A}_5\) (with \(\texttt {O}_1,\texttt {O}_2,\texttt {O}_3\)) and (ii) follows from \(\forall x (n\centerdot x=\mathbf{0}\rightarrow x=\mathbf{0})\) which is derived from \(\texttt {A}_5\) (with \(\texttt {O}_1,\texttt {O}_2,\texttt {O}_3\)).
Secondly, every term containing x is equal to \(n\centerdot x + t\) for some x-free term t and \(n\!\in \!\mathbb {Z}\!-\!\{0\}\). So, every atomic formula containing x is equivalent with \(n\centerdot x \Box t\) where \(\Box \!\in \!\{=,<,>\}\). Whence, by Remark 1, it suffices to prove the equivalence of the formula
with a quantifier-free formula. By the equivalences (i) and (ii) above we can assume that \(p_i\)’s and \(q_j\)’s and \(r_k\)’s in formula (6) are equal to each other, say to \(\alpha \). Then by \(\texttt {A}_7\) formula (6) is equivalent with
for some (possibly new) terms \(t_i',s_j',u_k'\) (and \(y=\alpha \centerdot x\)). Now, the quantifier of this formula can be eliminated just like the way that the quantifier of formula (2) was eliminated in the proof of Theorem 1. \(\square \)
About the congruence relations, a useful fact is the following generalized Chinese remainder theorem; below we present a proof of this theorem from (Fraenkel 1963).
Proposition 2
(Generalized Chinese remainder) For integers \(n_0,n_1,\ldots ,n_k\geqslant 2\) and \(t_0,t_1,\ldots ,t_k\) there exists some x such that \(x\equiv _{n_i} t_i\) for \(i=0,\ldots ,k\) if and only if \(t_i \equiv _{d_{i,j}} t_j\) holds for each \(0\leqslant i<j\leqslant k\), where \(d_{i,j}\) is the greatest common divisor of \(n_i\) and \(n_j\).
Proof
The ‘only if’ part is easy. We prove the ‘if’ part by induction on k. For \(k=0\) there is nothing to prove, and for \(k=1\) we note that by Bézout’s Identity there are \(a_0,a_1\) such that \(a_0n_0 + a_1n_1 = d_{0,1}\). Also, by the assumption there exists some c such that \(t_0-t_1=cd_{0,1}\). Now, if we take x to be \(a_0(n_0/d_{0,1})t_1 + a_1(n_1/d_{0,1})t_0\) then we have \(x=t_0-a_0n_0c\) and \(x=t_1+a_1n_1c\) so \(x\equiv _{n_0}t_0\) and \(x\equiv _{n_1}t_1\) hold. For the induction step (\(k+1\)) suppose that \(x\equiv _{n_i} t_i\) holds for \(i=0,\ldots ,k\) (and that \(t_i \equiv _{d_{i,j}} t_j\) holds for each \(0\leqslant i<j\leqslant k+1\)). Let n be the least common multiplier of \(n_0,\ldots ,n_k\); then the greatest common divisor m of n and \(n_{k+1}\) is the least common multiplier of \(d_{0,k+1},\ldots ,d_{k,k+1}\). Now \(x\equiv _{d_{i,k+1}}t_i\) holds for \(0\leqslant i\leqslant k\) and so by the assumption \(t_i\equiv _{d_{i,k+1}}t_{k+1}\) we have \(x\equiv _{d_{i,k+1}}t_{k+1}\) (for \(i=0,\ldots ,k\)). Therefore, \(x\equiv _m t_{k+1}\) and so \(x-t_{k+1}=mc\) for some c. By Bézout’s Identity there are a, b such that \(an+bn_{k+1}=m\). Now, for \(y=x-anc\) we have \(y=t_{k+1}+bn_{k+1}c\equiv _{n_{k+1}}t_{k+1}\) and also \(y\equiv _{n_i}x\equiv _{n_i}t_i\) holds for each \(0\leqslant i\leqslant k\). This proves the desired conclusion. \(\square \)
Theorem 5
The infinite theory of non-trivial discretely ordered abelian groups with the division algorithm, that is \(\texttt {O}_1\), \(\texttt {O}_2\), \(\texttt {O}_3\), \(\texttt {A}_1\), \(\texttt {A}_2\), \(\texttt {A}_3\), \(\texttt {A}_4\), \(\texttt {A}_5\) and
completely axiomatizes the order and additive theory of the integer numbers, and so its theory is decidable. Moreover, the (theory of the) structure \(\langle \mathbb {Z};<,+,-,\mathbf{0},\mathbf{1},\{\equiv _n\}_{n\geqslant 2}\rangle \) admits quantifier elimination.
Proof
The axiom \(\texttt {A}_7^\circ \) can be easily seen to be equivalent with the formula and so the negation signs behind the congruences can be eliminated by . Whence, by Remark 1, it suffices to show the equivalence of
with some quantifier-free formula, where \(a_i\)’s, \(b_j\)’s, \(c_k\)’s and \(d_\ell \)’s are natural numbers and \(t_i\)’s, \(u_j\)’s, \(v_k\)’s and \(w_\ell \)’s are x-free terms. By the equivalences
-
(i)
\([a<b] \leftrightarrow [n\centerdot a< n\centerdot b]\),
-
(ii)
\([a=b] \leftrightarrow [n\centerdot a=n\centerdot b]\) and
-
(iii)
\([a\equiv _m b] \leftrightarrow [n\centerdot a\equiv _{nm}n\centerdot b]\)
which are provable from the axioms, we can assume that \(a_i\)’s, \(b_j\)’s, \(c_k\)’s and \(d_\ell \)’s in formula (8) are equal to each other, say to \(\alpha \). Now, (8) is equivalent with
for \(y=\alpha \centerdot x\) and some (possibly new) terms \(t_i'\)’s, \(u_j'\)’s, \(v_k'\)’s and \(w_\ell '\)’s. If \(r\ne 0\) then (9) is readily equivalent with the quantifier-free formula which results from substituting \(w_0'\) with y. So, it suffices to eliminate the quantifier of
By the equivalence of the formula \(\exists x(\theta (x)\wedge u_0\!<\!x \wedge u_1\!<\!x)\) with the following formula
we can assume that \(p\leqslant 1\) (and \(q\leqslant 1\) by a dual argument). Also, the formula \(\exists x(\theta (x)\wedge x\equiv _{n_0}t_0 \wedge x\equiv _{n_1}t_1)\) is equivalent with \(\exists x(\theta (x)\wedge x\equiv _{n}t) \wedge t_0\equiv _{d}t_1\) where d is the greatest common divisor of \(n_0\) and \(n_1\), n is their least common multiplier, and \(t=a_0(n_0/d)t_1 + a_1(n_1/d)t_0\) where \(a_0,a_1\) satisfy Bézout’s Identity \(a_0n_0 + a_1n_1 = d\) (see the proof of Proposition 2). So, we can assume that \(m\leqslant 1\) as well. Now, if \(m=0\) then formula (10) is equivalent with a quantifier-free formula by Theorem 2 (with \(\mathfrak {s}(x)=x+\mathbf{1}\) just like the way formula (5) was equivalent with some quantifier-free formula). So, suppose that \(m=1\). In this case, if any of p or q is equal to 0 then (10) is equivalent with \(\top \) (since any congruence can have infinitely large or infinitely small solutions). Finally, if \(p=q=1=m\) then the formula
is equivalent with \(\exists y (r<n\centerdot y\leqslant s)\) for \(x=t+n\centerdot y\), \(r=u-t\) and \(s=v-t-\mathbf{1}\). Now, \(\exists y (r<n\centerdot y\leqslant s)\) is equivalent with the quantifier-free formula
since by the division algorithm there are some q and some \(i<n\) such that \(s=qn + i\). The existence of some y such that \(r<ny\leqslant s\) is then equivalent with \(r<nq\) (\(=s-i\)). \(\square \)
Rights and permissions
About this article
Cite this article
Assadi, Z., Salehi, S. On decidability and axiomatizability of some ordered structures. Soft Comput 23, 3615–3626 (2019). https://doi.org/10.1007/s00500-018-3247-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-018-3247-1