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

行为程序逻辑和无延续的LAGC语义(技术报告)

Behavioral Program Logic and LAGC Semantics without Continuations (Technical Report)

Eduard Kamburjan

摘要:

我们提出的行为程序逻辑(BPL),跟踪属性的动态逻辑,结合了行为类型的概念,并允许推理的非功能性的属性内的一个微积分。BPL使用行为模式[s|- τ ],以针对行为规范τ验证语句s。行为规范概括了后置条件和行为类型。它们可用于指定其他静态分析,例如,数据流分析这使得对同一程序的多个分析结果的演绎推理成为可能,可能以不同的形式实现。我们的演算BPL验证的行为规范逐渐,常见的行为类型。这极大地简化了局部结果的规范、演算和组成。我们提出了一个面向对象的演员与期货,集成了指针分析和桥梁之间的差距行为类型和演绎验证的微积分。本技术报告介绍了(1)没有延续的核心活动对象语言(CAO)的完整LAGC语义(2)行为程序逻辑和(3)给出了行为程序逻辑中表示的行为类型的示例,方法类型。此报告包含方法类型的可靠性证明。虽然语义覆盖了带有挂起的CAO,但方法类型没有,以简化表示。

英文摘要:

We present Behavioral Program Logic (BPL), a dynamic logic for trace properties that incorporates concepts from behavioral types and allows reasoning about non-functional properties within a sequent calculus. BPL uses behavioral modalities [s |- τ ], to verify statements s against behavioral specifications τ. Behavioral specifications generalize postconditions and behavioral types. They can be used to specify other static analyses, e.g., data flow analyses. This enables deductive reasoning about the results of multiple analyses on the same program, potentially implemented in different formalisms. Our calculus for BPL verifies the behavioral specification gradually, as common for behavioral types. This vastly simplifies specification, calculus and composition of local results. We present a sequent calculus for object-oriented actors with futures that integrates a pointer analysis and bridges the gap between behavioral types and deductive verification. This technical report introduces (1) complete LAGC semantics of a Core Active Object language (CAO) without continuations (2) Behavioral Program Logic and (3) gives an example for a behavioral type expressed in Behavioral Program Logic, method types. This report contains the soundness proofs for method types. While the semantics cover CAO with suspension, the method types do not, to simplify the presentation.

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

↑