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 条
  • [41] Inductive Invariant Checking with Partial Negative Application Conditions
    Dyck, Johannes
    Giese, Holger
    GRAPH TRANSFORMATION (ICGT 2015), 2015, 9151 : 237 - 253
  • [42] Fault Tolerance through Invariant Checking for Iterative Solvers
    Loh, Felix
    Saluja, Kewal K.
    Ramanathan, Parameswaran
    2016 29TH INTERNATIONAL CONFERENCE ON VLSI DESIGN AND 2016 15TH INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS (VLSID), 2016, : 481 - 486
  • [43] Checking Order Constraints in Collaborative Workflow with Invariant Analysis
    Ge, Jidong
    Hu, Haiyang
    WEB INFORMATION SYSTEMS ENGINEERING - WISE 2010 WORKSHOPS, 2011, 6724 : 483 - 493
  • [44] Invariant Checking for SMT-Based Systems with Quantifiers
    Redondi, Gianluca
    Cimatti, Alessandro
    Griggio, Alberto
    Mcmillan, Kenneth L.
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2024, 25 (04)
  • [45] Technical Perspective: Checking Invariant Confluence, in Whole or in Parts
    Gehrke, Johannes
    SIGMOD Record, 2020, 49 (01):
  • [46] Efficient scaling-invariant checking of timed bisimulation
    Weise, C
    Lenzkes, D
    STACS 97 - 14TH ANNUAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, 1997, 1200 : 177 - 188
  • [47] Group invariant inference and right Haar measure
    Eaton, ML
    Sudderth, WD
    JOURNAL OF STATISTICAL PLANNING AND INFERENCE, 2002, 103 (1-2) : 87 - 99
  • [48] INVARIANT PROBLEMS OF LINEAR INFERENCE AND RELATED DESIGNS
    SINHA, BK
    CALCUTTA STATISTICAL ASSOCIATION BULLETIN, 1970, 19 (75-7): : 103 - &
  • [49] Verification by parts: reusing component invariant checking results
    Mitra, S.
    Ghosh, P.
    Dasgupta, P.
    IET COMPUTERS AND DIGITAL TECHNIQUES, 2012, 6 (01): : 19 - 32
  • [50] Fault Tolerance through Invariant Checking for the Lanczos Eigensolver
    Loh, Felix
    Saluja, Kewal K.
    Ramanathan, Parameswaran
    2020 33RD INTERNATIONAL CONFERENCE ON VLSI DESIGN AND 2020 19TH INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS (VLSID), 2020, : 13 - 18