Carnegie Mellon University
Browse
- No file added yet -

Modal crash types for intermittent computing

Download (1.95 MB)
conference contribution
posted on 2023-07-25, 17:12 authored by Farzaneh DerakhshanFarzaneh Derakhshan, Myra Dotzel, Milijana SurbatovichMilijana Surbatovich, Limin JiaLimin Jia

Intermittent computing is gaining traction in a number of application domains, e.g., Energy Harvesting Devices (EHDs) that experience arbitrary power failures during program execution. To make progress, programs require system support to checkpoint state and re-execute after power failure by restoring the last saved state. This re-execution should be ``correct/consistent", 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. We define a Crash type system for a core calculus. We prove the correctness of intermittent systems by defining a novel logical relation for Crash types.

History

Publisher Statement

© The Author(s) 2023

Date

2023-04-22

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC