Learning to Synthesize Relational Invariants

4Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

We propose a method for synthesizing invariants that can help verify relational properties over two programs or two different executions of a program. Applications of such invariants include verifying functional equivalence, non-interference security, and continuity properties. Our method generates invariant candidates using syntax guided synthesis (SyGuS) and then filters them using an SMT-solver based verifier, to ensure they are both inductive invariants and sufficient for verifying the property at hand. To improve performance, we propose two learning based techniques: a logical reasoning (LR) technique to determine which part of the search space can be pruned away, and a reinforcement learning (RL) technique to determine which part of the search space to prioritize. Our experiments on a diverse set of relational verification benchmarks show that our learning based techniques can drastically reduce the search space and, as a result, they allow our method to generate invariants of a higher quality in much shorter time than state-of-the-art invariant synthesis techniques.

References Powered by Scopus

An axiomatic basis for computer programming

3601Citations
N/AReaders
Get full text

Compiler Transformations for High-Performance Computing

537Citations
N/AReaders
Get full text

Syntax-guided synthesis

461Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Certifying the Fairness of KNN in the Presence of Dataset Bias

2Citations
N/AReaders
Get full text

Discovering Likely Invariants for Distributed Systems Through Runtime Monitoring and Learning

0Citations
N/AReaders
Get full text

Extraction and empirical evaluation of GUI-level invariants as GUI Oracles in mobile app testing

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Wang, J., & Wang, C. (2022). Learning to Synthesize Relational Invariants. In ACM International Conference Proceeding Series. Association for Computing Machinery. https://doi.org/10.1145/3551349.3556942

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 5

100%

Readers' Discipline

Tooltip

Computer Science 5

100%

Save time finding and organizing research with Mendeley

Sign up for free