Termination of canonical context-sensitive rewriting and productivity of rewrite systems

被引:0
|
作者
Lucas, Salvador [1 ]
机构
[1] Univ Politecn Valencia, DSIC, E-46022 Valencia, Spain
关键词
context-sensitive rewriting; functional programming; productivity; termination;
D O I
10.4204/EPTCS.200.2
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Termination of programs, i.e., the absence of infinite computations, ensures the existence of normal forms for all initial expressions, thus providing an essential ingredient for the definition of a normalization semantics for functional programs. In lazy functional languages, though, infinite data structures are often delivered as the outcome of computations. For instance, the list of all prime numbers can be returned as a neverending stream of numerical expressions or data structures. If such streams are allowed, requiring termination is hopeless. In this setting, the notion of productivity can be used to provide an account of computations with infinite data structures, as it "captures the idea of computability, of progress of infinite-list programs" (B.A. Sijtsma, On the Productivity of Recursive List Definitions, ACM Transactions on Programming Languages and Systems 11(4): 633649, 1989). However, in the realm of Term Rewriting Systems, which can be seen as (first-order, untyped, unconditional) functional programs, termination of Context-Sensitive Rewriting (CSR) has been showed equivalent to productivity of rewrite systems through appropriate transformations. In this way, tools for proving termination of CSR can be used to prove productivity. In term rewriting, CSR is the restriction of rewriting that arises when reductions are allowed on selected arguments of function symbols only. In this paper we show that well-known results about the computational power of CSR are useful to better understand the existing connections between productivity of rewrite systems and termination of CSR, and also to obtain more powerful techniques to prove productivity of rewrite systems.
引用
收藏
页码:18 / 31
页数:14
相关论文
共 50 条
  • [1] Termination of (Canonical) context-sensitive rewriting
    Lucas, S
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, 2002, 2378 : 296 - 310
  • [2] Termination of context-sensitive rewriting
    Zantema, H
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, 1997, 1232 : 172 - 186
  • [3] Innermost termination of context-sensitive rewriting
    Giesl, J
    Middeldorp, A
    [J]. DEVELOPMENTS IN LANGUAGE THEORY, 2003, 2450 : 231 - 244
  • [4] Polynomials for proving termination of context-sensitive rewriting
    Lucas, S
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, PROCEEDINGS, 2004, 2987 : 318 - 332
  • [5] Proving termination of context-sensitive rewriting by transformation
    Lucas, Salvador
    [J]. INFORMATION AND COMPUTATION, 2006, 204 (12) : 1782 - 1846
  • [6] Using Context-Sensitive Rewriting for Proving Innermost Termination of Rewriting
    Alarcon, Beatriz
    Lucas, Salvador
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 248 : 3 - 17
  • [7] Usable rules for context-sensitive rewrite systems
    Gutierrez, Raul
    Lucas, Salvador
    Urbain, Xavier
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2008, 5117 : 126 - +
  • [8] Transformation techniques for context-sensitive rewrite systems
    Giesl, J
    Middeldorp, A
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2004, 14 : 379 - 427
  • [9] Decidability of Innermost Termination and Context-Sensitive Termination for Semi-Constructor Term Rewriting Systems
    Uchiyama, Keita
    Sakai, Masahiko
    Sakabe, Toshiki
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 204 : 21 - 34
  • [10] Termination of innermost context-sensitive rewriting using dependency pairs
    Alarcon, Beatriz
    Lucas, Salvador
    [J]. FRONTIERS OF COMBINING SYSTEMS, PROCEEDINGS, 2007, 4720 : 73 - +