Matrix Model Generator for Implicative Connectives
Find a file
2024-10-03 23:34:59 -04:00
examples Example Ugly Data Format with models of R up to size 6 2024-10-03 21:48:25 -04:00
.gitignore Initial commit 2024-04-08 23:59:21 -04:00
common.py Some optimizations 2024-04-15 00:08:00 -04:00
generate_model.py Pretty printing 2024-05-29 13:50:20 -04:00
logic.py Pretty printing 2024-05-29 13:50:20 -04:00
model.py Pretty printing 2024-05-29 13:50:20 -04:00
parse_magic.py Handle fragments without negation 2024-10-03 23:34:59 -04:00
R.py Pretty printing 2024-05-29 13:50:20 -04:00
README.md Edited example to check models of R up to size 6 2024-10-03 21:50:05 -04:00
vsp.py Pretty printing 2024-05-29 13:50:20 -04:00

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 < examples/R6

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.