Counterexample-Guided Polynomial Loop Invariant Generation by Lagrange Interpolation

被引:21
|
作者
Chen, Yu-Fang [1 ]
Hong, Chih-Duo [1 ]
Wang, Bow-Yaw [1 ]
Zhang, Lijun [2 ]
机构
[1] Acad Sinica, Inst Informat Sci, Taipei, Taiwan
[2] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing, Peoples R China
来源
COMPUTER AIDED VERIFICATION, PT I | 2015年 / 9206卷
关键词
SEMANTICS;
D O I
10.1007/978-3-319-21690-4_44
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We apply multivariate Lagrange interpolation to synthesizing polynomial quantitative loop invariants for probabilistic programs. We reduce the computation of a quantitative loop invariant to solving constraints over program variables and unknown coefficients. Lagrange interpolation allows us to find constraints with less unknown coefficients. Counterexample-guided refinement furthermore generates linear constraints that pinpoint the desired quantitative invariants. We evaluate our technique by several case studies with polynomial quantitative loop invariants in the experiments.
引用
收藏
页码:658 / 674
页数:17
相关论文
共 50 条
  • [21] Counterexample-Guided Correlation Algorithm for Translation Validation
    Gupta, Shubhani
    Rose, Abhishek
    Bansal, Sorav
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA):
  • [22] Counterexample-Guided Quantifier Instantiation for Synthesis in SMT
    Reynolds, Andrew
    Deters, Morgan
    Kuncak, Viktor
    Tinelli, Cesare
    Barrett, Clark
    COMPUTER AIDED VERIFICATION, CAV 2015, PT II, 2015, 9207 : 198 - 216
  • [23] A Counterexample-Guided Interpolant Generation Algorithm for SAT-based Model Checking
    Wu, Cheng-Yin
    Wu, Chi-An
    Lai, Chien-Yu
    Huang, Chung-Yang
    2013 50TH ACM / EDAC / IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2013,
  • [24] OptCE: A Counterexample-Guided Inductive Optimization Solver
    Albuquerque, Higo F.
    Araujo, Rodrigo F.
    Bessa, Iury V.
    Cordeiro, Lucas C.
    de Lima Filho, Eddie B.
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2017, 2017, 10623 : 125 - 141
  • [25] Counterexample-guided inductive synthesis for probabilistic systems
    Ceska, Milan
    Hensel, Christian
    Junges, Sebastian
    Katoen, Joost-Pieter
    FORMAL ASPECTS OF COMPUTING, 2021, 33 (4-5) : 637 - 667
  • [26] Effective Heuristics for Counterexample-Guided Abstraction Refinement
    He, Fei
    Song, Xiaoyu
    Gu, Ming
    Sun, Jiaguang
    GLSVLSI'07: PROCEEDINGS OF THE 2007 ACM GREAT LAKES SYMPOSIUM ON VLSI, 2007, : 393 - 398
  • [27] Counterexample-guided abstraction refinement for symbolic model checking
    Clarke, E
    Grumberg, O
    Jha, S
    Lu, Y
    Veith, H
    JOURNAL OF THE ACM, 2003, 50 (05) : 752 - 794
  • [28] Counterexample-guided abstraction refinement for linear programs with arrays
    Alessandro Armando
    Massimo Benerecetti
    Jacopo Mantovani
    Automated Software Engineering, 2014, 21 : 225 - 285
  • [29] Counterexample-guided abstraction refinement for symmetric concurrent programs
    Donaldson, Alastair F.
    Kaiser, Alexander
    Kroening, Daniel
    Tautschnig, Michael
    Wahl, Thomas
    FORMAL METHODS IN SYSTEM DESIGN, 2012, 41 (01) : 25 - 44
  • [30] Solving quantified linear arithmetic by counterexample-guided instantiation
    Reynolds, Andrew
    King, Tim
    Kuncak, Viktor
    FORMAL METHODS IN SYSTEM DESIGN, 2017, 51 (03) : 500 - 532