arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.01713cs.LOcs.PL
收藏

结合类型检查与集合约束求解以改进自动化软件验证

Combining Type Checking and Set Constraint Solving to Improve Automated Software Verification

Maximiliano Cristiá, Gianfranco Rossi

AI总结:

本文通过为{log}语言定义类型系统并实现类型检查器,将类型检查与集合约束求解结合,提高了软件验证的自动化程度,并通过两个工业案例验证了其有效性。

摘要:

本文展示了如何将描述性类型检查与约束求解相结合,以提高软件验证过程中的自动化程度。为此,我们定义了一个类型系统,并为{log}(读作“setlog”)实现了一个类型检查器。{log}是一种基于集合论的约束逻辑编程(CLP)语言和可满足性求解器。因此,我们按以下步骤进行:a) 为{log}定义了一个类型系统;b) 证明了该约束求解器相对于该类型系统是安全的;c) 给出了具体类型检查器的实现;d) 讨论了如何将类型检查与集合约束求解相结合以提高软件验证的自动化程度;以及 f) 展示了两个工业强度的案例研究,其中这种结合取得了非常好的结果。本文正在考虑发表于《逻辑编程理论与实践》(TPLP)。

英文摘要:

In this paper we show how prescritive type checking and constraint solving can be combined to increase automation during software verification. We do so by defining a type system and implementing a typechecker for {log} (read `setlog'), a Constraint Logic Programming (CLP) language and satisfiability solver based on set theory. Hence, we proceed as follows: a) a type system for {log} is defined; b) the constraint solver is proved to be safe w.r.t. the type system; c) the implementation of a concrete typechecker is presented; d) the integration of type checking and set constraint solving to increase automation during software verification is discussed; and f) two industrial-strength case studies are presented where this combination is used with very good results. Under consideration in Theory and Practice of Logic Programming (TPLP)

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

↑