Data-driven Verification of Procedural Programs with Integer Arrays

Ahmed Bouajjani, Wael-Amine Boutglay, Peter Habermehl
5/21/2025
1 citation
cs.PLcs.LG

No official code found. Best implementation: btwael/tapis (1 star, SMT, GPL-3.0, last commit 2026-04-28).

Abstract

We address the problem of verifying automatically procedural programs manipulating parametric-size arrays of integers, encoded as a constrained Horn clauses solving problem. We propose a new algorithmic method for synthesizing loop invariants and procedure pre/post-conditions represented as universally quantified first-order formulas constraining the array elements and program variables.

Show full abstract

We adopt a data-driven approach that extends the decision tree Horn-ICE framework to handle arrays. We provide a powerful learning technique based on reducing a complex classification problem of vectors of integer arrays to a simpler classification problem of vectors of integers. The obtained classifier is generalized to get universally quantified invariants and procedure pre/post-conditions. We have implemented our method and shown its efficiency and competitiveness w.r.t. state-of-the-art tools on a significant benchmark.

View on arXivView PDF

Code Implementations(1)

btwael/tapisCommunity65%
GPL-3.0

Tool from CAV'25 paper "Data-driven Verification of Procedural Programs with Integer Arrays"

10SMT, CApr 13, 20257 months agoGPL-3.0

Similar Papers

Cite this paper

@article{bouajjani2025datadriven,
  title  = {Data-driven Verification of Procedural Programs with Integer Arrays},
  author = {Ahmed Bouajjani and Wael-Amine Boutglay and Peter Habermehl},
  year   = {2025},
  eprint = {2505.15958},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15958v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15958.svg)](https://codeofpaper.com/paper/2505.15958)

Discussion