arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.13616cs.SE
收藏

可扩展的数据级并行程序演绎验证

Scalable Deductive Verification of Data-Level Parallel Programs

Eindhoven University of Technology(埃因霍温理工大学);University of Twente(特文特大学)

Lars B. van den Haak, Anton Wijs, Marieke Huisman

AI总结:

本文提出改进数据级程序数组和矩阵演绎验证可扩展性的技术,通过重写表达式生成合适触发器,简化数组重叠推理,提升验证效率。

摘要:

本文介绍了几种技术,以提高数组和矩阵上数据级程序的演绎验证的可扩展性。首先,我们引入了一种技术,将带有(嵌套)量词的表达式重写,从而生成适合这些表达式的触发器。我们已在定理证明器中证明了这种重写技术的正确性。其次,通过提供规范构造来指示和验证两个数组不是别名或不可变,从而可以建模为数学序列,使重叠数组的推理更容易。所有我们的技术都实现于VerCors程序验证器中。我们通过大量的实验展示了这些技术如何提高可扩展性。使用这些技术对一组典型的GPU内核进行验证,平均验证时间减少了9倍,最坏情况达到150倍更快。此外,将这些技术应用于早期实验和射电望远镜流水线的早期案例研究,使之前无法获得的验证结果得以实现,并显著减少了验证时间。

英文摘要:

This paper introduces several techniques that improve the scalability of the deductive verification of data-level programs working on arrays and matrices. First of all, we introduce a technique to rewrite expressions with (nested) quantifiers, so suitable triggers can be generated for these expressions. We have proven this rewrite technique correct in a theorem prover. Second, we make reasoning about potentially overlapping arrays easier, by providing specification constructs to indicate and verify that two arrays are not aliases, or that they are immutable, so they can be modelled as mathematical sequences. All our techniques are implemented in the VerCors program verifier. We illustrate how our techniques improve scalability through a large number of experiments. Using our techniques on a set of typical GPU kernels, we achieve a reduction of verification time by, on average, a factor of 9, with outliers being up to 150 times faster. Additionally, applying these techniques to earlier experiments and an earlier case study of a radio telescope pipeline permitted the verification of results which were previously unobtainable and significantly reduced the verification time.

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

↑