skip to main content
article
Free Access

Theorem proving using equational matings and rigid E-unification

Published:01 April 1992Publication History
Skip Abstract Section

Abstract

In this paper, it is shown that the method of matings due to Andrews and Bibel can be extended to (first-order) languages with equality. A decidable version of E-unification called rigid E-unification is introduced, and it is shown that the method of equational matings remains complete when used in conjunction with rigid E-unification. Checking that a family of mated sets is an equational mating is equivalent to the following restricted kind of E-unification.

Problem Given E ={Ei| 1≤i≤n} a family of n finite sets of equations and S={〈ui,vi〉 |1≤i≤n} a set of n pairs of terms, is there a substitution θ such that, treating each set θ(Ei) as a set of ground equations (i.e., holding the variables in θ(Ei) “rigid”), θ(ui), and θ(vi) are provably equal from θ(Ei) for i=1,...,n?

Equivalently, is there a substitution θ such that θ(ui) and θ(vi) can be shown congruent from θ(Ei) by the congruence closure method for i=1,...,n?

A substitution θ solving the above problem is called a rigid E-unifier of S, and a pair 〈E,S〉 such that S has some rigid E-unifier is called an equational premating. It is shown that deciding whether a pair 〈 E,S〉is an equational premating is an NP-complete problem.

References

  1. 1 ANDREWS, P.B. Theorem proving via general matmgs. J. ACM 28, 2 (Apr. 1981), 193-214. Google ScholarGoogle Scholar
  2. 2 ANDREWS, P.B. An Introduction to Mathemattcal Logic and Type Theo~: To Truth Through Proof. Academic Press, Orlando, Fla., 1986. Google ScholarGoogle Scholar
  3. 3 ANDREWS, P. B., MILLER, D., COMEN, E., AND PFENYING, F. Automating higher-order logic, Contemp. Math. 29, (1984), 169-192.Google ScholarGoogle Scholar
  4. 4 BACHMAIR, L. Canonical equational proofs. In Research Notes in Theoretical Computer Science. Wiley, New York, 1989. Google ScholarGoogle Scholar
  5. 5 BACHMAIR, L., DERSHOWITZ, N., AND PLAISTED, D. Completion without failure. In Resohtion of Equatzons in Algebraic Structures, vol. 2. In A'it-Kaci and Nivat, eds. Academic Press, 1989, pp. 1-30,Google ScholarGoogle Scholar
  6. 6 BACHMAIR, L., DERSHOWtTZ, N., AND HSJANG, J. Orderings for equational proofs, In Logzc in Computer Science (LICS'86) (Cambridge, Mass., June 16~18). IEEE, New York, 1986, pp. 346-357.Google ScholarGoogle Scholar
  7. 7 B~BEt, W. Tautology testing with a generalized matrix reduction method. Theoret. Comput. Sci. 8 (1979), 31-44.Google ScholarGoogle Scholar
  8. 8 BmEL, W. On matrices with connections. J. ACM 28, 4 (Oct. 1981), 633-645. Google ScholarGoogle Scholar
  9. 9 BtBEL, W. Automated Theorem ProL~ing. Friedrich Vieweg & Sohn, Braunschweig, Germany, 1982.Google ScholarGoogle Scholar
  10. 10 BIBEL, W., AND SCHREIBER, J. Proof search in a Gentzen-like system of first-order logic. In Proceedings of the International Computing Symposmm. North-Holland, Amsterdam, 1975, pp. 205-212.Google ScholarGoogle Scholar
  11. 11 DERSHOWtTZ, N. Termination of rewriting. J. Symb, Comput. 3 (1987), 69-116. Google ScholarGoogle Scholar
  12. 12 DERSHOWITZ, N., MARCUS, L., AND TARLECKI, A. Existence, uniqueness, and construction of rewrite systems. SIAM J. Comput. 17 (1988), 629-639. Google ScholarGoogle Scholar
  13. 13 DOWNEY, P. J., SETHI. R., AND TARJAN, e. E. Variations on the common subexpression problem. J. ACM 27, 4 (Oct. i980), 758-771. Google ScholarGoogle Scholar
  14. 14 EDER, E. A comparison of the resolution and the connection method, in E. B6rger, H. Kleine BiSnmg, and M. M. Richter, eds., Computer Science and Logic (CSL'88), 2nd Workshop on Computer Science Logic. Springer-Verlag, New York, 1989, pp. 80-98. Google ScholarGoogle Scholar
  15. 15 EDER, E. Relative complexities of first-order calculi. Habilitationsschrift. Universit~it Dortmund, Germany, 1990. To appear as a book in Vieweg Verlag Braunschweig. Google ScholarGoogle Scholar
  16. 16 FJTTING, M. A tableaux based automated theorem prover for classical logic. Tech. Rep. City Univ. of New York, New York, June 1986.Google ScholarGoogle Scholar
  17. 17 GALLIER, j. H. Logtc for Computer Sctence: Foundations of Automatic Theorem Pro~,mg. Harper and Row, New York, 1986. Google ScholarGoogle Scholar
  18. 18 GALLIER, J. H., RAATZ, S., AND SNYDER, W. Theorem proving using rigid E-unification: Equational matings. In Logic bz Computer Science (LICS'87) (Ithaca, N.Y.). IEEE, New York, t987, pp. 338-346.Google ScholarGoogle Scholar
  19. 19 GALLIER, J. H., NARENDRAN, P., PLAISTED, D., RAATZ, S., AND SNYDER, W. Finding canonical rewriting systems equivalent to a finite set of ground equations in polynomial time. J. A CM, to appear.Google ScholarGoogle Scholar
  20. 20 GALLIER, J. H., NARENDRAN, P., PLAISTED, D., AND SNYDER, W. Rigid E-unification is NP-complete. In Logtc m Computer Science (LICS'88)(Edinburgh, Scotland, July 5-8). IEEE, New York, 1988, pp. 2t8-227.Google ScholarGoogle Scholar
  21. 21 GAIIIER, J. H., AND SNYDER, W. Complete sets of transformations for general E-unification. Theoret. Comput. Sci. 67, 2-3 (1989), 203-260. Google ScholarGoogle Scholar
  22. 22 GALLIER, J. H., NARENDRAN, }P., PLAISTED, D., AND SNYDER, W. Rigid E-unification: NP-completeness and applications to theorem proving. Inf. Comput. 87, 1/2 (1990), 129-195. Google ScholarGoogle Scholar
  23. 23 G~RARD, J.Y. Linear logic. Theor. Comput. Sci. 50, 1 (1987), 1-102. Google ScholarGoogle Scholar
  24. 24 HERBRAND, J. Logical Writings. Reidel Publishing Company, Hingham, Mass., 197i.Google ScholarGoogle Scholar
  25. 25 HUF, T, G. A unification algorithm for typed A-calculus. Theor. Comp. Scz. I (1975), 27-57.Google ScholarGoogle Scholar
  26. 26 HUET, G. Rdsolution d'Equations dans les Langages d'Ordre 1, 2 w. Th6se d'Etat, Universit6 de Paris VII, Paris, France, 1976.Google ScholarGoogle Scholar
  27. 27 HUET, G. Confluent reductions: Abstract properties and applications to term rewriting systems. J. ACM 27, 4 (Oct. 1983), 797-821. Google ScholarGoogle Scholar
  28. 28 HUET, G., AND OPPEN, D.C. Equations and rewrite rules: A survey. In R. V. Book, ed., Formal Languages: Perspectives and Open Problems. Academic Press, Orlando, Fla., 1982, pp. 349-405.Google ScholarGoogle Scholar
  29. 29 KNUTH, D. E., AND BENDIX, P.B. Simple word problems in universal algebras. In J. Leech, ed., Computational Problems in Abstract Algebra, Pergamon Press, 1970, pp. 263-297.Google ScholarGoogle Scholar
  30. 30 KOZEN, D. Complexity of finitely presented algebras. Tech. Rep. TR 76-294. Dept. Computer Sci., Cornell Univ., Ithaca, N.Y., 1976. Google ScholarGoogle Scholar
  31. 31 KOZ~N, D. Positive first-order logic is NP-complete. IBMJ. Res. Dec'. 25, 4 (1981), 327-332.Google ScholarGoogle Scholar
  32. 32 LEVY, A. Basic Set Theopy. Springer-Verlag, New York, 1979.Google ScholarGoogle Scholar
  33. 33 MARTELLI, A., AND MONTANARI, U. An efficient unification algorithm. ACM Trans. Prog. Lang. Syst. 4, 2 (Apr. 1982), 258-282. Google ScholarGoogle Scholar
  34. 34 MET~WF.r~, Y. About the rewriting systems produced by the Knuth-Bendix completion algorithm. Inf. Proc. Lett. 16 (1983), 31-34.Google ScholarGoogle Scholar
  35. 35 MILLER, D.A. Expansion trees and their conversion to natural deduction proofs. In R. E. Shostak, ed., Proceedbzgs of the 7th International Conference on Automated Deductlon (Napa, CA). Lecture Notes in Computer Science, vol. 170. Springer-Verlag, New York, 1984, pp. 375-393. Google ScholarGoogle Scholar
  36. 36 NELSON, G., AND OPPEN, D.C. Fast decision procedures based on congruence closure. J. ACM 27, 2 (1980), 356-364. Google ScholarGoogle Scholar
  37. 37 PATERSON, M. S., AND WEGMAN, M.N. Linear unification. J. Comput. Syst. Sci. 16 (1978), 158-167.Google ScholarGoogle Scholar
  38. 38 PFENNING, F. Proof transformations in higher-order logic. Ph.D. dissertation. Department of Mathematics, Carnegie Mellon Univ., Pittsburgh, Pa., Jan. 1987.Google ScholarGoogle Scholar
  39. 39 PLOTKIN, G. Building in equational theories. Machine Intelligence 7 (1972), 73-90.Google ScholarGoogle Scholar
  40. 40 SMULLYAN, R.M. First-order Logic. Springer-Verlag, New York, 1968.Google ScholarGoogle Scholar
  41. 41 SZABO, M. E. The collected papers of Gerhard Gentzen. In: Studies in Logic. Elsevier North-Holland, New York, 1970.Google ScholarGoogle Scholar

Index Terms

  1. Theorem proving using equational matings and rigid E-unification

                              Recommendations

                              Comments

                              Login options

                              Check if you have access through your login credentials or your institution to get full access on this article.

                              Sign in

                              Full Access

                              PDF Format

                              View or Download as a PDF file.

                              PDF

                              eReader

                              View online with eReader.

                              eReader