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

无状态HOL

Stateless HOL

Freek Wiedijk

摘要:

我们提出了一个版本的HOL光系统,支持撤销定义,这样的方式,这不会损害逻辑的合理性。在我们的系统中,跟踪到目前为止定义的常量的代码已经被移出内核。这意味着内核现在是纯功能性的。系统的变化很小。所有现有的HOL Light开发都可以通过无状态系统运行,只需进行微小的更改。系统背后的基本原则不是用字符串命名常量,而是用由字符串和定义组成的对命名常量。这意味着术语的数据结构全部合并到一个大图中。OCaml-系统的实现语言-可以使用指针相等来快速建立数据结构的相等。这允许系统以可接受的速度运行。我们的系统运行速度大约是HOL Light有状态版本的85%。

英文摘要:

We present a version of the HOL Light system that supports undoing definitions in such a way that this does not compromise the soundness of the logic. In our system the code that keeps track of the constants that have been defined thus far has been moved out of the kernel. This means that the kernel now is purely functional. The changes to the system are small. All existing HOL Light developments can be run by the stateless system with only minor changes. The basic principle behind the system is not to name constants by strings, but by pairs consisting of a string and a definition. This means that the data structures for the terms are all merged into one big graph. OCaml - the implementation language of the system - can use pointer equality to establish equality of data structures fast. This allows the system to run at acceptable speeds. Our system runs at about 85% of the speed of the stateful version of HOL Light.

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

↑