arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.19686cs.PL
收藏

效应系统作为抽象解释

Effect Systems as Abstract Interpretations

Drexel University(德雷塞尔大学)

Colin S. Gordon

AI总结:

本文通过将效应量词嵌入抽象域,并从事件发生角度恢复效应量词的一般形式,建立了抽象解释与一般效应系统之间的形式关系。

摘要:

文献中已知多种关于程序行为的静态推理形式,但形式关系的研究却出奇地少。尽管大多数类型系统被广泛认为可以通过抽象解释来捕捉,但在一般情况下,类型-效应系统的情况尚未明确,尽管有强有力的假设和偶尔将效应系统视为抽象解释的框架。我们开发了抽象解释与一般效应系统之间的形式关系。首先,我们描述了将效应量词嵌入抽象域的方法。其次,我们从事件发生(而非状态或值)的角度,将效应量词的一般形式恢复为抽象解释。

英文摘要:

Many forms of static reasoning about program behaviours are known in the literature, yet formal relationships are studied surprisingly infrequently. While most type systems are well-known to be captured by abstract interpretations, the situation for type-and-effect systems is, in the general case, unsettled despite strong hypotheses and occasional framing of effect systems as abstract interpretations. We develop a formal relationship between abstract interpretations and a general class of effect systems. First, we describe an embedding of effect quantales into abstract domains. Second, we recover the general form of an effect quantale as an abstract interpretation -- not on states or values, but on event occurrences.

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

↑