mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2026-01-28 07:32:56 +00:00
Matrix Model Generator for Implicative Connectives
Uses Z3 to find a model of a certain size for a given logic. This PR also introduces falsification rules and the ability to directly check via SMT whether a logic has VSP instead of generating models first. |
||
|---|---|---|
| examples | ||
| utils | ||
| .gitignore | ||
| common.py | ||
| generate_model.py | ||
| logic.py | ||
| model.py | ||
| parse_magic.py | ||
| R.py | ||
| README.md | ||
| smt.py | ||
| vsp.py | ||
| vspursuer.py | ||
VSPursuer: 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
uglydata format as the output
(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.
./vspursuer.py -i examples/R6
If you face any troubles, feel free to reach out. This tool also is able to generate satisfiable models given a specification (see: R.py). This is, however, much slower than MaGIC so you're better off using that.
Check out the GitHub issue tracker to see upcoming features or make your own requests.