3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-27 19:08:49 +00:00

Branch on all minterms to speed up partial automata construction

This commit is contained in:
CEisenhofer 2026-06-25 17:03:29 +02:00
parent 2aa1d1ee01
commit af0c0efae9
2 changed files with 47 additions and 12 deletions

View file

@ -101,7 +101,7 @@ def run_z3(z3_bin: str, smt_file: Path, solver_args: list[str], timeout_s: int =
cmd = [z3_bin, f"-t:{timeout_ms}"] + solver_args + COMMON_ARGS + [str(smt_file)]
start = time.monotonic()
try:
proc = subprocess.run(cmd, capture_output=True, text=True,
proc = subprocess.run(cmd, capture_output=True, shell=True, text=True,
timeout=timeout_s + 5)
elapsed = time.monotonic() - start
return _parse_result(proc.stdout.strip()), elapsed