Skip to content

Nondeterministic SMT-LIB Output #384

@miladrabi

Description

@miladrabi

Hi,
After building my complete formula in Rust, I’ve noticed that solve times vary drastically from around 0.3 s up to 78 s. That led me to dump the SMT‑LIB encoding with solver.to_smt2(), and I discovered that each run emits the exact same constraints and declarations, just in a different order. I’m beginning to suspect that this reordering sometimes helps the solve time and sometimes hurts it. Is there a way to disable this behavior so I get the identical output every time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions