Abstract
Reasoning and problem-solving programs must eventually allow the full use of quantifiers and sets, and have strong enough control methods to use them without combinatorial explosion.
J. McCarthy
We show that Prolog is intimately connected with Gentzen's cut-free sequent calculus G, analyzing Prolog computations as the construction of certain cut-free derivations. We introduce a theorem-proving program GENTZEN based on Gentzen's sequent calculus, which incorporates some features of Prolog's computation procedure. We show that GENTZEN has the following properties: (1) It is (non-deterministically) sound and complete for first-order intuitionistic predicate calculus; (2) Its successful computations coincide with those of Prolog on the Horn clause fragment (both deterministically and non-deterministically). The proofs of (1) and (2) contain a new proof of the completeness of (non-deterministic) Prolog for Horn clause logic, based on our analysis of Prolog in terms of Gentzen sequents instead of on resolution. GENTZEN has been implemented and tested on examples including some proofs by induction in number theory, an example constructed by J. McCarthy to show the limitations of Prolog, and “Schubert's Steamroller.” An extension of GENTZEN also provides a decision procedure for intuitionistic propositional calculus (but at some cost in efficiency).
Preview
Unable to display preview. Download preview PDF.
References
Beeson, M. [1985], Foundations of Constructive Mathematics, Springer-Verlag, Berlin/ Heidelberg/ New York (1985).
Beeson, M. [1989], Logic and computation in MATHPERT: An expert system for learning mathematics, in: Kaltofen and Watt (eds.), Computers and Mathematics '89, pp. 202–214, Springer-Verlag, New York/ Heidelberg/ Berlin (1989).
Bishop, E. [1967], Foundations of Constructive Analysis, McGraw-Hill, New York (1967).
Bledsoe, W. W. [1984], Some automatic proofs in analysis, in: Automated Theorem Proving: After 25 years, ed. by W. W. Bledsoe and D. W. Loveland, A.M.S. Contemporary Mathematics series, vol. 29, Providence, R. I. (1984).
Bowen, K. [1980] Programming with Full First Order Logic (dissertation), School of Computer and Information Sciences, Syracuse University, November 1980.
Boyer, R., and Moore, J. [1979] A Computational Logic, Academic Press, New York (1979).
Clocksin and Mellish [], Programming in Prolog, Springer-Verlag, Berlin/ Heidelberg/ New York (1981).
Constable, R. L. [1986], et. al., Implementing Mathematics with the NuPrl Proof Development System, Prentice-Hall, Englewood Cliffs, N. J. (1986).
Feferman, S. [1975], A language and axioms for explicit mathematics, in: Algebra and Logic, Lecture Notes in Mathematics 450 87–139, Springer-Verlag, Berlin (1975).
Feferman, S. [1979], Constructive theories of functions and classes, in: Boffa, M., van Dalen, D., and McAloon, K. (eds.), Logic Colloquium '78: Proceedings of the Logic Colloquium at Mons, 1978, pp. 159–224, North-Holland, Amsterdam (1979).
Feferman, S. [1985] A theory of variable types, Rev. Colombiana de Matemáticas, XIX, 95–106.
Felty, A., and Miller, D. [1988] Specifying Theorem Provers in a Higher-Order Logic Programming Language, in: Proceedings of the Ninth International Conference on Automated Deduction, Argonne Ill, May 1988, pp. 61–80, Springer Lecture Notes in Computer Science 310, Springer-Verlag, Berlin/ Heidelberg/ New York (1988).
Gabbay, D. M., and Reyle, U. [1984], N-Prolog: an extension of Prolog with hypothetical implication, Part I, J. Logic Programming 1 (1984) 319–355.
Gabbay, D. M., and Reyle, U. [1989], Computation with run time skolemisation (N-Prolog Part 3), to appear.
van Gelder, A. [1987], Efficient loop detection in Prolog using the tortoise-and-hare technique, J. Logic Programming 4 (23–32), 1987.
Girard, J. [1989] Proofs and Types, Cambridge University Press, New York (1989).
Hallnäs, L, and Schroeder-Heister, P., [1987] A proof-theoretic approach to logic programming, SICS R88005 Research Report ISSN 0283-3638, Swedish Institute of Computer Science, Box 1263, S-164 28 Kista, Sweden (1987).
Hayashi, S. [1988], PX: A Computational Logic, MIT Press, Cambridge, Mass. (1988).
Howe, D. [1988], Computational metatheory in Nuprl, in: Proceedings of the Ninth International Conference on Automated Deduction, Argonne Ill, May 1988, pp. 238–257, Springer Lecture Notes in Computer Science 310, Springer-Verlag, Berlin/ Heidelberg/ New York (1988).
Huet,G. [1987] A uniform approach to type theory, INRIA Laboratory Research Report No. 795 (February 1988). An earlier version is more accessible
Huet, G. [1986], Deduction and computation, in: Fundamentals in Artificial Intelligence, ed. by Bibel, W. and Jorrand, P., Lecture Notes in Computer Science 232, Springer-Verlag, Berlin/ Heidelberg/ New York (1986).
Kleene, S. C. [1952], Introduction to Metamathematics, van Nostrand, Princeton, N. J. (1952).
Kleene, S. C. [1952a], Permutability of inferences in Gentzen's calculi LK and LJ, in: Two Papers on the Predicate Calculus, A.M.S. Memoirs 10 (1952), A. M. S., Providence, R. I.
Lifschitz, V. [1986], On the declarative semantics of logic programming with negation, in: Proc. Workshop on Foundationsof Deductive Databases and Logic Programming, Washington, D.C., August, 1986.
Lloyd, J. W. [1984], Foundations of Logic Programming, Springer-Verlag, Berlin/ Heidelberg/ New York (1984).
Manthey, R., and Bry, Francois [1988], SATCHMO: a theorem prover implemented in Prolog, in: Proceedings of the Ninth International Conference on Automated Deduction, Argonne Ill, May 1988, pp. 415–434, Springer Lecture Notes in Computer Science 310, Springer-Verlag, Berlin/ Heidelberg/ New York (1988).
Martin-Löf, P. [1984], Intuitionistic Type Theory, Bibliopolis, Naples (1984).
McCarthy, J. [1987], Generality in artificial intelligence, Communications of the ACM, vol. 30, no. 12, December, 1987, pp. 1029–1035.
McCarty, L. T., [1984], Programming directly in a nonmonotonic logic: extended abstract, in: Proceedings, AAAI Nonmonotonic Reasoning Workshop, New Paltz, N.Y, Oct 1984, pp. 325–336.
McCarty, L. T., [1988] Clausal intuitionistic logic I. Fixed-point semantics, J. Logic Programming 5, 1–33 (1988).
McCarty, L. T., [1988a] Clausal intuitionistic logic II. Tableau proof procedures, J. Logic Programming (to appear).
Miller, D., Nadathur, G., and Scedrov, A. [1987], Hereditary Harrop Formulas and Uniform Proofs Systems, in: Proceedings of the Symposium on Logic in Computer Science, Cornell University, June 1987, pp. 98–105, IEEE Computer Society Press, Washington, D.C. (1987).
Miller, D., Nadathur, G., Pfenning, F., and Scedrov, A. [TA], Uniform Proofs as a Foundation for Logic Programming, to appear in Annals of Pure and Applied Logic, available as Report MS-CIS-89-36, Department of Computer and Information Science, University of Pennsylvania, Philadelphia, PA 19104.
Nadathur, G. [1987], A Higher-Order Logic as the Basis for Logic Programming, Ph. D. Thesis, University of Pennsylvania, 1987.
Paulson, L. C. [1986] Natural deduction as higher-order resolution, J. Logic Programming 3 237–258.
Schütte, K. [1977], Proof Theory, Springer-Verlag, Berlin/Heidelberg/New York (1977).
Stickel, M. [1986] A Prolog technology theorem prover: implementation by an extended Prolog compiler, in: Proc. 8th CADE, Oxford, 1986, pp. 573–587, Lecture Notes in Computer Science 230, Springer-Verlag, Berlin/ Heidelberg/ New York (1986). Longer version is to appear in J. Automated Reasoning.
Stickel, M. [1988] A Prolog technology theorem prover, in: Proceedings of the Ninth International Conference on Automated Deduction, Argonne Ill, May 1988, pp. 752–753, Springer Lecture Notes in Computer Science 310, Springer-Verlag, Berlin/ Heidelberg/New York (1988).
Thistlewaite, P.B., McRobbie, M.A., and Meyer, R.K., Automated Theorem Proving in Non-Classical Logics, Pitman, London, and Wiley, New York (1988).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Beeson, M. (1991). Some applications of Gentzen's proof theory in automated deduction. In: Schroeder-Heister, P. (eds) Extensions of Logic Programming. ELP 1989. Lecture Notes in Computer Science, vol 475. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0038693
Download citation
DOI: https://doi.org/10.1007/BFb0038693
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53590-4
Online ISBN: 978-3-540-46879-0
eBook Packages: Springer Book Archive