计算机科学 > 计算机科学中的逻辑
[提交于 2024年11月20日]
标题:An Expressive Trace Logic for Recursive Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present an expressive logic over trace formulas, based on binary state predicates, chop, and least fixed-points, for precise specification of programs with recursive procedures. Both, programs and trace formulas, are equipped with a direct-style, fully compositional, denotational semantics that on programs coincides with the standard SOS of recursive programs. We design a compositional proof calculus for proving finite-trace program properties, and prove soundness as well as (relative) completeness. We show that each program can be mapped to a semantics-preserving trace formula and, vice versa, each trace formula can be mapped to a canonical program over slightly extended programs, resulting in a Galois connection between programs and formulas. Our results shed light on the correspondence between programming constructs and logical connectives.
提交历史
来自:Reiner Hähnle[v1] 2024年11月20日 星期三 08:35:29 UTC