arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.03202cs.PLcs.LO
收藏

程序分析的符号计算和自动推理

Symbolic Computation and Automated Reasoning for Program Analysis

Laura Kovacs

摘要:

本讲座介绍了如何结合符号计算技术与一阶定理证明可以用于解决自动化程序分析的一些挑战,特别是用于生成和证明软件的逻辑复杂部分的属性。讲座将首先介绍如何计算机代数方法,如Groebner基础计算,量词消去和代数递归求解,帮助我们推断程序循环的性质与非平凡的算术。通过我们的工作推断出的典型属性是循环不变式和约束循环迭代次数的表达式。谈话将描述我们的工作,以产生一阶属性的程序与无界数据结构,如数组。为此,我们使用基于饱和度的一阶定理证明和扩展一阶证明支持程序分析。由于程序分析需要结合数据结构的一阶理论进行推理,因此讲座还讨论了一阶定理证明的新功能,如归纳推理和内置的布尔排序。这些扩展使我们能够直接在一阶逻辑中表达程序属性,从而使用进一步的一阶定理证明器来推理程序属性。

英文摘要:

This talk describes how a combination of symbolic computation techniques with first-order theorem proving can be used for solving some challenges of automating program analysis, in particular for generating and proving properties about the logically complex parts of software. The talk will first present how computer algebra methods, such as Groebner basis computation, quantifier elimination and algebraic recurrence solving, help us in inferring properties of program loops with non-trivial arithmetic. Typical properties inferred by our work are loop invariants and expressions bounding the number of loop iterations. The talk will then describe our work to generate first-order properties of programs with unbounded data structures, such as arrays. For doing so, we use saturation-based first-order theorem proving and extend first-order provers with support for program analysis. Since program analysis requires reasoning in the combination of first-order theories of data structures, the talk also discusses new features in firstorder theorem proving, such as inductive reasoning and built-in boolean sort. These extensions allow us to express program properties directly in first-order logic and hence use further first-order theorem provers to reason about program properties.

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

↑