ArXiv TLDR

Scalable Deductive Verification of Data-Level Parallel Programs

🐦 Tweet
2605.13616

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

cs.SE

TLDR

This paper introduces techniques to significantly improve the scalability and reduce verification time for deductive verification of data-level parallel programs.

Key contributions

  • Introduces a novel rewrite technique for quantifier expressions to generate suitable triggers.
  • Simplifies reasoning about overlapping arrays with new non-aliasing and immutability constructs.
  • Achieves an average 9x (up to 150x) reduction in verification time for GPU kernels.
  • Enables verification of previously unobtainable results in complex data-level programs.

Why it matters

Deductive verification of parallel programs is challenging due to scalability issues. This work significantly improves the efficiency and feasibility of verifying data-level parallel programs, especially those on GPUs. It enables verifying complex systems previously deemed too difficult.

Original Abstract

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.

📬 Weekly AI Paper Digest

Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.