Added an initial model finder via Z3

This commit is contained in:
Brandon Rozek 2025-11-25 17:22:59 -05:00
parent 2fbdf26274
commit 3610335c1c
3 changed files with 115 additions and 6 deletions

View file

@ -1,6 +1,9 @@
"""
Generate all the models for a given logic
with a specified number of elements.
NOTE: This uses a naive brute-force method which
is extremely slow.
"""
from common import set_to_str
from logic import Logic, Operation, Rule, get_operations_from_term