HOL (proof assistant)
Template:Short description Template:Infobox programming language
HOL (Higher Order Logic) denotes a family of interactive theorem proving systems using similar (higher-order) logics and implementation strategies. Systems in this family follow the LCF (Logic for Computable Functions) approach as they are implemented as a library which defines an abstract data type of proven theorems such that new objects of this type can only be created using the functions in the library which correspond to inference rules in higher-order logic. As long as these functions are correctly implemented, all theorems proven in the system must be valid. As such, a large system can be built on top of a small trusted kernel.
Systems in the HOL family use ML or its successors. ML was originally developed along with LCF as a meta-language for theorem proving systems; in fact, the name stands for "Meta-Language".
Underlying logicEdit
HOL systems use variants of classical higher-order logic, which has simple axiomatic foundations with few axioms and well-understood semantics.<ref>Template:Cite book</ref>
The logic used in HOL provers is closely related to Isabelle/HOL,<ref>Template:Cite book</ref> the most widely used logic of Isabelle.
HOL implementationsEdit
A number of HOL systems (sharing essentially the same logic) remain active and in use:
- HOL4 Template:Emdash the only presently maintained and developed system stemming from the HOL88 system, which was the culmination of the original HOL implementation effort, led by Mike Gordon. HOL88 included its own ML implementation, which was in turn implemented on top of Common Lisp. The systems that followed HOL88 (HOL90, hol98 and HOL4) were all implemented in Standard ML; while hol98 is coupled to Moscow ML, HOL4 can be built with either Moscow ML or Poly/ML. All come with large libraries of theorem proving code which implement extra automation on top of the very simple core code. HOL4 is BSD licensed.<ref>{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref>
- HOL Light Template:Emdash an experimental "minimalist" version of HOL which has since grown into another mainstream HOL variant; its logical foundations remain unusually simple. HOL Light, originally implemented in Caml Light, now uses OCaml. HOL Light is available under the new BSD license.<ref>{{#invoke:citation/CS1|citation
|CitationClass=web }}</ref>
- ProofPower Template:Emdash a collection of six tools designed to provide special support grounded in HOL for working with the Z notation for formal specification. The tool PPDaz supporting specification and verification of programs written in a subset of Ada was previously only supplied under a proprietary licence. All the tools are now available under the GNU GPL v2 license.
- HOL Zero Template:Emdash a minimalist implementation focused on trustworthiness. HOL Zero is GNU GPL 3+ licensed.<ref>See LICENSE file in the tarball Template:Webarchive.</ref>
- Candle Template:Emdash An end-to-end verified HOL Light implementation on top of CakeML.<ref>Template:Cite journal</ref>
Formal proof developmentsEdit
The CakeML project developed a formally proven compiler for ML.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Previously, HOL was used to develop a formally proven Lisp implementation running on ARM, x86 and PowerPC.<ref>Template:Cite conference</ref>
HOL was also used to formalize the semantics of x86 multiprocessors<ref>Template:Cite journal</ref> as well as the machine code for Power ISA and ARM architectures.<ref>Template:Cite conference</ref>
ReferencesEdit
Further readingEdit
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
External linksEdit
- Template:Official website
- Documents specifying HOL's basic logic
- HOL4 Description manual, includes system logic specification
- Virtual library formal methods information