Asymmetric Timed Refinement for Correct Post-Deployment Updates in Real-Time Systems
Abstract
Model-based systems engineering is a well-established framework for developing post-deployment updates in cyber-physical systems. In real-time and safety-critical settings in particular, these updates must be shown to preserve previously verified properties. Refinement relations over timed models provide an attractive alternative to full model checking, as they establish correctness by behavioral inclusion and can be checked efficiently and compositionally. However, traditional relations enforce symmetric timing preservation for all observable events, rejecting adaptations such as buffering or asynchronous communication, which preserve all safety-critical output deadlines but would require relaxed reception timing. We address this limitation by introducing Relaxed Weak Timed Bisimulation (RWTBS), a novel refinement relation that strictly preserves output timing while permitting controlled relaxation of input reception timing. We prove key property preservation and present a symbolic algorithm to decide RWTBS. Our evaluation demonstrates that RWTBS accepts updates rejected by classical refinement, can be used to correctly identify the operating boundary beyond which updates become unsafe, and achieves speedups of up to five orders of magnitude over model-checking with memory savings of three orders of magnitude.