Skip to main content

Halting problem of one binary Horn clause is undecidable

  • Conference paper
  • First Online:
Book cover STACS 93 (STACS 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 665))

Included in the following conference series:

Abstract

This paper proposes a codification of the halting problem of any Turing machine in the form of only one right-linear binary Horn clause as follows: p(t) p(tt). where t (resp. tt) is any (resp. linear) term. Recursivity is well-known to be a crucial and fundamental concept in programming theory. This result proves that in Horn clause languages there is no hope to control it without additional hypotheses even for the simplest recursive schemes.

Some direct consequences are presented here. For instance, there exists an explicitly constructible right-linear binary Horn clause for which no decision algorithm, given a goal, always decides in a finite number of steps whether or not the resolution using this clause is finite. The halting problem of derivations w.r.t. one binary Horn clause had been shown decidable if the goal is ground [SS88] or if the goal is linear [Dev88, Dev90, DLD90]. The undecidability in the non-linear case is an unexpected extension.

The proof of the main result is based on the unpredictable iterations of periodically linear functions defined by J.H. Conway within number theory. Let us note that these new undecidability results are proved w.r.t. any type of resolution (bottom-up or top-down, depth-first or breadth-first, unification with or without occur-check).

This work has been partially supported by GRECO de Programmation of CNRS.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Apt K.R., Bol R.N., Klop J.W. “On the safe termination of PROLOG programs”. ICLP'89, Lisbon, pp. 353–368. 1989.

    Google Scholar 

  2. Bibel W., Hölldobler S., Würtz J. “Cycle Unification”. CADE pp. 94–108. June 1992.

    Google Scholar 

  3. Böhm C, Jacopini G. “Flow diagrams, Turing machines and languages with only two formation rules”. Communications of the Association for Computing Machinery, Vol.9, pp. 366–371. 1966.

    Google Scholar 

  4. Conway J.H. “Unpredictable Iterations”. Proc. 1972 Number Theory Conference. University of Colorado, pp 49–52. 1972.

    Google Scholar 

  5. Dauchet M. “Simulation of Turing Machines by a regular rewrite rule”. Journal of Theoretical Computer Science. n∘103. pp. 409–420 1992.

    Google Scholar 

  6. Devienne P. “Weighted graphs — tool for studying the halting problem and time complexity in term rewriting systems and logic programming (extended abstract)”. Fifth Generation Computer Systems 88, Tokyo, Japan. 1988.

    Google Scholar 

  7. Devienne P. “Weighted graphs — tool for studying the halting problem and time complexity in term rewriting systems and logic programming”. Journal of Theoretical Computer Science, n∘75, pp. 157–215, 1990.

    Google Scholar 

  8. Devienne P., Lebègue P., Dauchet M. “Weighted Systems of Equations”. Informatika 91, Grenoble, Special issue of TCS. 1991.

    Google Scholar 

  9. Devienne P., Lebègue P., Routier J.C. “Cycle Unification is Undecidable”. LIFL Technical Report n∘IT 241, Lille. 1992.

    Google Scholar 

  10. Gaiman, Mairson “Undecidable optimisation problems for database logic programs”. Symposium on Logic in Computer Science, New-York, pp. 106–115. 1987.

    Google Scholar 

  11. Lagarias J.C. “The 3x+1 problem and its generalizations”. Amer. Math Monthly 92, pp. 3–23. 1985.

    Google Scholar 

  12. Minsky M. “Computation: Finite and Infinite Machines”. Prentice-Hall. 1967.

    Google Scholar 

  13. Parrain A., Devienne P., Lebègue P. “Prolog programs transformations and Meta-Interpreters”. Logic program synthesis and transformation, Springer-Verlag, LOPSTR'91, Manchester. 1991.

    Google Scholar 

  14. Rogers H. “Theory of Recursive Functions and Effective Computability”. The MIT Press. 1987.

    Google Scholar 

  15. Schmidt-Schauss M. “Implication of clauses is undecidable”. Journal of Theoretical Computer Science, n∘59, pp. 287–296. 1988.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

P. Enjalbert A. Finkel K. W. Wagner

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Devienne, P., Lebègue, P., Routier, JC. (1993). Halting problem of one binary Horn clause is undecidable. In: Enjalbert, P., Finkel, A., Wagner, K.W. (eds) STACS 93. STACS 1993. Lecture Notes in Computer Science, vol 665. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56503-5_7

Download citation

  • DOI: https://doi.org/10.1007/3-540-56503-5_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56503-1

  • Online ISBN: 978-3-540-47574-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics