Skip to main content
QUICK REVIEW

[Paper Review] Modeling Physical/Digital Systems: Formal Event-B vs. Diagrammatic Thinging Machine

Sabah Al‐Fedaghi|arXiv (Cornell University)|May 20, 2020
Model-Driven Software Engineering TechniquesComputer Science15 references8 citations
TL;DR

This paper contrasts formal Event-B and diagrammatic Throwing Machine (TM) modeling for physical/digital systems, using a bridge traffic case study. It demonstrates that while Event-B offers rigorous formal verification via set theory and first-order logic, TM provides intuitive, hierarchical visualization through five core operations and events, suggesting complementary strengths in system modeling for software engineering.

ABSTRACT

Models are centrally important in many scientific fields. A model is a representation of a selected part of the world, which is the model s target system. Here, a system consists of a software portion as a component among many others. Event-B is a modeling method for formalizing and developing systems whose components can be modeled based on set theory and first-order logic. The thinging machine (TM) is a diagram-based model establishes three levels of representation: (1) a static structural description, which is constructed upon the flow of things in five generic operations (activities; i.e., create, process, release, transfer, and receive); (2) a dynamic representation, which identifies hierarchies of events based on five generic events; and (3) a behavioral representation according to the chronology of events. This paper is an exercise in contrasting the formal Event-B to the diagrammatic TM. The purpose is to further understand modeling in computer science. This is motivated by the claim that computer scientists should not invent specific languages to do the modeling. Important notions such as events and behavior are contrasted, and a case study system of traffic on a bridge is modeled in Event-B and TM. The results seem to indicate the need for both modeling approaches.

Motivation & Objective

  • To compare formal Event-B and diagrammatic Throwing Machine (TM) as modeling approaches for physical/digital systems.
  • To evaluate the suitability of each method in representing events, behavior, and system structure.
  • To investigate whether both formal and diagrammatic approaches are necessary for comprehensive system modeling.
  • To provide a case study of bridge traffic modeled in both Event-B and TM for comparative analysis.

Proposed method

  • Modeling the bridge traffic system using Event-B, based on set theory and first-order logic for formal specification.
  • Constructing a static structural description in TM using five generic operations: create, process, release, transfer, and receive.
  • Developing a dynamic representation in TM through hierarchies of five generic events.
  • Creating a behavioral representation in TM based on the chronology of events.
  • Applying both methods to the same case study to enable direct comparison.
  • Using 18 figures to illustrate structural, dynamic, and behavioral aspects across both modeling approaches.

Experimental results

Research questions

  • RQ1How do Event-B and Throwing Machine differ in representing system components and interactions?
  • RQ2What are the strengths and limitations of formal modeling (Event-B) versus diagrammatic modeling (TM) in capturing system behavior?
  • RQ3Can both modeling approaches coexist effectively in modeling complex physical/digital systems?
  • RQ4How do the five generic operations and events in TM contribute to system understanding compared to Event-B's formal logic?
  • RQ5What insights does the case study of bridge traffic provide into the practical use of formal and diagrammatic methods?

Key findings

  • Event-B provides a mathematically rigorous foundation for system specification using set theory and first-order logic.
  • TM offers a visual, hierarchical representation of system structure, dynamics, and behavior through five core operations and events.
  • The case study shows that both approaches yield complementary insights: Event-B ensures correctness through formal verification, while TM enhances intuitive understanding.
  • The results suggest that formal and diagrammatic modeling approaches serve distinct but valuable roles in system development.
  • The integration of both methods may lead to more robust and comprehensible system models in software engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.