首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:Stateless HOL
  • 本地全文:下载
  • 作者:Freek Wiedijk
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2009
  • 卷号:53
  • 页码:47-61
  • DOI:10.4204/EPTCS.53.4
  • 出版社:Open Publishing Association
  • 摘要: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.

国家哲学社会科学文献中心版权所有