The Automation of C Program Verification by the Symbolic Method of Loop Invariant Elimination


如何引用文章

全文:

开放存取 开放存取
受限制的访问 ##reader.subscriptionAccessGranted##
受限制的访问 订阅存取

详细

In the deductive verification of programs written in the imperative programming languages, the generation and proving of the verification conditions corresponding to loops are of particular complexity, as each of them must be provided with an invariant, whose construction is often a challenge. As a rule, the methods for the synthesis of loop invariants have a heuristic character, which complicates their application. An alternative is the symbolic loop invariant elimination method proposed by V.A. Nepomniaschy in 2005. Its idea is to represent a loop body in the form of a special replacement operation under certain constraints. Such an operation in the symbolic form expresses the loop effect, which allows introducing an inference rule for the loops without invariants into axiomatic semantics. This work is the further development of this method. It extends the proposed method of mixed axiomatic semantics for the verification of C-light programs. This extension incorporates the method for the verification of iterations over changeable arrays with the possible exit from the loop body in C-light programs. The method contains the inference rule for iterations without loop invariants. This rule has been implemented in the verification condition generator, which is a part of the automated system for the verification of C-light programs. To perform automated verification in the used ACL2 system, two algorithms, one of which generates the replacement operation in the ACL2 language, and the second generates the auxiliary lemmas resulting in the successful automated proof of the obtained verification conditions in the ACL2 system have been developed and implemented. The application of the above mentioned methods and algorithms is illustrated with an example.

作者简介

D. Kondratyev

Ershov Institute of Informatics Systems, Siberian Branch of the Russian Academy of Sciences

编辑信件的主要联系方式.
Email: apple-66@mail.ru
俄罗斯联邦, Novosibirsk, 630090

I. Maryasov

Ershov Institute of Informatics Systems, Siberian Branch of the Russian Academy of Sciences

编辑信件的主要联系方式.
Email: ivm@iis.nsk.su
俄罗斯联邦, Novosibirsk, 630090

V. Nepomniaschy

Ershov Institute of Informatics Systems, Siberian Branch of the Russian Academy of Sciences

编辑信件的主要联系方式.
Email: vnep@iis.nsk.su
俄罗斯联邦, Novosibirsk, 630090

补充文件

附件文件
动作
1. JATS XML

版权所有 © Allerton Press, Inc., 2019