|
This article is cited in 3 scientific papers (total in 3 papers)
Automation of formal verification of programs in the Pifagor language
M. S. Ushakova, A. I. Legalov Siberian Federal University, Institute of Space and Information Technology, 26 Kirenskogo street, Krasnoyarsk, 660074, Russia
Abstract:
Nowadays, due to software sophistication, programs correctness is more often proved by means of formal verification. The method of deduction based on Hoare logic could be used for any programming language and it has the capability of partial automation of the proof process. However, the method of deduction is not widely used for verification of parallel programs because of high complexity of the process. The usage of the functional data-flow paradigm of parallel programming allows to decrease the complexity of the proof process. In this article a proof process of correctness of functional data-flow parallel programs in the Pifagor language is considered. The proof process of a program correctness is considered as a tree where each node is a program data-flow graph, whose edges are marked with formulas in a specification language. The tree root is the initial program data-flow graph with a precondition and a postcondition, which describe restrictions on input variables and correctness conditions of the result of the program execution, respectively. Basic transformations of the data-flow graph are edge marking, equivalent transformation, splitting, folding of the program. By means of these transformations the data-flow graph is transformed and finally is reduced to a set of formulas in the specification language. If all these formulas are identically true, the program is correct. Several modules is distinguished in the system: “Program correctness prover”, “Axioms and theorems library management system” and “Errors analysis and output of information about errors”. According to this architecture, the toolkit for supporting formal verification was developed. The main functionality of the system implementation is considered.
Keywords:
functional data-flow parallel programming, Pifagor programming language, programs formal verification, toolkit for supporting formal verification.
Received: 18.05.2015
Citation:
M. S. Ushakova, A. I. Legalov, “Automation of formal verification of programs in the Pifagor language”, Model. Anal. Inform. Sist., 22:4 (2015), 578–589
Linking options:
https://www.mathnet.ru/eng/mais461 https://www.mathnet.ru/eng/mais/v22/i4/p578
|
|