H is a tool for formal specification and verification of reconfigurable systems. These are software systems that behave differently in different modes of operation (often called configurations) and commute between them along their lifetime.

H supports a dedicated generic logic-based specification language for reconfigurable systems. The genericity of the language is given by the fact that the formalism used for specifying the local behavior of the system, for each configuration, can be freely chosen by the user as the most appropriate for the given requirements. Proof support for the specification language is obtained via a generic methodology of proof-by-translation, when a conjecture is first translated to first-order logic then verified there using automated first-order provers.

Download the H system

The system is available in two distributions:

  • one supporting a developer-oriented notation, closer to natural language
  • the other supporting a mathematics-oriented notation, closer to textbooks on modal and hybrid logic

Warning for slow connections: each of the two binary files is about 95 Mb large.

To install the H system, first install Hets:

$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:hets/hets
$ sudo apt-get update
$ sudo apt-get install hets-desktop-all
Then, replace the binary file (found at /usr/bin/hets) with the one you downloaded from this site.

Build H from sources

The source code of the project is freely available on a Git development branch of Hets. You can get it with

  $ git clone
  $ cd Hets
  $ git checkout rigid_casl

The next step is to setup the compilation of the Hets sources, following the instructions at Build Hets using Stack, then to compile the H source code with

  $ make


The H user guide provides an introduction to using the H system.

The H language definition gives a complete formal overview on the syntax and the semantics of the H specification language.

This video shows how to further extend an existing definition of hybridized logic in H, how to analyze a specification in the newly generated hybridized logic and how to check whether a conjecture is true or not for it.


The seminal paper of the H language by R. Diaconescu. It surveys to a greater extent its concept and its mathematical foundations, and only briefly its current implementation and some case studies.

A paper on the Hets-based implementation of H by M. Codescu.

A larger case study by I. Țuțu, C.E. Chiriță, A. Lopes, and J.L. Fiadeiro on the use of H for the design and analysis of a bike-sharing system.


The Hets source code is licensed under the GPLv2 or higher.


Contact the maintainers of the H system.