Abstract
We present an algorithm for simplifying Fitch-style natural-deduction proofs in classical first-order logic. We formalize Fitch-style natural deduction as a denotational proof language,\({\user1{\mathcal{N}\mathcal{D}\mathcal{L}}}\), with a rigorous syntax and semantics. Based on that formalization, we define an array of simplifying transformations and show them to be terminating and to respect the formal semantics of the language. We also show that the transformations never increase the size or complexity of a deduction – in the worst case, they produce deductions of the same size and complexity as the original. We present several examples of proofs containing various types of superfluous “detours,” and explain how our procedure eliminates them, resulting in smaller and cleaner deductions. All of the transformations are fully implemented in SML-NJ, and the complete code listing is available on the Web.
Similar content being viewed by others
References
Arkoudas, K.: Athena. http://www.pac.csail.mit.edu/athena.
Arkoudas, K.: Denotational Proof Languages. PhD dissertation, MIT, 2000.
Arkoudas, K.: Type-α DPLs. MIT AI Memo 2001–25.
Arkoudas, K.: Type-ω DPLs. MIT AI Memo 2001–27.
Arkoudas, K., Khurshid, S., Marinov, D. and Rinard, M.: Integrating model checking and theorem proving for relational reasoning, in Proceedings of the 7th International Seminar on Relational Methods in Computer Science (RelMiCS 7), Malente, Germany, May 2003.
Arkoudas, K. and Rinard, M.: Deductive runtime certification, in Proceedings of the 2004 Workshop on Runtime Verification, Barcelona, Spain, April 2004.
Barwise, J. and Etchemendy, J.: Hyperproof: for Macintosh, CSLI Publications, 1995.
Bergmann, M., Moor, J. and Nelson, J.: The Logic Book, Random House, New York, 1980.
Bonevac, D.: Deduction, Blackwell Publishing, 2003.
Boolos, G.: Don't eliminate cut, J. Philos. Logic 13 (1984), 373–378.
Copi, I. M.: Symbolic Logic, 5th edn., Macmillan Publishing Co., New York, 1979.
Dalen, D. V.: Logic and Structure, Springer Verlag, 1983.
Dragalin, A. G.: Mathematical Intuitionism. Introduction to Proof Theory, volume 67 of Translations of Mathematical Monographs, American Mathematical Society, Providence, RI, 1988.
Ebbinghaus, H.-D., Flum, J. and Thomas, W.: Mathematical Logic, 2nd edn., Springer-Verlag, 1994.
Fitch, F. B.: Symbolic Logic: An Introduction, The Ronald Press Co., New York, 1952.
Gentzen, G.: The Collected Papers of Gerhard Gentzen, North-Holland, Amsterdam, Holland, 1969, English translations of Gentzen's papers, edited and introduced by M. E. Szabo.
Girard, J.-Y., Lafont, Y. and Taylor, P.: Proofs and Types, volume 7 of Cambridge Tracts in Theoretical Computer Science, Cambridge University Press, 1989.
Gordon, M. J. C. and Melham, T. F.: Introduction to HOL, A Theorem Proving Environment for Higher-order Logic, Cambridge University Press, Cambridge, England, 1993.
Harper, R., Honsell, F. and Plotkin, G.: A framework for defining logics, J. Assoc. Comput. Mach. 40(1) (1993), 143–184, January.
Howard, W. A.: The formulae-as-types notion of construction, in J. Hindley and J. R. Seldin (eds.), To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalisms, Academic Press, 1980, pp. 479–490.
Kahn, G.: Natural semantics, in Proceedings of Theoretical Aspects of Computer Science, Passau, Germany, February 1987.
Kalish, D. and Montague, R.: Logic: Techniques of Formal Reasoning, Harcourt Brace Jovanovich, Inc., New York, 1964, 2nd edn in 1980, with G. Mar.
Lemmon, E. J.: Beginning Logic, Hackett Publishing Company, 1978.
Necula, G. and Lee, P.: Proof-carrying code. Computer Science Technical Report CMU-CS-96-165, CMU, September 1996.
Necula, G. and Lee, P.: Efficient representation and validation of logical proofs. Computer Science Technical Report CMU-CS-97-172, CMU, October 1997.
Paulson, L.: Isabelle, A Generic Theorem Prover, Lecture Notes in Computer Science. Springer-Verlag, 1994.
Pelletier, F. J.: A brief history of natural deduction, Hist. Philos. Logic 20 (1999), 1–31.
Pelletier, J.: Automated natural deduction in thinker, Stud. Log. 60(1) (1998), 3–43.
Plotkin, G. D.: A structural approach to operational semantics. Research Report DAIMI FN-19, Computer Science Department, Aarhus University, Aarhus, Denmark, September 1981.
Pollock, J. L.: Rational cognition in OSCAR, in Agent Theories, Architectures, and Languages, 1999, pp. 71–90.
Prawitz, D.: Natural Deduction, Almqvist & Wiksell, Stockholm, Sweden, 1965.
Rescher, N.: Introduction to Logic, St. Martin's Press, 1964.
Reynolds, J. C.: Theories of Programming Languages, Cambridge University Press, 1998.
Troelstra, A. S. and Schwichtenberg, H.: Basic Proof Theory, Cambridge University Press, Cambridge, England, 1996.
Voronkov, A.: The anatomy of Vampire: implementing bottom-up procedures with code trees, J. Autom. Reason. 15(2) 1995.
Wechler, W.: Universal Algebra for Computer Scientists, Springer-Verlag, 1992.
Weidenbach, C.: Combining superposition, sorts, and splitting, in A. Robinson and A. Voronkov (eds.), Handbook of Automated Reasoning, volume 2, North-Holland, 2001.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Arkoudas, K. Simplifying Proofs in Fitch-Style Natural Deduction Systems. J Autom Reasoning 34, 239–294 (2005). https://doi.org/10.1007/s10817-005-9000-3
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10817-005-9000-3