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.
- 1 ANDREWS, P.B. Theorem proving via general matmgs. J. ACM 28, 2 (Apr. 1981), 193-214. Google Scholar
- 2 ANDREWS, P.B. An Introduction to Mathemattcal Logic and Type Theo~: To Truth Through Proof. Academic Press, Orlando, Fla., 1986. Google Scholar
- 3 ANDREWS, P. B., MILLER, D., COMEN, E., AND PFENYING, F. Automating higher-order logic, Contemp. Math. 29, (1984), 169-192.Google Scholar
- 4 BACHMAIR, L. Canonical equational proofs. In Research Notes in Theoretical Computer Science. Wiley, New York, 1989. Google Scholar
- 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 Scholar
- 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 Scholar
- 7 B~BEt, W. Tautology testing with a generalized matrix reduction method. Theoret. Comput. Sci. 8 (1979), 31-44.Google Scholar
- 8 BmEL, W. On matrices with connections. J. ACM 28, 4 (Oct. 1981), 633-645. Google Scholar
- 9 BtBEL, W. Automated Theorem ProL~ing. Friedrich Vieweg & Sohn, Braunschweig, Germany, 1982.Google Scholar
- 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 Scholar
- 11 DERSHOWtTZ, N. Termination of rewriting. J. Symb, Comput. 3 (1987), 69-116. Google Scholar
- 12 DERSHOWITZ, N., MARCUS, L., AND TARLECKI, A. Existence, uniqueness, and construction of rewrite systems. SIAM J. Comput. 17 (1988), 629-639. Google Scholar
- 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 Scholar
- 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 Scholar
- 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 Scholar
- 16 FJTTING, M. A tableaux based automated theorem prover for classical logic. Tech. Rep. City Univ. of New York, New York, June 1986.Google Scholar
- 17 GALLIER, j. H. Logtc for Computer Sctence: Foundations of Automatic Theorem Pro~,mg. Harper and Row, New York, 1986. Google Scholar
- 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 Scholar
- 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 Scholar
- 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 Scholar
- 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 Scholar
- 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 Scholar
- 23 G~RARD, J.Y. Linear logic. Theor. Comput. Sci. 50, 1 (1987), 1-102. Google Scholar
- 24 HERBRAND, J. Logical Writings. Reidel Publishing Company, Hingham, Mass., 197i.Google Scholar
- 25 HUF, T, G. A unification algorithm for typed A-calculus. Theor. Comp. Scz. I (1975), 27-57.Google Scholar
- 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 Scholar
- 27 HUET, G. Confluent reductions: Abstract properties and applications to term rewriting systems. J. ACM 27, 4 (Oct. 1983), 797-821. Google Scholar
- 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 Scholar
- 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 Scholar
- 30 KOZEN, D. Complexity of finitely presented algebras. Tech. Rep. TR 76-294. Dept. Computer Sci., Cornell Univ., Ithaca, N.Y., 1976. Google Scholar
- 31 KOZ~N, D. Positive first-order logic is NP-complete. IBMJ. Res. Dec'. 25, 4 (1981), 327-332.Google Scholar
- 32 LEVY, A. Basic Set Theopy. Springer-Verlag, New York, 1979.Google Scholar
- 33 MARTELLI, A., AND MONTANARI, U. An efficient unification algorithm. ACM Trans. Prog. Lang. Syst. 4, 2 (Apr. 1982), 258-282. Google Scholar
- 34 MET~WF.r~, Y. About the rewriting systems produced by the Knuth-Bendix completion algorithm. Inf. Proc. Lett. 16 (1983), 31-34.Google Scholar
- 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 Scholar
- 36 NELSON, G., AND OPPEN, D.C. Fast decision procedures based on congruence closure. J. ACM 27, 2 (1980), 356-364. Google Scholar
- 37 PATERSON, M. S., AND WEGMAN, M.N. Linear unification. J. Comput. Syst. Sci. 16 (1978), 158-167.Google Scholar
- 38 PFENNING, F. Proof transformations in higher-order logic. Ph.D. dissertation. Department of Mathematics, Carnegie Mellon Univ., Pittsburgh, Pa., Jan. 1987.Google Scholar
- 39 PLOTKIN, G. Building in equational theories. Machine Intelligence 7 (1972), 73-90.Google Scholar
- 40 SMULLYAN, R.M. First-order Logic. Springer-Verlag, New York, 1968.Google Scholar
- 41 SZABO, M. E. The collected papers of Gerhard Gentzen. In: Studies in Logic. Elsevier North-Holland, New York, 1970.Google Scholar
Index Terms
- Theorem proving using equational matings and rigid E-unification
Recommendations
Theorem Proving Modulo
AbstractDeduction modulo is a way to remove computational arguments from proofs by reasoning modulo a congruence on propositions. Such a technique, issued from automated theorem proving, is of general interest because it permits one to separate ...
Extensional Higher-Order Paramodulation in Leo-III
AbstractLeo-III is an automated theorem prover for extensional type theory with Henkin semantics and choice. Reasoning with primitive equality is enabled by adapting paramodulation-based proof search to higher-order logic. The prover may cooperate with ...
Unification Algorithms for Eliminating and Introducing Quantifiers in Natural Deduction Automated Theorem Proving
A natural deduction system was adapted from Gentzen system. It enables valid wffs to be deduced in a very ‘natural’ way. One need not transform a formula into other normal forms. Robinson’s unification algorithm is used to handle clausal formulas. ...
Comments