计算机科学 > 程序设计语言
[提交于 2025年5月20日]
标题:Verifying Tree-Manipulating Programs via CHCs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Programs that manipulate tree-shaped data structures often require complex, specialized proofs that are difficult to generalize and automate. This paper introduces a unified, foundational approach to verifying such programs. Central to our approach is the knitted-tree encoding, modeling each program execution as a tree structure capturing input, output, and intermediate states. Leveraging the compositional nature of knitted-trees, we encode these structures as constrained Horn clauses (CHCs), reducing verification to CHC satisfiability task. To illustrate our approach, we focus on memory safety and show how it naturally leads to simple, modular invariants.
提交历史
来自:Marco Faella[v1] 2025年5月20日 星期二 08:56:33 UTC