This is a simple CTL model checker implemented in Python. The repo consist of the following :
- A CTL formula parser
parser.py - Yet Another CTL formula parser
converter.pywhich generate AST where type nodes are only the temporal operators {EX, EG, EU} - Model Checker class in
model_checker.pymodule - Kripke structure class in
kripkeStructure.py - Formula input and parser managing module
formulaIO.py - and some other stuffs...
You can specify your Kripke structure and formula in input.txt. The guidelines for how to fill input.txt is been instructed in manual.txt.
Clone this repository into your local machine.
git clone git@github.com:Amithabh-A/ModelChecker.git
run make command
make
activate the environment
source venv/bin/activate
run Model Checker using Kripke structure and formula mentioned in input.txt
make run
I would like you to fix Makefile firstly :)