Skip to main navigation Skip to search Skip to main content

Learning the boundary of inductive invariants

  • Certora Inc.

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

We study the complexity of invariant inference and its connections to exact concept learning. We define a condition on invariants and their geometry, called the fence condition, which permits applying theoretical results from exact concept learning to answer open problems in invariant inference theory. The condition requires the invariant's boundary-the states whose Hamming distance from the invariant is one-to be backwards reachable from the bad states in a small number of steps. Using this condition, we obtain the first polynomial complexity result for an interpolation-based invariant inference algorithm, efficiently inferring monotone DNF invariants with access to a SAT solver as an oracle. We further harness Bshouty's seminal result in concept learning to efficiently infer invariants of a larger syntactic class of invariants beyond monotone DNF. Lastly, we consider the robustness of inference under program transformations. We show that some simple transformations preserve the fence condition, and that it is sensitive to more complex transformations.

Original languageEnglish
Article number15
JournalProceedings of the ACM on Programming Languages
Volume5
Issue numberPOPL
DOIs
StatePublished - Jan 2021

Funding

FundersFunder number
Horizon 2020 Framework Programme759102
European Research Council
United States-Israel Binational Science Foundation2016260
Israel Science Foundation1810/18
Tel Aviv University
PAZY Foundation347853669

    Keywords

    • Hamming geometry
    • complexity
    • exact learning
    • interpolation
    • invariant inference

    Fingerprint

    Dive into the research topics of 'Learning the boundary of inductive invariants'. Together they form a unique fingerprint.

    Cite this