Title :
Building verification condition generators by compositional extensions
Author :
Prasetya, I.S.W.B. ; Fakultas, A.A. ; Vos, T.E.J. ; van Leeuwen, A.
Author_Institution :
Inst. of Inf. and Comp. Sci., Utrecht Univ., Netherlands
Abstract :
This paper describes a technique that combines algebraic datatypes and monads to build derivative verification condition generators (VCGs) by extending a base VCG. Extensions are compositional and can be stacked while the base VCG is left unchanged. The technique can be used to build a set of weaker VCGs to do light weight verification. Moreover, it enables us to add an ability to generate validation traces. The paper explains the technique through an example that extends a simple language L0 with new constructs to handle exceptions. To deal with exceptions, not only the logic of L0 has to be extended with new rules, its structure also needs to be changed. We show that using our technique the extension can be implemented in a simple and compositional way, without any change to the underlying logic.
Keywords :
exception handling; formal languages; formal logic; program verification; L0 logic; algebraic datatypes; compositional extensions; derivative verification condition generators; monads; validation traces; Algebra; Delay; Java; Logic functions; Logic programming; Software engineering; modular verification; verification technique; verification tool;
Conference_Titel :
Software Engineering and Formal Methods, 2005. SEFM 2005. Third IEEE International Conference on
Print_ISBN :
0-7695-2435-4
DOI :
10.1109/SEFM.2005.11