From invariant checking to invariant inference using randomized search

被引:27
|
作者
Sharma, Rahul [1 ]
Aiken, Alex [1 ]
机构
[1] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
基金
美国国家科学基金会;
关键词
Verification; Loop invariants; Markov Chain Monte Carlo (MCMC); Satisfiability modulo theories (SMT);
D O I
10.1007/s10703-016-0248-5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We describe a general framework c2i for generating an invariant inference procedure from an invariant checking procedure. Given a checker and a language of possible invariants, c2i generates an inference procedure that iteratively invokes two phases. The search phase uses randomized search to discover candidate invariants and the validate phase uses the checker to either prove or refute that the candidate is an actual invariant. To demonstrate the applicability of c2i , we use it to generate inference procedures that prove safety properties of numerical programs, prove non-termination of numerical programs, prove functional specifications of array manipulating programs, prove safety properties of string manipulating programs, and prove functional specifications of heap manipulating programs that use linked list data structures.
引用
收藏
页码:235 / 256
页数:22
相关论文
共 50 条
  • [21] Interleaved invariant checking with dynamic abstraction
    Zhang, L
    Prasad, MR
    Hsiao, MS
    CORRECT HARDWARE DESIGN AND VERIFICATION METHODS, PROCEEDINGS, 2005, 3725 : 81 - 96
  • [22] Invariant Inference with Provable Complexity from the Monotone Theory
    Feldman, Yotam M. Y.
    Shoham, Sharon
    STATIC ANALYSIS, SAS 2022, 2022, 13790 : 201 - 226
  • [23] Causal inference by using invariant prediction: identification and confidence intervals
    Peters, Jonas
    Buhlmann, Peter
    Meinshausen, Nicolai
    JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES B-STATISTICAL METHODOLOGY, 2016, 78 (05) : 947 - 1012
  • [24] Invariant checking combining forward and backward traversal
    Slangier, C
    Sidle, T
    FORMAL METHODS IN COMPUTER-AIDED DESIGN, PROCEEDINGS, 2004, 3312 : 414 - 429
  • [25] Reparametrization invariant statistical inference and gravity
    Periwal, V
    PHYSICAL REVIEW LETTERS, 1997, 78 (25) : 4671 - 4674
  • [26] INVARIANT P-VALUES FOR MODEL CHECKING
    Evans, Michael
    Jang, Gun Ho
    ANNALS OF STATISTICS, 2010, 38 (01): : 512 - 525
  • [27] Parallel and Distributed Invariant Checking of Microcontroller Software
    Brauer, Joerg
    Schlich, Bastian
    Kowalewski, Stefan
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 254 : 45 - 63
  • [28] Invariant checking combining forward and backward traversal
    Stangier, C
    Sidle, T
    FORMAL METHODS IN COMPUTER-AIDED DESIGN, 2004, 3312 : 414 - 429
  • [29] Efficient Mutation Testing by Checking Invariant Violations
    Schuler, David
    Dallmeier, Valentin
    Zeller, Andreas
    ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2009, : 69 - 79
  • [30] Passive testing - A constrained invariant checking approach
    Ladani, BT
    Alcalde, B
    Cavalli, A
    TESTING OF COMMUNICATING SYSTEMS, PROCEEDINGS, 2005, 3502 : 9 - 22