Nanevski, AleksandarBanerjee, AnindyaDelbianco, Germán AndrésFábregas, IgnacioFábregas Alfaro, Ignacio2024-02-022024-02-022019-10-01Nanevski A, Banerjee A, Delbianco GA, Fábregas I (2019) Specifying concurrent programs in separation logic: morphisms and simulations. Proc ACM Program Lang 3(OOPSLA):1–30. https://doi.org/10.1145/336058710.1145/3360587https://hdl.handle.net/20.500.14352/98261In addition to pre- and postconditions, program specifications in recent separation logics for concurrency have employed an algebraic structure of resourcesÐa form of state transition systemsÐto describe the state-based program invariants that must be preserved, and to record the permissible atomic changes to program state. In this paper we introduce a novel notion of resource morphism, i.e. structure-preserving function on resources, and show how to effectively integrate it into separation logic, using an associated notion of morphism-specific simulation. We apply morphisms and simulations to programs verified under one resource, to compositionally adapt them to operate under another resource, thus facilitating proof reuse.engAttribution 4.0 Internationalhttp://creativecommons.org/licenses/by/4.0/Specifying concurrent programs in separation logic: morphisms and simulationsconference paperopen accessInformática (Informática)1203.17 Informática