The tool parses a set of assume-guarantee contracts expressed using the
logics-based language of CHASE, and provides a console to manipulate them.
The grammar of the language is in grammar/LogicsContracts.g4.
Usage
logics_tool -i input_file [-o output_dir] [-c commands_file] [-V]
Parameters:
- -i Specifies the input file containing the contracts.
- -o Specifies the directory where the generated files are written.
- -c Specifies a file of commands (each terminated by
;) to be executed instead of opening the console.- -V Enables verbose mode.
The console provides the following commands: show, compose, conjoin,
disjoin, merge, divide (quotient), separate, imply, coimply,
invert (reciprocal), saturate, simplify, refines, verify, and
synthesize. The names conjunction, quotient,
and refinement of the first version are still accepted.
The help command shows their description.
For instance, from the RoboticJoints directory of the demos
repository:
$> logics_tool -i specs.ltl -o /tmp/joints -c verification.chase
$> nuXmv /tmp/joints/refinement.smv
The tool is also available as a Python module (pychase_logicsLang). It
requires the core-library, the chase-backends, and the
ANTLR4 runtime provided in the third_party repository. For the
installation, please refer to the CHASE website.
This project is released under the 3-Clause BSD License.