Abstract
The rule-based paradigm for knowledge representation appears in many disguises within computer science. In this paper we address special issues which arise when the rule-based programming paradigm is employed in the development of reactive systems. We begin by presenting a rule-based language RL which has emerged while developing intelligent cruise control systems. We define a desired declarative semantics and correctness criteria for rule-based programs which respect causality, synchrony assumption and desired determinism. Two alternative approaches are proposed to analyze RL programs. Both approaches build upon static checks of a rule-based program. In the first approach we accept programs which are correct with respect to a constructive semantics while in the second approach, a stratification check is imposed. The combination of rules and reactive behaviour, together with a formal analysis of this behaviour is the main contribution of our work.
Man Lin has been supported by TFR (Swedish Research Council for Engineering Sciences) and WITAS (the Wallenberg laboratory for research on Information Technology and Autonomous Systems).
Jacek Malec has been partially supported byMälardalens Real-Time Research Center (MRTC).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
K. Apt and R. Bol. Logic programming and negation: A survey. Journal of Logic Programming, 19/20:9–71, 1994.
K. M. Chandy and J. Misra. Parallel Program Design: A Foundation. MA: Addison-Wesley, 1988.
T. A. Cooper and N. Wogrin. Rule-based Programming with OPS5. Morgan Kaufmann Publishers, Inc, 1988.
K.R. Dittrich, S. Gatziu, and A. Geppert. The active database management systems manifesto: A rulebase of ADBMS features. In Timos Sellis, editor, Rules in Database System. RIDS’95, Springer Verlag, 1995.
N. Halbwachs. Synchronous Programming of Reactive Systems. Kluwer Academic Publishers, 1993.
D. Harel and A. Pnueli. On the development of reactive systems. In K. R. Apt, editor, Logics and Models of Concurrent Systems, volume 13 of NATO ASI Series. Springer Verlag, 1985.
G. Huet. Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of ACM, 27(4):797–821, 1980.
M. Lin. Formal Analysis of Reactive Rule-based Programs. Licentiate thesis, Linköping University, 1997. Linköping Studies in Science and Technology, Thesis No 643, ISBN 91-7219-030-2, ISSN 0280-7971.
W. Łukaszewicz. Non-Monotonic Reasoning. Ellis Horwood, 1990.
J. Malec, M. Morin, and U. Palmqvist. Driver support in intelligent autonomous cruise control. In Proceedings of the IEEE Intelligent Vehicles Symposium’94, pages 160–164, Paris, France, October 1994.
Z. Manna and A. Pnueli. The Temporal Logic of Reactive and Concurrent Systems. Springer-Verlag, 1992.
M. Morin, S. Nadjm-Tehrani, P. Österling, and E. Sandewall. Real-time hierarchical control. IEEE Software, 9(5):51–57, September 1992.
G. Plotkin, C. Stirling, and M. Tofte, editors. Language and Interaction: Essays in Honour of Robin Milner, chapter The Foundations of Esterel. MIT Press, 1998. To Appear.
A. Pnueli and M. Shalev. What is in a step: On the semantics of Statecharts. Theoretical Aspects of Computer Software, LNCS, 526:510–584, 1991.
E. Sandewall. Features and Fluents, volume 1. Clarendon Press. Oxford, 1994.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lin, M., Malec, J., Nadjm-Tehrani, S. (2000). On Semantics and Correctness of Reactive Rule-Based Programs. In: Bjøner, D., Broy, M., Zamulin, A.V. (eds) Perspectives of System Informatics. PSI 1999. Lecture Notes in Computer Science, vol 1755. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46562-6_21
Download citation
DOI: https://doi.org/10.1007/3-540-46562-6_21
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-67102-2
Online ISBN: 978-3-540-46562-1
eBook Packages: Springer Book Archive