三角多项式循环的终止

IF 0.7 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS
Marcel Hark, Florian Frohn, Jürgen Giesl
{"title":"三角多项式循环的终止","authors":"Marcel Hark, Florian Frohn, Jürgen Giesl","doi":"10.1007/s10703-023-00440-z","DOIUrl":null,"url":null,"abstract":"<p>We consider the problem of proving termination for triangular weakly non-linear loops (<i>twn</i>-loops) over some ring <span>\\(\\mathcal {S}\\)</span> like <span>\\(\\mathbb {Z}\\)</span>, <span>\\(\\mathbb {Q}\\)</span>, or <span>\\(\\mathbb {R}\\)</span>. The guard of such a loop is an arbitrary quantifier-free Boolean formula over (possibly non-linear) polynomial inequations, and the body is a single assignment of the form <span>\\(\\begin{bmatrix} x_1\\\\ \\ldots \\\\ x_d \\end{bmatrix} \\leftarrow \\begin{bmatrix} c_1 \\cdot x_1 + p_1\\\\ \\ldots \\\\ c_d \\cdot x_d + p_d \\end{bmatrix}\\)</span> where each <span>\\(x_i\\)</span> is a variable, <span>\\(c_i \\in \\mathcal {S}\\)</span>, and each <span>\\(p_i\\)</span> is a (possibly non-linear) polynomial over <span>\\(\\mathcal {S}\\)</span> and the variables <span>\\(x_{i+1},\\ldots ,x_{d}\\)</span>. </p><p>We show that the question of termination can be reduced to the existential fragment of the first-order theory of <span>\\(\\mathcal {S}\\)</span>. For loops over <span>\\(\\mathbb {R}\\)</span>, our reduction implies decidability of termination. For loops over <span>\\(\\mathbb {Z}\\)</span> and <span>\\(\\mathbb {Q}\\)</span>, it proves semi-decidability of non-termination.</p><p>Furthermore, we present a transformation to convert certain non-<i>twn</i>-loops into <i>twn</i>-form. Then the original loop terminates iff the transformed loop terminates over a specific subset of <span>\\(\\mathbb {R}\\)</span>, which can also be checked via our reduction. Moreover, we formalize a technique to <i>linearize</i> (the updates of) <i>twn</i>-loops in our setting and analyze its complexity. Based on these results, we prove complexity bounds for the termination problem of <i>twn</i>-loops as well as <i>tight</i> bounds for two important classes of loops which can <i>always</i> be transformed into <i>twn</i>-loops.</p><p>Finally, we show that there is an important class of linear loops. where our decision procedure results in an <i>efficient</i> procedure for termination analysis, i.e., where the parameterized complexity of deciding termination is <i>polynomial</i>.</p>","PeriodicalId":12430,"journal":{"name":"Formal Methods in System Design","volume":"1 1","pages":""},"PeriodicalIF":0.7000,"publicationDate":"2023-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Termination of triangular polynomial loops\",\"authors\":\"Marcel Hark, Florian Frohn, Jürgen Giesl\",\"doi\":\"10.1007/s10703-023-00440-z\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>We consider the problem of proving termination for triangular weakly non-linear loops (<i>twn</i>-loops) over some ring <span>\\\\(\\\\mathcal {S}\\\\)</span> like <span>\\\\(\\\\mathbb {Z}\\\\)</span>, <span>\\\\(\\\\mathbb {Q}\\\\)</span>, or <span>\\\\(\\\\mathbb {R}\\\\)</span>. The guard of such a loop is an arbitrary quantifier-free Boolean formula over (possibly non-linear) polynomial inequations, and the body is a single assignment of the form <span>\\\\(\\\\begin{bmatrix} x_1\\\\\\\\ \\\\ldots \\\\\\\\ x_d \\\\end{bmatrix} \\\\leftarrow \\\\begin{bmatrix} c_1 \\\\cdot x_1 + p_1\\\\\\\\ \\\\ldots \\\\\\\\ c_d \\\\cdot x_d + p_d \\\\end{bmatrix}\\\\)</span> where each <span>\\\\(x_i\\\\)</span> is a variable, <span>\\\\(c_i \\\\in \\\\mathcal {S}\\\\)</span>, and each <span>\\\\(p_i\\\\)</span> is a (possibly non-linear) polynomial over <span>\\\\(\\\\mathcal {S}\\\\)</span> and the variables <span>\\\\(x_{i+1},\\\\ldots ,x_{d}\\\\)</span>. </p><p>We show that the question of termination can be reduced to the existential fragment of the first-order theory of <span>\\\\(\\\\mathcal {S}\\\\)</span>. For loops over <span>\\\\(\\\\mathbb {R}\\\\)</span>, our reduction implies decidability of termination. For loops over <span>\\\\(\\\\mathbb {Z}\\\\)</span> and <span>\\\\(\\\\mathbb {Q}\\\\)</span>, it proves semi-decidability of non-termination.</p><p>Furthermore, we present a transformation to convert certain non-<i>twn</i>-loops into <i>twn</i>-form. Then the original loop terminates iff the transformed loop terminates over a specific subset of <span>\\\\(\\\\mathbb {R}\\\\)</span>, which can also be checked via our reduction. Moreover, we formalize a technique to <i>linearize</i> (the updates of) <i>twn</i>-loops in our setting and analyze its complexity. Based on these results, we prove complexity bounds for the termination problem of <i>twn</i>-loops as well as <i>tight</i> bounds for two important classes of loops which can <i>always</i> be transformed into <i>twn</i>-loops.</p><p>Finally, we show that there is an important class of linear loops. where our decision procedure results in an <i>efficient</i> procedure for termination analysis, i.e., where the parameterized complexity of deciding termination is <i>polynomial</i>.</p>\",\"PeriodicalId\":12430,\"journal\":{\"name\":\"Formal Methods in System Design\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":0.7000,\"publicationDate\":\"2023-12-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Formal Methods in System Design\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1007/s10703-023-00440-z\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Formal Methods in System Design","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s10703-023-00440-z","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

研究环上三角形弱非线性环(双环)的终止证明问题 \(\mathcal {S}\) 像 \(\mathbb {Z}\), \(\mathbb {Q}\),或 \(\mathbb {R}\). 这种循环的守卫是一个任意的无量词的布尔公式(可能是非线性的)多项式方程,而主体是这种形式的单个赋值 \(\begin{bmatrix} x_1\\ \ldots \\ x_d \end{bmatrix} \leftarrow \begin{bmatrix} c_1 \cdot x_1 + p_1\\ \ldots \\ c_d \cdot x_d + p_d \end{bmatrix}\) 每个人 \(x_i\) 是一个变量, \(c_i \in \mathcal {S}\),每个 \(p_i\) 一个(可能是非线性的)多项式是否结束 \(\mathcal {S}\) 还有变量 \(x_{i+1},\ldots ,x_{d}\). 我们证明终止问题可以简化为的一阶理论的存在片段 \(\mathcal {S}\). For循环 \(\mathbb {R}\),我们的约简意味着终止的可决性。For循环 \(\mathbb {Z}\) 和 \(\mathbb {Q}\),证明了非终止的半可判定性。在此基础上,提出了一种将非双环转化为双环的变换。然后,如果转换后的循环在的特定子集上终止,则原始循环终止 \(\mathbb {R}\),这也可以通过我们的还原来验证。此外,我们形式化了一种在我们的设置中线性化(更新)双环的技术,并分析了其复杂性。在此基础上,我们证明了双环终止问题的复杂度界,以及两类总能转化为双环的重要环的紧界。最后,我们证明了一类重要的线性环路。其中,我们的决策过程得到了一个有效的终止分析过程,即决定终止的参数化复杂度为多项式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Termination of triangular polynomial loops

Termination of triangular polynomial loops

We consider the problem of proving termination for triangular weakly non-linear loops (twn-loops) over some ring \(\mathcal {S}\) like \(\mathbb {Z}\), \(\mathbb {Q}\), or \(\mathbb {R}\). The guard of such a loop is an arbitrary quantifier-free Boolean formula over (possibly non-linear) polynomial inequations, and the body is a single assignment of the form \(\begin{bmatrix} x_1\\ \ldots \\ x_d \end{bmatrix} \leftarrow \begin{bmatrix} c_1 \cdot x_1 + p_1\\ \ldots \\ c_d \cdot x_d + p_d \end{bmatrix}\) where each \(x_i\) is a variable, \(c_i \in \mathcal {S}\), and each \(p_i\) is a (possibly non-linear) polynomial over \(\mathcal {S}\) and the variables \(x_{i+1},\ldots ,x_{d}\).

We show that the question of termination can be reduced to the existential fragment of the first-order theory of \(\mathcal {S}\). For loops over \(\mathbb {R}\), our reduction implies decidability of termination. For loops over \(\mathbb {Z}\) and \(\mathbb {Q}\), it proves semi-decidability of non-termination.

Furthermore, we present a transformation to convert certain non-twn-loops into twn-form. Then the original loop terminates iff the transformed loop terminates over a specific subset of \(\mathbb {R}\), which can also be checked via our reduction. Moreover, we formalize a technique to linearize (the updates of) twn-loops in our setting and analyze its complexity. Based on these results, we prove complexity bounds for the termination problem of twn-loops as well as tight bounds for two important classes of loops which can always be transformed into twn-loops.

Finally, we show that there is an important class of linear loops. where our decision procedure results in an efficient procedure for termination analysis, i.e., where the parameterized complexity of deciding termination is polynomial.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Formal Methods in System Design
Formal Methods in System Design 工程技术-计算机:理论方法
CiteScore
2.00
自引率
12.50%
发文量
16
审稿时长
>12 weeks
期刊介绍: The focus of this journal is on formal methods for designing, implementing, and validating the correctness of hardware (VLSI) and software systems. The stimulus for starting a journal with this goal came from both academia and industry. In both areas, interest in the use of formal methods has increased rapidly during the past few years. The enormous cost and time required to validate new designs has led to the realization that more powerful techniques must be developed. A number of techniques and tools are currently being devised for improving the reliability, and robustness of complex hardware and software systems. While the boundary between the (sub)components of a system that are cast in hardware, firmware, or software continues to blur, the relevant design disciplines and formal methods are maturing rapidly. Consequently, an important (and useful) collection of commonly applicable formal methods are expected to emerge that will strongly influence future design environments and design methods.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信