mlsanityData to 14 Oct 2026

Verification Modulo Tested Library Contracts

arXiv 2604.15533 ↗First posted 16 Apr 2026cs.PL cs.LG cs.LOcited by 0

Not on the map. Why?

Abstract (arXiv)

We consider the problem of verification modulo tested library contracts as a step towards automating the verification of client programs that use complex libraries. We formulate this problem as the synthesis of modular contracts for the library methods used by the client that are adequate to prove the client correct, and that also pass the scrutiny of a testing engine that tests the library against these contracts. We also consider a new form of method contracts called contextual contracts that arise in this setting that hold in the context of the client program, and can often be simpler and easier to infer than classical modular contracts. We provide a counterexample-guided learning framework to solve this problem, in which the synthesizer interacts with a constraint solver as well as the testing engine in order to infer adequate modular/contextual method contracts and inductive invariants for the client. The main synthesis engines we use are generalizing CHC solvers that are realized using ICE learning algorithms. We realize this framework in a tool called DUALIS and show its efficacy on benchmarks where clients call large libraries.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 57 references that are in the map. First posted on arXiv 16 Apr 2026.

Builds on

9 of 57 references.

References · 9

  1. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  2. 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 58
  3. 2014SMT-based Model Checking for Recursive Programscited by 16
  4. 2017Horn-ICE Learning for Synthesizing Invariants and Contractscited by 11
  5. 2020RustHorn: CHC-based Verification for Rust Programs (full version)cited by 5
  6. 2020Data-Driven Inference of Representation Invariantscited by 4
  7. 2015Compositional Verification of Procedural Programs using Horn Clauses over Integers and Arrayscited by 3
  8. 2019Fifty years of Hoare's Logiccited by 2
  9. 2021Data-Driven Abductive Inference of Library Specificationscited by 2

Built on by

Not cited yet.