Table of Contents

HOA Format Tool Support

(as of 2. 4. 2019)

The following tools implement support for the HOA format, either as output or as input.

In 2015, when the format was introduced, we built a live CD to play around with the tools. It's probably better to install newer versions of the tools today. Several of those tools can also be used online using a terminal on Spot's sandbox.

cpphoafparser and jhoafparser libraries

cpphoafparser and jhoafparser are C++/Java-based parser libraries for the HOA format. The parsers include an abstraction layer (HOAConsumer) allowing applications to react to the different parts of the format, as well as command-line tools that can be used for validation of HOA automata.

cpphoafparser and jhoafparser are distributed under the GNU Lesser General Public License, version 2.1

GOAL

Since version 2015-10-18, GOAL offers a limited support for the HOA format for both reading and output automata. GOAL is a graphical interactive tool for defining and manipulating Büchi automata and temporal logic formulae. It also partially supports other variants of omega-automata and is sitable for educational purposes.

GOAL's source code is distributed under the GNU General Public License, version 3.

ltl2dstar

Since version 0.5.2, ltl2dstar can convert LTL formulas into three kinds of automata that can be output in the HOA format:

Since version 0.5.3, ltl2dstar can also read non-deterministic Büchi automata in HOA format, either from external LTL-to-Büchi translators or as the input automaton for determinization.

ltl2dstar's source code is distributed under the GNU General Public License, version 2.

ltl3ba

Since version 1.1.0, ltl3ba can translate LTL formulas into three kinds of automata that can be output in the HOA format:

ltl3ba's source code is distributed under the GNU General Public License, version 2.

ltl3dra

Since version 0.2, ltl3dra can translate LTL formulas into three kinds of automata that can be output in the HOA format:

ltl3dra's source code is distributed under the GNU General Public License, version 2.

ltl3tela

ltl3tela translates LTL formulae into self-loop alternating and nondeterministic Emerson-Lei automata (automata with generic acceptance) and outputs them in HOA format.

ltl3tela's source code is distributed under the GNU General Public License, version 3.

Owl

Owl is a Java 10+ tool collection and library for ω-words, ω-automata and linear temporal logic. It can input HOA format relying on jhoafparser and output nondeterministic and deterministic automata with various acceptance conditions.

Owl's source code is distributed under the GNU General Public License, version 3.

PRISM

PRISM uses omega automata for probabilistic verification of LTL (and similar logics) against probabilistic models such as Markov chains and Markov processes. Since version 4.3, it includes support for plugging in external LTL-to-automaton generation tools using the HOA format. PRISM incorporates jhoafparser for the purposes of importing the generated automata and now supports verification of a variety of acceptance conditions: arbitrary generic acceptance conditions for Markov chains and Rabin or generalized Rabin conditions for Markov decision processes.

PRISM's source code is distributed under the GNU General Public License, version 2.

Rabinizer

Rabinizer 3 can translate can translate LTL formulas into four kinds of automata that can be output in the HOA format:

The web page and source code of Rabinizer does not state any license.

Rabinizer 4 is a part of the Owl library and on top of Rabinizer 3 can output:

ROLL

Roll is an ω-regular language learning library with command line tools to learn and complement Büchi automata. This open source Java library implements all existing learning algorithms for the complete class of ω-regular languages, including a learning-based Büchi automata complementation. It also offers an interactive Jupyter notebook environment. The HOA format support is limited to state-based automata with single initial state both on input and output and parsing is done by jhoafparser.

Seminator

Seminator converts nondeterministic transition-based generalized Büchi automata into semi-deterministic (limit-deterministic) Büchi automata. It relies on the Spot library to input and output automata in HOA format.

Seminator's source code is distributed under the GNU General Public License, version 3.

Spot

Spot 1.99.1 has several tools that can output or input these automata, and that support the generic acceptance condition for non-alternating. Since version 2.3 Spot supports also alternating automata. In addition to ltl2tgba and dstar2tgba (that can output generalized Büchi automata in HOA), there are the following tools:

See the HOA format support page to consult details of HOA support. The implemented C++ parser supports streaming of automata, where the input can mix the HOA format, the LBT format and never claims.

Spot's source code is distributed under the GNU General Public License, version 3.

Live CD (from 2015)

You can obtain an ISO image (740MB, SHASUM: a23c47374b5a2ae7e31f9c9cb2d6908384c7cf29), containing a Debian Live CD with various tools preinstalled for your convenience. You can run it in a virtual machine or burn it on a DVD and boot from it. This is the artifact that accompanied our CAV'15 paper.

Running in a virtual machine

As virtual machine, we have tried QEMU and VirtualBox.

For VirtualBox, create a new virtual machine, attach the ISO image as a CD-drive and boot. For RAM, use at least 512MB, preferably 1GB.

With KVM/QEMU on a Linux system, you can start the Live CD with

kvm -cdrom hoaf-live.iso -boot d -m 1024 -net nic -net user

or

qemu-system-i386 -cdrom hoaf-live.iso -boot d -m 1024 -net nic -net user

depending on your installation, providing the virtual machine with 1GB of RAM. If you omit the -net parameters, the VM will not have a network connection, but everything else should work fine. For the latter command, if your kernel supports KVM and you have enabled hardware virtualization support in the BIOS, you can use --enable-kvm to get much better performance.

Using the Live CD

After the initial boot, press Enter to boot the live system. When the boot process is completed, you can login to the graphical desktop, with username hoaf and password hoaf.

On the desktop, you will find links to the HOA format specification, a terminal and a README file, suggesting example command-lines to try.

Note, that the keyboard layout is initially set to US. To change the keyboard layout to match the one on your computer, start the terminal and run

setxkbmap lang

where lang is your language code, e.g., de for German, fr for French, ...

Enjoy!