Hostname: page-component-76d6cb85b7-6jg5l Total loading time: 0 Render date: 2026-07-18T07:02:11.446Z Has data issue: false hasContentIssue false

Programming in logic without logic programming

Published online by Cambridge University Press:  16 March 2016

ROBERT KOWALSKI
Affiliation:
Department of Computing, Imperial College London, London, United Kingdom (e-mail: rak@doc.ic.ac.uk, fs@doc.ic.ac.uk)
FARIBA SADRI
Affiliation:
Department of Computing, Imperial College London, London, United Kingdom (e-mail: rak@doc.ic.ac.uk, fs@doc.ic.ac.uk)

Abstract

In previous work, we proposed a logic-based framework in which computation is the execution of actions in an attempt to make reactive rules of the form if antecedent then consequent true in a canonical model of a logic program determined by an initial state, sequence of events, and the resulting sequence of subsequent states. In this model-theoretic semantics, reactive rules are the driving force, and logic programs play only a supporting role. In the canonical model, states, actions, and other events are represented with timestamps. But in the operational semantics (OS), for the sake of efficiency, timestamps are omitted and only the current state is maintained. State transitions are performed reactively by executing actions to make the consequents of rules true whenever the antecedents become true. This OS is sound, but incomplete. It cannot make reactive rules true by preventing their antecedents from becoming true, or by proactively making their consequents true before their antecedents become true. In this paper, we characterize the notion of reactive model, and prove that the OS can generate all and only such models. In order to focus on the main issues, we omit the logic programming component of the framework.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2016 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

Supplementary material: PDF

Kowalski and Sadri supplementary material

Appendix

Download Kowalski and Sadri supplementary material(PDF)
PDF 94.7 KB