Abstract Interpreters: A Monadic Approach to Modular Verification

Author:

Michelland Sébastien1ORCID,Zakowski Yannick2ORCID,Gonnord Laure1ORCID

Affiliation:

1. Université Grenoble-Alpes - Grenoble INP - LCIS, Valence, France

2. Inria - ENS de Lyon - CNRS - UCBL1 - LIP - UMR 5668, Lyon, France

Abstract

We argue that monadic interpreters built as layers of interpretations stacked atop the free monad constitute a promising way to implement and verify abstract interpreters in dependently-typed theories such as the one underlying the Coq proof assistant. The approach enables modular proofs of soundness of the resulting interpreters. We provide generic abstract control flow combinators proven correct once and for all against their concrete counterpart. We demonstrate how to relate concrete handlers implementing effects to abstract variants of these handlers, essentially capturing the traditional soundness of transfer functions in the context of monadic interpreters. Finally, we provide generic results to lift soundness statements via the interpretation of stateful and failure effects. We formalize all the aforementioned combinators and theories in Coq, and demonstrate their benefits by implementing and proving correct two illustrative abstract interpreters for a structured imperative language and a toy assembly.

Publisher

Association for Computing Machinery (ACM)

Reference24 articles.

1. Skeletal semantics and their interpretations

2. Refinement to Certify Abstract Interpretations: Illustrated on Linearization for Polyhedra

3. Nicolas Chappe, Paul He, Ludovic Henrio, Yannick Zakowski, and Steve Zdancewic. 2023. “Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq. ” Proc. ACM Program. Lang., 7, POPL, 1770-1800. doi: 10.1145 /3571254.

4. A Survey on Product Operators in Abstract Interpretation

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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