Dynamic Synthesis of Program Invariants using Genetic Programming

被引:0
|
作者
Cardamone, Luigi [1 ]
Mocci, Andrea [1 ]
Ghezzi, Carlo [1 ]
机构
[1] Politecn Milan, Dipartimento Elettron & Informaz, I-20133 Milan, Italy
关键词
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Symbolic program manipulation plays a key role in program comprehension and verification. Logic formulae are used to represent the program's state and transformation rules describe the effect of statement executions on the program's state. A well-known problem arises in the case of loops, since the number of iterations is generally unknown. The effect of a loop is therefore abstracted into a loop invariant, whose derivation cannot in general be automated and requires human ingenuity. In this paper, we present a preliminary approach that integrates genetic programming into the synthesis of invariant formula that describes the behavior of a loop. We present a specific representation of formulae that works well with loops manipulating arrays. The technique has been validated with a set of relevant examples with increasing complexity. The preliminary results are promising and show the feasibility of our approach.
引用
收藏
页码:624 / 631
页数:8
相关论文
共 50 条
  • [21] Synthesis of Spatio-Temporal Descriptors for Dynamic Hand Gesture Recognition Using Genetic Programming
    Liu, Li
    Shao, Ling
    2013 10TH IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON AUTOMATIC FACE AND GESTURE RECOGNITION (FG), 2013,
  • [22] PROGRAM OPTIMIZATION USING INVARIANTS
    KATZ, S
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (05) : 378 - 389
  • [23] Automated program repair using genetic programming and model checking
    Zahra Zojaji
    Behrouz Tork Ladani
    Alireza Khalilian
    Applied Intelligence, 2016, 45 : 1066 - 1088
  • [24] Automated program repair using genetic programming and model checking
    Zojaji, Zahra
    Ladani, Behrouz Tork
    Khalilian, Alireza
    APPLIED INTELLIGENCE, 2016, 45 (04) : 1066 - 1088
  • [25] Research summary for dynamic detection of program invariants
    Univ of Washington, Seattle, WA, United States
    Proc Int Conf Software Eng, (718-719):
  • [26] Extending Program Synthesis Grammars for Grammar-Guided Genetic Programming
    Forstenlechner, Stefan
    Fagan, David
    Nicolau, Miguel
    O'Neill, Michael
    PARALLEL PROBLEM SOLVING FROM NATURE - PPSN XV, PT I, 2018, 11101 : 197 - 208
  • [27] A Grammar Design Pattern for Arbitrary Program Synthesis Problems in Genetic Programming
    Forstenlechner, Stefan
    Fagan, David
    Nicolau, Miguel
    O'Neill, Michael
    GENETIC PROGRAMMING, EUROGP 2017, 2017, 10196 : 262 - 277
  • [28] Choose Your Programming Copilot A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programming
    Sobania, Dominik
    Briesch, Martin
    Rothlauf, Franz
    PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'22), 2022, : 1019 - 1027
  • [29] Automated synthesis of computational circuits using genetic programming
    Koza, JR
    Bennett, FH
    John, J
    Dunlap, F
    Keane, MA
    Andre, D
    PROCEEDINGS OF 1997 IEEE INTERNATIONAL CONFERENCE ON EVOLUTIONARY COMPUTATION (ICEC '97), 1997, : 447 - 452
  • [30] Practical passive filter synthesis using genetic programming
    Hou, HS
    Chang, SJ
    Su, YK
    IEICE TRANSACTIONS ON ELECTRONICS, 2005, E88C (06): : 1180 - 1185