arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1605.09442cs.LO
收藏

弦理论的不可判定性、长度上的线性算术和弦数转换

Undecidability of a Theory of Strings, Linear Arithmetic over Length, and String-Number Conversion

Vijay Ganesh, Murphy Berzish

摘要:

近年来,在形式化验证、软件工程和安全社区中,对字符串方程、长度函数和字符串数转换谓词的理论有相当大的兴趣。这些理论的SMT求解器,如Z3 str 2,CVC 4和S3,在暴露字符串密集型程序中的安全漏洞方面具有巨大的实用价值。此外,在弦理论的背景下,还有许多开放的可判定性和复杂性理论问题,这些问题引起了数学家的极大兴趣。基于上述应用和未解决的问题,我们研究了弦方程的一阶、多排序、无量词理论$T_{s,n}$,弦长度上的线性算术,以及弦数转换谓词,并证明了三个定理.首先,我们证明了理论$T_{s,n}$的可满足性问题是不可判定的,通过一个带有幂谓词的自然数上的线性算术理论的约化,我们称之为幂算术。其次,我们表明,字符串-数字转换谓词是可表达的权力谓词,字符串方程和长度函数。这个第二个定理,结合我们提出的不可判定性定理的约简,表明幂谓词可以用词方程和长度函数表示,当且仅当串-数值转换谓词也可以在同一片段中表示。这样的结果是非常有用的工具,在比较不同的理论的表达能力,并建立可判定性和复杂性的结果。第三,我们为$T_{s,n}$的函数和谓词提供了一个一致的公理化$Γ$。此外,我们还证明了通过$Γ$的逻辑闭包得到的理论$T_Γ$不是一个完备的理论.

英文摘要:

In recent years there has been considerable interest in theories over string equations, length function, and string-number conversion predicate within the formal verification, software engineering, and security communities. SMT solvers for these theories, such as Z3str2, CVC4, and S3, are of immense practical value in exposing security vulnerabilities in string-intensive programs. Additionally, there are many open decidability and complexity-theoretic questions in the context of theories over strings that are of great interest to mathematicians. Motivated by the above-mentioned applications and open questions, we study a first-order, many-sorted, quantifier-free theory $T_{s,n}$ of string equations, linear arithmetic over string length, and string-number conversion predicate and prove three theorems. First, we prove that the satisfiability problem for the theory $T_{s,n}$ is undecidable via a reduction from a theory of linear arithmetic over natural numbers with power predicate, we call power arithmetic. Second, we show that the string-numeric conversion predicate is expressible in terms of the power predicate, string equations, and length function. This second theorem, in conjunction with the reduction we propose for the undecidability theorem, suggests that the power predicate is expressible in terms of word equations and length function if and only if the string-numeric conversion predicate is also expressible in the same fragment. Such results are very useful tools in comparing the expressive power of different theories, and for establishing decidability and complexity results. Third, we provide a consistent axiomatization $Γ$ for the functions and predicates of $T_{s,n}$. Additionally, we prove that the theory $T_Γ$ , obtained via logical closure of $Γ$, is not a complete theory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑