关于多相线性秩函数
On Multiphase-Linear Ranking Functions
摘要:
多阶段排序函数($\mathit{MΦRFs}$)被提出作为证明循环终止的手段,在该循环中,计算通过多个“阶段”进行,并且每个阶段的进展由不同的线性排序函数描述。我们的工作提供了新的见解,这些功能的线性约束(单路径循环)的结合所描述的循环。我们提供了一个完整的多项式时间的解决方案的问题的存在性和合成的$\mathit{MΦRF}$的有界深度(相位数),当变量范围超过合理或实数;一个完整的解决方案(更难)的情况下,变量是整数,与匹配的下限证明,表明这个问题是CONP-完全的;和一个新的定理,它限制了循环的迭代次数与$\mathit{MΦRFs}$。令人惊讶的是,即使所涉及的变量以非线性方式变化,边界也是线性的。我们还考虑了一种类型的字典排序功能,$\mathit{LLRFs}$,更有表现力的字典功能的完整的解决方案,迄今为止。我们证明,对于上述类型的循环,字典功能可以减少到$\mathit{MΦRFs}$,从而检测和合成的复杂性的问题,以及由此产生的迭代范围,也回答了这个类。
英文摘要:
Multiphase ranking functions ($\mathit{MΦRFs}$) were proposed as a means to prove the termination of a loop in which the computation progresses through a number of "phases", and the progress of each phase is described by a different linear ranking function. Our work provides new insights regarding such functions for loops described by a conjunction of linear constraints (single-path loops). We provide a complete polynomial-time solution to the problem of existence and of synthesis of $\mathit{MΦRF}$ of bounded depth (number of phases), when variables range over rational or real numbers; a complete solution for the (harder) case that variables are integer, with a matching lower-bound proof, showing that the problem is coNP-complete; and a new theorem which bounds the number of iterations for loops with $\mathit{MΦRFs}$. Surprisingly, the bound is linear, even when the variables involved change in non-linear way. We also consider a type of lexicographic ranking functions, $\mathit{LLRFs}$, more expressive than types of lexicographic functions for which complete solutions have been given so far. We prove that for the above type of loops, lexicographic functions can be reduced to $\mathit{MΦRFs}$, and thus the questions of complexity of detection and synthesis, and of resulting iteration bounds, are also answered for this class.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。