Abstract

The development of a concurrent system poses unique challenges, especially those related to correctness and consistency, as such a system usually involves several interactive processes executing simultaneously. To deal with some of these challenges, we resorted to Labeled Event Structures (LES) and category theory as the formal methods to model concurrent systems. Specifically, in this paper, we proposed an idea to define categories and corresponding constructs, such as product and sum, to model events and relationships among events represented by LES. To explain the idea, several examples are developed. Though a mathematical proof, the proposed idea helped to build a correct-by-construction approach for formalizing LES models of concurrent systems.

Highlights

  • A concurrent system that consists of several simultaneously executing components allows carrying out multiple tasks at the same time, which can accelerate the computational work of software substantially

  • A vending machine example is designed by Labeled Event Structures (LES), and modeled by category theory

  • In view of the difficulties in the development of concurrent systems, the present work proposes a new approach to model LES based on the category theory, which helps to explore the communication events and relationship among them

Read more

Summary

Introduction

A concurrent system that consists of several simultaneously executing components allows carrying out multiple tasks at the same time, which can accelerate the computational work of software substantially. The notable difficulties include the state-space explosion, unpredictable composition, and others [4] To tackle this kind of challenge, the formal method is considered to be a way, which can provide systems with known safety properties [5]. Category theory has been proposed as a framework to offer specification structure. We propose to use category theory to explore and model LES for concurrent systems in this paper. A vending machine example is designed by LES, and modeled by category theory.

Labeled Event Structure
Category Theory
An Overview of a Vending Machine Example
Construct Categorical Structures for LES Models
Object
Morphism
Product
Use Categorical Structures to Model the Vending Machine
A B coin
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.