Advertisement

Formal Aspects of Computing

, Volume 6, Supplement 1, pp 801–825 | Cite as

Extending hoare logic to real-time

  • Jozef HoomanEmail author
Article

Abstract

Classical Hoare triples are modified to specify and design distributed real-time systems. The assertion language is extended with primitives to express the timing of observable actions. Further the interpretation of triples is adapted such that both terminating and nonterminating computations can be specified. To verify that a concurrent program, with message passing along asynchronous channels, satisfies a real-time specification, we formulate a compositional proof system for our extended Hoare logic. The use of compositionality during top-down design is illustrated by a process control example of a chemical batch processing system.

Keywords

Formal specification Top-down design Compositionality Real-time Concurrency Hoare logic 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [Ada83]
    The Programming Language Ada, Reference Manual, 1983.Google Scholar
  2. [ALF93]
    Anderson, T., de Lemos, R., Fitzgerald, J.S. and Saeed, A.: On formal support for industrial-scale requirements analysis. InWorkshop on Theory of Hybrid Systems, pp. 426–451. LNCS 736, 1993.Google Scholar
  3. [AbL92]
    Abadi, M. and Lamport, L.: An old-fashioned recipe for real-time. InREX Workshop on Real-Time: Theory in Practice, pp. 1–27. LNCS 600, Springer-Verlag, 1992.Google Scholar
  4. [CHR91]
    Chaochen, Zhou, Hoare, C.A.R. and Ravn, A.P.: A calculus of durations.Information Processing Letters, 40:269–276, 1991.CrossRefzbMATHMathSciNetGoogle Scholar
  5. [Dij76]
    Dijkstra, E.W.:A Discipline of Programming. Prentice-Hall, 1976.Google Scholar
  6. [GNR93]
    Grossman, R., Nerode, A., Ravn, A. and Rischel, H.: editors.Hybrid Systems. LNCS 736. Springer-Verlag, 1993.Google Scholar
  7. [Haa81]
    Haase, V.H.: Real-time behaviour of programs.IEEE Transactions on Software Engineering, SE-7(5):494–501, 1981.CrossRefGoogle Scholar
  8. [Hoa69]
    Hoare, C.A.R.: An axiomatic basis for computer programming.Communications of the ACM, 12(10):576–580,583, 1969.CrossRefzbMATHGoogle Scholar
  9. [Hoo91]
    Hooman, J.:Specification and Compositional Verification of Real-Time Systems. LNCS 558, Springer-Verlag, 1991.Google Scholar
  10. [Hoo93a]
    Hooman, J.: A compositional approach to the design of hybrid systems. InWorkshop on Theory of Hybrid Systems, pp. 121–148. LNCS 736, 1993.Google Scholar
  11. [Hoo93b]
    Hooman, J.: Specification and verification of a distributed real-time arbitration protocol. InProceedings 14th IEEE Real-Time Systems Symposium, pp. 284–293. IEEE, 1993.Google Scholar
  12. [Hoo94]
    Hooman, J.: Compositional verification of a distributed real-time arbitration protocol.Real-Time Systems, 6:173–205, 1994.CrossRefGoogle Scholar
  13. [HaP85]
    Harel, D. and Pnueli, A.: On the development of reactive systems. InLogics and Models of Concurrent Systems, pp. 477–498. NATO, ASI-13, Springer-Verlag, 1985.Google Scholar
  14. [Lam83]
    Lamport, L.:What Good is Temporal Logic, pp. 657–668. Information Processing, R.E. Manson (ed). North Holland, 1983.Google Scholar
  15. [Lam93]
    Lamport, L.: Hybrid systems in TLA+. InWorkshop on Theory of Hybrid Systems, pp. 77–102. LNCS 736, 1993.Google Scholar
  16. [Occ88]
    INMOS Limited.Occam 2 Reference Manual, 1988.Google Scholar
  17. [ORS92]
    Owre, S., Rushby, J. and Shankar, N.: PVS: A prototype verification system. In11th Conference on Automated Deduction, volume 607 ofLecture Notes in Artificial Intelligence, pp. 748–752. Springer-Verlag, 1992.Google Scholar
  18. [SBM92]
    Schneider, F., Bloom, B. and Marzullo, K.: Putting time into proof outlines. InWorkshop on Real-Time: Theory in Practice, pp. 618–639. LNCS 600, Springer-Verlag, 1992.Google Scholar
  19. [Sha93]
    Shankar, N.: Verification of real-time systems using PVS. InComputer Aided Verification '93, pp. 280–291. LNCS 697, Springer-Verlag, 1993.Google Scholar
  20. [ZhH95]
    Zhou, P. and Hooman, J.: Formal specification and compositional verification of an atomic broadcast protocol.Real-Time Systems, to appear, 1995.Google Scholar

Copyright information

© British Computer Society 1994

Authors and Affiliations

  1. 1.Department of Mathematics and Computing ScienceEindhoven University of TechnologyMB EindhovenThe Netherlands

Personalised recommendations