Logic Programs Viewed as Modular Speciications

نویسنده

  • Stefan Brass
چکیده

In this paper, we add a module system to supernormal default speciications (which have a circumscription-like \minimal model" semantics). Our intention is to formalize that certain rules deene certain elementary facts; we do not consider the more syntactical side of modules (such as the hiding of names). Logic programs can be naturally translated into this system by taking the head literal as the deened part of a rule. Our main results are criteria for the equivalence of a logic program and a modular speciication. Our approach explicitly contains the module information given by logic programming rules, so it should lead to a better understanding of their semantics. Additionally, it can be seen as a common generalization of logic programming and supernormal default logic; it supports the knowledge representation features of both.

برای دانلود متن کامل این مقاله و بیش از 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...

متن کامل

A Formal Approach to Deductive Synthesis of Constraint Logic Programs

Formal program synthesis is concerned with deriving programs that are (formally) correct wrt their speciications, and is therefore of crucial importance to formal development of veriiably correct software. Declarative paradigms such as logic programming are particularly suitable for program synthesis, and we have formulated a formal approach to synthesising standard logic programs. Our approach...

متن کامل

Speci cation and Data Re nement in Type

We develop a type-theoretic approach to program speciication and data reene-ment and show that a type theory with a strong logical power and nice structural mechanisms provides an adequate formalism for modular development of programs and speciications. Speciication of abstract data types is considered and a notion of abstract implementation between speciications is deened in the type theory an...

متن کامل

Interpretation and Instantiation of Theories for Reasoning about Formal Speciications Interpretation and Instantiation of Theories for Reasoning about Formal Speciications

In this paper an outline is given of an approach to formally reasoning about importation , parameterisation and instantiation of speciications written in a modular extension of the Z language (called Sum). Interpretation and instantiation of theories in rst order logic are well understood. We illustrate how to use these results directly to provide a framework within which we can soundly and eec...

متن کامل

Forms of Logic Speci cations : A Preliminary Study ?

There is no universal agreement on exactly what form a spec-iication should take, what part it should play in synthesis, and what its precise relationship with the speciied program should be. In logic programming , the role of speciication is all the more unclear since logic programs are often used as executable speciications. In this paper we take the view that speciications should be set in t...

متن کامل

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


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

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

ثبت نام

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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 1992