paper-with-me

Papers

Verification Modulo Tested Library Contracts

2026-04-16 · Abhishek Uppar, Omar Muhammad, Sumanth Prabhu, Deepak D'Souza, Madhusudan P, Adithya Murali 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.

📄 PDF Abstract BibTeX arXiv:2604.15533

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

An AI Approach to Verified Production Cryptographic Libraries

2026-08-02 · Chuyue Sun, Su Fong, Zhiyi Kuang, Yizheng Jiao 외 arxiv

Cryptographic code is critical infrastructure that must be correct, yet formally verifying production libraries remains difficult. Existing language-model proof systems solve isolated obligations with specifications and …

VASO: Formally Verifiable Self-Evolving Skills for Physical AI Agents

2026-06-03 · Yunhao Yang, Neel P. Bhatt, Kevin Wang, Samuel Tetteh 외 arxiv

Reusable robot skills are becoming the basic units through which embodied agents turn open-ended instructions into long-horizon physical behavior. We argue that, while foundation models have collapsed the cost of creatin…

Satisfiability and Synthesis Modulo Oracles

2021-07-28 · Elizabeth Polgreen, Andrew Reynolds, Sanjit A. Seshia

In classic program synthesis algorithms, such as counterexample-guided inductive synthesis (CEGIS), the algorithms alternate between a synthesis phase and an oracle (verification) phase. Many synthesis algorithms use a w…

Program Synthesis

Beyond Postconditions: Can Large Language Models infer Formal Contracts for Automatic Software Verification?

2025-10-14 · Cedric Richter, Heike Wehrheim arxiv

Automatic software verifiers have become increasingly effective at the task of checking software against (formal) specifications. Yet, their adoption in practice has been hampered by the lack of such specifications in re…

Verifying Contracts for Perturbed Control Systems using Linear Programming

2021-11-01 · Miel Sharf, Bart Besselink, Karl Henrik Johansson

Verifying specifications for large-scale control systems is of utmost importance, but can be hard in practice as most formal verification methods can not handle high-dimensional dynamics. Contract theory has been propose…

Autonomous Driving