Matrix Model Generator for Implicative Connectives
Find a file
Brandon Rozek 3b535fdfa5 Optimization: Discard subalgebras with bottom/top
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
2024-10-03 21:38:15 -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 Only print matrices when model shows VSP 2024-10-03 21:06:23 -04:00
R.py Pretty printing 2024-05-29 13:50:20 -04:00
README.md Updated README 2024-06-15 09:02:31 -07:00
vsp.py Optimization: Discard subalgebras with bottom/top 2024-10-03 21:38:15 -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 < 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.