Skip to main navigation Skip to search Skip to main content

Stratified context unification is NP-complete

  • CSIC
  • Goethe University Frankfurt
  • IMA

Research output: Chapter in Book/Conference proceedingConference proceedingpeer-review

10 Citations (Scopus)

Abstract

Context Unification is the problem to decide for a given set of second-order equations E where all second-order variables are unary, whether there exists a unifier, such that for every second-order variable X, the abstraction λx.r instantiated for X has exactly one occurrence of the bound variable x in r. Stratified Context Unification is a specialization where the nesting of second-order variables in E is restricted. It is already known that Stratified Context Unification is deciclable, NP-hard, and in PSPACE, whereas the decidability and the complexity of Context Unification is unknown. We prove that Stratified Context Unification is in NP by proving that a size-minimal solution can be represented in a singleton tree grammar of polynomial size, and then applying a generalization of Plandowski's polynomial algorithm that compares compacted terms in polynomial time. This also demonstrates the high potential of singleton tree grammars for optimizing programs maintaining large terms. A corollary of our result is that solvability of rewrite constraints is NP-cornplete.

Original languageEnglish
Title of host publicationAutomated Reasoning - Third International Joint Conference, IJCAR 2006, Proceedings
PublisherSpringer Verlag
Pages82-96
Number of pages15
ISBN (Print)3540371877, 9783540371878
DOIs
Publication statusPublished - 2006
Externally publishedYes
EventThird International Joint Conference on Automated Reasoning, IJCAR 2006 - Seattle, WA, United States
Duration: 17 Aug 200620 Aug 2006

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4130 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceThird International Joint Conference on Automated Reasoning, IJCAR 2006
Country/TerritoryUnited States
CitySeattle, WA
Period17/08/0620/08/06

Fingerprint

Dive into the research topics of 'Stratified context unification is NP-complete'. Together they form a unique fingerprint.

Cite this