1. Theoretical and Practical Approaches to the Denotational Semantics for MDESL based on UTP
- Author
-
Jonathan P. Bowen, Huibiao Zhu, Zongyuan Yang, Feng Sheng, and Jifeng He
- Subjects
Correctness ,Computer science ,Programming language ,Semantics (computer science) ,Concurrency ,Proof assistant ,0102 computer and information sciences ,computer.software_genre ,Mathematical proof ,01 natural sciences ,Theoretical Computer Science ,Denotational semantics ,010201 computation theory & mathematics ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Theory of computation ,Discrete event simulation ,computer ,Software - Abstract
The hardware description language Verilog has been standardized and widely used in industry. Multithreaded Discrete Event Simulation Language (MDESL) is a Verilog-like language and it contains a rich variety of interesting features such as the event-driven computation and shared-variable concurrency as well as the realtime feature. In this paper, we present the denotational semantics for MDESL based on UTP. First a discrete time semantic model is proposed to describe the observation-oriented semantics for MDESL. The observations record the change of variables of atomic actions over time. Then the healthy formulae are defined to denote all different behaviors of programs and the semantics of programs is expressed in terms of healthy formulae. In addition, we demonstrate some interesting properties about the MDESL programs expressing as algebraic laws and their proofs are supported by our formalized denotational semantics. Our theoretical approach is complemented by a practical one, we use the theorem proof assistant Coq to formalize the UTP-based semantics for MDESL. The correctness of the algebraic laws is also verified via the mechanical approach in Coq. Our work provides a novel way to verify the correctness of UTP-based semantics forMDESL both in a theoretical approach and in a practical approach. It is also a new attempt for the application of Coq in the mechanized semantics.
- Published
- 2020
- Full Text
- View/download PDF