Software verification based on linear programming

  • S. Dellacherie
  • S. Devulder
  • J-L. Lambert
Conference paper

DOI: 10.1007/3-540-48118-4_11

Part of the Lecture Notes in Computer Science book series (LNCS, volume 1709)
Cite this paper as:
Dellacherie S., Devulder S., Lambert JL. (1999) Software verification based on linear programming. In: Wing J.M., Woodcock J., Davies J. (eds) FM’99 — Formal Methods. FM 1999. Lecture Notes in Computer Science, vol 1709. Springer, Berlin, Heidelberg

Abstract

We introduce a new software verification method based on plain linear programming. The problematic is being given a software S and a property P, to find whether there exists a path (i.e. a test sequence) of S satisfying P, or a proof that P is impossible to satisfy. The software S is modelized as a set of communicating automata which in turn is translated into a system of linear equations in positive numbers. Property P is then translated as extra linear equations added to this system.

We define the extended notion of flow-path (which includes the notion of path) permitting the automata to carry flows of data rather than undividable tokens. By applying linear programming in a sophisticated way to the linear system, it is possible, in time polynomial in the size of (S;P), either to display a flow-path of S satisfying P or to prove that P is impossible to satisfy.

The existence of a flow-path does not always imply the existence of a path, as it can be non-integer valued. Yet, on all our modelized examples, the study of the flow-path solution always permitted either to display a path satisfying P or to underscore a reason proving P to be impossible to satisfy.

The first part of this document introduces the theoretical background of our method. The second part sums up results of the use of our method on some systems of industrial size.

Keywords

software concurrent program distributed system formal verification validation simulation test case generation proof linear programming integer programming 

Copyright information

© Springer-Verlag Berlin Heidelberg 1999

Authors and Affiliations

  • S. Dellacherie
    • 1
  • S. Devulder
    • 1
  • J-L. Lambert
    • 1
  1. 1.GREYC, CNRS UPRESA 6072Université de CaenFrance

Personalised recommendations