Skip to content

About

Tool using the Logics-based language of CHASE.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHASE logics tool

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.

License

This project is released under the 3-Clause BSD License.

About

Tool using the Logics-based language of CHASE.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages