Semantic Logical Relations for Timed Message-Passing Protocols (Extended Version)
Yue Yao (1), Grant Iraci (2), Cheng-En Chuang (2), Stephanie Balzer, (1), Lukasz Ziarek (2) ((1) Carnegie Mellon University, (2) University at, Buffalo)

TL;DR
This paper introduces a semantic logical relation for verifying compliance of heterogeneous systems with timed message-passing protocols, enabling both general and specific correctness checks in IoT and real-time applications.
Contribution
It develops a semantic logical relation and a refinement type system for verifying timed protocols, applicable to diverse, high-level, and hardware systems without relying on syntactic typing.
Findings
Logical relation enables verification of heterogeneous systems.
Refinement type system ensures well-typed programs adhere to timed protocols.
Implementation in Rust with SMT solver supports practical verification.
Abstract
Many of today's message-passing systems not only require messages to be exchanged in a certain order but also to happen at a certain \emph{time} or within a certain \emph{time window}. Such correctness conditions are particularly prominent in Internet of Things (IoT) and real-time systems applications, which interface with hardware devices that come with inherent timing constraints. Verifying compliance of such systems with the intended \emph{timed protocol} is challenged by their \emph{heterogeneity} -- ruling out any verification method that relies on the system to be implemented in one common language, let alone in a high-level and typed programming language. To address this challenge, this paper contributes a \emph{logical relation} to verify that its inhabitants (the applications and hardware devices to be proved correct) comply with the given timed protocol. To cater to the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Embedded Systems Design Techniques · Advanced Authentication Protocols Security
