Abstract
Nominal logic is a variant of first-order logic with special facilities for reasoning about names and binding based on the underlying concepts of swapping and freshness. It serves as the basis of logic programming, term rewriting, and automated theorem proving techniques that support reasoning about languages with name-binding. These applications often require nominal unification, or equational reasoning and constraint solving in nominal logic. Urban, Pitts and Gabbay developed an algorithm for a broadly applicable class of nominal unification problems. However, because of nominal logic’s equivariance property, these applications also require a different form of unification, which we call equivariant unification. In this article, we first study the complexity of the decision problem for equivariant unification and equivariant matching. We show that these problems are NP-hard in general, as is nominal unification without the ground-name restrictions employed in previous work on nominal unification. Moreover, we present an exponential-time algorithm for equivariant unification that can be used to decide satisfiability, or produce a complete finite set of solutions. We also study special cases that can be solved efficiently. In particular, we present a polynomial time algorithm for swapping-free equivariant matching, that is, for matching problems in which the swapping operation does not appear.
Similar content being viewed by others
References
Calvès, C., Fernández, M.: A polynomial nominal unification algorithm. Theor. Comput. Sci. 403(2–3), 285–306 (2008)
Cheney, J.: The complexity of equivariant unification. In: Proceedings of the 31st International Colloquium on Automata, Languages and Programming (ICALP 2004), LNCS, vol. 3142, pp. 332–344, Turku, Finland. Springer, New York (2004)
Cheney, J.: Equivariant unification. In: Proceedings of the 2005 Conference on Rewriting Techniques and Applications (RTA 2005), number 3467 in LNCS, pp. 74–89, Nara, Japan. Springer, New York (2005)
Cheney, J.: Completeness and Herbrand theorems for nominal logic. J. Symb. Log. 71(1), 299–320 (2006)
Cheney, J., Urban, C.: Nominal logic programming. ACM Trans. Program. Lang. Syst. 30(5), 26 (2008)
Cheney, J.R.: Nominal logic programming. PhD thesis, Cornell University, Ithaca (2004)
Clouston, R.A., Pitts, A.M.: Nominal equational logic. Electron. Notes Theor. Comput. Sci. 172, 223–257 (2007)
Courcelle, B.: Graph rewriting: An algebraic and logic approach. In: Handbook of Theoretical Computer Science, vol. B: Formal Models and Semantics (B), pp. 193–242. MIT, Cambridge (1990)
Engebretsen, L., Holmerin, J., Russell, A.: Inapproximability results for equations over finite groups. Theor. Comp. Sci. 312(1), 17–45 (2004)
Fernández, M., Gabbay, M.J.: Nominal rewriting. Inf. Comput. 205, 917–965 (2007)
Gabbay, M.J., Mathijssen, A.: Nominal (universal) algebra: equational logic with names and binding. J. Log. Comput. 19(6), 1455–1508 (2009)
Gabbay, M.J., Pitts, A.M.: A new approach to abstract syntax with variable binding. Form. Asp. Comput. 13, 341–363 (2002)
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, San Francisco (1979)
Goldmann, M., Russell, A.: The complexity of solving equations over finite groups. Inf. Comput. 178, 253–262 (2002)
Guo, Q., Narendran, P., Shukla, S.K.: Unification and matching in process algebras. In: Nipkow, T. (ed.) RTA. Lecture Notes in Computer Science, vol. 1379, pp. 91–105. Springer, New York (1998)
Lakin, M.R., Pitts, A.M.: Resolving inductive definitions with binders in higher-order typed functional programming. In: Castagna, G. (ed.) ESOP. Lecture Notes in Computer Science, vol. 5502, pp. 47–61. Springer, New York (2009)
Levy, J., Villaret, M.: Nominal unification from a higher-order perspective. In: Voronkov, A. (ed.) RTA. Lecture Notes in Computer Science, vol. 5117, pp. 246–260. Springer, New York (2008)
Libkin, L.: Elements of Finite Model Theory. Springer, New York (2004)
Pitts, A.M.: Nominal logic, a first order theory of names and binding. Inf. Comput. 183, 165–193 (2003)
Snyder, W.: A Proof Theory for General Unification. Progress in Computer Science and Applied Logic, vol. 11. Birkhäuser, Boston (1991)
Urban, C.: Nominal techniques in Isabelle/HOL. J. Autom. Reason. 40(4), 327–356 (2008)
Urban, C., Cheney, J.: Avoiding equivariace in Alpha-Prolog. In: Proceedings of the 2005 Conference on Typed Lambda Calculus and Applications (TLCA 2005), no. 3461 in LNCS, pp. 74–89, Nara, Japan. Springer, New York (2005)
Urban, C., Pitts, A.M., Gabbay, M.J.: Nominal unification. Theor. Comp. Sci. 323(1–3), 473–497 (2004)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Cheney, J. Equivariant Unification. J Autom Reasoning 45, 267–300 (2010). https://doi.org/10.1007/s10817-009-9164-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10817-009-9164-3