DocumentCode
2216823
Title
Dynamic synthesis of program invariants using genetic programming
Author
Cardamone, Luigi ; Mocci, Andrea ; Ghezzi, Carlo
Author_Institution
Dipt. di Elettron., e Inf. Politec. di Milano, Milan, Italy
fYear
2011
fDate
5-8 June 2011
Firstpage
624
Lastpage
631
Abstract
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 in tegrates 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.
Keywords
genetic algorithms; iterative methods; program verification; symbol manipulation; genetic programming; invariant formula; logic formulae; loop manipulating array; program comprehension; program in verification; statement execution; symbolic program manipulation; transformation rule; Arrays; Evolutionary computation; Genetic algorithms; Genetic programming; Logic arrays; Software engineering; Vegetation;
fLanguage
English
Publisher
ieee
Conference_Titel
Evolutionary Computation (CEC), 2011 IEEE Congress on
Conference_Location
New Orleans, LA
ISSN
Pending
Print_ISBN
978-1-4244-7834-7
Type
conf
DOI
10.1109/CEC.2011.5949677
Filename
5949677
Link To Document