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

匹配逻辑中的统一-扩展版

Unification in Matching Logic - Extended Version

Andrei Arusoaie, Dorel Lucanu

摘要:

匹配逻辑是一种用于指定程序设计语言语义和程序推理的框架。它的公式被称为模式,由变量、符号、连接词和量词组成。模式是必须匹配的结构组件(术语模式)和必须满足的约束(谓词模式)的组合。在一个模式中处理多个结构组件可能会很麻烦,因为它涉及到多个匹配操作。获得具有许多结构组件的模式的来源是模式的结合。在这里,我们提出了一种方法,使用一个语法统一算法转换成等价的模式只有一个结构组件和一些额外的约束条件的结构模式的连接。我们证明了我们的方法的合理性,我们讨论了为什么这种方法是不完整的,我们提供了合理的策略来生成证书的等价物,使用Coq验证。

英文摘要:

Matching Logic is a framework for specifying programming language semantics and reasoning about programs. Its formulas are called patterns and are built with variables, symbols, connectives and quantifiers. A pattern is a combination of structural components (term patterns), which must be matched, and constraints (predicate patterns), which must be satisfied. Dealing with more than one structural component in a pattern could be cumbersome because it involves multiple matching operations. A source for getting patterns with many structural components is the conjunction of patterns. Here, we propose a method that uses a syntactic unification algorithm to transform conjunctions of structural patterns into equivalent patterns having only one structural component and some additional constraints. We prove the soundness of our approach, we discuss why the approach is not complete and we provide sound strategies to generate certificates for the equivalences, validated using Coq.

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

↑