Abstract
The Unifying Theories of Programming (UTP) of Hoare and He promote the unification of semantics catering for different concerns, such as, termination, data modelling, concurrency and time. Process calculi like Ā and CSP can be given semantics in the UTP using reactive designs whose traces can be abstractly specified using a monoid trace algebra. The prefix order over traces is defined in terms of the monoid operator. This order, however, is inadequate to characterise a broader family of timed process algebras whose traces are preordered instead. To accommodate these, we propose a unary semigroup trace algebra that is weaker than the monoid algebra. This structure satisfies some of the axioms of restriction semigroups and is a right P-Ehresmann semigroup. Reactive designs specified using it satisfy core laws that have been mechanised so far in Isabelle/UTP. More importantly, our results improve the support for unifying trace models in the UTP.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
https://github.com/isabelle-utp (definitions and lemmas hyper-linked using ).
- 2.
References
Hoare, C.A.R., Jifeng, H.: Unifying Theories of Programming. Prentice-Hall, Upper Saddle River (1998)
Hehner, E.C.R.: Predicative programming part I. Commun. ACM 27(2), 134ā143 (1984)
Roscoe, A.W.: Understanding Concurrent Systems. Springer, Heidelberg (2010). https://doi.org/10.1007/978-1-84882-258-0
Sherif, A., Cavalcanti, A.L.C., He, J., Sampaio, A.C.A.: A process algebraic framework for specification and validation of real-time systems. Formal Aspects Comput. 22(2), 153ā191 (2010)
Wei, K., Woodcock, J., Cavalcanti, A.: Circus Time with reactive designs. In: Wolff, B., Gaudel, M.-C., Feliachi, A. (eds.) UTP 2012. LNCS, vol. 7681, pp. 68ā87. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-35705-3_3
Woodcock, J., Bryans, J., Canham, S., Foster, S.: The COMPASS modelling language: timed semantics in UTP. Open Channel Publishing, Communicating Process Architectures (2014)
Butterfield, A., Sherif, A., Woodcock, J.: Slotted-circus: A UTP-family of reactive theories. In: Davies, J., Gibbons, J. (eds.) IFM 2007. LNCS, vol. 4591, pp. 75ā97. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-73210-5_5
Butterfield, A.: A denotational semantics for Handel-C. Formal Aspects Comput. 23(2), 153ā170 (2011)
Foster, S., Cavalcanti, A., Woodcock, J., Zeyda, F.: Unifying theories of time with generalised reactive processes. Inf. Process. Lett. 135, 47ā52 (2018)
Woodcock, J., Cavalcanti, A., Foster, S., Mota, A., Ye, K.: Probabilistic semantics for RoboChart. In: Ribeiro, P., Sampaio, A. (eds.) UTP 2019. LNCS, vol. 11885, pp. 80ā105. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31038-7_5
Foster, S., Zeyda, F., Woodcock, J.: Isabelle/UTP: a mechanised theory engineering framework. In: Naumann, D. (ed.) UTP 2014. LNCS, vol. 8963, pp. 21ā41. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-14806-9_2
Howie, J.M.: Fundamentals of Semigroup Theory, vol. 12. Clarendon Oxford, Oxford (1995)
Cornock, C., Gould, V.: Proper two-sided restriction semigroups and partial actions. J. Pure Appl. Algebra 216(4), 935ā949 (2012)
Jones, P.R.: A common framework for restriction semigroups and regular *-semigroups. J. Pure Appl. Algebra 216(3), 618ā632 (2012)
Woodcock, J.C.P., Davies, J.: Using Z - Specification, Refinement, and Proof. Prentice-Hall, Upper Saddle River (1996)
Ribeiro, P., Cavalcanti, A., Woodcock, J.: A stepwise approach to linking theories. In: Bowen, J.P., Zhu, H. (eds.) UTP 2016. LNCS, vol. 10134, pp. 134ā154. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-52228-9_7
Hoare, C.A.R.: Communicating Sequential Processes. Prentice-Hall Inc., Upper Saddle River (1985)
Mukarram, A.: A refusal testing model for CSP. Ph.D. thesis, University of Oxford (1993)
Phillips, I.: Refusal testing. Theoret. Comput. Sci. 50(3), 241ā284 (1987)
Hayes, I.J., Dunne, S.E., Meinicke, L.: Unifying theories of programming that distinguish nontermination and abort. In: Bolduc, C., Desharnais, J., Ktari, B. (eds.) MPC 2010. LNCS, vol. 6120, pp. 178ā194. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-13321-3_12
Lowe, G., Ouaknine, J.: On timed models and full abstraction. Electron. Notes Theor. Comput. Sci. 155, 497ā519 (2006)
Zhu, H., He, J., Qin, S., Brooke, P.J.: Denotational semantics and its algebraic derivation for an event-driven system-level language. Formal Aspects Comput. 27(1), 133ā166 (2015)
Barnes, J.E.: A mathematical theory of synchronous communication. University of Oxford (1993)
Smith, M.L.: A unifying theory of true concurrency based on CSP and lazy observation. In: Communicating Process Architectures 2005: WoTUG-28: Proceedings of the 28th WoTUG Technical Meeting, 18ā21 September 2005, Technische Universiteit Eindhoven, the Netherlands, vol. 63, p. 177. IOS Press (2005)
Foster, S., Cavalcanti, A., Canham, S., Woodcock, J., Zeyda, F.: Unifying theories of reactive design contracts. Theor. Comput. Sci. 802, 105ā140 (2019)
Foster, S.: Hybrid relations in Isabelle/UTP. In: Ribeiro, P., Sampaio, A. (eds.) UTP 2019. LNCS, vol. 11885, pp. 130ā153. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31038-7_7
Berry, G., Gonthier, G.: The Esterel synchronous programming language: design, semantics, implementation. Sci. Comput. Program. 19(2), 87ā152 (1992)
Acknowledgements
This work is funded by the EPSRC grant EP/M025756/1. No new primary data was created as part of the study reported here. We are grateful to Ana Cavalcanti for comments on an earlier draft of this paper, and to the anonymous reviewers for their helpful and constructive feedback.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Ribeiro, P. (2020). A Unary Semigroup Trace Algebra. In: Fahrenberg, U., Jipsen, P., Winter, M. (eds) Relational and Algebraic Methods in Computer Science. RAMiCS 2020. Lecture Notes in Computer Science(), vol 12062. Springer, Cham. https://doi.org/10.1007/978-3-030-43520-2_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-43520-2_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-43519-6
Online ISBN: 978-3-030-43520-2
eBook Packages: Computer ScienceComputer Science (R0)