On ranking functions for single-path linear-constraint loops

被引:0
|
作者
Yi Li
Wenyuan Wu
Yong Feng
机构
[1] Chongqing Institute of Green and Intelligent Technology,
[2] Chinese Academy of Sciences,undefined
关键词
Software reliability; Program termination; Linear ranking functions; Farkas’ lemma;
D O I
暂无
中图分类号
学科分类号
摘要
Program termination is a fundamental research topic in program analysis. In this paper, we present a new complete polynomial-time method for the existence problem of linear ranking functions for single-path loops described by a conjunction of linear constraints, when variables range over the reals (or rationals). Unlike existing methods, our method does not depend on Farkas’ Lemma and provides us with counterexamples to existence of linear ranking functions, when no linear ranking function exists. In addition, we extend our results established over the rationals to the setting of the integers. This deduces an alternative approach to deciding whether or not a given SLC loop has a linear ranking function over the integers. Finally, we prove that the termination of bounded single-path linear-constraint loops is decidable over the reals (or rationals).
引用
收藏
页码:655 / 666
页数:11
相关论文
共 50 条
  • [1] On ranking functions for single-path linear-constraint loops
    Li, Yi
    Wu, Wenyuan
    Feng, Yong
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2020, 22 (06) : 655 - 666
  • [2] Detecting multiphase linear ranking functions for single-path linear-constraint loops
    Yue Yuan
    Yi Li
    Wenchang Shi
    International Journal on Software Tools for Technology Transfer, 2021, 23 : 55 - 67
  • [3] Detecting multiphase linear ranking functions for single-path linear-constraint loops
    Yuan, Yue
    Li, Yi
    Shi, Wenchang
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2021, 23 (01) : 55 - 67
  • [4] Ranking Functions for Linear-Constraint Loops
    Ben-Amram, Amir M.
    Genaim, Samir
    JOURNAL OF THE ACM, 2014, 61 (04)
  • [5] The L-depth Eventual Linear Ranking Functions for Single-path Linear Constraint Loops
    Li, Yi
    Zhu, Guang
    Feng, Yong
    2016 10TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE), 2016, : 30 - 37
  • [6] On the Linear Ranking Problem for Integer Linear-Constraint Loops
    Ben-Amram, Amir M.
    Genaim, Samir
    ACM SIGPLAN NOTICES, 2013, 48 (01) : 51 - 62
  • [7] Termination Analysis of Single-path Linear Constraint Loops
    Li Y.
    Tang T.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (03): : 1307 - 1320
  • [8] Eventual Linear Ranking Functions for Multi-path Linear Loops
    Zhu, Guang
    Li, Yi
    Wu, Wenyuan
    2016 IEEE INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC), 2016, : 331 - 337
  • [9] On the expressiveness of linear-constraint query languages for spatial databases
    Vandeurzen, L
    Gyssens, M
    Van Gucht, D
    THEORETICAL COMPUTER SCIENCE, 2001, 254 (1-2) : 423 - 463
  • [10] SINGLE-PATH PETRI NETS
    HOWELL, RR
    JANCAR, P
    ROSIER, LE
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 520 : 202 - 210