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

非二元约束到二元约束的形式化验证转换

Formally Verified Transformation of Non-binary Constraints into Binary Constraints

Catherine Dubois

摘要:

在约束编程社区中众所周知,任何非二进制约束满足问题(有限域)都可以转化为等价的二进制问题。其中最著名的翻译是隐藏变量编码。在本文中,我们正式证明证明助手Coq这种编码,并证明任何解决方案的二进制约束满足问题,使它有可能建立一个解决方案的原始问题,反之亦然。这种形式化开发用于完成Carlier、Dubois和Gotlieb在2012年开发的Coq中经过形式验证的约束求解器,使其成为能够解决任何n元约束满足问题的工具。翻译器与Coq二进制求解器之间成功连接的关键是后者的通用性。

英文摘要:

It is well known in the Constraint Programming community that any non-binary constraint satisfaction problem (with finite domains) can be transformed into an equivalent binary one. One of the most well-known translations is the Hidden Variable Encoding. In this paper we formalize this encoding in the proof assistant Coq and prove that any solution of the binary constraint satisfaction problem makes it possible to build a solution of the original problem and vice-versa. This formal development is used to complete the formally verified constraint solver developed in Coq by Carlier, Dubois and Gotlieb in 2012, making it a tool able to solve any n-ary constraint satisfaction problem, The key of success of the connection between the translator and the Coq binary solver is the genericity of the latter.

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

↑