Coquet:一个用于验证硬件的Coq库
Coquet: a Coq library for verifying hardware
摘要:
我们提出了一个新的库来建模和验证硬件电路的Coq证明助手。这个库允许人们按照通常的纸笔图轻松地构建电路。我们定义了一个深度嵌入:我们使用一个(依赖类型的)数据类型来建模电路的架构,以及一个意义函数。我们提出的策略,减轻推理的行为的电路,我们证明,我们的方法是切实可行的,通过证明各种电路的正确性:一本教科书分而治之加法器的参数大小,一些高阶组合电路,和一些时序电路:一个缓冲区,和一个寄存器。
英文摘要:
We propose a new library to model and verify hardware circuits in the Coq proof assistant. This library allows one to easily build circuits by following the usual pen-and-paper diagrams. We define a deep-embedding: we use a (dependently typed) data-type that models the architecture of circuits, and a meaning function. We propose tactics that ease the reasoning about the behavior of the circuits, and we demonstrate that our approach is practicable by proving the correctness of various circuits: a text-book divide and conquer adder of parametric size, some higher-order combinators of circuits, and some sequential circuits: a buffer, and a register.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。