Lower Bounds for Runtime Complexity of Term Rewriting

被引:8
|
作者
Frohn, Florian [1 ]
Giesl, Juergen [1 ]
Hensel, Jera [1 ]
Aschermann, Cornelius [1 ]
Stroeder, Thomas [1 ]
机构
[1] Rhein Westfal TH Aachen, LuFG Informat 2, Aachen, Germany
关键词
Complexity analysis; Term rewriting; Induction; Lower bounds; TERMINATION;
D O I
10.1007/s10817-016-9397-x
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present the first approach to deduce lower bounds for (worst-case) runtime complexity of term rewrite systems (TRSs) automatically. Inferring lower runtime bounds is useful to detect bugs and to complement existing methods that compute upper complexity bounds. Our approach is based on two techniques: the induction technique generates suitable families of rewrite sequences and uses induction proofs to find a relation between the length of a rewrite sequence and the size of the first term in the sequence. The loop detection technique searches for "decreasing loops". Decreasing loops generalize the notion of loops for TRSs, and allow us to detect families of rewrite sequences with linear, exponential, or infinite length. We implemented our approach in the tool AProVE and evaluated it by extensive experiments.
引用
收藏
页码:121 / 163
页数:43
相关论文
共 50 条
  • [1] Lower Bounds for Runtime Complexity of Term Rewriting
    Florian Frohn
    Jürgen Giesl
    Jera Hensel
    Cornelius Aschermann
    Thomas Ströder
    [J]. Journal of Automated Reasoning, 2017, 59 : 121 - 163
  • [2] Transforming Derivational Complexity of Term Rewriting to Runtime Complexity
    Fuhs, Carsten
    [J]. FRONTIERS OF COMBINING SYSTEMS (FROCOS 2019), 2019, 11715 : 348 - 364
  • [3] On Complexity Bounds and Confluence of Parallel Term Rewriting
    Baudon, Thais
    Fuhs, Carsten
    Gonnord, Laure
    [J]. FUNDAMENTA INFORMATICAE, 2024, 192 (02) : 121 - 166
  • [4] Analyzing Innermost Runtime Complexity of Term Rewriting by Dependency Pairs
    Noschinski, Lars
    Emmes, Fabian
    Giesl, Juergen
    [J]. JOURNAL OF AUTOMATED REASONING, 2013, 51 (01) : 27 - 56
  • [5] Constant runtime complexity of term rewriting is semi-decidable
    Frohn, Florian
    Giesl, Juergen
    [J]. INFORMATION PROCESSING LETTERS, 2018, 139 : 18 - 23
  • [6] Analyzing Innermost Runtime Complexity of Term Rewriting by Dependency Pairs
    Lars Noschinski
    Fabian Emmes
    Jürgen Giesl
    [J]. Journal of Automated Reasoning, 2013, 51 : 27 - 56
  • [7] Runtime Complexity Bounds Using Squeezers
    Ish-Shalom, Oren
    Itzhaky, Shachar
    Rinetzky, Noam
    Shoham, Sharon
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2022, 44 (03):
  • [8] Lower Runtime Bounds for Integer Programs
    Frohn, F.
    Naaf, M.
    Hensel, J.
    Brockschmidt, M.
    Giesl, J.
    [J]. AUTOMATED REASONING (IJCAR 2016), 2016, 9706 : 550 - 567
  • [9] ARE LOWER BOUNDS ON THE COMPLEXITY LOWER BOUNDS FOR UNIVERSAL CIRCUITS
    NIGMATULLIN, RG
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1985, 199 : 331 - 340
  • [10] COMPLEXITY OF CONDITIONAL TERM REWRITING
    Kop, Cynthia
    Middeldorp, Aart
    Sternagel, Thomas
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2017, 13 (01)