Modal Crash Types for WAR-Aware Intermittent Computing

Loading...
Thumbnail Image

Publication or External Link

External Link to Data Files

Date

Advisor

Citation

Dotzel, M., Derakhshan, F., Surbatovich, M., & Jia, L. (2025). Modal crash types for war-aware intermittent computing. ACM Transactions on Programming Languages and Systems, 47(2). https://doi.org/10.1145/3716311

Abstract

Programs are executed intermittently on devices that experience arbitrary power failures such as Energy Harvesting Devices (EHDs). To ensure progress, intermittent systems need runtime support to checkpoint state and re-execute after power failure by restoring the last saved state. Such re-execution should be correct , i.e., simulated by a continuously-powered execution. We study the logical underpinning of intermittent computing and model checkpoint, crash, restore, and re-execution operations as computation on crash types. We draw inspiration from adjoint logic and define crash types by introducing two adjoint modality operators to model persistent and transient memory values of partial (re-)executions and the transitions between them caused by checkpoints and restoration. Our formalism is general enough to accommodate a variety of checkpointing policies. We define a crash type system for a core calculus. To prove the correctness of intermittent systems, we define a novel logical relation for crash types.

Notes

Rights

Attribution 4.0 International
https://creativecommons.org/licenses/by/4.0/