Skip to main content
Log in

Duration calculus: Logical foundations

  • Published:
Formal Aspects of Computing

Abstract

The Duration Calculus (abbreviated DC) represents a logical approach for formal design of real-time systems, where real numbers are used to model time and Boolean valued functions over time are used to model states and events of real-time systems. Since its introduction, DC has been applied to many case studies and it has been extended in several directions. The aim of this paper is to provide a thorough presentation of the logic.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Allen, J. F.: Maintaining Knowledge about Temporal Intervals.Communications of the ACM, 26(11):832–843, 1983.

    Google Scholar 

  2. Allen, J.F.: Towards a General Theory of Action and Time.Artificial Intelligence, 23:123–154, 1984.

    Google Scholar 

  3. Alur, R., Courcoubetis, C. and Dill, D.: Model-Checking for Real-Time Systems. InFifth Annual IEEE Symp. on Logic in Computer Science, IEEE Press, 1990, pages 414–425.

  4. Alur, R., Courcoubetis, C., Henzinger, T. and Ho, P-H.: Hybrid Automata: An Algorithmic Approach to the Specification and Verification of Hybrid Systems. In [GNR93], pages 209–229.

  5. Alur, R. and Dill, D.: The Theory of Timed Automata. InReal-Time: Theory in Practice, LNCS 600, Springer-Verlag, 1992, pages 45–73.

  6. Alur, R., Feder, T. and Henzinger, T.: The Benefits of Relaxing Punctuality. InTenth Annual ACM Symposium on Principles of Distributed Computing, ACM Press, 1991, pages 139–152.

  7. Benthem, J. F. A. K. van:The Logic of Time. D. Reidel publishing Company, 1983.

  8. Bird, R.:Programs and Machines. John Wiley & Sons, 1976.

  9. Bjørner, D. et al.: A ProCoS Project Description: ESPRIT BRA 3104.Bulletin of the EATCS, (39):60–73, 1989.

    Google Scholar 

  10. Bouajjani, A., Echahed, R. and Robbana, R.: Verifying Invariance Properties of Timed Systems with Duration Variables. In [LRV94], pages 193–210.

  11. Bouajjani, A., Echahed, R. and Sifakis, J.: On Model Checking for Real-Time Properties with Durations. InEights Annual IEEE Symp. on Logic in Computer Science, IEEE Press, 1993, pages 147–159.

  12. Brien, S.:A time Interval Calculus. Master's thesis, Programming Research Group, Computing Laboratory, Oxford University, 1991.

  13. Chan, P. and Dang, Van Hung: Duration Calculus Specification of Scheduling for Tasks with Shared Resources. InAsian Computing Science Conference 1995, LNCS 1023, Springer-Verlag, 1995, pages 365–380.

  14. Dang, Van Hung and Zhou, Chaochen:Probabilistic Duration Calculus for Continuous Time. UNU/IIST Report No. 25, UNU/IIST, International Institute for Software Technology, P.O. Box 3058, Macau, 1994.

    Google Scholar 

  15. Dang, Van Hung and Wang, Ji:On Design of Hybrid Control Systems using I/O Automata Models. UNU/IIST Report No. 35, UNU/IIST, International Institute for Software Technology, P.O. Box 3058, Macau, 1994.

    Google Scholar 

  16. Dietz, C.:Graphical Formalization of Real-Time Requirements. Technical report, Fachbereich Informatik, Oldenburg University, 1996.

  17. Dutertre, B.: Complete Proof Systems for First Order Interval Temporal Logic. InTenth Annual IEEE Symp. on Logic in Computer Science, IEEE Press, 1995, pages 36–43.

  18. Dutertre, B.:On First Order Interval Temporal Logic. Report no. CSD-TR-94-3, Department of Computer Science, Royal Holloway, University of London, Egham, Surrey TW20 0EX, England, 1995.

    Google Scholar 

  19. Engel, M., Kubica, M., Madey, J., Parnas, D. L., Ravn, A. P. and Schouwen, A. J. van: A Formal Approach to Computer Systems Requirements Documentation. In [GNR93], pages 452–474.

  20. Engel, M. and Rischel, H.:Dagstuhl-Seminar Specification Problem — a Duration Calculus Solution. Department of Computer Science, Technical University of Denmark — Private Communication, 1993.

  21. Fränzle, M.:Controller Design from Temporal Logic: Undecidability need not matter, PhD thesis, Kiel University, submitted December 1996.

  22. Goswami, A., Bell, Michael and Joseph, Mathai: ISL: An Interval Logic for the Specification of Real-Time Programs. InFormal Techniques in Real-Time and Fault-Tolerant Systems, LNCS 571, Springer-Verlag, 1991, pages 1–20.

  23. Grossman, R. L., Nerode, A., Ravn, A. P. and Rischel, H. (eds).:Hybrid Systems, LNCS 736, Springer-Verlag, 1993.

  24. Hale, R.:Programming in Temporal Logic. PhD thesis, Computing Laboratory, Cambridge University, UK, 1988.

    Google Scholar 

  25. Halpern, J., Moskowski, B. and Manna, Z.: A Hardware Semantics based on Temporal Intervals. InICALP'83, LNCS 154, Springer-Verlag, 1983, pages 278–291.

  26. Halpern, J. Y. and Shoham, Y.: A Propositional Modal Logic of Time Intervals. InSymposium on Logic in Computer Science, IEEE Press, 1986, pages 279–292.

  27. K. M. Hansen, Ravn, A. P. and Stavridou, V.:From Safety Analysis to Formal Specification. Technical report, Department of Information Technology, Technical University of Denmark, 1996.

  28. Hansen, M. R.: Model-Checking Discrete Duration Calculus.Formal Aspects of Computing, 6A:826–845, 1994.

    Google Scholar 

  29. Hansen, M. R. and Zhou, Chaochen: Semantics and Completeness of Duration Calculus. InReal-Time: Theory in Practice, LNCS 600, Springer-Verlag, 1992, pages 209–225.

  30. Hansen, M. R., Zhou, Chaochen and Staunstrup, J.: A Real-Time Duration Semantics for Circuits. InTAU'92: 1992 Workshop on Timing Issues in the Specification and Synthesis of Digital Systems, Princeton Univ., NJ. ACM/SIGDA, 1992.

    Google Scholar 

  31. Hansen, M. R., Olderog, E.-R., Schenke, M., Fränzle, M., Karger, B. von, Müller-Olm, M. and Rischel, H.:A Duration Semantics for Real-Time Reactive Systems. Report no. OLD MRH 1/1, ProCoS II, ESPRIT BRA 7071, Oldenburg University, Germany, 1993.

    Google Scholar 

  32. Hansen, M. R., Pandya, P. K. and Zhou, Chaochen: Finite Divergence.Theoretical Computer Science, 138:113–139, 1995.

    Google Scholar 

  33. Harel, E., Lichtenstein, O. and Pnueli, A.: Explicit Clock Temporal Logic. InSymp. on Logic in Comp. Sci., IEEE press, 1990, pages 402–413.

  34. He, Jifeng: From CSP to Hybrid Systems. InA Classical Mind: Essays in Honour of C.A.R. Hoare, Prentice Hall, 1994, pages 171–190.

  35. He, Jifeng and Bowen, J.: Time Interval Semantics and Implementation of a Real-Time Programming Language. In1992 Euromicro Workshop on Real-Time Systems. IEEE Press, 1992.

  36. He, Weidong and Zhou, Chaochen: A Case Study of Optimization.The Computer Journal, 38(9):734–746, 1995.

    Google Scholar 

  37. Hooman, J.: Correctness of Real Time Systems by Construction. In [LRV94], pages 19–40.

  38. Hopcroft, J. E. and Ullman, J. D.:Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, 1979.

  39. Hughes, G. E. and Crestwell, M. J.:An Introduction to Modal Logic. Routledge, 1968.

  40. Humberstone, I. L.: Interval Semantics for Tense Logics: Some Remarks.Journal of Philosophical Logic, 8:171–196, 1979.

    Google Scholar 

  41. Inal, R.: Modular Specification of Real-Time Systems. In1994 Euromicro Workshop on Real-Time Systems, IEEE Press, 1994.

  42. Jahanian, F. and Mok, A. K-L.: Safety Analysis of Timing Properties in Real-Time Systems.IEEE Trans. SE., 12(9), 1986, pages 890–904.

    Google Scholar 

  43. Kapur, A., Henzinger, T., Manna, Z. and Pnueli, A.: Proving Safety Properties of Hybrid Systems. In [LRV94], pages 431–454.

  44. Kesten, Y., Pnueli, A., Sifakis, J. and Yovine, S.: Integration Graphs: A Class of Decidable Hybrid Systems. In [GNR93], pages 179–208.

  45. Koymans, R.: Specifying Real-Time Properties with Metric Temporal Logic.Real-Time Systems, Kluwer Academic Publishers, 2(4):255–299, 1990.

    Google Scholar 

  46. Koymans, R.:Specifying Message Passing and Time-Critical Systems with Temporal Logic. LNCS 651, Springer-Verlag, 1992.

  47. Kääramees, M.: Transforming Designs Towards Implementations. In1995 Euromicro Workshop on Real-Time Systems, IEEE Press, 1995, pages 197–204.

  48. Kääramees, M.: Transformation of Duration Calculus Specifications to DisCo Language. Master's thesis, Automation and Systems Engineering, Tallinn Technical University, Estonia, 1995.

    Google Scholar 

  49. Lakhnech, Y.:Specification and Verification of Hybrid and Real-Time Systems. PhD thesis, Kiel University, 1996.

  50. Lakhnech, Y. and Hooman, J.: Reasoning about Durations in Metric Temporal Logic. In [LRV94], pages 488–510.

  51. Lamport, L.: Hybrid Systems in TLA+. In [GNR93], pages 77–102.

  52. Langmack, H., Roever, W.-P. de and Vytopil, J. (eds).:Formal Techniques in Real-Time and Fault-Tolerant Systems, LNCS 863, Springer-Verlag, 1994.

  53. Li, Xiaoshan:A Mean Value Calculus. PhD thesis, Software Institute, Academia Sinica, 1993.

  54. Li, Xuandong and Dang, Van Hung: Checking Linear Duration Invariants by Linear Programming. InConcurrency and Parallelism, Programming, Network and Security, LNCS 1179, Springer-Verlag, 1996.

  55. Liu, Zhiming, Ravn, A. P., Sørensen, E. V. and Zhou, Chaochen: A Probabilistic Duration Calculus. InDependable Computing and Fault-Tolerant Systems Vol. 7: Responsive Computer Systems, Springer-Verlag, Wien, New York, 1993, pages 30–52.

    Google Scholar 

  56. Liu, Zhiming, Ravn, A. P., Sørensen, E. V. and Zhou, Chaochen: Towards a Calculus of Systems Dependability.High Integrity Systems, 1(1):49–75, 1994.

    Google Scholar 

  57. Manna, Z. and Pnueli, A.:The Temporal Logic of Reactive and Concurrent Systems. Springer Verlag, 1992.

  58. Manna, Z. and Pnueli, A.: Verifying Hybrid Systems. In [GNR93], pages 4–35.

  59. Mao, Xiaoguang, Xu, Qiwen and Wang, Ji:Towards a Proof Assistant for Interval Logics. UNU/IIST Report No. 77, UNU/IIST, International Institute for Software Technology, P.O. Box 3058, Macau, 1996.

    Google Scholar 

  60. Masiero, P. C., Ravn, A. P. and Rischel, H.:Refinement of Real-Time Specifications. Report no. ID/DTH PCM 1/1, ProCoS II, ESPRIT BRA 7071, Department of Computer Science, Technical University of Denmark, 1993.

  61. Melliar-Smith, P. M.: Extending Interval Logic to Real Time Systems. InTemporal Logic in Specification, LNCS 398, Springer-Verlag, 1987, pages 224–242.

  62. Minsky, M. L.:Computation: Finite and Infinite Machines. Prentice Hall, Englewood Cliffs, N.J., 1967.

    Google Scholar 

  63. Moszkowski, B.:Reasoning about Digital Circuits. PhD thesis, Stanford University, 1983.

  64. Moszkowski, B.: A Temporal Logic for Multilevel Reasoning about Hardware.IEEE Computer, 18(2):10–19, 1985.

    Google Scholar 

  65. Moszkowski, B.: Compositional Reasoning about Projected and Infinite Time. In FirstIEEE Intl. Conf. on Engineering of Complex Computer Systems, IEEE press, 1995.

  66. Moszkowski, B.:Executing Temporal Logic Programs. Cambridge University Press, Cambridge, UK, 1986.

    Google Scholar 

  67. Moszkowski, B.: Some Very Compositional Temporal Properties. InProgramming Concepts, Methods and Calculi, IFIP Transactions, Vol. A-56, North-Holland, 1994, pages 307–326.

  68. Mørk, S., Godskesen, J. C., Hansen, M. R. and Sharp, R.: A Timed Semantics for SDL. InFormal Description Techniques IX: Theory, application and tools, Chapman & Hall, 1996, pages 295–309.

  69. Nicollin, X., Olivero, A., Sifakis, J. and Yovine, S.: An Approach to the Description and Analysis of Hybrid Systems. In [GNR93], pages 149–178.

  70. Olderog, E-R., Ravn, A. P. and Skakkebæk, J. U.: Refining System Requirements to Program Specifications. InFormal Methods in Real-Time Systems, Trends in Software-Engineering, Chapter 5, Wiley, 1996, pages 107–134.

  71. Owre, S., Shankar, N. and Rushby, J.:Users Guide for the PVS Specification and Verification System, Language, and Proof Checker (beta release) (three volumes). Technical report, Computer Science Laboratory, SRI International, Menlo Park, CA 94025, USA, 1993.

    Google Scholar 

  72. Pandya, P. K.:Some Extensions to Propositional Mean Value Calculus: Expressiveness and Decidability. Report no. TCS-95/9, Computer Science Group, TIFR, Bombay, 1995. To appear in proc. of CSL'95.

    Google Scholar 

  73. Pandya, P. K.: Weak Chop Inverses and Liveness in Duration Calculus. InFormal Techniques in Real-Time and Fault-Tolerant Systems, LNCS 1135, Springer-Verlag, 1996, pages 148–167.

  74. Pandya, P. K. and Ramakrishna, Y.S.:A Recursive Mean Value Calculus. Report no. TCS-95/3, Computer Science Group, TIFR, Bombay, 1995.

    Google Scholar 

  75. Pandya, P. K., Ramakrishna, Y. S. and Shyamasundar, R. K.: A Compositional Semantics of Esterel in Duration Calculus. InProc. Second AMAST workshop on Real-Time systems: Models and Proofs, Bordeux, June, 1995.

  76. Petersen, J. L. and Rischel, H.: Formalizing Requirements and Design for a Production Cell System. InSymposium ADPM '94: Automatisation des Processus Mixtes: Les Systemes Dynamiques Hybrides, Belgian Institute of Automatic Control, IBRA, 1994, pages 37–46.

  77. Ravn, A. P., Rischel, H., Holdgaard, M., Eriksen, T. J., Conrad, F. and Andersen, T. O.: Hybrid Control of a Robot — a case study. InHybrid Systems II, LNCS 999, Springer-Verlag, 1995, pages 391–404.

  78. Ravn, A. P.:Design of Embedded Real-Time Computing Systems. Department of Computer Science, Technical University of Denmark, DK-2800 Lyngby, Denmark, Doctoral Dissertation, ID-TR: 1995-170, 1995.

    Google Scholar 

  79. Ravn, A. P. and Rischel, H.: Requirements Capture for embedded real-time systems. InProceedings of IMACS-MCTS'91 Symposium on Modelling and Control of Technological Systems, Villeneuve d'Ascq, France, May 7–10, volume 2, IMACS, 1991, pages 147–152.

  80. Ravn, A. P., Rischel, H. and Hansen, K. M.: Specifying and Verifying Requirements of Real-Time Systems.IEEE Trans. SE., 19(1):41–55, 1993.

    Google Scholar 

  81. Rischel, H.:A Duration Calculus Proof of Fischer's Mutual Exclusion Protocol. Report no. DTH HR 4/1, ProCoS II, ESPRIT BRA 7071, Department of Computer Science, Technical University Of Denmark, 1992.

  82. Rosner, R. and Pnueli, A.: A Choppy Logic. InFirst Annual IEEE Symp. on Logic in Computer Science, IEEE Press, 1986, pages 306–313.

  83. Röper, P.: Intervals and Tenses.Journal of Philosophical Logic, 9:451–469, 1980.

    Google Scholar 

  84. Schenke, M.: Specification and Transformation of Reactive Systems with Time Restrictions and Concurrency. In [LRV94], pages 605–620.

  85. Schenke, M.:Requirements to Programs: A Development Methodology for Real Time Systems, Part 2. Technical report, Fachbereich Informatik, Universität Oldenburg, 1995. (To appear in Acta Informatica.)

  86. Schenke, M. and Olderog, E.-R.:Requirements to Programs: A Development Methodology for Real Time Systems, Part 1. Technical report, Fachbereich Informatik, Universität Oldenburg, 1995.

  87. Schwartz, R. L., Melliar-Smith, P. M. and Vogt, F. H.: An Interval Logic for Higher-Level Temporal Reasoning. InSecond Annual ACM Symposium on Principles of Distributed Computing, ACM, 1983, pages 173–186.

  88. Sipma, H. B. and Manna, Z.: Specification and Verification of Controlled Systems. In [LRV94], pages 641–659.

  89. Skakkebæk, J. U.: Liveness and Fairness in Duration Calculus. InCONCUR'94: Concurrency Theory, LNCS 836, Springer Verlag, 1994, pages 283–298.

  90. Skakkebæk, J. U.:A Verification Assistant for a Real-Time Logic. PhD thesis, Department of Computer Science, Technical University of Denmark, 1994.

  91. Skakkebæk, J. U., Ravn, A. P., Rischel, H. and Zhou, Chaochen: Specification of Embedded, Real-Time Systems. InProceedings of 1992 Euromicro Workshop on Real-Time Systems, IEEE Press, 1992.

  92. Skakkebæk, J. U. and Shankar, N.:A Duration Calculus Proof Checker: Using PVS as a Semantic Framework. Report no. SRI-CSL-93-10, Computer Science Laboratory, SRI International, Menlo Park, CA 94025, USA, 1993.

    Google Scholar 

  93. Skakkebæk, J. U. and Shankar, N.: Towards a Duration Calculus Proof Assistant in PVS. In [LRV94], pages 660–679.

  94. Skakkebæk, J. U. and Sestoft, P.:Checking Validity of Duration Calculus Formulas. Report no. ID/DTH JUS 3/1, ProCoS II, ESPRIT BRA 7071, Department of Computer Science, Technical University of Denmark, 1994.

  95. Sørensen, E. V, Ravn, A. P. and Rischel, H.:Control Program for a Gas Burner: Part 1: Informal Requirements, ProCoS Case Study 1. Report no. ID/DTH EVS2, ProCoS, ESPRIT BRA 3104, Department of Computer Science, Technical University of Denmark, 1990.

  96. Tarski, A.: On the Calculus of Relations.Journal of Symbolic Logic, 6(3):73–88, 1941.

    Google Scholar 

  97. Venema, Y.: Expressiveness and Completeness of an Interval Tense Logic.Notre Dame Journal of Formal Logic, 31(4):529–547, 1990.

    Google Scholar 

  98. Venema, Y.: A Modal Logic for Chopping Intervals.J. Logic Computat., 1(4):453–476, 1991.

    Google Scholar 

  99. Karger, B. von and Hoare, C. A. R.: Sequential Calculus.Information Processing Letters, 53:123–130, 1995.

    Google Scholar 

  100. Widjaja, Belawati H., Chen, Zongji, He, Weidong and Zhou, Chaochen: A Cooperative Design for Hybrid Control Systems. InLogic and Software Engineering, International Workshop in Honor of Chih-Sung Tang, World Scientific, 1996, pages 127–150.

  101. Xu, Qiwen and Yang, Zengyu: Derivation of Control Programs: a Heating System. Presented at the4th International Conference on Hybrid Systems, Ithaca, NY, USA, 1996.

  102. Xu, Quiwen and He, Weidong: Hierarchical Design of a Chemical Concentration Control System. InHybrid Systems III, LNCS 1066, Springer-Verlag, 1996, pages 270–281.

  103. Yu, Xinyao, Wang, Ji, Zhou, Chaochen and Pandya, Paritosh K.: Formal Design of Hybrid Systems. In [LRV94], pages 738–755.

  104. Zheng, Yuhua and Zhou, Chaochen: A Formal Proof of the Deadline Driven Scheduler. In [LRV94], pages 756–775.

  105. Zhou, Chaochen and Hansen, M. R.:An Adequate First Order Interval Logic. UNU/IIST Report No. 91, UNU/IIST, International Institute for Software Technology, P.O. Box 3058, Macau, December 1996.

    Google Scholar 

  106. Zhou, Chaochen and Hansen, M. R.: Chopping a Point. InBCS-FACS 7th refinement workshop, Electronic Workshops in Computing, Springer-Verlag, 1996.

  107. Zhou, Chaochen, Hansen, M. R., Ravn, A. P. and Rischel, H.: Duration Specifications for Shared Processors. InSymposium on Formal Techniques in Real-Time and Fault Tolerant Systems, LNCS 571, Springer-Verlag, 1991, pages 21–32.

  108. Zhou, Chaochen, Hansen, M.R. and Sestoft, P.: Decidability and Undecidability Results for Duration Calculus. InSTACS'93, LNCS 665, Springer-Verlag, 1993, pages 58–68.

  109. Zhou, Chaochen, Hoare, C. A. R. and Ravn, A. P.: A Calculus of Durations.Information Processing Letters, 40(5):269–276, 1991.

    Google Scholar 

  110. Zhou, Chaochen, Dang, Van Hung and Li, Xiaoshan: A Duration Calculus with Infinite Intervals. InFundamentals of Computation Theory, LNCS 965, Springer-Verlag, 1995, pages 16–41.

  111. Zhou, Chaochen, Wang, Ji and Ravn, Anders P.: A Formal Description of Hybrid Systems. InHybrid Systems III, LNCS 1066, Springer-Verlag, 1996, pages 511–530.

  112. Zhou, Chaochen, Zhang, Jingzhong, Yang, Lu and Li, Xiaoshan: Linear Duration Invariants. In [LRV94], pages 86–109.

  113. Zhou, Chaochen, Ravn, A. P. and Hansen, M. R.: An Extended Duration Calculus for Hybrid Systems. In [GNR93], pages 36–59.

  114. Zhou, Chaochen and Li, Xiaoshan: A Mean Value Calculus of Durations. InA Classical Mind: Essays in Honour of C. A. R. Hoare, Prentice Hall, 1994, pages 431–451.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael R. Hansen.

Additional information

on leave of absence from Software Institute, Academia Sinica, Beijing

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hansen, M.R., Chaochen, Z. Duration calculus: Logical foundations. Formal Aspects of Computing 9, 283–330 (1997). https://doi.org/10.1007/BF01211086

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01211086

Keywords

Navigation