3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-08-14 09:45:36 +00:00

Some more tests for seq_monadic

Bug fix in seq_monadic
Update benchmark script
This commit is contained in:
CEisenhofer 2026-07-20 19:13:36 +02:00
parent 45305b64cb
commit bf3117840e
3 changed files with 112 additions and 3 deletions

View file

@ -3,7 +3,8 @@
Compare z3 string solver configurations, and optionally against external solvers.
We always run three z3 configurations:
nseq_md monadic decomposition (parikh off, eager regex factorization)
nseq_md monadic decomposition (parikh off, lazy regex factorization)
nseq_md2 monadic decomposition via automaton (parikh off, lazy regex factorization via automaton)
nseq_pa parikh (parikh on, no regex factorization)
seq the old/baseline string solver
@ -38,6 +39,8 @@ COMMON_ARGS = ["model_validate=true"]
SOLVERS = {
"nseq_md": ["smt.string_solver=nseq", "smt.nseq.parikh=false", "smt.nseq.eager=false",
"smt.nseq.regex_factorization_threshold=10000000", "smt.nseq.regex_factorization_eager=false", "smt.nseq.regex_dynamic_decomposition=false"],
"nseq_md2": ["smt.string_solver=nseq", "smt.nseq.parikh=false", "smt.nseq.eager=false",
"smt.nseq.monadic_split=true", "smt.nseq.regex_factorization_threshold=0", "smt.nseq.regex_factorization_eager=false", "smt.nseq.regex_dynamic_decomposition=false"],
"nseq_pa": ["smt.string_solver=nseq", "smt.nseq.parikh=false", "smt.nseq.eager=false",
"smt.nseq.regex_factorization_threshold=0", "smt.nseq.regex_factorization_eager=false", "smt.nseq.regex_dynamic_decomposition=true"],
"seq": ["smt.string_solver=seq"],