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

证明策略的图形语言

A Graphical Language for Proof Strategies

Gudmund Grov, Aleks Kissinger, Yuhui Lin

摘要:

复杂的自动化证明策略通常难以提取、可视化、修改和调试。传统的策略语言,通常基于基于堆栈的目标传播,很容易编写证明,掩盖策略之间的目标流,并且容易受到输入,证明结构或策略本身的微小变化的影响。在这里,我们通过引入一种名为PSGraph的图形语言来编写证明策略来解决这个问题。策略是通过将策略集合“连接在一起”来可视化地构建的,并通过图重写通过图传播目标节点来评估。战术节点可以有许多输出线,并使用基于目标类型(描述目标特征的谓词)的过滤过程来决定将新生成的子目标发送到何处。除了使目标信息流明确之外,图形语言还可以使用视觉习惯用法(如分支、合并和反馈循环)来完成许多战术的角色。我们认为,这种语言可以开发更强大的证明策略,并提供了几个例子,以及在伊莎贝尔的原型实现。

英文摘要:

Complex automated proof strategies are often difficult to extract, visualise, modify, and debug. Traditional tactic languages, often based on stack-based goal propagation, make it easy to write proofs that obscure the flow of goals between tactics and are fragile to minor changes in input, proof structure or changes to tactics themselves. Here, we address this by introducing a graphical language called PSGraph for writing proof strategies. Strategies are constructed visually by "wiring together" collections of tactics and evaluated by propagating goal nodes through the diagram via graph rewriting. Tactic nodes can have many output wires, and use a filtering procedure based on goal-types (predicates describing the features of a goal) to decide where best to send newly-generated sub-goals. In addition to making the flow of goal information explicit, the graphical language can fulfil the role of many tacticals using visual idioms like branching, merging, and feedback loops. We argue that this language enables development of more robust proof strategies and provide several examples, along with a prototype implementation in Isabelle.

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

↑