arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.08909cs.PLcs.LO
收藏

Galois联络的一个构造性框架

A Constructive Framework for Galois Connections

Francesco Ranzato

摘要:

基于抽象解释的静态分析依赖于程序属性的抽象域,例如整数变量的区间或全等。偏序集之间的伽罗瓦连接(GC)为数学上指定抽象域提供了最广泛和最有用的形式化工具。最近,Darais和Van Horn [2016]提出了无序集(而不是偏序集)的构造性伽罗瓦连接的概念,它允许以所谓的机械化和计算证明风格定义抽象域,因此可以使用Coq和Agda等证明助手自动提取静态分析的验证算法。我们在这里表明,建设性的GC是同构的,在一个精确和全面的意义,包括声音的抽象功能,所谓的分区GC-一个已知的类的GC,允许铸造标准集分区作为一个抽象域。Darais和Van Horn [2016]还为偏序集提供了构造性GC的概念,我们证明了它与普通GC同构,因此失去了它们的构造性属性。利用这些发现,我们提出并倡导使用纯粹的分区GC,一类新颖的建设性抽象域的机械化方法来抽象的解释。我们表明,这类抽象域使我们能够表示一组分区具有更大的灵活性,同时保留了建设性的方法伽罗瓦连接。

英文摘要:

Abstract interpretation-based static analyses rely on abstract domains of program properties, such as intervals or congruences for integer variables. Galois connections (GCs) between posets provide the most widespread and useful formal tool for mathematically specifying abstract domains. Recently, Darais and Van Horn [2016] put forward a notion of constructive Galois connection for unordered sets (rather than posets), which allows to define abstract domains in a so-called mechanized and calculational proof style and therefore enables the use of proof assistants like Coq and Agda for automatically extracting verified algorithms of static analysis. We show here that constructive GCs are isomorphic, in a precise and comprehensive meaning including sound abstract functions, to so-called partitioning GCs--an already known class of GCs which allows to cast standard set partitions as an abstract domain. Darais and Van Horn [2016] also provide a notion of constructive GC for posets, which we prove to be isomorphic to plain GCs and therefore lose their constructive attribute. Drawing on these findings, we put forward and advocate the use of purely partitioning GCs, a novel class of constructive abstract domains for a mechanized approach to abstract interpretation. We show that this class of abstract domains allows us to represent a set partition with more flexibility while retaining a constructive approach to Galois connections.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑