Layered and object-based game semantics

Author:

Oliveira Vale Arthur1ORCID,Melliès Paul-André2ORCID,Shao Zhong1ORCID,Koenig Jérémie1ORCID,Stefanesco Léo3ORCID

Affiliation:

1. Yale University, USA

2. CNRS, France / Université de Paris, France

3. MPI-SWS, Germany

Abstract

Large-scale software verification relies critically on the use of compositional languages, semantic models, specifications, and verification techniques. Recent work on certified abstraction layers synthesizes game semantics, the refinement calculus, and algebraic effects to enable the composition of heterogeneous components into larger certified systems. However, in existing models of certified abstraction layers, compositionality is restricted by the lack of encapsulation of state. In this paper, we present a novel game model for certified abstraction layers where the semantics of layer interfaces and implementations are defined solely based on their observable behaviors. Our key idea is to leverage Reddy's pioneer work on modeling the semantics of imperative languages not as functions on global states but as objects with their observable behaviors. We show that a layer interface can be modeled as an object type (i.e., a layer signature) plus an object strategy. A layer implementation is then essentially a regular map, in the sense of Reddy, from an object with the underlay signature to that with the overlay signature. A layer implementation is certified when its composition with the underlay object strategy implements the overlay object strategy. We also describe an extension that allows for non-determinism in layer interfaces. After formulating layer implementations as regular maps between object spaces, we move to concurrency and design a notion of concurrent object space, where sequential traces may be identified modulo permutation of independent operations. We show how to express protected shared object concurrency, and a ticket lock implementation, in a simple model based on regular maps between concurrent object spaces.

Funder

DARPA and NIWC Pacific

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference53 articles.

1. 2015-2021. DeepSpec: The Science of Deep Specifications. https://deepspec.org/ 2015-2021. DeepSpec: The Science of Deep Specifications. https://deepspec.org/

2. Full Abstraction for PCF

3. Linearity, Sharing and State: A Fully Abstract Game Semantics for Idealized Algol with Active Expressions

4. Samson Abramsky and Guy McCusker . 1999. Game Semantics . In Computational Logic, Ulrich Berger and Helmut Schwichtenberg (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg . 1–55. isbn:978-3-642-58622-4 Samson Abramsky and Guy McCusker. 1999. Game Semantics. In Computational Logic, Ulrich Berger and Helmut Schwichtenberg (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg. 1–55. isbn:978-3-642-58622-4

5. Verified Software Toolchain

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Compositional Theory of Linearizability;Journal of the ACM;2024-04-12

2. Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq;Proceedings of the ACM on Programming Languages;2023-01-09

3. A Compositional Theory of Linearizability;Proceedings of the ACM on Programming Languages;2023-01-09

4. DimSum: A Decentralized Approach to Multi-language Semantics and Verification;Proceedings of the ACM on Programming Languages;2023-01-09

5. Layered and object-based game semantics;Proceedings of the ACM on Programming Languages;2022-01-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3