arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2504.00263cs.FLcs.LOcs.SC
收藏

GOL in GOL in HOL:康威生命游戏中的已验证电路

GOL in GOL in HOL: Verified Circuits in Conway's Game of Life

Magnus O. Myreen, Mario Carneiro

AI总结:

本文在HOL4定理证明器中形式化验证了一个通过逻辑电路在康威生命游戏(GOL)中实现GOL的编译器,该编译器能将初始GOL状态转换为可由现成模拟器运行的巨细胞版本,相关技术也适用于其他细胞自动机及硬件验证。

摘要:

康威生命游戏(GOL)是一种细胞自动机,50多年来一直吸引着业余爱好者和数学家的兴趣。GOL是图灵完备的,人们一直在GOL中构建日益复杂的构造,例如8位显示器、图灵机,甚至GOL本身的实现。在本文中,我们报告了一个项目,通过逻辑电路在GOL中构建GOL的实现,并在HOL4定理证明器中进行了完整的形式化验证。这需要结合交互式策略证明、符号仿真和半自动前向证明,将组件组装成一个无限电路,该电路能够在遵守信号传播延迟的同时计算仿真的下一步。结果是一个经过验证的“GOL in GOL编译器”,它接收一个初始GOL状态并返回其巨细胞版本,可传递给现成的GOL模拟器(如Golly)。我们相信这些技术也适用于其他细胞自动机,以及考虑组件物理配置和导线延迟的硬件验证。

英文摘要:

Conway's Game of Life (GOL) is a cellular automaton that has captured the interest of hobbyists and mathematicians alike for more than 50 years. The Game of Life is Turing complete, and people have been building increasingly sophisticated constructions within GOL, such as 8-bit displays, Turing machines, and even an implementation of GOL itself. In this paper, we report on a project to build an implementation of GOL within GOL, via logic circuits, fully formally verified within the HOL4 theorem prover. This required a combination of interactive tactic proving, symbolic simulation, and semi-automated forward proof to assemble the components into an infinite circuit which can calculate the next step of the simulation while respecting signal propagation delays. The result is a verified "GOL in GOL compiler" which takes an initial GOL state and returns a mega-cell version of it that can be passed to off-the-shelf GOL simulators, such as Golly. We believe these techniques are also applicable to other cellular automata, as well as for hardware verification which takes into account both the physical configuration of components and wire delays.

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

↑