首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:Linear Compressed Pattern Matching for Polynomial Rewriting (Extended Abstract)
  • 本地全文:下载
  • 作者:Manfred Schmidt-Schauss
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2013
  • 卷号:110
  • 页码:29-40
  • DOI:10.4204/EPTCS.110.5
  • 出版社:Open Publishing Association
  • 摘要:This paper is an extended abstract of an analysis of term rewriting where the terms in the rewrite rules as well as the term to be rewritten are compressed by a singleton tree grammar (STG). This form of compression is more general than node sharing or representing terms as dags since also partial trees (contexts) can be shared in the compression. In the first part efficient but complex algorithms for detecting applicability of a rewrite rule under STG-compression are constructed and analyzed. The second part applies these results to term rewriting sequences.

    The main result for submatching is that finding a redex of a left-linear rule can be performed in polynomial time under STG-compression.

    The main implications for rewriting and (single-position or parallel) rewriting steps are: (i) under STG-compression, n rewriting steps can be performed in nondeterministic polynomial time. (ii) under STG-compression and for left-linear rewrite rules a sequence of n rewriting steps can be performed in polynomial time, and (iii) for compressed rewrite rules where the left hand sides are either DAG-compressed or ground and STG-compressed, and an STG-compressed target term, n rewriting steps can be performed in polynomial time.

国家哲学社会科学文献中心版权所有