Abstract
In this note we consider the following decision problems. Let Σ be a fixed first-order signature.
(i) Given a first-order theory or ground theory T over Σ of Turing degree α, a program scheme p p over Σ, and input values specified by ground terms t1,...,t n , does p p halt on input t1,...,t n in all models of T?
(ii) Given a first-order theory or ground theory T over Σ of Turing degree α and two program schemes p p and p q over Σ, are p p and p q equivalent in all models of T?
When T is empty, these two problems are the classical halting and equivalence problems for program schemes, respectively. We show that problem (i) is \(\Sigma^\alpha_1\)-complete and problem (ii) is \(\Pi^\alpha_2\)-complete. Both problems remain hard for their respective complexity classes even if Σ is restricted to contain only a single constant, a single unary function symbol, and a single monadic predicate. It follows from (ii) that there can exist no relatively complete deductive system for scheme equivalence over models of theories of any Turing degree.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Angus, A., Kozen, D.: Kleene algebra with tests and program schematology. Tech. Rep. TR2001-1844, Computer Science Department, Cornell University (July 2001)
Barth, A., Kozen, D.: Equational verification of cache blocking in LU decomposition using Kleene algebra with tests. Tech. Rep. TR2002-1865, Computer Science Department, Cornell University (June 2002)
Ferrante, J., Rackoff, C.: The computational complexity of logical theories. Lecture Notes in Mathematics, vol. 718. Springer, Heidelberg (1979)
Harel, D., Meyer, A.R., Pratt, V.R.: Computability and completeness in logics of programs. In: Proc. 9th Symp. Theory of Comput., pp. 261–268. ACM, New York (1977)
Harel, D., Kozen, D.: A programming language for the inductive sets, and applications. Information and Control 63(1-2), 118–139 (1984)
Harel, D., Kozen, D., Tiuryn, J.: Dynamic Logic. MIT Press, Cambridge (2000)
Manna, Z.: Mathematical Theory of Computation. McGraw-Hill, New York (1974)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Kozen, D. (2010). Halting and Equivalence of Program Schemes in Models of Arbitrary Theories. In: Blass, A., Dershowitz, N., Reisig, W. (eds) Fields of Logic and Computation. Lecture Notes in Computer Science, vol 6300. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15025-8_22
Download citation
DOI: https://doi.org/10.1007/978-3-642-15025-8_22
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-15024-1
Online ISBN: 978-3-642-15025-8
eBook Packages: Computer ScienceComputer Science (R0)