Structural Properties of Logic Programs

نویسنده

  • James Harland
چکیده

Miller has shown that disjunctions are not necessary in a large fragment of hereditary Harrop formulae, a class of formulae which properly includes Horn clauses. In this paper we extend this result to include existential quantiications, so that for each program D, there is a program D 0 which is operationally equivalent, but contains no disjunctions or existential quantiications. We may think of this process as deriving a normal form for the program. This process is carried out by pushing the connectives outwards from the body of a clause, and this process leads to a normal form for goals as well. The properties of the search process used to nd uniform proofs of goals (which generalises SLD-resolution) together with the normal form allow successful goals to be converted into program clauses, and so we may add successful goals to the program. The stored form of the goal requires a larger class of formulae, i.e. full rst-order hereditary Harrop formulae, and so this leads to a natural separation into an object level and a meta-level. This separation seems intuitively natural and to correspond to aspects of programming methodology. Finally we discuss some possibilities for amalgamation of the object and meta-level languages.

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

ثبت نام

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

منابع مشابه

Using Nested Logic Programs for Answer Set Programming

We present a general method to improve computation of answer sets by analyzing structural properties of normal logic programs. Therefore we use labeled directed graphs associated to normal programs, which can be utilized to compute answer sets. The basic idea is to detect special subgraphs of those graphs corresponding to structural properties of normal programs and transform them into simpler ...

متن کامل

Logic Programs with Abstract Constraints: Representaton, Disjunction and Complexities

We study logic programs with arbitrary abstract constraint atoms, called c-atoms. As a theoretical means to analyze program properties, we investigate the possibility of unfolding these programs to logic programs composed of ordinary atoms. This approach reveals some structural properties of a program with catoms, and enables characterization of these properties based on the known properties of...

متن کامل

Composing Modal Properties of Programs with Procedures

In component based software design, formal reasoning about programs has to be compositional, allowing global, program-wide properties to be inferred from the properties of its components. The present paper addresses the problem of compositional verification of behavioural control flow properties of sequential programs with procedures, expressed in a modal logic. We use as a starting point a max...

متن کامل

Synthesizing Concurrent Programs using Answer Set Programming

We address the problem of the automatic synthesis of concurrent programs within a framework based on Answer Set Programming (ASP). The concurrent program to be synthesized is specified by providing both the behavioural and the structural properties it should satisfy. Behavioural properties, such as safety and liveness properties, are specified by using formulas of the Computation Tree Logic, wh...

متن کامل

An optimal semi-active thermal exchange-Fuzzy logic Controller for Structural Dynamic Control and Rehabilation

The effect of intelligent semi-active thermal exchange-fuzzy controller in structural rehabilitation by attenuating seismic responses of structural systems is investigated. In the suggested control system, MR dampers and sensors are employed as a semi-active controller. Resultant control forces of MR damper are administrated by providing external voltage supply, during the earthquakes and high ...

متن کامل

On Behavior of Interacting Agents

The complexity of multi-agent systems behavior properties is studied. The behavior properties are formulated using classical temporal logic languages and are checked relative to the transition system induced by the multi-agent system definition. Various tight complexity bounds of the behavior properties are established under natural structural and semantic restrictions on agent programs and act...

متن کامل

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


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

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

ثبت نام

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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 2007