This is a Synthesis tool for LTL specifications, written by Sakari Ellonen.
For questions and bug reports, contact sakari.ellonen@gmail.com

( Quick start: see run_demo.sh and figure out yourself. )

1. Automata translation

  To run the tool, you need either Lily or spot to translate ltl formulae to
  Bchi automata. I recommend using spot, because I have been using it almost
  exclusively myself. The Lily support is very precarious. You find spot at

  http://spot.lip6.fr/wiki/

  To call the spot translation functions there is a python script ltl2tgba.py
  supplied in this zip. It is my modification from a similarly named file in the
  spot package. It must be modified to suit your installation of spot, see the
  file ltl2tgba.py for details.

  Lily does not require installation. If you wish to use it, give the option
  -DuseLily=1 to the java virtual machine. I provide in this zip the Lily code I
  am using. For further reference, see
  http://www.ist.tugraz.at/staff/jobstmann/lily/


2. Safety game algorithm

  The program arguments are given as options to the java virtual machine.
  Normally the only ones you want to modify are:

    alph  - the alphabet file partitioned into inputs and outputs
    ltl   - the ltl formula in any format understood by spot
    limit - the bound in the safety game

  By default, a SAT formula in dimacs cnf format is output.

3. From the SAT model to a Moore machine

  I provide a python script cnf2moore.py that takes two arguments: the output
  from the solver Yices and certain extra info written during the construction of
  the safety game. The extra info maps cnf variables to variables in the original
  LTL formula.

  I give here linux binaries of the yices solver, both 64-bit and 32-bit. For any 
  other version, see 

  http://yices.csl.sri.com/download.shtml
