Learning to Synthesize Relational Invariants

被引:3
|
作者
Wang, Jingbo [1 ]
Wang, Chao [1 ]
机构
[1] Univ Southern Calif, Los Angeles, CA 90089 USA
关键词
PROGRAM SYNTHESIS; TRANSFORMATIONS; INFERENCE; CHECKING;
D O I
10.1145/3551349.3556942
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 showthat 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.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] PERCEPTION OF RELATIONAL INVARIANTS BY NEWBORNS
    ANTELL, SE
    CARON, AJ
    MYERS, RS
    DEVELOPMENTAL PSYCHOLOGY, 1985, 21 (06) : 942 - 948
  • [2] QUANTITATIVE, QUALITATIVE AND RELATIONAL INVARIANTS
    VERGNAUD, G
    BULLETIN DE PSYCHOLOGIE, 1977, 30 (3-9): : 387 - 389
  • [3] Automatic Inference of Relational Object Invariants
    Su, Yusen
    Navas, Jorge A.
    Gurfinkel, Arie
    Garcia-Contreras, Isabel
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2025, PT I, 2025, 15529 : 214 - 236
  • [4] Property Directed Inference of Relational Invariants
    Mordvinov, Dmitry
    Fedyukovich, Grigory
    2019 FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD), 2019, : 152 - 160
  • [5] Learning to Synthesize
    Xiong, Yingfei
    Wang, Bo
    Fu, Guirong
    Zang, Linfei
    2018 ACM/IEEE 4TH INTERNATIONAL GENETIC IMPROVEMENT WORKSHOP (GI@ICSE 2018), 2018, : 37 - 44
  • [6] THE TIMING OF ARTICULATORY GESTURES - EVIDENCE FOR RELATIONAL INVARIANTS
    TULLER, B
    KELSO, JAS
    JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 1984, 76 (04): : 1030 - 1036
  • [7] Precise relational invariants through strategy iteration
    Gawlitza, Thomas
    Seidl, Helmut
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2007, 4646 : 23 - +
  • [8] Safety Verification and Universal Invariants for Relational Action Bases
    Ghilardi, Silvio
    Gianola, Alessandro
    Montali, Marco
    Rivkin, Andrey
    PROCEEDINGS OF THE THIRTY-SECOND INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2023, 2023, : 3248 - 3257
  • [9] Learning to Synthesize Motion Blur
    Brooks, Tim
    Barron, Jonathan T.
    2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 6833 - 6841
  • [10] Learning relational options for inductive transfer in relational reinforcement learning
    Croonenborghs, Tom
    Driessens, Kurt
    Bruynooghe, Maurice
    INDUCTIVE LOGIC PROGRAMMING, 2008, 4894 : 88 - 97