arXiv:2609.17388cs.LOSep 2026

Manuscript Offprint

arXiv:2609.17388

Refining Timing Uncertainty from Logical Time Specification to Operation

Pavlo Tokariev, Julien Deantoni

Pavlo Tokariev 1^{1} D◯\textcircled{D}, and Julien Deantoni 1,2^{1,2} D◯\textcircled{D}

1^{1}Inria, Kairos Team, Sophia-Antipolis, France

2^{2}Université Côte d'Azur, I3S, CNRS, Nice, France

Email: pavlo.tokariev@inria.fr, julien.deantoni@univ-cotedazur.fr

Abstract—Real-time and cyber-physical systems are developed through successive refinements from abstract requirements to platform deployments. While timing knowledge evolves throughout this process, existing stochastic real-time formalisms typically require uncertainty to be embedded from the outset or necessitate model reconstruction when new timing information becomes available, hindering iterative timing engineering.

This paper presents a refinement-oriented timing specification framework built upon the Clock Constraint Specification Language (CCSL). It supports the progressive introduction of timing knowledge across three levels: logical timing relations, quantitative real-time constraints, and stochastic timing models. Instead of altering behavioural semantics, stochastic information is attached directly to timing quantities as a refinement. This enables implementation measurements and operational observations to be incorporated incrementally within a unified declarative framework.

We implement our approach in an OCaml-based simulation tool and evaluate it on a simplified but representative Software-Defined Vehicle use case.

Index Terms—Logical time, Timing Uncertainty, Refinement.

I. INTRODUCTION

Real-time and cyber-physical systems are rarely designed in a single step. Instead, they are progressively refined from abstract requirements towards platform-specific implementations. This refinement process is particularly important for timing requirements, which initially express logical ordering relations between events and are later enriched with quantitative information regarding execution times, communication delays, scheduling effects, and platform characteristics. Logical Time approaches and synchronous design methodologies have long advocated the separation of functional and temporal concerns in support of such incremental development processes [1]−[3][1]-[3].

Recent trends such as Software Defined Vehicles (SDV) further reinforce the need for incremental timing engineering. In these systems, functionality is increasingly determined by software configurations rather than hardware architectures and may evolve throughout the system lifecycle with software updates. As implementations mature, platforms evolve, and measurements become available during validation and operation, knowledge about timing behaviour becomes progressively more precise. Timing specifications must therefore accommodate evolving information while preserving continuity across development stages.

This work has been supported by the European Chips Joint Undertaking under Framework Partnership Agreement No 101139789 (HAL4SDV).

Several stochastic real-time formalisms have been proposed to model timing uncertainty, including stochastic timed automata and associated analysis frameworks [4]–[6]. These approaches provide powerful modelling and verification capabilities but generally introduce probability directly into the behavioural models. As a consequence, uncertainty assumptions often need to be established early in the modelling process, and incorporating newly available timing information may require substantial modifications to existing models.

Similar observations can be made for probabilistic timing specification approaches, including probabilistic extensions of the Clock Constraint Specification Language (CCSL) [7], [8]. In these approaches, probabilities are typically associated with events or constraint satisfaction. While this provides useful mechanisms for analysing uncertain behaviour, it changes the interpretation of timing constraints from strict behavioural restrictions to probabilistic properties. As a result, the progressive introduction of timing uncertainty does not naturally align with the classical refinement intuition, where additional knowledge restricts the set of admissible behaviours.

As the contribution of this paper, we investigate how timing uncertainty can itself be treated as a refinement artifact. Our objective is not merely to introduce stochastic constructs into CCSL [3], [9], but to provide a continuous timing-specification process through which timing knowledge can evolve together with the system. We build upon CCSL and first refine logical timing specifications into quantitative real-time specifications by relating logical instants to physical time. We then introduce a stochastic refinement layer that allows timing quantities to be constrained by probability distributions.

The key idea of our approach is to associate uncertainty with timing quantities rather than with behavioural semantics or constraint satisfaction. This enables timing specifications to evolve through three successive refinement levels: logical timing specifications, quantitative real-time specifications, and stochastic timing specifications. Each level enriches the previous one with additional timing knowledge while preserving a common declarative foundation. In this sense, refinement follows the classical intuition of trace refinement: each step introduces additional timing information and further constrains the admissible behaviours represented by the specification. Consequently, stochastic timing models may be derived not only from the initial design assumptions but also from measurements later collected during implementation, validation, or operation, without requiring a change of the modelling paradigm. To evaluate the approach, we implement the framework as a Monte Carlo simulation environment and apply it to a SDV case study involving an Advanced Driver-Assistance System function. Starting from architectural timing specifications and functional chains, we progressively refine timing information and obtain stochastic timing models that support the analysis of end-to-end reaction times.

The paper is structured as follows: Section II introduces the running example, and Section III reviews CCSL semantics. Our core contribution—a stochastic extension to a revisited RTCCSL language—is defined in Section IV and evaluated on a reaction time analysis in Section V. Finally, Section VI discusses the refinement process, and Section VII concludes with future work.

References (25)