scientific article; zbMATH DE number 4119669

From MaRDI portal
Publication:4733441





[For the entire collection see Zbl 0683.68003.] The \underbar{Temporal Prolog} language of the author represents a Prolog extension containing the modal operator \(\square\), and the tense (time) operators \b{P}(ast) and \b{F}(uture), defined as follows: (1) A \underbar{program} is a set of \underbar{clauses}. (2) A \underbar{clause} is either an \underbar{ordinary clause}, or an \underbar{always clause}. (3) An \underbar{always clause} is a formula \(\square A\), where A is an \underbar{ordinary clause}. (4) An \underbar{ordinary clause} is a \underbar{head} or a formula \(A\to H\), where A is the \underbar{body} and H is the \underbar{head}. (5) A \underbar{head} is either an atomic formula, or \b{F}A, or \b{P}A, where A is a conjunction of \underbar{ordinary clauses}. (6) A \underbar{body} is either an \underbar{atomic formula}, a conjunction of \underbar{bodies}, an \b{F}A or \b{P}A, where A is a \underbar{body}. (7) The \underbar{head} of the \underbar{always clause} \(\square A\) is the \underbar{head} of A. (8) A \underbar{goal} is any \underbar{body}. The temporal logic for \underbar{transitive branching time} has the following axioms and rules in the language with operators \b{P}, \b{F}. (We remind that: \b{H}q\(=\sim \underline P\sim q\); \b{G}q\(=\sim \underline F\sim q\); \(\diamond q=q\vee \underline Fq\vee \underline Pq\); \(\square q=\sim \diamond \sim q):\) (a) All the theorems and rules of predicate logic; (b) The inference rules: \(\frac{\vdash A}{\vdash \underline HA}\); \(\frac{\vdash A}{\vdash \underline GA}\); and Modus Ponens; (c) \b{G}(A\(\to B)\to (\underline GA\to \underline GB)\), and similar for \b{H}, \b{G}A\(\to \underline{GG}A\), \b{H}A\(\to \underline{HH}A;\) (d) \(A\to \underline{GP}A\), \(A\to \underline{HF}A.\) The following additional axioms yield the \underbar{linear time temporal logic}: (e) \b{F}A\(\wedge \underline FB\to \underline F(A\wedge \underline FB)\vee \underline F(B\wedge \underline FA)\vee \underline F(A\wedge B)\), and the corresponding for \b{P}. These axioms systems are proved to be sound. In a standard Prolog, a metapredicate describing the unification and computation processes for the extended (temporal) programs, two types of variables (universal and constant-substituting variables) etc. have to be introduced, mainly because of the skolemization problems arisen for the temporal formulas. The negation as failure can be added to the new extended language. Paraphrasing Robert Kowalski, the author discusses the fundamental question of simulating the \underbar{Temporal Prolog} specific computations within a standard Prolog environment, concluding that the answer can not be conclusive! As an argument, Section 5 shows that the \underbar{Temporal Prolog} computation can be regarded as a classical logic computation without skolemization. Since Prolog can simulate any recursive or recursively enumerable set, any axiomatizable or recursively presented temporal logic can be `simulated' in (standard) Prolog. Actually, there are three different ways of translating a temporal approach into a modal logic type: (1) A \underbar{direct translation} of the temporal formulas into modal ones; (2) A \underbar{simulation}, by renaming the temporal operators as new (special) predicates; and (3) A \underbar{semantic translation}, by rewriting the interpretation of temporal operators as predicate logic formulas. Many illustrative examples give to the reader good intuitive ideas on the \underbar{Temporal Prolog} behaviour within the treated topics. Complete formal approaches are promised in an author's forthcoming book.











This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4733441)