Stateless HOL
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...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2011-03-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1103.3322v1 |
id |
doaj-8d3b6a55843149479f4b92ebda5aebf7 |
---|---|
record_format |
Article |
spelling |
doaj-8d3b6a55843149479f4b92ebda5aebf72020-11-25T00:38:38ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802011-03-0153Proc. TYPES 2009476110.4204/EPTCS.53.4Stateless HOLFreek WiedijkWe 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. http://arxiv.org/pdf/1103.3322v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Freek Wiedijk |
spellingShingle |
Freek Wiedijk Stateless HOL Electronic Proceedings in Theoretical Computer Science |
author_facet |
Freek Wiedijk |
author_sort |
Freek Wiedijk |
title |
Stateless HOL |
title_short |
Stateless HOL |
title_full |
Stateless HOL |
title_fullStr |
Stateless HOL |
title_full_unstemmed |
Stateless HOL |
title_sort |
stateless hol |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2011-03-01 |
description |
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. |
url |
http://arxiv.org/pdf/1103.3322v1 |
work_keys_str_mv |
AT freekwiedijk statelesshol |
_version_ |
1725296482223915008 |