
ProB: An Animator, Constraint Solver and Model Checker for B
-----------------------------------------------------------

(C) 2000-2023 Michael Leuschel (and many others; see below).
This software is licenced under EPL 1.0 (http://www.eclipse.org/org/documents/epl-v10.html).
For availability of commercial support, please contact 
Michael Leuschel (http://www.stups.hhu.de).

This folder contains the executables
 - probcli: the command-line version of ProB
 - prob: the Tcl/Tk UI of ProB
 
It also contains two scripts to start these executables
 - probcli.sh: to run the command-line version of ProB
 - StartProB.sh: a script to start the Tcl/Tk UI of ProB
 
Other folders:
 - examples: contains a few specification files which you can use.
 - stdlib: ProB's standard library, providing external functions for B models
 - lib: for ProB's internal use, it contains the parser and several other shared libraries
 - tcl: it contains text files with documentation and the ProB licence (licence.txt)

You can test probcli as follows:
 - to obtain help type:
   ./probcli.sh --help
 - to start the ProB B REPL (aka console) type:
   ./probcli.sh --repl
   After that try out typing 2+2 or x*x=100 to evaluate formulas.
 - to perform a simple model check run type:
  ./probcli.sh --model-check examples/Simple/Bakery0.mch

ProB requires Java for its parser (for B and TLA+ specifications).
More details can be found at:
  https://prob.hhu.de/w/index.php?title=Download#Java_Requirements_for_B_parser
To check that you have a correctly installed Java you can type:
  ./probcli.sh --check-java-version
 
The Tcl/Tk UI version requires an installation of Tcl/Tk.
More details can be found at:
  https://prob.hhu.de/w/index.php?title=Download#Tcl/Tk_Requirements_for_ProB_Tcl/Tk

To use various visualisation features you also need GraphViz installed, see:
  https://prob.hhu.de/w/index.php?title=Download#Graphviz_Requirements

You can start ProB Tcl/Tk by typing
 ./StartProB.sh
 
