Semantics of well-moded input-consuming logic programs

A. Bossi, S. Etalle, S. Rossi

    Research output: Contribution to journalArticleAcademicpeer-review

    3 Citations (Scopus)
    2 Downloads (Pure)


    Recent logic programming languages employ dynamic scheduling of calls to improve efficiency of programs. Dynamic scheduling is realized by allowing some calls to be dynamically "delayed" until their arguments are sufficiently instantiated. To this end, logic languages are extended with constructs such as delay declarations. However, many declarative properties that hold for logic and pure Prolog programs do not apply any longer in this extended setting. In particular, the equivalence between the model–theoretic and operational semantics does not hold. In this paper, we study the class of input-consuming programs. Firstly, we argue that input-consuming logic programs are suitable for modeling programs employing delay declarations. Secondly, we show that—under some syntactic restrictions—the -semantics of a program is correct and fully abstract also for input-consuming programs. This allows us to conclude that for a large class of programs employing delay declarations there exists a model–theoretic semantics which is equivalent to the operational one. Thus, input-consuming programs are shown to be the right answer for conjugate efficiency and declarativeness.
    Original languageEnglish
    Pages (from-to)1-25
    JournalComputer Languages
    Issue number1
    Publication statusPublished - 2000


    Dive into the research topics of 'Semantics of well-moded input-consuming logic programs'. Together they form a unique fingerprint.

    Cite this