A Compositional Proof Method of Partial Correctness for Normal Logic Programs

نویسندگان

  • Gérard Ferrand
  • Arnaud Lallouet
چکیده

This report presents a new proof method of partial correctness for logic programs with negation based on a proof modularity. We prove in a com-positional way that Fitting's or the well-founded semantics of the program is included in a speciication. We give conditions for an abstract semantics to be compositional and we base our proof method on this property. We present also conservative but compositional extensions of Fitting's and of the well-founded semantics. As an illustration, an application is made to the module system of the GG odel language. Moreover, our method is suitable for incremental validation since it does not require all parts of the program to be implemented. This document is an extended version of 9] which incorporates the missing proofs and a counterexample. R esum e Ce rapport pr esente une nouvelle m ethode de preuve de correction partielle pour des programmes logiques avec n egation bas ee sur des preuves mod-ulaires. Nous montrons de faa con compositionelle que la s emantique bien-fond ee ou la s emantique de Fitting d'un programme est incluse dans une sp eciication. Nous donnons des conditions pour qu'une s emantique ab-straite soit compositionelle et nous basons notre m ethode de preuve sur cette propri et e. Nous pr esentons egalement des extensions compositionelles et conservatives de la s emantique bien-fond ee et de la s emantique de Fitting. En guise d'illustration, une application est faite au syst eme de modules du langage GG odel. De plus, notre m ethode convient pour la validation incr e-mantale car elle ne n ecessite pas que la totalit e du programme soit implant e. Ce document est une version etendue de 9] qui comprend les preuves man-quantes et un contre-exemple.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Universit a Di Pisa Veriication of Logic Programs Veriication of Logic Programs

We propose a proof method in the style of Hoare's logic, aimed at providing a unifying framework for the veriication of logic and Prolog programs with respect to their speciications. The method, which relies on purely declarative reasoning, has been designed as a trade-oo between expressive power and ease of use. On the basis of a few simple principles, we reason uniformly on several properties...

متن کامل

Correctness of logic programs using proof schemes

The correctness of logic programs which are constructed by a schema-based method is presented in this paper. This schema-based method constructs typed, moded logic programs by stepwise top-down design using five program schemata, data types and modes. Correctness proofs in this approach are guided by the constructed logic programs. A proof scheme is proposed for each program schema. It is claim...

متن کامل

Constructing the Views Framework

The views framework of Dinsdale-Young and others unifies several compositional techniques for reasoning about concurrent programs. This paper uses simple mathematics to construct the views framework incrementally from first principles. The result is a model for the views framework, which can also be understood as an independent theory of concurrent programs. Along the lines of “sequential progr...

متن کامل

A Proof-Checker for Dynamic Logic

We consider the problem of getting a computer to follow reasoning conducted in dynamic logic. This is a recently developed logic of programs that subsumes most existing f irstorder logics of programs that manipulate their environment, including Floyd's and Hoare's logics of partial correctness and Manna and Waldinger's logic of total correctness. Dynamic logic is more closely related to classic...

متن کامل

It Is Declarative on Reasoning about Logic Programs

We advocate using the declarative reading in proving partial correctness of logic programs, when the properties of interest are declarative. Some recently published work presents unnecessarily complicated methods for proving such properties. These approaches refer to the operational semantics, as they consider calls and successes of the predicates of the program during LD-resolution. We show th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995