Embedding CCSL into Dynamic Logic: A Logical Approach for the Verification of CCSL Specifications

The Clock Constraint Specification Language (CCSL) is a clock-based specification language for capturing causal and chronometric constraints between events in Real-Time Embedded Systems (RTESs). Due to the limitations of the existing verification approaches, CCSL lacks a full verification support for 'unsafe CCSL specifications' and a unified proof framework. In this paper, we propose a novel verification approach based on theorem proving and SMT-checking. We firstly build a logic called CCSL Dynamic Logic (CDL), which extends the traditional dynamic logic with 'signals' and 'clock relations' as primitives, and with synchronous execution mechanism for modelling RTESs. Then we propose a sound and relatively complete proof system for CDL to provide the verification support. We show how CDL can be used to capture RTES and verify CCSL specifications by analyzing a simple case study.

[1]  André Platzer,et al.  A Temporal Dynamic Logic for Verifying Hybrid System Invariants , 2007, LFCS.

[2]  Clark W. Barrett,et al.  The SMT-LIB Standard Version 2.0 , 2010 .

[3]  Robert de Simone,et al.  Safe CCSL specifications and marked graphs , 2013, 2013 Eleventh ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMOCODE 2013).

[4]  Paul Pettersson,et al.  Verifying MARTE/CCSL Mode Behaviors Using UPPAAL , 2013, SEFM.

[5]  Robert de Simone,et al.  Correctness issues on MARTE/CCSL constraints , 2015, Sci. Comput. Program..

[6]  Jerzy Tiuryn,et al.  Dynamic logic , 2001, SIGA.

[7]  Nicolas Halbwachs,et al.  Synchronous Programming of Reactive Systems , 1992, CAV.

[8]  Gérard Berry,et al.  The Esterel Synchronous Programming Language: Design, Semantics, Implementation , 1992, Sci. Comput. Program..

[9]  André Platzer,et al.  Logical Analysis of Hybrid Systems - Proving Theorems for Complex Dynamics , 2010 .

[10]  Yixiang Chen,et al.  Timed Automata Semantics of Spatial-Temporal Consistency Language STeC , 2014, 2014 Theoretical Aspects of Software Engineering Conference.

[11]  Min Zhang,et al.  Periodic scheduling for MARTE/CCSL: Theory and practice , 2017, Sci. Comput. Program..

[12]  Frédéric Mallet Clock constraint specification language: specifying clock constraints with UML/MARTE , 2008, Innovations in Systems and Software Engineering.

[13]  Charles André,et al.  Syntax and Semantics of the Clock Constraint Specification Language (CCSL) , 2009 .

[14]  Min Zhang,et al.  An SMT-Based Approach to the Formal Analysis of MARTE/CCSL , 2016, ICFEM.

[15]  Min Zhang,et al.  Towards SMT-based LTL model checking of clock constraint specification language for real-time and embedded systems , 2017, LCTES.

[16]  Frédéric Mallet,et al.  Specification and verification of time requirements with CCSL and Esterel , 2009, LCTES '09.