Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-06T21:42:50.281Z 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)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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 
Supplementary material: PDF

Kowalski and Sadri supplementary material

Appendix

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