Skip to main content

A Unary Semigroup Trace Algebra

  • Conference paper
  • First Online:
Relational and Algebraic Methods in Computer Science (RAMiCS 2020)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12062))

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/isabelle-utp (definitions and lemmas hyper-linked using ).

  2. 2.

    https://github.com/isabelle-utp/utp-main/tree/ramics2020s.

References

  1. Hoare, C.A.R., Jifeng, H.: Unifying Theories of Programming. Prentice-Hall, Upper Saddle River (1998)

    MATHĀ  Google ScholarĀ 

  2. Hehner, E.C.R.: Predicative programming part I. Commun. ACM 27(2), 134ā€“143 (1984)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  3. Roscoe, A.W.: Understanding Concurrent Systems. Springer, Heidelberg (2010). https://doi.org/10.1007/978-1-84882-258-0

    BookĀ  MATHĀ  Google ScholarĀ 

  4. 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)

    ArticleĀ  Google ScholarĀ 

  5. 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

    ChapterĀ  Google ScholarĀ 

  6. Woodcock, J., Bryans, J., Canham, S., Foster, S.: The COMPASS modelling language: timed semantics in UTP. Open Channel Publishing, Communicating Process Architectures (2014)

    Google ScholarĀ 

  7. 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

    ChapterĀ  Google ScholarĀ 

  8. Butterfield, A.: A denotational semantics for Handel-C. Formal Aspects Comput. 23(2), 153ā€“170 (2011)

    ArticleĀ  Google ScholarĀ 

  9. Foster, S., Cavalcanti, A., Woodcock, J., Zeyda, F.: Unifying theories of time with generalised reactive processes. Inf. Process. Lett. 135, 47ā€“52 (2018)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  10. 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

    ChapterĀ  Google ScholarĀ 

  11. 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

    ChapterĀ  Google ScholarĀ 

  12. Howie, J.M.: Fundamentals of Semigroup Theory, vol. 12. Clarendon Oxford, Oxford (1995)

    MATHĀ  Google ScholarĀ 

  13. Cornock, C., Gould, V.: Proper two-sided restriction semigroups and partial actions. J. Pure Appl. Algebra 216(4), 935ā€“949 (2012)

    ArticleĀ  Google ScholarĀ 

  14. Jones, P.R.: A common framework for restriction semigroups and regular *-semigroups. J. Pure Appl. Algebra 216(3), 618ā€“632 (2012)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  15. Woodcock, J.C.P., Davies, J.: Using Z - Specification, Refinement, and Proof. Prentice-Hall, Upper Saddle River (1996)

    MATHĀ  Google ScholarĀ 

  16. 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

    ChapterĀ  MATHĀ  Google ScholarĀ 

  17. Hoare, C.A.R.: Communicating Sequential Processes. Prentice-Hall Inc., Upper Saddle River (1985)

    MATHĀ  Google ScholarĀ 

  18. Mukarram, A.: A refusal testing model for CSP. Ph.D. thesis, University of Oxford (1993)

    Google ScholarĀ 

  19. Phillips, I.: Refusal testing. Theoret. Comput. Sci. 50(3), 241ā€“284 (1987)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  20. 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

    ChapterĀ  MATHĀ  Google ScholarĀ 

  21. Lowe, G., Ouaknine, J.: On timed models and full abstraction. Electron. Notes Theor. Comput. Sci. 155, 497ā€“519 (2006)

    ArticleĀ  Google ScholarĀ 

  22. 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)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  23. Barnes, J.E.: A mathematical theory of synchronous communication. University of Oxford (1993)

    Google ScholarĀ 

  24. 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)

    Google ScholarĀ 

  25. Foster, S., Cavalcanti, A., Canham, S., Woodcock, J., Zeyda, F.: Unifying theories of reactive design contracts. Theor. Comput. Sci. 802, 105ā€“140 (2019)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  26. 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

    ChapterĀ  Google ScholarĀ 

  27. Berry, G., Gonthier, G.: The Esterel synchronous programming language: design, semantics, implementation. Sci. Comput. Program. 19(2), 87ā€“152 (1992)

    ArticleĀ  Google ScholarĀ 

Download references

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

Authors

Corresponding author

Correspondence to Pedro Ribeiro .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics