mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2024-11-20 21:56:29 -05:00
Matrix Model Generator for Implicative Connectives
Brandon Rozek
3b535fdfa5
Currently this doesn't work since it discards the subalgebras {a3} and {a2} which show VSP for R using Model 5.2.1.1.3 |
||
---|---|---|
.gitignore | ||
common.py | ||
generate_model.py | ||
logic.py | ||
model.py | ||
parse_magic.py | ||
R.py | ||
README.md | ||
vsp.py |
Matmod: Verify Relevance Properties for Matrix Models with Implicative Connectives
Interested in seeing which satisfiable models from arranstewart/magic have the variable sharing property?
(1) Generate satisfiable matrix models using magic
.
- Use the
ugly
data format as the output - Keep in mind not all logic features in magic are supported, check out the GitHub issue tracker to see upcoming features or make your own requests
(2) Run our tool! It will first attempt to parse all the matrices in the output file and then check for the variable sharing property one-by-one.
python3 parse_magic.py < UGLY_FILE_FROM_MAGIC
If you face any troubles, feel free to reach out. This tool also has capabilities to generate satisfiable models given a specification (see: R.py), however, it is much slower than magic so you're better off using that.