Deductive Verification for Earliest Deadline First Scheduler Implementations
Abstract
Real-Time Operating Systems (RTOSes) rely on scheduler implementations to provide predictable task execution. For safety-critical systems, it is therefore not sufficient to reason only about the abstract scheduling policy; the concrete implementation must also preserve the intended scheduling semantics. This is particularly challenging for Earliest Deadline First (EDF) scheduling, because EDF introduces dynamic, deadline-derived priorities that are often realized by reusing kernel infrastructure originally designed for fixed-priority scheduling. In this work, we formalize EDF correctness through three essential properties that any implementation of the Earliest Deadline First (EDF) scheduler must satisfy. Based on these properties, we propose a framework utilizing deductive verification, that applies to any EDF-based scheduler realization. We instantiate the framework in Frama-C/ACSL and apply it to three structurally different EDF scheduler realizations: RTEMS 5, RTEMS 6, and an EDF extension of FreeRTOS.
Cite
@article{arxiv.2607.26927,
title = {Deductive Verification for Earliest Deadline First Scheduler Implementations},
author = {Daniel Kuhse and Junjie Shi and Jan Duy Thien Pham and Kay Heider and Marcus Völker and Kuan-Hsun Chen and Jian-Jia Chen},
journal= {arXiv preprint arXiv:2607.26927},
year = {2026}
}