This repository containts the Python modules that comprise the Modal Solver Suite.
-
driverObj.py
The main module, which contains the decision and minimization procedure, and invokes the Kripke model constructor.
-
kripkeModelConstructor.py
Parses the output from Enfragmo to produce a .dot file and .svg file for each model.
-
verifier.py
Parses problem instance files and returns the formula represented by the file in infix notation.
-
reuseableCode.py
Various code snippets used in multiple modules.
-
formulaConversion.py
This module is meant to convert the modal benchmark formulas from the Logic Work Bench into a usable form.
- Union Find (branch of Algorithms repository that includes setup.py)
- Graphviz - tested with v0.4.10
- Treelib - tested with v1.3.3 - commit 65635f4
- Plac
- Re
- Os
- Defaultdict
It is recommended that you create a virtual environment with the Python 3.4 interpreter and these modules.
If you have not already done so, please clone the following repo:
Which contains the theory file for the modal logic K, sample problem instance files, and some examples of first-order frame correspondents.